Commit Graph

4012 Commits

Author SHA1 Message Date
Guy Harris a6da6905cf Use G_DIR_SEPARATOR_S rather than "/" as a pathname separator in format
strings used to generate pathnames.

svn path=/trunk/; revision=4057
2001-10-21 21:56:05 +00:00
Guy Harris e980dd9d3b Use G_DIR_SEPARATOR_S rather than "/" as a pathname separator in format
strings used to generate pathnames.

Move the definition of PF_DIR from <epan/epan.h> to <epan/filesystem.h>,
so that files requiring only the definition of PF_DIR don't have to
include <epan/epan.h>, and get rid of no-longer-necessary includes of
<epan/epan.h>.

Add a routine to get the directory for "system files" such as
"/etc/ethers" - it's "/etc" on UNIX, and the datafile directory on
Windows (as there's no "/etc" on Windows).  Use that to construct the
pathname of the ethers and ipxnet files.

svn path=/trunk/; revision=4056
2001-10-21 21:48:00 +00:00
Guy Harris fa928f62c3 On Windows, get the "ethers" and "ipxnets" file from the directory in
which the Ethereal binary is found; there's no notion of "/etc" or of
"/etc/ethers" or "/etc/ipxnets" files on Windows.

Update the documentation to reflect that, and fix a typo in the Ethereal
and Tethereal man pages.

svn path=/trunk/; revision=4055
2001-10-21 19:54:49 +00:00
Guy Harris c21a5d83f7 Give the "iscsi_desegment" and "iscsi_port" the right types, matching
the declarations of the functions to which a pointer to them is passed;
this also fixes it so it compiles with MSVC++, as there's no "uint" type
declared by MSVC++ by default.

svn path=/trunk/; revision=4054
2001-10-21 19:04:20 +00:00
Guy Harris f1860ea985 Enhanced Ethereal icon from Gordon McKinney:
I have enhanced the standard Ethereal Icon and added the following
	renderings:

	    * 32x32 - 256 Colour with transparency
	    * 16x16 - 256 Colour with transparency
	    * 16x16 - 16 Colour

Add to the list of authors in the man page the names of people who've
contributed to Wiretap but not to the rest of Ethereal - there's
currently no Wiretap man page, so we might as well give them credit in
the Ethereal man page.

svn path=/trunk/; revision=4053
2001-10-21 17:38:43 +00:00
Guy Harris 10b0659ca0 Keep the list of modules with preferences sorted by the module name, in
dictionary order (case-insensitive), so that they show up in order in
the "Preferences" dialog box.

svn path=/trunk/; revision=4052
2001-10-21 17:30:50 +00:00
Guy Harris e4dbc04bf0 Updates from Mark Burton:
The enclosed code contains the following improvements:

	1 - Compatible with 08 version of the protocol

	2 - Handles both header and data digests

	3 - Supports desegmentation

	4 - Dissects multiple PDUs per packet

	5 - Stronger heuristics to avoid dissecting non-iSCSI packets

	6 - General rationalisation and de-crufting!

	The old code that attempted to automatically detect the presence
	of a header digest has been removed.  You now have to specify in
	the iSCSI preferences whether digests are enabled and if they
	are, whether they are CRC32 or not.  If not CRC32, you also need
	to specify the size of the digests (in bytes).

	Another new option specifies the iSCSI port number.  This is
	used in the heuristics to filter out packets with silly port
	numbers, set to 0 to disable the port filter.

	One problem that I haven't been able to track down is that if
	desegmentation is enabled and you turn digests on or off
	ethereal throws a SEGV.

svn path=/trunk/; revision=4051
2001-10-21 17:20:10 +00:00
Gerald Combs 5521ff2ba5 Add little arrows to the column titles to indicate which column we're
using to sort as well as the sort direction.

svn path=/trunk/; revision=4050
2001-10-21 16:15:21 +00:00
Guy Harris 106740a5f5 Properly handle the andX command in a LockingAndX message.
Fix up some closing braces.

svn path=/trunk/; revision=4049
2001-10-20 19:29:21 +00:00
Guy Harris b37cf9406e If we decide that a packet to or from port 2000 isn't really a Skinny
Client Control Protocol packet, at least dissect its payload as data.

svn path=/trunk/; revision=4048
2001-10-20 18:42:01 +00:00
Guy Harris 24c930c708 FT_UINTn values must always have a base, even if they're bitfields - the
width of the item containing the bitfield is "n", so you don't have to
specify it explicitly, as you have to do with FT_BOOLEAN bitfields.

svn path=/trunk/; revision=4047
2001-10-20 18:30:50 +00:00
Guy Harris 959334aecd Use "val_to_str()", rather than "match_strval()", in "socket_text()".
Make the source and destination socket fields enumerated types, so we
don't have to use "proto_tree_add_uint_format()" on them, and so that
you can match on them by service name.

Use lower-case letters when formatting the hex value of sockets; that's
what's done with fields not added with "proto_tree_add_XXX_format".

svn path=/trunk/; revision=4046
2001-10-20 18:10:39 +00:00
Guy Harris f1aebc31c0 From Tom Uijldert: fix to the date decoding, fix a field's name, and
protocol-name cosmetic changes.

svn path=/trunk/; revision=4045
2001-10-19 21:40:48 +00:00
Guy Harris 5502c7e3fc From Tom Uijldert: fix the port number for Push-traffic dissecting for
WSP/WTLS.

svn path=/trunk/; revision=4044
2001-10-19 21:34:28 +00:00
Guy Harris 7204834327 From Mark Burton: update to the -08 draft.
svn path=/trunk/; revision=4043
2001-10-19 20:53:14 +00:00
Guy Harris 9c0c25dc17 DBS Etherwatch wiretap module, from Marc Milgram.
svn path=/trunk/; revision=4042
2001-10-19 20:18:48 +00:00
Guy Harris 22d0ffbe06 L2TP Dissconnect Cause Information AVP support, from Motonori Shindo.
svn path=/trunk/; revision=4041
2001-10-19 09:12:53 +00:00
Guy Harris 40e944337d From Frank Singleton: catch attempts to use recursive unions or
structures.

svn path=/trunk/; revision=4040
2001-10-18 21:49:58 +00:00
Guy Harris 3c78feeadc VMS TCPIPtrace wiretap module, from Marc Milgram.
Update the lists of known capture file formats in the Tethereal,
editcap, and mergecap man pages to match the current list (as found in
the Ethereal man page).

svn path=/trunk/; revision=4039
2001-10-18 20:29:56 +00:00
Gerald Combs b36700c8fb Add link to local mirror.
svn path=/trunk/; revision=4038
2001-10-18 15:44:36 +00:00
Guy Harris b1559953ca From Georg von Zezschwitz:
Fix a bug with WSP Connect requests with headers > 256 bytes
	Implement attributes of WSP Suspend/Resume

svn path=/trunk/; revision=4037
2001-10-18 08:23:24 +00:00
Jeff Foster 0945259b59 fixed bug in packet-smb-pipe.c dissect_transact_data routine. If the
aux_count_p value was NULL the program would SIGSEGV when *aux_count_p
was initially set to 0. Added NULL pointer test.

svn path=/trunk/; revision=4036
2001-10-17 21:24:28 +00:00
Gilbert Ramirez c2cdf8acd0 Enable building of the coseventcomm plugin on Win32.
Some of these changs are from Frank Singleton, some are mine.

svn path=/trunk/; revision=4035
2001-10-17 19:27:43 +00:00
Guy Harris 9921fc5b3b The Quake3 dissector wasn't in the previous release, only users running
CVS versions would've had "quake3.udp.port" in the preferences file;
therefore, we can remove the code to map them to "quake3.udp.arena_port"
and "quake3.udp.master_port".

svn path=/trunk/; revision=4034
2001-10-16 07:35:11 +00:00
Guy Harris aad830eaa6 Update from Scott Renfro: a simple patch that adds support for FIPS
Cipher Suite identifiers.

svn path=/trunk/; revision=4033
2001-10-16 07:13:01 +00:00
Guy Harris f509ddeaa5 Don't create a Wiretap dump file unless we're at least sure we support
the specified encapsulation with the specified capture file type, and
that we can allocate a "wtap_dumper *".

If we could do all that, and could create the dump file, but the
file-type-specific create routine fails (e.g., because there's not
enough disk space to write out the header), remove the dump file.

svn path=/trunk/; revision=4032
2001-10-16 04:58:24 +00:00
Gerald Combs d5cda0d90c Fix conversation_new description. Add descriptions for
conversation_add_proto_data, conversation_get_proto_data, and
conversation_delete_proto_data.

svn path=/trunk/; revision=4031
2001-10-16 01:57:12 +00:00
Guy Harris a7592d7e5b Fixes from Steffen Weinreich:
fix the processing of the month and year fields in the SCTC
	Timestamp (the month is 1-origin, so subtract 1 from it before
	putting it in "tm_mon", which is 0-origin; the year is a 2-digit
	field that is, at least, Y2K-safe (but Y2.1K-unsafe), so if it's
	less than 90, assume it's in the 21st century);

	UCP OT 50-57 messages have a fixed number of fields and a
	special handling of the MT is not necessary, so get rid of that.

Also, fix a typo in a comment.

svn path=/trunk/; revision=4030
2001-10-15 03:54:05 +00:00
Guy Harris 086896c241 Fixes to take the Vendor-Specific attribute into consideration when
dissecting L2TP, from Motonori Shindo.

svn path=/trunk/; revision=4029
2001-10-15 03:27:38 +00:00
Gerald Combs 06de0d9651 Make NEWS current to today (October 13).
svn path=/trunk/; revision=4027
2001-10-13 19:31:47 +00:00
Richard Sharpe bd4a2b48b0 A small patch from Moronori Shindo to fix compiles under MSVC etc ...
svn path=/trunk/; revision=4026
2001-10-13 12:05:32 +00:00
Guy Harris 0adf5001dc Put the scrollbar for the scrolled window containing the CList in the
preferences dialog where the user specified, and register that scrolled
window so that if the preference is changed the scrollbar moves.

svn path=/trunk/; revision=4025
2001-10-13 07:56:27 +00:00
Guy Harris aa5c21f247 Set the data for E_{PRINT,COLUMN,STREAM,GUI}_PAGE_KEY to the notebook
page for the preferences item rather than to the frame for the
preferences item, as that's what the code in "gtk/gui_prefs.c" expects
(otherwise you get errors).

svn path=/trunk/; revision=4024
2001-10-13 07:47:30 +00:00
Guy Harris bdbd51ceb4 The Quake III dissector called both the arena server port preference and
the master server port preference "quake3.udp.port"; rename them to
"quake3.udp.arena_port" and "quake3.udp.master_port".

svn path=/trunk/; revision=4023
2001-10-13 07:43:25 +00:00
Gerald Combs 7187950b2d Make current up to August 31.
svn path=/trunk/; revision=4022
2001-10-12 21:20:40 +00:00
Gerald Combs 3ccc10f622 Get NEWS current up to July 31, update version to 0.8.20.
svn path=/trunk/; revision=4021
2001-10-12 17:17:05 +00:00
Guy Harris 0ce416f177 From Frank Singleton:
Added some functionality to idl2eth to allow C code generation
	and display of CORBA IDL Enum's as symbolic values, along side
	the numerical value currently being displayed.

svn path=/trunk/; revision=4020
2001-10-12 17:14:41 +00:00
Guy Harris 9a6d7b4a72 Sigh. A MacOS X 10.1 appeared to have put out a malformed NetBIOS
session request with a length greater than 128 bytes; crank the length
limitation up to 256.  (Perhaps I've misread the DNS spec or the
NetBIOS-over-TCP spec, but the request sure *looked* as if it had a
bogus second-level-encoding in the calling machine name.)

svn path=/trunk/; revision=4019
2001-10-12 01:41:03 +00:00
Guy Harris fb2eb0d626 For the SCCP message ID field, use the formerly commented-out version
with the value_string table, as per mail from Joerg.

svn path=/trunk/; revision=4018
2001-10-11 16:04:36 +00:00
Guy Harris 880defb7f1 Get rid of C++ comment.
svn path=/trunk/; revision=4017
2001-10-11 16:01:53 +00:00
Guy Harris 68924359db Initial Skinny Client Control Protocol support, from Joerg Mayer.
svn path=/trunk/; revision=4016
2001-10-11 16:01:10 +00:00
Gerald Combs bc34ab11b7 Reduce the CinemaScope-like proportions of the preferences dialog by
getting rid of the notebook tabs and using a CTree to select pages.

svn path=/trunk/; revision=4015
2001-10-11 02:17:29 +00:00
Guy Harris ff6e79ca4f Instead of saying the "manuf" file is in "/usr/local/etc/manuf", say
it's in the "etc" subdirectory of the installation directory on UNIX and
in the installation directory on Windows, and give the typical pathnames
of both of those directories.

svn path=/trunk/; revision=4014
2001-10-11 01:21:50 +00:00
Guy Harris 931d7bb46b Install the "manuf" file.
svn path=/trunk/; revision=4013
2001-10-11 01:04:19 +00:00
Nathan Neulinger c33977e21f add a couple of socket numbers that seem to be consistently allocated for these services
svn path=/trunk/; revision=4012
2001-10-08 18:20:01 +00:00
Guy Harris 7ea5330b24 As UCP is atop TCP, its dissector isn't called unless there's at least
one byte in the tvbuff being handed to it, so the check I added for the
existence of that byte is unnecessary.

svn path=/trunk/; revision=4011
2001-10-08 17:42:18 +00:00
Guy Harris 971ceec9d2 Remove the check I added to see whether the length of the packet, based
on the location of the UCB_ETX, is greater than the length of the tvbuff
- that can never happen, as the UCB_ETX is, as it was found, definitely
inside the tvbuff.

svn path=/trunk/; revision=4010
2001-10-08 17:37:52 +00:00
Guy Harris bebcff62d7 UCP support, from Tom Uijldert.
svn path=/trunk/; revision=4009
2001-10-08 17:30:23 +00:00
Nathan Neulinger c84fa84414 more packet types and fix some incorrect offsets and sizes in other packets
svn path=/trunk/; revision=4008
2001-10-08 14:32:06 +00:00
Guy Harris 1265cd6aff From Joerg Mayer: explain in the "LWP isn't installed" message where you
can get LWP.

svn path=/trunk/; revision=4007
2001-10-07 22:19:14 +00:00