Commit graph

5982 commits

Author SHA1 Message Date
Guy Harris
868c88686f If the length of a string is zero, don't put it into the protocol tree.
Handle the case where "get_unicode_or_ascii_string()" returns a null
pointer (which can be the case if the length supplied is zero, which we
check for as per the above, but can also be the case for a Unicode
string if the length supplied is 1 byte).

Fix a call to "proto_tree_add_uint()" that was presumably supposed to be
a call to "proto_tree_add_item()".

svn path=/trunk/; revision=6015
2002-08-18 20:33:47 +00:00
Guy Harris
0f3a02c956 From Bill Studenmund: fix handling of SCSI mode sense.
Fix Yasuhiro Shirasaki's e-mail address, and [AT]ify Vassilii
Khachaturov's address.

svn path=/trunk/; revision=6014
2002-08-18 19:59:40 +00:00
Guy Harris
d487e4f968 From Yaniv Kaul:
1. Proper extraction of data from packet (removed bad
	   tvb_get_ptr() and casting the resulting pointer to a
	   structure method).

	2. Printout of Initator and Responder cookies (per request from
	   VPNC organization).

svn path=/trunk/; revision=6013
2002-08-18 19:19:46 +00:00
Guy Harris
14cff7ceba From Vassilii Khachaturov: put protocol blurbs into tables generated
with the "-G fields" flag.

In the scripts to process that output, handle FT_UINT64, FT_INT64, and
FT_UINT_STRING.

svn path=/trunk/; revision=6012
2002-08-18 19:08:30 +00:00
Gerald Combs
50dfd3eb31 From ENDOH Akira:
- displaying PPP datalink layer protocol names based on iana database:
    http://www.iana.org/assignments/ppp-numbers
- dissecting MPLSCP and CDPCP
- dissecting CDP over PPP

svn path=/trunk/; revision=6011
2002-08-18 15:30:38 +00:00
Ronnie Sahlberg
17e72016ac Changed two ulong REF pointers to just calle the uint32 dissector
directly instead of through a top level ref pointer
and changed the hf field to the proper one.

svn path=/trunk/; revision=6010
2002-08-18 07:24:42 +00:00
Ronnie Sahlberg
d8d551c7ed Fix some incorrect poitner types. From Jean-Francois Micouleau
svn path=/trunk/; revision=6009
2002-08-18 07:18:55 +00:00
Ronnie Sahlberg
a1c846ba48 Reverted part of the previous patch. It seemed we found a few too many
packets to display the ACK data for.

svn path=/trunk/; revision=6008
2002-08-17 22:26:00 +00:00
Michael Tüxen
d38d643891 Fixed a typo in the table and reformatted it..
svn path=/trunk/; revision=6007
2002-08-17 18:38:41 +00:00
Gerald Combs
5a579fc0b5 Bump the version number to 0.9.6. Update the ChangeLog. Add rough
release notes to NEWS.

svn path=/trunk/; revision=6006
2002-08-17 17:53:33 +00:00
Tim Potter
9def43e0be Ronnie, I think you forgot to commit this file.
svn path=/trunk/; revision=6005
2002-08-17 03:24:43 +00:00
Ronnie Sahlberg
986d3d4a03 Added new function name LogonSamLogonEx
svn path=/trunk/; revision=6004
2002-08-17 00:45:03 +00:00
Ronnie Sahlberg
4d4df14ace Fixed incorrect NDR pointer type in Authenticate3
svn path=/trunk/; revision=6003
2002-08-17 00:35:46 +00:00
Tim Potter
a8030c39d9 Convert some of the all caps names to more friendly names.
svn path=/trunk/; revision=6002
2002-08-16 22:24:07 +00:00
Ronnie Sahlberg
12a0b53183 Fixed bug not handling FIN pakcets properly.
Fixed another tiny bug where it would forget to check ACKs outside the window
sometimes.

svn path=/trunk/; revision=6001
2002-08-16 20:59:18 +00:00
Guy Harris
c58356d62a Updates from Motonori Shindo.
svn path=/trunk/; revision=6000
2002-08-16 00:41:39 +00:00
Guy Harris
346fbdbc39 LDP VC FEC dissection fix, from Motonori Shindo.
svn path=/trunk/; revision=5999
2002-08-15 19:04:16 +00:00
Guy Harris
e31383db8e From Jian Yu:
a small fix for displaying unrecognized capabilities;

	ORF support (draft-ietf-idr-route-filter-06.txt).

svn path=/trunk/; revision=5998
2002-08-15 18:52:04 +00:00
Jörg Mayer
c8d296e8ca Add AC_LIBTOOL_DLOPEN back, because older automake/autoconf versions
don't include it automatically. This needs to go before AC_PROG_LIBTOOL
to avoid warnings with newer versions.

svn path=/trunk/; revision=5997
2002-08-15 12:10:56 +00:00
Tim Potter
ffa66bc078 Don't free a tvb that we add as a new data source. The NTLMSSP over
HTTP now works a treat!

Thanks again to Guy for the tip.

svn path=/trunk/; revision=5996
2002-08-14 23:34:20 +00:00
Guy Harris
d939032a24 From Tomas Kukosa: add some more routines to the plugin API.
While we're at it, add "extern" to a bunch of function declaration the
preceding change *didn't* require to have the "extern" added.

svn path=/trunk/; revision=5995
2002-08-14 19:18:20 +00:00
Guy Harris
eada2368f4 CPHA support, from Yaniv Kaul.
svn path=/trunk/; revision=5994
2002-08-14 18:48:16 +00:00
Jörg Mayer
e8a4485af4 Sort .cvsignore alphabetically and add libtool where missing.
svn path=/trunk/; revision=5993
2002-08-14 14:45:54 +00:00
Jörg Mayer
cd5eb3cb8e Replace usage of AC_PROG_RANLIB which is deprecated for newer versions
of autoconf by AM_PROG_LIBTOOL

svn path=/trunk/; revision=5992
2002-08-14 14:42:42 +00:00
Tim Potter
51e4328d8e Fixed memory leak in creation of new tvb for ntlmssp data.
Call tvb_set_child_real_data_tvbuff() and add_new_data_source() to fix
the display problem when dissecting ntlmssp over http packets.  It
works better now, but for some reason the ntlmssp challenge packet is
still not displayed correctly.

Thanks to Guy for the tips.

svn path=/trunk/; revision=5991
2002-08-14 00:40:14 +00:00
Guy Harris
da901e7434 Not all compilers allow labels that don't have a statement following
them.  Put a "break;" statement after a case label that didn't have it.

svn path=/trunk/; revision=5990
2002-08-13 18:12:11 +00:00
Guy Harris
8098166c75 "base64_decode()" returns a "size_t", so make the variable to which that
return value is assigned a "size_t".  (For some reason, the file fails
to compile with MSVC++ 6.0, due to "ssize_t" not being defined, if it's
an "ssize_t", but works if it's a "size_t".)

svn path=/trunk/; revision=5989
2002-08-13 09:10:02 +00:00
Guy Harris
deb5c457a2 Get rid of a commented-out #include.
svn path=/trunk/; revision=5988
2002-08-13 09:03:23 +00:00
Tim Potter
5770e384a0 The unknown uint32 in create user2 reply is an access granted mask.
Assign some names to policy handles generated by open/create domain/user/group.

svn path=/trunk/; revision=5987
2002-08-13 07:59:33 +00:00
Guy Harris
053891e609 On Win32:
don't show "Command" and "File" as printer options, show
	"Printer" and "File";

	don't show the command to be used for printing.

svn path=/trunk/; revision=5986
2002-08-13 07:54:37 +00:00
Tim Potter
a82851086b Display the protocol name for the UUID in the COL_INFO field if we
know it.  This reduces clutter in the top pane considerably.

svn path=/trunk/; revision=5985
2002-08-13 07:25:36 +00:00
Tim Potter
c81559ffa3 Oops - forgot to remove debugging printf.
svn path=/trunk/; revision=5984
2002-08-13 05:38:04 +00:00
Tim Potter
510b3b73d7 Call the NTLMSSP dissector when we detect NTLMSSP over HTTP. This is
somewhat documented at http://www.innovation.ch/java/ntlm.html and
other places.

Ethereal handles it nicely, although the hex dump pane gets confused
because we create a new tvb containing base64 decoded data from the
HTTP header.  The hex dump thinks we are still looking at the data
from the packet.  I'm not sure how to fix this.

svn path=/trunk/; revision=5983
2002-08-13 05:36:02 +00:00
Guy Harris
77bb2477ba Get rid of the "vpi" and "vci" arguments to "atm_guess_traffic_type()",
have it get that information from the pseudo-header instead, and set the
VPI and VCI fields in the pseudo-header before calling it.

Don't call it for non-ATM NetMon captures.

svn path=/trunk/; revision=5982
2002-08-13 03:32:57 +00:00
Guy Harris
8616a33765 Use "atm_guess_traffic_type()" to guess the ATM traffic type for ATM
NetMon captures.

svn path=/trunk/; revision=5981
2002-08-13 03:26:30 +00:00
Ronnie Sahlberg
159e4ff083 Added server name to negprot reply and fixed a pointer deferral problem.
svn path=/trunk/; revision=5980
2002-08-13 02:14:39 +00:00
Guy Harris
c67f736679 The name "interface" causes compilation problems with MSVC++; use
"interface_name" instead.

svn path=/trunk/; revision=5979
2002-08-11 22:34:55 +00:00
Ronnie Sahlberg
93164e3978 Changed some incorrect pointer types. MS interfaces seems never to use PTR
pointers.

svn path=/trunk/; revision=5978
2002-08-11 14:08:08 +00:00
Guy Harris
5c4e8e546d Add a terminator to the ntlmssp_message_types list.
svn path=/trunk/; revision=5977
2002-08-10 23:16:37 +00:00
Guy Harris
2cfb231081 From Devin Heitmueller: dissect NTLMSSP authentication messages, and handle
the flags field in NTLMSSP messages as a 32-bit field.

Make "get_unicode_or_ascii_string()" take a "Unicode or not" flag rather
than a "packet_info *" as an argument, make it not static, and move it
to "packet-smb-common.c", so that it can be used by the SMB dissector
and the NTLMSSP dissector.  Also get rid of some _U_'s that are applied
to arguments that are, in fact, used.

svn path=/trunk/; revision=5976
2002-08-10 21:15:37 +00:00
Guy Harris
ab5e55b841 From Randy McEoin: Xyplex terminal server protocol support.
svn path=/trunk/; revision=5975
2002-08-09 20:55:17 +00:00
Ronnie Sahlberg
fb477fa5a9 Updated LSA. Function 2f is called SetInformationPolicy2
svn path=/trunk/; revision=5974
2002-08-09 09:27:33 +00:00
Guy Harris
c2e8f40f3d From Tom Uijldert: WTP TPI dissection, and reindentation.
svn path=/trunk/; revision=5973
2002-08-09 09:12:51 +00:00
Guy Harris
c1f5fff524 From Mike Frisch: add the FATTR4_MOUNTED_ON_FILEID attribute.
svn path=/trunk/; revision=5972
2002-08-08 22:15:07 +00:00
Jörg Mayer
526ad6dcd4 Remove some unused includes.
svn path=/trunk/; revision=5971
2002-08-08 21:42:05 +00:00
Guy Harris
59f81a75fc Make "dissect_fw1()" static.
Get rid of the redundant "fw1_" in the "summary in tree" preference name
(the full name is "fw1.summary_in_tree", so you don't need another
"fw1_" in there).

svn path=/trunk/; revision=5970
2002-08-08 09:33:26 +00:00
Guy Harris
1882579b7e From Alfred Koebler: support for interpreting Ethernet captures as
CheckPoint FireWall-1 monitor files (those files look like snoop files
for Ethernet).

svn path=/trunk/; revision=5969
2002-08-08 09:28:11 +00:00
Guy Harris
48dbb301c8 From Tom Uijldert: modify MMSE dissector to also accept content that is
not multipart.

Replace my fix to create subtrees for POST data with Tom's.

svn path=/trunk/; revision=5968
2002-08-07 08:34:55 +00:00
Guy Harris
1c7b05f665 Properly set the LANE traffic type.
svn path=/trunk/; revision=5967
2002-08-07 06:59:49 +00:00
Guy Harris
4eccf96803 From Mike Frisch: fixed LOOKUPP (NFSv4) decoding (previously undefined
operation), added two new NFS4ERR_xxx error codes, and minor fix to ACL
decoding.

svn path=/trunk/; revision=5966
2002-08-07 02:54:22 +00:00