Commit graph

5890 commits

Author SHA1 Message Date
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
Tim Potter
39c2537cd7 Display the error code for a dos error that doesn't have a value string defined.
svn path=/trunk/; revision=5761
2002-06-25 02:57:39 +00:00
Tim Potter
a0590c995d Fixed incorrect format string.
svn path=/trunk/; revision=5760
2002-06-25 02:56:59 +00:00
Guy Harris
e46414058e Update the URL for WinPcap.
svn path=/trunk/; revision=5759
2002-06-24 20:56:15 +00:00
Gilbert Ramirez
707e40187a Update from Greg Morris.
1. Fixes for NCP decodes (87/6), (30), (87/32)
2. Endianness fixes for a number of decodes
3. Added error codes for return values not defined
4. Added most common SAP types under ObjectType table

svn path=/trunk/; revision=5758
2002-06-24 15:47:10 +00:00
Guy Harris
9f405c5703 Put the code to reassemble fragmented connection-oriented and
connectionless DCE RPC PDUs into common routines, and call those
routines when dissecting DCE RPC requests and responses.

Get rid of arguments to "dcerpc_try_handoff()" whose values are also in
the "dcerpc_info" structure pointed to by its "info" argument.

svn path=/trunk/; revision=5757
2002-06-24 09:23:39 +00:00
Tim Potter
61de38737a Definitions for setprinter_cmd_vals[] value_strings.
svn path=/trunk/; revision=5756
2002-06-24 08:01:07 +00:00
Guy Harris
a4e814b66b From Mark Burton: add Draft 13 support, making that draft the default.
svn path=/trunk/; revision=5755
2002-06-24 07:57:50 +00:00
Tim Potter
71bfd45e2d Added value_string array for setprinter level 0 command.
svn path=/trunk/; revision=5754
2002-06-24 04:36:56 +00:00
Guy Harris
0946e90553 Put in a note about the result of a SRVSVC NetRemoteTOD call.
svn path=/trunk/; revision=5753
2002-06-24 01:59:23 +00:00
Guy Harris
aeee416963 There are multiple types of "Announce change to UAS or SAM" messages;
some have a bunch of stuff that others don't.

svn path=/trunk/; revision=5752
2002-06-24 01:53:10 +00:00
Guy Harris
15509f46f4 As we've done with the hex dump output for printing, use as many digits
to display the offset as are necessary to show the largest offset -
which could be bigger than 65535, so there may be more than 4 digits.

svn path=/trunk/; revision=5751
2002-06-24 00:08:28 +00:00
Tim Potter
5c3035ae9d Whoops - compile fix for opnum value_string stuff.
svn path=/trunk/; revision=5750
2002-06-24 00:08:17 +00:00
Tim Potter
6d6dce305d Change each DCERPC dissector to pass in a hf value on initialisation
for a value_string that corresponds to that dissectors opnums.  Pass
in -1 if no such table is available.

svn path=/trunk/; revision=5749
2002-06-24 00:03:18 +00:00
Guy Harris
2cf14082d6 Fix up a comment.
svn path=/trunk/; revision=5748
2002-06-23 23:43:32 +00:00
Guy Harris
cd6fe13358 Count packets that pass the read filter, if we have a read filter, not
packets that we get from libpcap; if there's a read filter in effect,
only packets that pass the read filter get saved or printed, so that's
the number of packets that should be compared against the argument to
any "-c" flag, and the number that should be printed when we print
packet counts.

svn path=/trunk/; revision=5747
2002-06-23 21:58:02 +00:00
Guy Harris
38b530a8b8 Add a routine to "epan/filesystem.c" to test whether a file is a FIFO.
Use that in Tethereal rather than duplicating a pile of macros.

Get rid of the remaining uses of "stat()" in Tethereal - none of them
are necessary (they were just cut-and-pasted from Ethereal).

svn path=/trunk/; revision=5746
2002-06-23 21:33:09 +00:00
Guy Harris
7ad0ca82b1 From Graeme Hewson: flush the output after every frame if Tethereal is
writing a capture to a FIFO, and improve the error checking for ring
buffers.

svn path=/trunk/; revision=5745
2002-06-23 20:30:01 +00:00
Ronnie Sahlberg
008c41a753 Added last remaining reply dissectors for this interface.
Im finished with this dissector for the time being so if anyone
wants to prettify it, go ahead.
The dissector should be fairly complete and includes the IDL definition.

svn path=/trunk/; revision=5744
2002-06-23 12:00:38 +00:00
Ronnie Sahlberg
96a6420c25 Added some more reply dissectors
svn path=/trunk/; revision=5743
2002-06-23 10:58:50 +00:00
Guy Harris
73ef5a2753 WinPcap 2.3's <pcap.h> includes <packet32.h>, and WinPcap 2.3's
<packet32.h> includes <winsock2.h>; we include that rather than
<winsock.h>, to avoid errors due to conflicting declarations in
<winsock.h> and <winsock2.h>.

svn path=/trunk/; revision=5742
2002-06-23 10:32:36 +00:00
Guy Harris
6ef2cc2b1f Fetch the WEP IV before building a subtree for the WEP parameters, so we
don't end up with an empty tree for the parameters.

Fetch the IV and key regardless of whether we're building a protocol
tree; that ensures that we know we have the IV/key before we try to
dissect stuff after it.

svn path=/trunk/; revision=5741
2002-06-22 23:11:36 +00:00
Guy Harris
d866b27a88 Note the routine that can dissect server type flags.
Fix a typo in a field name.

svn path=/trunk/; revision=5740
2002-06-22 22:55:17 +00:00
Guy Harris
11f786daee Display as many digits of the offset, in the hex dump, as would be
required by the largest offset value.

Get rid of trailing blanks in hex dump lines.

svn path=/trunk/; revision=5739
2002-06-22 22:31:29 +00:00
Guy Harris
6b0931859d Add "uint" to the list of "u..." types not to use.
Fix the argument lists of the "proto_tree_add_" routines to include the
tvbuff argument.

svn path=/trunk/; revision=5738
2002-06-22 21:00:53 +00:00
Guy Harris
25a058a7b1 From Devin Heitmueller: give the user a warning if they click "New" in
the filter list editing code without having specified a filter name and
string.

svn path=/trunk/; revision=5737
2002-06-22 20:00:26 +00:00
Ronnie Sahlberg
4becc0cdea Added some more reply packet dissectors.
svn path=/trunk/; revision=5736
2002-06-22 14:04:56 +00:00
Guy Harris
91d306bb75 "uint" is defined on all platforms; use "guint" instead.
svn path=/trunk/; revision=5735
2002-06-22 10:24:35 +00:00
Guy Harris
900c9f0ffc On Windows, there's no "pipe_fd", so don't refer to it.
svn path=/trunk/; revision=5734
2002-06-22 10:21:00 +00:00
Ronnie Sahlberg
eb7f8890ff Added some reply dissectors.
svn path=/trunk/; revision=5733
2002-06-22 06:27:36 +00:00
Guy Harris
bf2c26e0b9 Get rid of trailing newline in lines passed to "print_line()".
svn path=/trunk/; revision=5732
2002-06-22 01:52:27 +00:00
Guy Harris
a7c8b73bdf Use a common routine to print protocol tree nodes as text or PostScript,
rather than having duplicate routines (the PostScript one was missing
some bug fixes in the text one).

svn path=/trunk/; revision=5731
2002-06-22 01:43:57 +00:00
Guy Harris
5f8f311188 From Jaime Fournier: handle DCE RPC connectionless CANCEL PDUs with no
body.

svn path=/trunk/; revision=5730
2002-06-22 01:30:54 +00:00
Guy Harris
567aac9787 Get rid of separate "print_hex_data_text()" and "print_hex_data_ps()"
routines; instead, rename "print_hex_data_common()" to
"print_hex_data_buffer()" as it prints a buffer in hex and ASCII (or
EBCDIC), and have it take the print format as an argument.

Have it use "print_line()" to print lines, and fix "print_line()" so
that it prints a buffer *without* a newline at the end, printing the
newline itself.

svn path=/trunk/; revision=5729
2002-06-22 01:24:23 +00:00
Guy Harris
0a88caf96a In the hex dump, generate the offset at the beginning of each line in
common code, rather than in print-format-specific code, and have
"print_hex_data_common()" put out the blank line before the dump itself
rather than relying on the print-format-specific "start printing the hex
dump" code to do it.

svn path=/trunk/; revision=5728
2002-06-22 00:21:38 +00:00
Guy Harris
b2277c9cfc Use common code to print the hex dump as text and PostScript.
svn path=/trunk/; revision=5727
2002-06-21 23:52:47 +00:00
Guy Harris
9e92272188 Make the hex dump when printing PostScript look the same way it does
when printing plain text.

svn path=/trunk/; revision=5726
2002-06-21 23:04:30 +00:00
Ronnie Sahlberg
3fe829fca2 Added my name at the top of the file
svn path=/trunk/; revision=5725
2002-06-21 14:27:46 +00:00
Ronnie Sahlberg
f841b1a3fc Added request dissection of functions NetrShareEnumSticky, NetrShareDelStart, NetrShareDelCommit, NetrGetFileSecurity, NetrSetFileSecurity, NetrServerTransportAddEx and NetrServerSetServiceBits2
svn path=/trunk/; revision=5724
2002-06-21 14:24:38 +00:00
Ronnie Sahlberg
3a71fd9c63 Added dissection of the requests to functions NetrRemoteTOD, NetrServerSetServiceBits, NetrPathType, NetrPathCanonicalize, NetrPathCompare, NetrNameValidate, NetrNameCanonicalize and NetrNameCompare
svn path=/trunk/; revision=5723
2002-06-21 12:41:37 +00:00