Commit Graph

4175 Commits

Author SHA1 Message Date
Guy Harris 7e27e176c0 Show parameter types in hex.
Make enumerated types be fields with a value_string table, so that you
can filter on them by name.

svn path=/trunk/; revision=4070
2001-10-23 20:14:20 +00:00
Guy Harris 7e9e5de290 In some versions of GRE, you can have ACK-only packets; if a packet
doesn't have the S bit set, check whether it has any payload before
attempting to hand off the payload to the next dissector.

svn path=/trunk/; revision=4069
2001-10-23 19:02:59 +00:00
Guy Harris c68d6a7158 Include <direct.h> on Windows systems, to declare "mkdir()".
On Windows, put the ".ethereal" directory under the user profile
directory rather than the home directory.

Update the documentation to reflect that, and to fix other out-of-date
information, as well as some typos.

svn path=/trunk/; revision=4068
2001-10-23 08:15:11 +00:00
Guy Harris 6f54015711 When putting protocols into the list of protocols, do a case-insensitive
sort.

Give iSCSI the short name "iSCSI" rather than "ISCSI".

svn path=/trunk/; revision=4067
2001-10-23 05:40:36 +00:00
Guy Harris 879189fc8f Fix some field names to begin with "iua", not "hf".
svn path=/trunk/; revision=4066
2001-10-23 05:23:58 +00:00
Guy Harris cf5a1d86e7 Add a new routine to create the ".ethereal" directory for a user.
Use that routine rather than duplicating that code in the routines to
write out the preference file and filter files.

Use it in the code for the color filter dialog, so that the directory in
question is created if necessary.

As that routine returns an error indication, have the code that calls
that routine put up a message box if the attempt fails.

svn path=/trunk/; revision=4065
2001-10-23 05:01:02 +00:00
Guy Harris 04147b7dcf Additional items for RADIUS tunnels, from Pavel Novotny.
svn path=/trunk/; revision=4064
2001-10-23 04:11:58 +00:00
Guy Harris f5143b4482 Include <stdio.h> to declare "sprintf()".
svn path=/trunk/; revision=4063
2001-10-23 03:40:39 +00:00
Guy Harris 898959665c The only reason we care about the user's home directory is that their
".ethereal" directory is under it; get rid of "get_home_dir()", and put
its code inside "get_persconffile_dir()".  (The personal configuration
file directory may move, on Windows, to the user's profile directory.)

svn path=/trunk/; revision=4062
2001-10-22 23:16:01 +00:00
Guy Harris e4db9c4b64 Add a routine to get the directory in which personal configuration files
reside.  Use it, rather than concatenating the user's home directory and
".ethereal" in a number of files.

Fix up some additional places to use G_DIR_SEPARATOR_S as the pathname
separator.

svn path=/trunk/; revision=4061
2001-10-22 22:59:26 +00:00
Guy Harris f4c0885cbd Fix Martti Kuparinen's e-mail address, as per his request.
svn path=/trunk/; revision=4060
2001-10-22 21:05:15 +00:00
Guy Harris 7735909d26 From Yaniv Kaul - handle UDP-encapsulated IPSec NAT Keepalive packets.
svn path=/trunk/; revision=4059
2001-10-22 20:45:58 +00:00
Guy Harris 3a97414ba5 From Georg von Zezschwitz: fix an uninitialized variable, dissect the
S-max-age value in Cache-Control headers, and handle the 1.1, 1.3, and
1.4 encoding of Cache-Control headers.

svn path=/trunk/; revision=4058
2001-10-22 20:37:51 +00:00
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