Commit Graph

4324 Commits

Author SHA1 Message Date
Uwe Girlich ad5e74a19d AUTH call dissected. It includes XOR encoded user name/passwords. I did
a decode on the fly.

svn path=/trunk/; revision=4169
2001-11-06 18:32:30 +00:00
Uwe Girlich ec5c73a520 PCNFSD added for Uwe Girlich
svn path=/trunk/; revision=4168
2001-11-06 13:44:08 +00:00
Uwe Girlich 67db3adfca PCNFSD dissector file packet-pcnfsd.c added to source list
svn path=/trunk/; revision=4167
2001-11-06 13:43:44 +00:00
Uwe Girlich 0f36473f09 start of a PCNFSD dissector, header file
svn path=/trunk/; revision=4166
2001-11-06 13:42:35 +00:00
Uwe Girlich 60d861e33b Start of a PCNFSD dissector as the RPC dissector 150001.
svn path=/trunk/; revision=4165
2001-11-06 13:42:04 +00:00
Guy Harris 6910b84deb Add in some heuristics to try to detect AIX libpcap format. (This works
with one capture I've seen, but perhaps that was done with an old
version of AIX, and newer versions use a minor version number, in the
file, of 4.

However, libpcap hasn't used a minor version of 2 for ages, so perhaps
AIX hasn't updated their libpcap in ages, and aren't about to do so
soon.  If they do, let's hope they change the magic number.  The capture
file in question *does* have the capture length and real length in the
old, pre-2.3, order, so it really looks as if it's an old version,
rather than IBM trying to be "helpful" by using a different minor
version number so that you can distinguish between normal libpcap and
AIX libpcap formats.)

svn path=/trunk/; revision=4164
2001-11-06 01:55:14 +00:00
Guy Harris fd514820e4 From Tom Uijldert: have an non-heuristic UCP dissector, and register it
as a TCP conversation dissector, so that it can be selected in the
"Decode As" dialog box.

svn path=/trunk/; revision=4163
2001-11-05 21:41:33 +00:00
Guy Harris a968373a7a IPCOMP transformation and ID_IPV4_ADDR_SUBNET for ISAKMP, from
<a.stockmeier[AT]avm.de>.

svn path=/trunk/; revision=4162
2001-11-05 21:36:07 +00:00
Guy Harris d5727068bb Fix the previous change to handle SMBs with tvbuffified dissectors.
svn path=/trunk/; revision=4161
2001-11-05 07:58:33 +00:00
Guy Harris eff04e8bae Put andX commands at the same level as the first command.
svn path=/trunk/; revision=4160
2001-11-05 07:46:01 +00:00
Guy Harris 39b35fd837 Put in some references.
svn path=/trunk/; revision=4159
2001-11-05 05:39:31 +00:00
Guy Harris ff8cc11795 Further tvbuffication, from Ronnie Sahlberg.
Convert a bunch of "proto_tree_add_XXX" calls to "proto_tree_add_item"
calls.

svn path=/trunk/; revision=4158
2001-11-05 05:24:17 +00:00
Guy Harris 9449d55a91 Futher tvbuffification from Ronnie Sahlberg.
Do more sanity checking on DOS dates and times.

Convert a bunch of "proto_tree_add_XXX" calls to "proto_tree_add_item"
calls.

Put the word and byte data for untvbuffified SMBs under a subtree just
as is done for tvbuffified SMBs.

Get rid of some no-longer-used routines.

Fix some displays in untvbuffified SMBs to resemble the way those fields
are displayed for tvbuffified SMBs.

Display timesouts as seconds and milliseconds when they're in units of
milliseconds.

svn path=/trunk/; revision=4157
2001-11-05 01:44:17 +00:00
Guy Harris d8aa1045ce SUA dissector, from Michael Tuexen, replacing (and subsuming) the SUA
Light dissector.

svn path=/trunk/; revision=4156
2001-11-04 22:19:23 +00:00
Guy Harris f0c86f5537 Include "conversation.h", as the plugin API now includes the routines to
create and find conversations.

svn path=/trunk/; revision=4155
2001-11-04 22:14:43 +00:00
Guy Harris 35078ebac9 Further tvbuffication, from Ronnie Sahlberg.
Make it possible for a non-tvbuffied dissector for an andX SMB to call a
tvbuffified dissector for the andX command, and fix the non-tvbuffified
dissectors in question to do so.

svn path=/trunk/; revision=4154
2001-11-04 12:44:02 +00:00
Guy Harris a4676104d9 CBCP support in PPP, from Motonori Shindo.
svn path=/trunk/; revision=4153
2001-11-04 04:50:12 +00:00
Guy Harris fbc3f2eb0e Include protocols for TCP conversation dissectors in the list of
protocols that can be used to decode stuff.

svn path=/trunk/; revision=4152
2001-11-04 04:12:03 +00:00
Guy Harris 8cc7d53183 Declare routines exported to plugins through the plugin API table as
extern, so that "plugin_api_defs.h" works on platforms where you have to
use the plugin API table.

svn path=/trunk/; revision=4151
2001-11-04 03:55:52 +00:00
Guy Harris d859325753 Additional routines made available to plugins, from Tomas Kukosa.
svn path=/trunk/; revision=4150
2001-11-04 03:37:29 +00:00
Guy Harris 8789943142 In "plugin_api_defs.h", just do
addr_XXX p_XXX;

for all the declarations, to simplify things, as per Tomas Kukosa's
suggestion.

Fix a couple of comments.

svn path=/trunk/; revision=4149
2001-11-04 03:16:47 +00:00
Guy Harris cc7347ebf6 Allow a dissector to register preferences that it no longer supports as
obsolete; we silently ignore attempts to set those in a preferences
file, so that we don't spam the user with error messages caused by them
having saved preferences in an earlier release that contained those
preferences.

Make the Diameter and iSCSI dissectors register obsolete preferences.

Crash if some code tries to register a preferences module with a name
that contains something other than lower-case ASCII letters, numbers, or
underscores, or that has already been registered, or if some code tries
to register a preference with a name that contains something other than
lower-case ASCII letters, numbers, underscores, or periods, or that has
already been registered, so that we don't put code like that in a
release and have to shovel code into "prefs.c" to fix it up later.  (The
problem with multiple modules or preferences with the same name should
be obvious; the problem with names with blanks, or upper-case letters,
or punctuation, is that they're a pain to type on the command line.)

svn path=/trunk/; revision=4148
2001-11-04 02:50:21 +00:00
Guy Harris 52bf3d770f Updates from Mark Burton.
svn path=/trunk/; revision=4147
2001-11-04 00:58:23 +00:00
Guy Harris 303bb72023 More tvbuffication, from Ronnie Sahlberg.
When converting DOS-date years to "struct tm" years, add 1980 and
subtract 1900, to make it clearer what the conversion involves (DOS-date
years are (year - 1980); "struct tm" years are (year - 1900)).

svn path=/trunk/; revision=4146
2001-11-04 00:53:46 +00:00
Guy Harris d6a16d417a Check for a zero word count in LogoffandX requests and replies.
svn path=/trunk/; revision=4145
2001-11-03 23:53:48 +00:00
Guy Harris 6778164aed Clean up the Info column, by leaving the ": " that separates bad
packet/flag information from the PDU type if there's no bad packet or
flag informatin.

svn path=/trunk/; revision=4144
2001-11-03 23:13:03 +00:00
Guy Harris 2dd6f2451d Crash if a dissector tries to create more than one preference with the
same name; if that happens, there's no way to tell to which of them a
line in a preferences file, or an option supplied with "-o", refers, so
it's clearly a bug in the code.  This has happened in the past, and
fixing that required some preference renaming *and* code in the
preferences-file-reading code to try to preserve the user's settings and
not spew warnings when starting Ethereal or Tethereal; let's try to
catch it *before* the code gets into the code base.

svn path=/trunk/; revision=4143
2001-11-03 21:37:00 +00:00
Guy Harris ec322b8d52 Cooperative Route Filtering Capability support, and Route Refresh
Message bug fix, in BGP, from Motonori Shindo.

svn path=/trunk/; revision=4142
2001-11-03 21:25:12 +00:00
Guy Harris 3986cf042e Support for desegmentation of Diameter-over-TCP, from David Frascone.
svn path=/trunk/; revision=4141
2001-11-03 12:19:56 +00:00
Guy Harris 8a7bb75f0d Clean up the display of the Flags and Flags2 fields, and add a missing
bit to Flags2.

svn path=/trunk/; revision=4140
2001-11-03 12:10:34 +00:00
Guy Harris f2676ba1c9 Tvbuffification of Negotiate Protocol, from Ronnie Sahlberg.
Fix up Info column to put "Request" or "Response" *after* the name of
the request.

Give the Negotiate Protocol request its full name.

svn path=/trunk/; revision=4139
2001-11-03 11:42:50 +00:00
Guy Harris 80d72f8cf3 First tvbuffication change, from Ronnie Sahlberg. Also changes SMB
command names to match later SMB specs.

svn path=/trunk/; revision=4138
2001-11-03 06:56:56 +00:00
Guy Harris f5054cff0d In "addStaticAVP()", add the new entry to the list of AVP types after
it's filled in.

svn path=/trunk/; revision=4137
2001-11-03 04:09:46 +00:00
Guy Harris f62a97cf2d TVBUFF_SUBSET tvbuffs share a "ds_name" with the parent tvbuff, so their
"ds_name"s shouldn't be freed when the tvbuff is freed.  (Thanks and a
tip of the Hatlo hat to the FreeBSD memory allocator for complaining
about multiple frees of the same string.)

svn path=/trunk/; revision=4136
2001-11-03 03:49:34 +00:00
Guy Harris ba06fa6490 More indentation fixes.
svn path=/trunk/; revision=4135
2001-11-03 03:41:35 +00:00
Guy Harris 7adba9a672 Put the error code into the Info column symbolically, if possible.
Put the error message string into the Info column as well.

svn path=/trunk/; revision=4134
2001-11-03 02:25:26 +00:00
Guy Harris 2e0d083172 Put stuff in the Info column regardless of whether we're building a
protocol tree or not.

svn path=/trunk/; revision=4133
2001-11-03 02:19:10 +00:00
Guy Harris 2b2bc176e2 Small fix to include the arrow pixmaps in the distribution, from Andrew
C. Feren.

svn path=/trunk/; revision=4132
2001-11-03 01:56:11 +00:00
Guy Harris 66c2940031 When freeing the "gpa_hfinfo" pointer array, free the array itself, as
well as the structure containing it.

svn path=/trunk/; revision=4131
2001-11-03 01:19:59 +00:00
Guy Harris 0c13da5c70 Rename the "private" member of the "packet_info" structure to
"private_data", to keep C++ compilers from getting heartburn.

svn path=/trunk/; revision=4130
2001-11-03 00:58:52 +00:00
Guy Harris 6d24afcb1f Fix the indentation.
svn path=/trunk/; revision=4129
2001-11-03 00:19:26 +00:00
Gilbert Ramirez 920b294065 Fix leak of ds_name. Thanks to Sirop Erable <matrix_ottawa@yahoo.ca>
svn path=/trunk/; revision=4128
2001-11-02 21:39:34 +00:00
Richard Sharpe 257d8398d1 Ahhh,
That feels better. Some real programming for once.

Guided by Guy, I have cleaned up tftp a bit and added some useful stuff to
the summary line.

svn path=/trunk/; revision=4127
2001-11-02 20:52:59 +00:00
Gilbert Ramirez 0326e32563 Support DLT_CISCO_IOS.
svn path=/trunk/; revision=4126
2001-11-02 13:00:30 +00:00
Guy Harris 5511e79593 Add support for 64-bit signed integers in "int-64bit.[ch]", add an
FT_INT64 type, and make the Diameter dissector use it.

Handle the 64-bit integer types in the display filter semantics checks.

svn path=/trunk/; revision=4125
2001-11-02 10:09:51 +00:00
Guy Harris f1b98e60bc Don't assume that all UNIX platforms have <iconv.h> - explicitly check
whether it's present.

This puts HAVE_ICONV_H in the "config.h" file, so put in an entry for it
in "config.h.win32" - an entry that doesn't define it - and get rid of
the check for WIN32 in "xmlstub.h".

svn path=/trunk/; revision=4124
2001-11-02 10:01:00 +00:00
Guy Harris 4ce74359eb Install the files for the XML Diameter dictionary.
svn path=/trunk/; revision=4123
2001-11-01 21:55:08 +00:00
Guy Harris be7e31be0e From David Frascone: duUpdate to Diameter dissector to load the
dictionary as an XML file rather than building it in, and various
Diameter updates.

svn path=/trunk/; revision=4122
2001-11-01 21:52:44 +00:00
Guy Harris f9ff2a9ab3 Fix some declarations to match the signatures of "tvb_find_guint8()" and
"tvb_pbrk_guint8()".

svn path=/trunk/; revision=4121
2001-11-01 09:53:13 +00:00
Gilbert Ramirez a81c03816c Add an option to show the File Offset of a frame. Not useful for
general packet analyzing, but useful when developing wiretap code or
other such low-level development.
Default preference is *not* to show File Offset.

svn path=/trunk/; revision=4120
2001-11-01 04:00:56 +00:00