Commit Graph

5097 Commits

Author SHA1 Message Date
Guy Harris f5880dd3bd Rename the "frag_offset" argument of "fragment_add_seq()" to
"frag_number", to make it clearer that it's not a byte offset but a
sequence number.

svn path=/trunk/; revision=5175
2002-04-17 04:54:30 +00:00
Guy Harris 7ac653c0b4 From Michael Tuexen: add missing support for the T-Bit in ABORT chunks.
svn path=/trunk/; revision=5174
2002-04-16 19:58:53 +00:00
Guy Harris 85a67ed6d5 Add support for desegmentation of X11 messages.
Try to check whether the first request we see is an initial connection
request, and dissect it as such if so.

Get rid of the global "next_offset" variable.

Check for buffer overflows when building the summary item for a list
of keysyms.

Display BASE_DEC items in decimal, not hex.

svn path=/trunk/; revision=5173
2002-04-16 09:42:31 +00:00
Gerald Combs 56dfc65552 Fix more Politecnico di Torino links.
svn path=/trunk/; revision=5172
2002-04-16 03:00:54 +00:00
Guy Harris 827426c4d1 Do the standard "next entry offset" stuff in NT NOTIFY replies, so as to
1) handle inter-entry padding;

	2) quit when the "next entry offset" is 0 (that being the signal
	   for the last entry).

svn path=/trunk/; revision=5171
2002-04-16 02:42:24 +00:00
Tim Potter 0f7ea5950d Display non-zero return codes in COL_INFO.
svn path=/trunk/; revision=5170
2002-04-16 02:02:04 +00:00
Guy Harris 693bcba7cb From Michael Tuexen:
- support for current SCTP checksum
	- fix a bug for the -S parameter
	- fix a bug in the displayed output for the TSN and PPI.

svn path=/trunk/; revision=5169
2002-04-15 21:53:55 +00:00
Guy Harris cec44f7274 ASAP support, from Michael Tuexen.
svn path=/trunk/; revision=5168
2002-04-15 21:47:59 +00:00
Guy Harris 8440dc6316 From Jason Lango: a hack to get SDES length correct on QT packets.
svn path=/trunk/; revision=5167
2002-04-15 21:25:05 +00:00
Guy Harris 91dbbe7b2e From Simharajan Srishylam:
In capability element, length is for the value (excluding type &
	len field) not for the whole element.  Results in packets not
	being parsed correctly.

svn path=/trunk/; revision=5166
2002-04-15 21:12:56 +00:00
Uwe Girlich f969355957 From Ronnie Sahlberg: dissect_mount_dirpath_call()
The sprintf() thingy failed to properly null terminate the string thus
causing damage.

svn path=/trunk/; revision=5165
2002-04-15 08:55:03 +00:00
Guy Harris e59948bc2d Use "CLEANUP_PUSH()" and "CLEANUP_CALL_AND_POP()" to plug potential
memory leaks.

Put "Requests", not "X11 request", in the Info column for packets to the
server - we already know it's X11, and there may be more than one
request in the packet.

Put "Replies/events", not "X11 event", in the Info column for packets
from the server - we already know it's X11, and there may be more than
one message, and the messages might be replies rather than events.

svn path=/trunk/; revision=5164
2002-04-15 00:10:26 +00:00
Guy Harris 64fe90a383 From Joerg Mayer: get rid of some unused variables and arguments.
Use "tvb_get_ntohs()" to fetch the checksum from a VJ compressed packet,
rather than doing the ntoh by hand.

svn path=/trunk/; revision=5163
2002-04-14 23:22:22 +00:00
Guy Harris db31932941 From Joerg Mayer:
Declares some variables static.

	Creates a new include file packet-rsvp.h, and make use of it
	(change some extern decls to #inlcude).

	Move the file packet-pgm.h into packet-pgm.c as it is not used
	by anything outside packet-pgm.c.

svn path=/trunk/; revision=5162
2002-04-14 23:04:04 +00:00
Guy Harris 46a89d60f5 From Didier Gautheron: make the "code" field an signed decimal number.
svn path=/trunk/; revision=5161
2002-04-14 22:56:02 +00:00
Guy Harris 21bb9c6d91 M2UA support, from Michael Tuexen.
svn path=/trunk/; revision=5160
2002-04-14 22:52:49 +00:00
Guy Harris 0dbd6bd9f2 Get rid of another global variable.
svn path=/trunk/; revision=5159
2002-04-14 22:50:07 +00:00
Guy Harris eecf03cb84 Display Boolean bitfields that control whether other fields show up in a
message regardless of whether they're set or clear, so you can see not
only what flags are set, but also what flags aren't set.  (The previous
checkin only affected bitfields that don't control whether other fields
show up in a message.)

svn path=/trunk/; revision=5158
2002-04-14 22:08:51 +00:00
Guy Harris ebc22d3550 Display Boolean bitfields regardless of whether they're set or clear, so
you can see not only what flags are set, but also what flags aren't set.
Don't show reserved bits unless they're set, though.

svn path=/trunk/; revision=5157
2002-04-14 21:44:48 +00:00
Gerald Combs b6b2aa4906 Update wiretapped mirror links.
svn path=/trunk/; revision=5156
2002-04-14 20:06:04 +00:00
Gerald Combs 67250b71cc Change "http://netgroup-mirror.ethereal.com/winpcap" URLs to
"http://winpcap.mirror.ethereal.com/", since that's how we're mirroring
the Politecnico di Torino sites now.

svn path=/trunk/; revision=5155
2002-04-14 19:24:26 +00:00
Guy Harris a4729fac35 Add an ett_ variable to the "ett[]" array; it was missing.
svn path=/trunk/; revision=5154
2002-04-13 22:34:17 +00:00
Guy Harris 6c20421d36 Update to reflect the replacement of "--enable-zlib"/"--disable-zlib"
with "--with-zlib"/"--without-zlib", and the added support for
"--with-zlib=DIR".

Update to reflect the replacement of "--disable-snmp" with
"--without-ucdsnmp".

Note "--without-pcap" is what you'd use to build on a system without
libpcap.

Fix some typos.

svn path=/trunk/; revision=5153
2002-04-13 22:11:06 +00:00
Guy Harris a567c6c8ab Get rid of another global variable.
svn path=/trunk/; revision=5152
2002-04-13 20:16:09 +00:00
Guy Harris 2309234678 From Jouni Malinen:
Fix offset of challenge element in 802.11 dissector.
	Show fragmented 802.11 frames as fragments.

svn path=/trunk/; revision=5151
2002-04-13 18:41:47 +00:00
Guy Harris c3b66ffa9c From Michael Tuexen:
The -S option has been changed such that the payload protocol
	identifier can be specified instead of the verification tag.

	The error messages for -s -S have been corrected.

Update the text2pcap man page to reflect the "-S" change.

svn path=/trunk/; revision=5150
2002-04-13 18:36:24 +00:00
Guy Harris 4fc2cbb888 From Aamer Akhter: fix initialization of ett_slarp in CHDLC dissector.
svn path=/trunk/; revision=5149
2002-04-13 09:22:39 +00:00
Guy Harris b811d2cbe8 "pinfo->pseudo_header" might be null, even for link-layer types such as
WTAP_ENCAP_CHDLC; check whether it's null before using it.

Use FROM_DCE rather than 0x80 to check the "this is DCE->DTE" bit in
"x25.flags".

svn path=/trunk/; revision=5148
2002-04-13 00:02:55 +00:00
Guy Harris 661056aac4 Add (untested) routines to fetch IEEE single-precision and
double-precision floating-point numbers, in big-endian and little-endian
format (hopefully there aren't any middle-endian formats; if there are,
we'll have to add them), from a tvbuff, and to return floats (for
single-precision) and doubles (for double-precision).

svn path=/trunk/; revision=5147
2002-04-12 23:25:24 +00:00
Guy Harris f19587347e Bug fix from Didier Gautheron.
svn path=/trunk/; revision=5146
2002-04-12 01:18:47 +00:00
Guy Harris 93a728ab46 From Pasi Eronen: support for the PCT record layer, and fixes for a
couple of bugs in the TCP desegmentation routines.

svn path=/trunk/; revision=5145
2002-04-11 09:43:22 +00:00
Guy Harris 5cf5c87abc From Joerg Mayer: get rid of some unused arguments, and make some
routines not used outside the file in which they're defined static.

svn path=/trunk/; revision=5144
2002-04-11 09:38:03 +00:00
Guy Harris 665fecd413 From Pasi Eronen: add some items for the cipher suites for Microsoft's
old PCT protocol.

svn path=/trunk/; revision=5143
2002-04-11 09:20:33 +00:00
Guy Harris c6ad436848 From Tom Uijldert: create a subtree with "proto_item_add_subtree()",
rather than just using an item as a tree.

svn path=/trunk/; revision=5142
2002-04-11 09:10:47 +00:00
Guy Harris b5ab8cd51d Update the Win32 nmakefile to include "packet-lmp.c".
svn path=/trunk/; revision=5141
2002-04-11 09:01:52 +00:00
Guy Harris 08cf4d245f Do the "follow TCP stream" stuff before calling the subdissector, so
that it gets done even if the subdissector throws an exception (and so
that, if the subdissector modifies the addresses or ports, we still hand
the right values to "reassemble_tcp()").

svn path=/trunk/; revision=5140
2002-04-11 08:59:43 +00:00
Gilbert Ramirez 5c75eb2df7 Add "-" (hyphen) to the pattern for field-name/non-quoted string.
svn path=/trunk/; revision=5139
2002-04-11 03:26:26 +00:00
Ashok Narayanan 60fae99640 Added support for the Link Management Protocol (LMP), used for optical
signalling and Generalized MPLS. This commit contains code for the
protocol version described in draft-ietf-ccamp-lmp-03.txt.

svn path=/trunk/; revision=5138
2002-04-10 22:00:49 +00:00
Tim Potter 86a0e134e0 Fixed two instances where si->sip was being not checked for NULL before
being dereferenced.

svn path=/trunk/; revision=5137
2002-04-09 23:56:57 +00:00
Guy Harris d8d081866f From Joerg Mayer: remove unused parameters.
svn path=/trunk/; revision=5136
2002-04-09 09:04:33 +00:00
Guy Harris 61bcdf0828 "dissect_frame()" is now static; don't declare it in "packet-frame.h".
svn path=/trunk/; revision=5135
2002-04-09 08:43:43 +00:00
Guy Harris bf7e4ce909 Move the definition of the FROM_DCE bit in the "flags" field of a
"struct x25_phdr" to "wiretap/wtap.h".

Have two X.25 dissectors, one of which assumes that there's a "struct
x25_phdr" pseudo-header and one of which doesn't; the former uses the
information in that pseudo-header to determine whether the packet is
DTE->DCE or DCE->DTE, and the latter assumes it has no clue whether the
packet is DTE->DCE or DCE->TDE.  Use the former one in the LAPB
dissector, and the latter one in the XOT dissector and in the LLC
dissector table.

In the X.25-over-TCP dissector, handle multiple X.25 packets per TCP
segment, and handle X.25 packets split across TCP segments.

svn path=/trunk/; revision=5134
2002-04-09 08:15:04 +00:00
Guy Harris 7b12868ebf Get rid of the extra "Header" entry, putting the tree back the way it
was.

Get rid of variables unused as a result.

svn path=/trunk/; revision=5133
2002-04-09 06:02:24 +00:00
Tim Potter 37de9c398d Decode FORM_1 and FORM_REL flag values as value_strings.
svn path=/trunk/; revision=5132
2002-04-09 04:41:40 +00:00
Gilbert Ramirez 5c10ad55a8 More static-ization.
svn path=/trunk/; revision=5131
2002-04-08 20:30:56 +00:00
Gilbert Ramirez e937593bb8 More static-ization. In util.c, I commented out the ASCII-to-EBCDIC
functions, until that time that we need them.

svn path=/trunk/; revision=5130
2002-04-08 20:23:55 +00:00
Gilbert Ramirez bf43b509f0 Make some variables and functions static.
svn path=/trunk/; revision=5129
2002-04-08 20:11:31 +00:00
Guy Harris 629600a3d2 From Michael Tuexen:
- fix a bug with the LI field
	- remove some out of date comments
	- remove some unnecessary #includes

svn path=/trunk/; revision=5128
2002-04-08 19:18:11 +00:00
Guy Harris 4072fc2120 "expand_tree()" and "collapse_tree()" can be called on leaf nodes, so
don't blow up if "finfo->tree_type" is -1, just don't expand anything.

svn path=/trunk/; revision=5127
2002-04-08 19:10:09 +00:00
Guy Harris 1f4dcf8319 Note the AiroPeek support in the message for the file type.
svn path=/trunk/; revision=5126
2002-04-08 17:42:40 +00:00