Commit Graph

5077 Commits

Author SHA1 Message Date
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
Guy Harris 1c9a36de0c From Scott Renfro: remove unused "pinfo" arguments.
svn path=/trunk/; revision=5125
2002-04-08 10:05:19 +00:00
Guy Harris 8b9f8e4f3b The length passed into "seek_read" routines is the length supplied by
the "read" routine, which means it's already had any end-of-frame
padding/FCS removed; we don't need to remove it in the "seek_read"
routine.

svn path=/trunk/; revision=5124
2002-04-08 10:01:26 +00:00
Guy Harris b2c46086c3 Use WTAP_ENCAP_IEEE_802_11_WITH_RADIO for AiroPeek files, rather than
having a special encapsulation type for AiroPeek files.

svn path=/trunk/; revision=5123
2002-04-08 09:44:42 +00:00
Guy Harris 939b3c8e0a Add an encapsulation type for "802.11 with radio information"; that type
returns radio information such as signal strength, channel, and data
rate in a pseudo-header.  Add that pseudo-header.

Use the "802.11 with radio information" encapsulation type for Wireless
Sniffer files; extract the radio information from where it appears to be
in the header.

Add dissector code for that encapsulation type.

Fix an error in the code to put radio information into the AiroPeek
tree.

Make the "wrapped" flag for NetXRay/Windows Sniffer captures a
"gboolean".

svn path=/trunk/; revision=5122
2002-04-08 09:09:49 +00:00
Gerald Combs cb7fcbe30d Fix the transparency on each 16-color image in ethereal.ico.
Add our own checkbox images to the NSIS installer.

svn path=/trunk/; revision=5121
2002-04-08 02:18:14 +00:00
Guy Harris 046fa7c6dc From Joerg Mayer; get rid of unused arguments, and make some variables
not used outside "packet-beep.c" static.

svn path=/trunk/; revision=5120
2002-04-08 02:13:36 +00:00
Guy Harris 34ab745db0 Yes, that stuff really *does* appear to be just padding. Go figure.
svn path=/trunk/; revision=5119
2002-04-08 02:11:24 +00:00
Guy Harris 4bd2da9aac Get rid of an unused variable.
Don't register the PFLOG dissector by name; it's only called through the
"wtap_encap" dissector table.

svn path=/trunk/; revision=5118
2002-04-08 02:02:27 +00:00
Guy Harris 12d83302b0 If variables are used only if "HAVE_UCD_SNMP" is undefined, declare them
only if "HAVE_UCD_SNMP" is undefined.

svn path=/trunk/; revision=5117
2002-04-08 01:55:05 +00:00
Guy Harris 2ceb589445 Clean up the "Use zlib library" message.
svn path=/trunk/; revision=5116
2002-04-08 01:39:02 +00:00
Guy Harris 06adbfc556 Replace "--enable-zlib" with "--with-zlib", and have it take an optional
"=DIR" argument to specify the directory in subdirectories of which
zlib's headers and libraries can be found.

svn path=/trunk/; revision=5115
2002-04-08 01:34:39 +00:00
Tim Potter 3123dde48e A devicemode contains a uint32 at the start which represents the size of
the structure.

Fixed an off by one but in displaying the device mode in a PRINTER_INFO_2
structure.

The devicemode in a devicemode container is not a deferred pointer but
rather occurs immediately after the pointer if it is non-NULL.

svn path=/trunk/; revision=5114
2002-04-08 00:27:36 +00:00
Guy Harris b212a49bd7 Get rid of the unused hf_ value "hf_isis_hello_clv_restart".
Use the "tree_id" argument to "isis_dissect_mt_clv()" for the 2-byte MT
IDs, and arrange that the two hf_ values passed as that argument
actually be defined for protocol fields.

Fix the loop in "isis_dissect_mt_clv()" so that it actually catches an
odd byte at the end (i.e., loop until there is data at all, not until
there is 1 or fewer bytes), and put that odd byte, if it exists, into
the tree as a 1-byte text item, not a 2-byte text item.

svn path=/trunk/; revision=5113
2002-04-07 23:39:00 +00:00
Guy Harris 5a89b3b965 Get rid of unused "pinfo" arguments.
svn path=/trunk/; revision=5112
2002-04-07 22:36:55 +00:00
Guy Harris 107da87b6d Get rid of unused "pinfo" arguments.
svn path=/trunk/; revision=5111
2002-04-07 22:00:34 +00:00
Guy Harris 7efa2e4941 Get rid of the unused "pinfo" argument to "dissect_osi_options()".
svn path=/trunk/; revision=5110
2002-04-07 21:54:48 +00:00
Guy Harris 4fb8509ac2 Get rid of an unused variable.
svn path=/trunk/; revision=5109
2002-04-07 21:47:50 +00:00
Guy Harris 5bb4bf06a9 Gerald says the padding has values that don't look like FCSes; note that
in the comment.

svn path=/trunk/; revision=5108
2002-04-07 21:44:55 +00:00
Guy Harris ae54ef681c Make the end-of-packet padding a per-capture-file property.
Read in the entire packet, including the padding, and just tell our
caller about the non-padding part; that avoids doing a "file_seek()"
("fseek()"s are inefficient on some platforms, as they flush the
standard I/O buffers and do an "lseek()"), and would also let us supply
the padding to the caller if it turns out it's an FCS rather than
padding.

svn path=/trunk/; revision=5107
2002-04-07 21:29:01 +00:00
Gerald Combs f0e2b1a83c Add support for Sniffer 4.6 wireless captures.
svn path=/trunk/; revision=5106
2002-04-07 19:10:10 +00:00