Commit graph

5929 commits

Author SHA1 Message Date
Guy Harris
946337a9b8 It appears that the annoying Linux behavior wherein the "source routed"
flag is never set on packets sent by the machine on which the capture is
being done is not a 2.0[.x]-only problem; it's in 2.4.18, and may well
be in all 2.x kernels with at least some drivers.

svn path=/trunk/; revision=5812
2002-07-02 08:23:53 +00:00
Guy Harris
9cde3af195 Set pinfo->ptype, pinfo->srcport, and pinfo->dstport as soon as we've
fetched the source and destination port numbers, so that they're
available to the "Follow TCP Stream" code even if we throw an exception
dissecting the rest of the TCP header.

svn path=/trunk/; revision=5811
2002-07-02 08:18:45 +00:00
Guy Harris
9d3dbbba72 Add signature characters for IPX message watchdog positive replies and
"broadcast message waiting" indications.

When handing off dissection from the IPX dissector:

	Check the socket numbers before we check the packet type;
	we've seen IPX message packets with a type of NCP and a
	destination socket of IPX_SOCKET_IPX_MESSAGE, and SAP
	packets with a type of NCP and a destination socket of
	IPX_SOCKET_SAP.

	Assume the lower-numbered socket number is more likely
	to be the right one, along the lines of what we do for
	TCP and UDP.  We've seen NCP packets with a type of NCP,
	a source socket of IPX_SOCKET_NCP, and a destination
	socket of IPX_SOCKET_IPX_MESSAGE, and we've seen NCP
	packets with a type of NCP, a source socket of
	IPX_SOCKET_IPX_MESSAGE, and a destination socket of
	IPX_SOCKET_NCP.

svn path=/trunk/; revision=5810
2002-07-02 07:32:04 +00:00
Tim Potter
4f61c39615 Fix up is_open and is_close arguments to dissect_nt_policy_hnd
calls in SAMR dissector.

svn path=/trunk/; revision=5809
2002-07-02 02:33:07 +00:00
Ronnie Sahlberg
d2c6e25aef tiny netlogon update
svn path=/trunk/; revision=5808
2002-07-01 13:20:55 +00:00
Ronnie Sahlberg
777b598595 Update to NETLOGON dissector
svn path=/trunk/; revision=5807
2002-07-01 13:18:21 +00:00
Guy Harris
ac444e6b9d From Joerg Mayer: add some missing static declarations.
svn path=/trunk/; revision=5806
2002-06-30 20:28:54 +00:00
Guy Harris
b10bc01cad From Graeme Hewson:
pass a non-zero count to "pcap_dispatch()" when possible;

	fix the check after "test_for_fifo()";

	if there's a maximum file size, we're definitely saving to a
	file, so don't bother checking "ld.pdh", as it won't be null;

	if writing to a FIFO, flush after "pcap_dispatch()" returns,
	rather than after every packet, so we don't do as many writes to
	the FIFO.

svn path=/trunk/; revision=5805
2002-06-30 20:26:45 +00:00
Ronnie Sahlberg
59de9ba8f8 NETLOGON update
svn path=/trunk/; revision=5804
2002-06-30 11:42:47 +00:00
Ronnie Sahlberg
c8c5643a23 First checkin for NETLOGON cleanup
svn path=/trunk/; revision=5803
2002-06-30 11:33:27 +00:00
Guy Harris
3a59287bfb Use a GString to hold the formatted area address, so that we don't
overflow a fixed-length buffer.

svn path=/trunk/; revision=5802
2002-06-29 23:03:24 +00:00
Guy Harris
6f574a8004 Use "%u" to print unsigned quantities.
svn path=/trunk/; revision=5801
2002-06-29 22:15:41 +00:00
Guy Harris
96033b671b From Didier Gautheron:
Add Zone Information Protocol support.

	Rename "ddp.dst.socket" and "ddp.src.socket" to "ddp.dst_socket"
	and "ddp.src_socket", as the socket number is no longer
	considered part of the DDP address.

svn path=/trunk/; revision=5800
2002-06-29 21:27:39 +00:00
Guy Harris
dee4768f93 Adjust "voff" regardless of whether we're building a protocol tree, as
it's used in the first pass we make through the packet to see whether
it's DHCP or not.

svn path=/trunk/; revision=5799
2002-06-29 19:45:01 +00:00
Guy Harris
7dc9756921 Have "print_line()" take an indentation argument, and do blank
padding when printing text and use "putline" when printing PostScript.
Eliminate "hexdump", as it's just a special case of "putline".

Have "proto_tree_print_node()" just call "print_line()".

Get rid of "print_ps_hex()" - the font used for the hex dump and the
protocol tree are the same, so there's no need to switch fonts.

svn path=/trunk/; revision=5798
2002-06-29 09:45:06 +00:00
Guy Harris
6b2bdd3a6e Add a note that Rick Jones reports that HP-UX 11i needs no patches for
outbound promiscuous mode support.

svn path=/trunk/; revision=5797
2002-06-29 04:38:31 +00:00
Gerald Combs
75fc7b1e2d Update to the latest changes.
svn path=/trunk/; revision=5795
2002-06-29 00:47:08 +00:00
Gerald Combs
570ea81a97 Finalize release text.
svn path=/trunk/; revision=5794
2002-06-29 00:35:35 +00:00
Guy Harris
0d206a890a Put in a note about casting the result of "tvb_get_ptr()" to a structure
pointer and using that pointer.

svn path=/trunk/; revision=5793
2002-06-29 00:15:18 +00:00
Guy Harris
b2d4289e37 "packet-ajp13.h" declared a non-existent routine; remove it.
svn path=/trunk/; revision=5792
2002-06-29 00:05:05 +00:00
Guy Harris
b7114290ac Add an RCS ID.
svn path=/trunk/; revision=5791
2002-06-29 00:00:48 +00:00
Guy Harris
90f9d7d6f9 Add RCS IDs.
svn path=/trunk/; revision=5790
2002-06-28 23:59:47 +00:00
Guy Harris
6b9d9f09b7 Give it an RCS ID.
svn path=/trunk/; revision=5789
2002-06-28 23:58:06 +00:00
Gerald Combs
0cdc4db72a Remove include of plugins/plugin_api.h. This works with gcc, but confuses
MSVC++ mightily.  Include necessary static plugin headers.

svn path=/trunk/; revision=5788
2002-06-28 23:55:27 +00:00
Guy Harris
431cae49a1 There are no "ipx.src" or "ipx.dst" filterable fields.
svn path=/trunk/; revision=5787
2002-06-28 22:58:39 +00:00
Guy Harris
236fef363a From Hannes Gredler: fix display of one-byte NETs in ISIS dissector.
svn path=/trunk/; revision=5786
2002-06-28 22:46:36 +00:00
Guy Harris
96fad4b20a From Hannes Gredler: fix display of OSI system IDs to use a dot rather
than a dash before the PSN byte; the dash is typically
only used to demarcate the fragment.

svn path=/trunk/; revision=5785
2002-06-28 22:43:49 +00:00
Guy Harris
fb7638472f From Michael Tuexen: update to match the latest I-Ds for two extensions:
http://www.ietf.org/internet-drafts/draft-ietf-tsvwg-addip-sctp-06.txt
	http://www.ietf.org/internet-drafts/draft-stewart-tsvwg-prsctp-01.txt

svn path=/trunk/; revision=5784
2002-06-28 22:38:42 +00:00
Guy Harris
d610bfbd49 Clean up a pile of warnings.
Pass "get_nstring()" the length of the buffer it's to fill in, and keep
it from overflowing that buffer.

svn path=/trunk/; revision=5783
2002-06-28 22:35:26 +00:00
Gerald Combs
6181307c54 Add Apache JServ 1.3 dissector, from Christopher K. St. John.
svn path=/trunk/; revision=5782
2002-06-28 21:02:55 +00:00
Gerald Combs
08f9f41792 Add the 0.9.5 release information.
svn path=/trunk/; revision=5781
2002-06-28 20:28:02 +00:00
Guy Harris
69d58fab15 Update the note on adding dissector source files to match current
reality, and add a note on adding dissector *header* files.

svn path=/trunk/; revision=5780
2002-06-28 20:20:22 +00:00
Gerald Combs
1d91164b2a Bump the version up to 0.9.5.
svn path=/trunk/; revision=5779
2002-06-28 20:15:31 +00:00
Guy Harris
6ecde9ff17 From Didier Gautheron: move port number from AppleTalk addresses to
separate column, and put in hidden fields for AppleTalk source and
destination addresses.

svn path=/trunk/; revision=5778
2002-06-28 20:13:03 +00:00
Guy Harris
d5cc116c7d Add in some missing header files.
svn path=/trunk/; revision=5777
2002-06-28 19:26:15 +00:00
Guy Harris
95d39eb34e SIGINT is, at least as I read some Microsoft documentation, not
supported in Win32 applications; use the native Win32 mechanism for
catching ^C (and other events that would terminate a program running in
a console window).

That mechanism (and the signal mechanism in the MSVC++ C run-time) cause
the handler to be run in a separate thread, so it can't just do a
longjmp.  Fortunately, WinPcap's packet-dispatch loop, unlike the
libpcap loop on some UNIX platforms, can be interrupted by ^C, so we
don't have to do the longjmp there - we can just set "ld.go" to FALSE to
terminate the capture loop.

svn path=/trunk/; revision=5776
2002-06-28 09:47:36 +00:00
Tim Potter
973c1a447d Removed unused variable.
svn path=/trunk/; revision=5775
2002-06-28 07:17:34 +00:00
Gerald Combs
102efdb26f Move the contents of NEWS to ChangeLog, since NEWS was a big list of changes.
Update the ChangeLog to be current with the latest changes.  Leave the NEWS
file empty for now; I'll put some release notes / announcement info in it
before the release (some time tomorrow, hopefully).

svn path=/trunk/; revision=5774
2002-06-28 03:47:28 +00:00
Guy Harris
e65f81cc5c Trim leading and trailing white space from the capture device in the
preference setting, and, if it's empty, treat that as an indication that
the user doesn't want to wire in a default device, and just wants the
first device in the list chosen.

svn path=/trunk/; revision=5773
2002-06-28 01:59:46 +00:00
Tim Potter
d24a5fd6c9 Cleaned up NT policy handle hashing a bit. Split the store function
into two - one that stores request/reply frame numbers and another
that associates a text name with a policy handle.

Removed all calls to prs_policy_hnd() and converted to calls to
dissect_nt_policy_hnd().

svn path=/trunk/; revision=5772
2002-06-28 01:23:26 +00:00
Guy Harris
9745ed6988 From Markus Steinmann: support for writing LANalyzer files.
svn path=/trunk/; revision=5771
2002-06-27 22:46:48 +00:00
Gerald Combs
83dc23831a Update tethereal to handle the "<description> : <device ID>" interface
names that are generated under Windows.  Note in pcap-util.c that we
may want to separate interface device names and descriptions in the
future.

svn path=/trunk/; revision=5770
2002-06-27 22:39:16 +00:00
Guy Harris
c2df675f3f From Anand V. Narwani: add in two missing files, so they're put into the
source tarball.

Update Gerald's e-mail address.

svn path=/trunk/; revision=5769
2002-06-27 19:08:43 +00:00
Tim Potter
3ba95d7b16 Added some more dissection of rffpcnex flags.
svn path=/trunk/; revision=5768
2002-06-27 03:02:50 +00:00
Guy Harris
bb6d838f6f Fix the capitalization of NetWare.
svn path=/trunk/; revision=5767
2002-06-26 07:39:48 +00:00
Guy Harris
7167435205 Put in a note about the two SAP number lists in this file and in
"packet-ipx.c".

svn path=/trunk/; revision=5766
2002-06-26 07:29:41 +00:00
Guy Harris
ee134d225f From Tsutomu Mieno and Yasuhiro Shirasaki: update the DHCPv6 support to
match the following latest drafts:
  o draft-ietf-dhc-dhcpv6-26.txt
  o draft-troan-dhcpv6-opt-prefix-delegation-01.txt
  o draft-ietf-dhc-dhcpv6-opt-dnsconfig-02.txt

svn path=/trunk/; revision=5765
2002-06-26 01:24:43 +00:00
Guy Harris
b0c474a84e From Markus Steinmann: add IPX SAP for SEH's InterCon Printserver.
svn path=/trunk/; revision=5764
2002-06-25 20:31:22 +00:00
Tim Potter
5b56b34783 Fixed typo in text name and added dissector for RouterReplyPrinter rpc.
Fixed incorrect format strings in numerous calls to val_to_str() as you can't use %s

Added %d format to end of numerous calls to val_to_str()

svn path=/trunk/; revision=5763
2002-06-25 03:01:05 +00:00
Tim Potter
c5bc4a8a58 Same for a NT status code.
svn path=/trunk/; revision=5762
2002-06-25 02:58:11 +00:00