Commit Graph

4972 Commits

Author SHA1 Message Date
Guy Harris 63e8447614 From Joerg Mayer: get rid of unused arguments, and mark those that can't
be eliminated (because the function is called through a pointer, and
other functions called through the same pointer *do* use the argument)
as unused.

svn path=/trunk/; revision=5050
2002-03-31 20:57:02 +00:00
Guy Harris a412a0cec5 From Joerg Mayer: mark function arguments as unused.
svn path=/trunk/; revision=5049
2002-03-31 20:39:08 +00:00
Guy Harris e321fcbaf5 From Dinesh Dutt: get rid of unused variables, and fix a bug in the way
the device type is determined (create the hash entry regardless of
whether a protocol tree is being built).

svn path=/trunk/; revision=5048
2002-03-31 20:28:41 +00:00
Gerald Combs 98d6968b59 Update NEWS to release 0.9.3.
svn path=/trunk/; revision=5047
2002-03-30 17:43:31 +00:00
Ronnie Sahlberg 25972db6bb copylen should be unsigned when we check the range since tvb_memcpy will be upset if a negative value is passed as len
svn path=/trunk/; revision=5044
2002-03-29 21:55:05 +00:00
Ronnie Sahlberg 9ededb6b99 len and max_len were swapped in the UNICODE_STRING dissector
svn path=/trunk/; revision=5043
2002-03-29 04:35:48 +00:00
Gerald Combs dade8cbf56 Bump the version to 0.9.3. Update NEWS to be current to
http://www.ethereal.com/lists/ethereal-cvs/200203/msg00175.html (the
rest will be added later).

svn path=/trunk/; revision=5042
2002-03-29 03:33:59 +00:00
Gerald Combs df166b9d44 Periodic update.
svn path=/trunk/; revision=5041
2002-03-29 01:45:42 +00:00
Gerald Combs 395cace9a7 From Jakob Schlyter: add "PRACK" and "SPRACK" methods.
Change the behavior of the dissector to treat anything matching
"^.* .+:.+ SIP/2.0$" as a SIP request.  Methods that don't match our list
are labelled "unknown".

Convert some tabs to spaces to match the rest of the code.

svn path=/trunk/; revision=5040
2002-03-29 01:25:57 +00:00
Ashok Narayanan 018dce8c50 Changed TBA GMPLS object numbers to proposed IETF numbers.
svn path=/trunk/; revision=5039
2002-03-29 00:41:54 +00:00
Guy Harris 66e39af899 From Michael Tuexen: update to draft-ietf-sigtran-m3ua-12.
svn path=/trunk/; revision=5038
2002-03-28 21:48:46 +00:00
Guy Harris 7644017ed8 From Michael Tuexen: update to draft-ietf-sigtran-m2pa-04.txt.
svn path=/trunk/; revision=5037
2002-03-28 21:41:30 +00:00
Guy Harris c5aca06c06 Fix a typo.
Don't use the EAP ID of the first fragment as the reassembly key; that
might not work if EAP IDs are reused.  Use the frame number of the frame
containing the first fragment, instead.

svn path=/trunk/; revision=5036
2002-03-28 09:51:17 +00:00
Guy Harris 5445def34b Use the reported length, not the captured length, when iterating through
the tvbuff we're handed.

Handle record headers split across segment boundaries.

Don't set the column until we know we don't need to desegment.

svn path=/trunk/; revision=5035
2002-03-28 09:15:28 +00:00
Guy Harris e6393bd15f Initialize the fields of "edt->pi" in order - and initialize some fields
that weren't being initialized.

svn path=/trunk/; revision=5034
2002-03-28 09:12:00 +00:00
Jun-ichiro itojun Hagino e1eec942fd correct v3 checksum.
From: kazuyoshi.tomita@itg.hitachi.co.jp

svn path=/trunk/; revision=5033
2002-03-28 07:40:54 +00:00
Guy Harris bacadc18cd The Unicode Consortium's country code table has been updated to
incorporate the fixes I sent them, so it now matches what we have.

svn path=/trunk/; revision=5032
2002-03-27 20:58:43 +00:00
Guy Harris f142576b0d Updates from Paul Erkkila.
svn path=/trunk/; revision=5031
2002-03-27 20:29:05 +00:00
Guy Harris f9dff515d5 Add an item for Adam Sulmicki's other EAP enhancements.
svn path=/trunk/; revision=5030
2002-03-27 20:14:06 +00:00
Guy Harris e22eb49cb0 Cisco updates from Adam Sulmicki.
svn path=/trunk/; revision=5029
2002-03-27 19:39:28 +00:00
Guy Harris 435f99fa72 Cleanups from Adam Sulmicki.
svn path=/trunk/; revision=5028
2002-03-27 19:38:37 +00:00
Guy Harris 7f0fe3072f Put a tree with information about the WTP fragments into the tree if
we've reassembled a message.

svn path=/trunk/; revision=5027
2002-03-27 07:44:33 +00:00
Guy Harris 6cb7af661a From Adam Sulmicki: EAP-TLS reassembly.
(Modified not to use global variables for state, but to keep state in
the conversation, to use "fragment_add_seq()", and to make the protocol
tree entries for the fragment list refer to the reassembled data and to
make the entries for items in that list refer to the part that item
contributed to that data.)

svn path=/trunk/; revision=5026
2002-03-27 07:41:20 +00:00
Guy Harris 588c50944d In the protocol tree entries for lists of fragments/segments, make the
top-level item correspond to the reassembled data, and make the item for
each fragment/segment correspond to the part of that reassembled data
that came from that fragment/segment.

svn path=/trunk/; revision=5025
2002-03-27 04:27:05 +00:00
Guy Harris 31cf9563c2 From Adam Sulmicki: enhanced Cisco support, Microsoft vendor ID, and
fixing a typo in a #define.

svn path=/trunk/; revision=5024
2002-03-27 02:37:14 +00:00
Guy Harris 807bf4ead2 The Unicode Consortium's table has some errors in it; fix those errors
in our table.

svn path=/trunk/; revision=5023
2002-03-26 08:23:58 +00:00
Guy Harris 4d842c13de Make the UCD SNMP library read its configuration files, so that, for
example, you can configure it to read in MIB files other than the
default ones.

svn path=/trunk/; revision=5022
2002-03-26 06:35:03 +00:00
Guy Harris 2abe1ac0a6 From Andrew Feren:
Man pages don't have any notion of external links and there
	isn't enough information for pod2html to resolve the links for
	manpages in the "See Also" section of the man pages.  As a
	result running pod2html generates a bunch of warning messages
	and just emphasizes/italicizes the text.

	Therefore, we change the link (L<name>) command to an emphasizes
	(I<name>) command.  The net result is the same, but you don't get
	the warnings when generating HTML docs.

	At some point in the future someone might want to do the work to
	get the links to generate correctly, but until then this will
	shut up pod2html.

svn path=/trunk/; revision=5021
2002-03-26 06:15:08 +00:00
Tim Potter b958e865ca Use dcerpc_call_value structure to fetch request/response frame numbers
and storage of private data.

Fix memory leaks in form dissectors.

svn path=/trunk/; revision=5020
2002-03-26 05:20:51 +00:00
Tim Potter 78fd37d27c Added dissectors for get/set/delete form.
Fixed enumforms dissector.

svn path=/trunk/; revision=5019
2002-03-26 04:29:17 +00:00
Guy Harris 952a4960f1 From Marc Milgram: properly handle fragmented packets.
svn path=/trunk/; revision=5018
2002-03-25 21:15:54 +00:00
Guy Harris 6dcb948ca2 From Andreas Sikkema: put the H.225 stuff at the top level of the
protocol tree.

svn path=/trunk/; revision=5017
2002-03-25 20:23:17 +00:00
Guy Harris 5a046966d8 From Andreas Sikkema: keep TPKT information out of the Info column in
cases where the subdissector would append information to that column.

svn path=/trunk/; revision=5016
2002-03-25 20:17:09 +00:00
Guy Harris f4bbdc9bc3 The Cygwin "winnls.h" header, and the Microsoft "winnls.h" headers, says
that a country code of 0 is for the "default", presumably meaning "don't
override the setting on the desktop machine" or something such as that.

svn path=/trunk/; revision=5015
2002-03-25 20:01:13 +00:00
Tim Potter c9360c715f Some refactoring of the spoolss dissector:
- rewrote request/response hashing code and moved it into
   packet-dcerpc-nt.c for use by other dcerpc/smb dissectors

 - rewrote policy handle hashing code as above, with nifty improvements

 - moved check for unparsed data and end of frame into a function

 - fixed matching of printername to handle in addprinterex

svn path=/trunk/; revision=5014
2002-03-25 05:42:02 +00:00
Tim Potter a2364e52b8 #include <string.h> to quieten compiler warning.
svn path=/trunk/; revision=5013
2002-03-25 04:02:37 +00:00
Tim Potter eaa3bc3095 Added a generic reply handler for unimplemented spoolss dissectors. This
just parses the error code at the end of the packet and updates COL_INFO
if necessary.

svn path=/trunk/; revision=5012
2002-03-25 01:09:01 +00:00
Guy Harris 02115cdb39 Fix "dissect_ndr_nt_UNICODE_STRING_str()" so that the "di->levels" value
is decremented after every level is appended to, so that it correctly
specifies the number of levels up the tree to which to append stuff.

Fix some arguments to various printing routines to specify the correct
level.  This includes making "dissect_ndr_nt_UNICODE_STRING()" add 1 to
the level argument it's passed before passing it on to
"dissect_ndr_pointer()".

Add a "netlogon_dissect_UNICODE_STRING()" routine to put the fields of a
bunch of NDR_POINTER_REF UNICODE_STRING values into subtrees.

Fix the labels passed as arguments in a bunch of "dissect_ndr_pointer()"
calls.

svn path=/trunk/; revision=5011
2002-03-24 12:25:40 +00:00
Guy Harris c9396446fb From Heikki Vatiainen: fix the test for IS-IS virtual links.
svn path=/trunk/; revision=5010
2002-03-23 22:03:41 +00:00
Guy Harris 2128583c24 CGMP-over-Ethernet II support, from Heikki Vatiainen.
svn path=/trunk/; revision=5009
2002-03-23 22:02:20 +00:00
Guy Harris 3c36b98cca From Adam Sulmicki: state machine changes to update the state better,
and changes to the display items for LEAP challenges and responses.

Make the LEAP state per-conversation.

Get rid of some unneeded includes.

svn path=/trunk/; revision=5008
2002-03-23 21:24:38 +00:00
Guy Harris 4e576dc1f2 Default to *not* using the UCD SNMP library, as the current versions
have buffer-overflow vulnerabilities that we can't avoid.  You have to
ask for it explicitly if you want it.

svn path=/trunk/; revision=5007
2002-03-23 01:01:26 +00:00
Guy Harris 2ee730c79e Update from Diana Eichert to remove the comments with her login name.
svn path=/trunk/; revision=5006
2002-03-23 00:20:17 +00:00
Guy Harris 5a01067dff From Diana Eichert: add a "-q" flag to Tethereal to suppress packet
count display.

Update the Tethereal man page to reflect the new option.

Update both the Ethereal and Tethereal man pages to use the same style
to describe options, e.g.

	-Z	Cause Ethereal to draw the mark of Zorro on the display.

rather than

	-Z	Causes Ethereal to draw the mark of Zorro on the display.

(some were using the first and some were using the second).

Update the Ethereal man page to do the same for menu items.

Update both the Ethereal and Tethereal man pages to better describe the
"-N" flag (by noting that any form of name resolution *not* specified in
the flag is turned *off*).

svn path=/trunk/; revision=5005
2002-03-22 23:42:27 +00:00
Guy Harris fb18dbe6f5 Attach to all frames containing LEAP messages an indication of the state
of the LEAP negotiation, so we can properly dissect the LEAP message
after the first pass through the packets.

For that to be computed correctly, EAP frames have to be dissected on
the first pass through the capture file, even if the protocol tree isn't
being generated; that means that RADIUS AVPs need to be dissected even
if the protocol tree isn't being generated.

svn path=/trunk/; revision=5004
2002-03-22 11:41:59 +00:00
Guy Harris f970451d95 Add a cleanup function to close a potential memory leak.
Get rid of an assigned-to-but-not-used variable.

From Steven French: add names for some additional calls.

svn path=/trunk/; revision=5003
2002-03-22 10:03:36 +00:00
Guy Harris 29607a5107 For DCE RPC requests and replies, put an item into the protocol tree for
the sub-protocol containing the actual operation number (which isn't
necessarily the operation number in a connectionless reply's PDU;
sometimes the operation number in a connectionless reply appears to be
garbage, and it's not what we use to dissect the reply in any case), and
also giving the name of the operation, if we know it.

Show the authentication data in connectionless PDUs, if present, as an
item in the protocol tree.

svn path=/trunk/; revision=5002
2002-03-22 09:44:58 +00:00
Guy Harris 61130a5f65 Additional vendor (Issani) for Radius, and Issani VSA support for
Radius, from Jim Sienicki.

Put Jakob Schlyter into the contributors list in the Ethereal man page.

svn path=/trunk/; revision=5001
2002-03-22 02:38:54 +00:00
Guy Harris db1428be21 Improve the media payload type names some more, and add some new ones I
found in a Cisco document.

svn path=/trunk/; revision=5000
2002-03-21 11:18:44 +00:00
Guy Harris 3f4fdd2af4 Use somewhat nicer names for the media payload types.
svn path=/trunk/; revision=4999
2002-03-21 11:08:39 +00:00