Commit Graph

5942 Commits

Author SHA1 Message Date
Gerald Combs 0255b96a8f From a suggestion by PEN <codes [at] lycos.com>, add the length in bytes to
the status bar when a tree item is selected.

svn path=/trunk/; revision=5825
2002-07-06 16:47:17 +00:00
Gerald Combs 8afbfa52d5 Add a comment about using cmd.exe vs command.com.
svn path=/trunk/; revision=5824
2002-07-06 15:39:50 +00:00
Ronnie Sahlberg 4809fcca33 NETLOGON update.
Changed the name of SAM_ACCOUNT_INFO to the real name : DELTA_USER
also fixed some bugs in this structure. Surprised that ethereal could
dissect this structure at all previously since the structure description was
broken. Pure luck I guess.
Other implementors of NETLOGON would benefit from looking at ethereal source
in the future since it seems the public IDL definitions for this interface is
very buggy.

svn path=/trunk/; revision=5823
2002-07-06 00:22:05 +00:00
Guy Harris f84dac608f Use "dissect_ndr_nt_NTTIME()" rather than "dissect_smb_64bit_time()" to
dissect a FILETIME.

svn path=/trunk/; revision=5822
2002-07-05 20:41:01 +00:00
Guy Harris b935491ffc At least from one capture, it appears that the mod time field in a QueryKey
reply is probably a FILETIME, so process it as such.

svn path=/trunk/; revision=5821
2002-07-05 19:34:12 +00:00
Ronnie Sahlberg 78a1b4f460 Fixed stupid bug I added when updating a structure preparing for the rewrite/update.
Fixed some other buglets as well at the same time.

svn path=/trunk/; revision=5820
2002-07-05 08:59:31 +00:00
Tim Potter c6bb2fdfae Implemented a couple of easy windows registry dissectors.
svn path=/trunk/; revision=5819
2002-07-05 07:07:34 +00:00
Guy Harris f703d02ef2 From Michael Tuexen:
Get rid of some presumably-unneeded #includes.

	Fix the handling of the DLCI field.

	Hand off "protocol data" parameters to the Q.931 dissector.

svn path=/trunk/; revision=5818
2002-07-04 20:55:23 +00:00
Guy Harris 9743031080 Update a comment.
svn path=/trunk/; revision=5817
2002-07-04 20:47:28 +00:00
Guy Harris ce8f908f40 From Devin Heitmueller: treat the "send buffer length" in SMB RAP
messages as being present in the packet.

svn path=/trunk/; revision=5816
2002-07-03 18:17:30 +00:00
Guy Harris 60f3462bd3 Note where the "vcvars32.bat" script is located.
Note that "cleanbld.bat" is in the top-level Ethereal source directory.

svn path=/trunk/; revision=5815
2002-07-02 19:27:40 +00:00
Ronnie Sahlberg ba8a7bfdc2 More NETLOGON updates
svn path=/trunk/; revision=5814
2002-07-02 14:41:51 +00:00
Ronnie Sahlberg b84e41cf95 More NETLOGON updates
svn path=/trunk/; revision=5813
2002-07-02 10:11:20 +00:00
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