metze/wireshark/wip.git
21 years agoAdded new function name LogonSamLogonEx
Ronnie Sahlberg [Sat, 17 Aug 2002 00:45:03 +0000 (00:45 -0000)]
Added new function name LogonSamLogonEx

svn path=/trunk/; revision=6004

21 years agoFixed incorrect NDR pointer type in Authenticate3
Ronnie Sahlberg [Sat, 17 Aug 2002 00:35:46 +0000 (00:35 -0000)]
Fixed incorrect NDR pointer type in Authenticate3

svn path=/trunk/; revision=6003

21 years agoConvert some of the all caps names to more friendly names.
Tim Potter [Fri, 16 Aug 2002 22:24:07 +0000 (22:24 -0000)]
Convert some of the all caps names to more friendly names.

svn path=/trunk/; revision=6002

21 years agoFixed bug not handling FIN pakcets properly.
Ronnie Sahlberg [Fri, 16 Aug 2002 20:59:18 +0000 (20:59 -0000)]
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

21 years agoUpdates from Motonori Shindo.
Guy Harris [Fri, 16 Aug 2002 00:41:39 +0000 (00:41 -0000)]
Updates from Motonori Shindo.

svn path=/trunk/; revision=6000

21 years agoLDP VC FEC dissection fix, from Motonori Shindo.
Guy Harris [Thu, 15 Aug 2002 19:04:16 +0000 (19:04 -0000)]
LDP VC FEC dissection fix, from Motonori Shindo.

svn path=/trunk/; revision=5999

21 years agoFrom Jian Yu:
Guy Harris [Thu, 15 Aug 2002 18:52:04 +0000 (18:52 -0000)]
From Jian Yu:

a small fix for displaying unrecognized capabilities;

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

svn path=/trunk/; revision=5998

21 years agoAdd AC_LIBTOOL_DLOPEN back, because older automake/autoconf versions
Jörg Mayer [Thu, 15 Aug 2002 12:10:56 +0000 (12:10 -0000)]
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

21 years agoDon't free a tvb that we add as a new data source. The NTLMSSP over
Tim Potter [Wed, 14 Aug 2002 23:34:20 +0000 (23:34 -0000)]
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

21 years agoFrom Tomas Kukosa: add some more routines to the plugin API.
Guy Harris [Wed, 14 Aug 2002 19:18:20 +0000 (19:18 -0000)]
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

21 years agoCPHA support, from Yaniv Kaul.
Guy Harris [Wed, 14 Aug 2002 18:48:16 +0000 (18:48 -0000)]
CPHA support, from Yaniv Kaul.

svn path=/trunk/; revision=5994

21 years agoSort .cvsignore alphabetically and add libtool where missing.
Jörg Mayer [Wed, 14 Aug 2002 14:45:54 +0000 (14:45 -0000)]
Sort .cvsignore alphabetically and add libtool where missing.

svn path=/trunk/; revision=5993

21 years agoReplace usage of AC_PROG_RANLIB which is deprecated for newer versions
Jörg Mayer [Wed, 14 Aug 2002 14:42:42 +0000 (14:42 -0000)]
Replace usage of AC_PROG_RANLIB which is deprecated for newer versions
of autoconf by AM_PROG_LIBTOOL

svn path=/trunk/; revision=5992

21 years agoFixed memory leak in creation of new tvb for ntlmssp data.
Tim Potter [Wed, 14 Aug 2002 00:40:14 +0000 (00:40 -0000)]
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

21 years agoNot all compilers allow labels that don't have a statement following
Guy Harris [Tue, 13 Aug 2002 18:12:11 +0000 (18:12 -0000)]
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

21 years ago"base64_decode()" returns a "size_t", so make the variable to which that
Guy Harris [Tue, 13 Aug 2002 09:10:02 +0000 (09:10 -0000)]
"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

21 years agoGet rid of a commented-out #include.
Guy Harris [Tue, 13 Aug 2002 09:03:23 +0000 (09:03 -0000)]
Get rid of a commented-out #include.

svn path=/trunk/; revision=5988

21 years agoThe unknown uint32 in create user2 reply is an access granted mask.
Tim Potter [Tue, 13 Aug 2002 07:59:33 +0000 (07:59 -0000)]
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

21 years agoOn Win32:
Guy Harris [Tue, 13 Aug 2002 07:54:37 +0000 (07:54 -0000)]
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

21 years agoDisplay the protocol name for the UUID in the COL_INFO field if we
Tim Potter [Tue, 13 Aug 2002 07:25:36 +0000 (07:25 -0000)]
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

21 years agoOops - forgot to remove debugging printf.
Tim Potter [Tue, 13 Aug 2002 05:38:04 +0000 (05:38 -0000)]
Oops - forgot to remove debugging printf.

svn path=/trunk/; revision=5984

21 years agoCall the NTLMSSP dissector when we detect NTLMSSP over HTTP. This is
Tim Potter [Tue, 13 Aug 2002 05:36:02 +0000 (05:36 -0000)]
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

21 years agoGet rid of the "vpi" and "vci" arguments to "atm_guess_traffic_type()",
Guy Harris [Tue, 13 Aug 2002 03:32:57 +0000 (03:32 -0000)]
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

21 years agoUse "atm_guess_traffic_type()" to guess the ATM traffic type for ATM
Guy Harris [Tue, 13 Aug 2002 03:26:30 +0000 (03:26 -0000)]
Use "atm_guess_traffic_type()" to guess the ATM traffic type for ATM
NetMon captures.

svn path=/trunk/; revision=5981

21 years agoAdded server name to negprot reply and fixed a pointer deferral problem.
Ronnie Sahlberg [Tue, 13 Aug 2002 02:14:39 +0000 (02:14 -0000)]
Added server name to negprot reply and fixed a pointer deferral problem.

svn path=/trunk/; revision=5980

21 years agoThe name "interface" causes compilation problems with MSVC++; use
Guy Harris [Sun, 11 Aug 2002 22:34:55 +0000 (22:34 -0000)]
The name "interface" causes compilation problems with MSVC++; use
"interface_name" instead.

svn path=/trunk/; revision=5979

21 years agoChanged some incorrect pointer types. MS interfaces seems never to use PTR
Ronnie Sahlberg [Sun, 11 Aug 2002 14:08:08 +0000 (14:08 -0000)]
Changed some incorrect pointer types. MS interfaces seems never to use PTR
pointers.

svn path=/trunk/; revision=5978

21 years agoAdd a terminator to the ntlmssp_message_types list.
Guy Harris [Sat, 10 Aug 2002 23:16:37 +0000 (23:16 -0000)]
Add a terminator to the ntlmssp_message_types list.

svn path=/trunk/; revision=5977

21 years agoFrom Devin Heitmueller: dissect NTLMSSP authentication messages, and handle
Guy Harris [Sat, 10 Aug 2002 21:15:37 +0000 (21:15 -0000)]
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

21 years agoFrom Randy McEoin: Xyplex terminal server protocol support.
Guy Harris [Fri, 9 Aug 2002 20:55:17 +0000 (20:55 -0000)]
From Randy McEoin: Xyplex terminal server protocol support.

svn path=/trunk/; revision=5975

21 years agoUpdated LSA. Function 2f is called SetInformationPolicy2
Ronnie Sahlberg [Fri, 9 Aug 2002 09:27:33 +0000 (09:27 -0000)]
Updated LSA. Function 2f is called SetInformationPolicy2

svn path=/trunk/; revision=5974

21 years agoFrom Tom Uijldert: WTP TPI dissection, and reindentation.
Guy Harris [Fri, 9 Aug 2002 09:12:51 +0000 (09:12 -0000)]
From Tom Uijldert: WTP TPI dissection, and reindentation.

svn path=/trunk/; revision=5973

21 years agoFrom Mike Frisch: add the FATTR4_MOUNTED_ON_FILEID attribute.
Guy Harris [Thu, 8 Aug 2002 22:15:07 +0000 (22:15 -0000)]
From Mike Frisch: add the FATTR4_MOUNTED_ON_FILEID attribute.

svn path=/trunk/; revision=5972

21 years agoRemove some unused includes.
Jörg Mayer [Thu, 8 Aug 2002 21:42:05 +0000 (21:42 -0000)]
Remove some unused includes.

svn path=/trunk/; revision=5971

21 years agoMake "dissect_fw1()" static.
Guy Harris [Thu, 8 Aug 2002 09:33:26 +0000 (09:33 -0000)]
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

21 years agoFrom Alfred Koebler: support for interpreting Ethernet captures as
Guy Harris [Thu, 8 Aug 2002 09:28:11 +0000 (09:28 -0000)]
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

21 years agoFrom Tom Uijldert: modify MMSE dissector to also accept content that is
Guy Harris [Wed, 7 Aug 2002 08:34:55 +0000 (08:34 -0000)]
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

21 years agoProperly set the LANE traffic type.
Guy Harris [Wed, 7 Aug 2002 06:59:49 +0000 (06:59 -0000)]
Properly set the LANE traffic type.

svn path=/trunk/; revision=5967

21 years agoFrom Mike Frisch: fixed LOOKUPP (NFSv4) decoding (previously undefined
Guy Harris [Wed, 7 Aug 2002 02:54:22 +0000 (02:54 -0000)]
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

21 years agoFix a return code in samr_dissect_query_information_domain_reply()
Tim Potter [Wed, 7 Aug 2002 01:04:51 +0000 (01:04 -0000)]
Fix a return code in samr_dissect_query_information_domain_reply()

svn path=/trunk/; revision=5965

21 years agoAdded dissectors for OpenEntry, EnumKey and Unknown1A.
Tim Potter [Wed, 7 Aug 2002 01:03:10 +0000 (01:03 -0000)]
Added dissectors for OpenEntry, EnumKey and Unknown1A.

Renamed protocol to WINREG from just REG.

svn path=/trunk/; revision=5964

21 years agoIn dissect_doserror and dissect_ntstatus, don't add anything to the
Tim Potter [Wed, 7 Aug 2002 00:54:32 +0000 (00:54 -0000)]
In dissect_doserror and dissect_ntstatus, don't add anything to the
COL_INFO field if the proto_tree parameter is NULL.  This prevents
duplicate error messages when we just want to peek at the value of the
error.

svn path=/trunk/; revision=5963

21 years agoAdded DOS error 259 - no more items.
Tim Potter [Wed, 7 Aug 2002 00:48:53 +0000 (00:48 -0000)]
Added DOS error 259 - no more items.

svn path=/trunk/; revision=5962

21 years agoDisplay calling and called names in COL_INFO for session request.
Tim Potter [Wed, 7 Aug 2002 00:43:13 +0000 (00:43 -0000)]
Display calling and called names in COL_INFO for session request.

Display error string in COL_INFO for negative session response.

svn path=/trunk/; revision=5961

21 years agoUpdate packet-dcerpc-samr.{c,h} to fix the names for the functions we now
Richard Sharpe [Tue, 6 Aug 2002 21:58:09 +0000 (21:58 -0000)]
Update packet-dcerpc-samr.{c,h} to fix the names for the functions we now
know are SamrConnect, SamrConnect2, SamrConnect3 and SamrConnect4.

Thanks to Jim McDonnough and Tod Sabin.

svn path=/trunk/; revision=5960

21 years agoTypo fix.
Guy Harris [Tue, 6 Aug 2002 19:02:24 +0000 (19:02 -0000)]
Typo fix.

svn path=/trunk/; revision=5959

21 years agoPut in a comment noting that forcibly setting "pinfo->fd->lnk_t" means
Guy Harris [Tue, 6 Aug 2002 08:13:42 +0000 (08:13 -0000)]
Put in a comment noting that forcibly setting "pinfo->fd->lnk_t" means
you can't turn the "Treat all frames as DOCSIS frames" option off.

svn path=/trunk/; revision=5958

21 years agoFrom Mike Frisch: fix NFSv4 ACL decoding.
Guy Harris [Tue, 6 Aug 2002 05:51:13 +0000 (05:51 -0000)]
From Mike Frisch: fix NFSv4 ACL decoding.

svn path=/trunk/; revision=5957

21 years agoFrom Mike Frisch: sync the SETCLIENTID args decoder with the latest
Guy Harris [Tue, 6 Aug 2002 05:43:30 +0000 (05:43 -0000)]
From Mike Frisch: sync the SETCLIENTID args decoder with the latest
nfs4_prot.x.

svn path=/trunk/; revision=5956

21 years agoFrom Anand V. Narwani: add an entry for the DOCSIS encapsulation to the
Guy Harris [Tue, 6 Aug 2002 05:40:47 +0000 (05:40 -0000)]
From Anand V. Narwani: add an entry for the DOCSIS encapsulation to the
Wiretap table of encapsuations.

svn path=/trunk/; revision=5955

21 years agoFix the declaration of "empty_line()" to match the definition.
Guy Harris [Tue, 6 Aug 2002 01:00:07 +0000 (01:00 -0000)]
Fix the declaration of "empty_line()" to match the definition.

svn path=/trunk/; revision=5954

21 years agoMake the argument to "empty_line()" a "const guchar *", so we don't have
Guy Harris [Tue, 6 Aug 2002 00:59:15 +0000 (00:59 -0000)]
Make the argument to "empty_line()" a "const guchar *", so we don't have
to worry about characters with the 8th bit set being sign-extended.

svn path=/trunk/; revision=5953

21 years agoFrame numbers are "guint32"s, not signed "int"s.
Guy Harris [Tue, 6 Aug 2002 00:58:23 +0000 (00:58 -0000)]
Frame numbers are "guint32"s, not signed "int"s.

svn path=/trunk/; revision=5952

21 years agoFrom Jan Kratochvil: fix MMSE handling of strings with specified
Guy Harris [Mon, 5 Aug 2002 08:37:47 +0000 (08:37 -0000)]
From Jan Kratochvil: fix MMSE handling of strings with specified
character set.

svn path=/trunk/; revision=5951

21 years agonet/inet.h should not be needed by a dissector.
Jörg Mayer [Sun, 4 Aug 2002 09:08:03 +0000 (09:08 -0000)]
net/inet.h should not be needed by a dissector.

svn path=/trunk/; revision=5950

21 years agoFrom Hidetaka Ogawa: fix PPP FCS computation to include address and
Guy Harris [Sun, 4 Aug 2002 08:44:31 +0000 (08:44 -0000)]
From Hidetaka Ogawa: fix PPP FCS computation to include address and
control field if present.

Add Sergei Shokhor to the contributor list in the Ethereal man page.

svn path=/trunk/; revision=5949

21 years agoSome more function updates
Ronnie Sahlberg [Sun, 4 Aug 2002 01:37:07 +0000 (01:37 -0000)]
Some more function updates

svn path=/trunk/; revision=5948

21 years agoUndo my last change: These files are used by systems only that need sys/types.h
Jörg Mayer [Sun, 4 Aug 2002 00:45:59 +0000 (00:45 -0000)]
Undo my last change: These files are used by systems only that need sys/types.h
anyway (see Guys remark on inet_pton.c).

svn path=/trunk/; revision=5947

21 years agoFrom Sergei Shokhor, bug in EPM dissector
Ronnie Sahlberg [Sun, 4 Aug 2002 00:45:49 +0000 (00:45 -0000)]
From Sergei Shokhor, bug in EPM dissector

svn path=/trunk/; revision=5946

21 years agoAdd sequence number wrap to tcp window checking.
Jörg Mayer [Sat, 3 Aug 2002 23:20:06 +0000 (23:20 -0000)]
Add sequence number wrap to tcp window checking.

svn path=/trunk/; revision=5945

21 years agoThe url to the IEEE data changed for non-interactive use.
Jörg Mayer [Sat, 3 Aug 2002 23:09:24 +0000 (23:09 -0000)]
The url to the IEEE data changed for non-interactive use.
Bring manuf up to date.

svn path=/trunk/; revision=5944

21 years agoCreate the TCP protocol tree, and put the source and destination ports
Guy Harris [Sat, 3 Aug 2002 22:28:16 +0000 (22:28 -0000)]
Create the TCP protocol tree, and put the source and destination ports
into it, as soon as we've extracted the source and destination ports
from the packet, so that if we throw an exception fetching something
else from the packet, we still have the protocol tree and ports.

svn path=/trunk/; revision=5943

21 years agoWe don't use anything from <sys/socket.h> (we need to know the AF_INET6
Guy Harris [Sat, 3 Aug 2002 20:06:46 +0000 (20:06 -0000)]
We don't use anything from <sys/socket.h> (we need to know the AF_INET6
values of the various BSDs that support DLT_NULL, but those aren't
necessarily the AF_ values on the machine on which you're building
Ethereal), so we don't need to include it.

svn path=/trunk/; revision=5942

21 years agoWe don't use anything from <arpa/inet.h>, so we don't need to include
Guy Harris [Sat, 3 Aug 2002 20:01:13 +0000 (20:01 -0000)]
We don't use anything from <arpa/inet.h>, so we don't need to include
it.

svn path=/trunk/; revision=5941

21 years agoWe don't use anything from <sys/socket.h>, so we don't need to include
Guy Harris [Sat, 3 Aug 2002 19:50:44 +0000 (19:50 -0000)]
We don't use anything from <sys/socket.h>, so we don't need to include
it.

svn path=/trunk/; revision=5940

21 years agoWe don't use anything from <sys/socket.h> (we need to know the AF_
Guy Harris [Sat, 3 Aug 2002 19:49:30 +0000 (19:49 -0000)]
We don't use anything from <sys/socket.h> (we need to know the AF_
values of the various BSDs that support DLT_NULL, but those aren't
necessarily the AF_ values on the machine on which you're building
Ethereal), so we don't need to include it.

svn path=/trunk/; revision=5939

21 years agoWe don't use anything from <arpa/inet.h>, so we don't need to include
Guy Harris [Sat, 3 Aug 2002 19:47:50 +0000 (19:47 -0000)]
We don't use anything from <arpa/inet.h>, so we don't need to include
it.

svn path=/trunk/; revision=5938

21 years ago<netinet/in.h> is needed for <arpa/inet.h>, at least on some platforms,
Guy Harris [Sat, 3 Aug 2002 19:37:48 +0000 (19:37 -0000)]
<netinet/in.h> is needed for <arpa/inet.h>, at least on some platforms,
and <sys/types.h> is needed for <netinet/in.h>.

On systems with "inet_pton()", the API is defined using "u_char", and
we're including <sys/types.h> on platforms that have it (which should be
most if not all UNIX platforms) and including <winsock2.h> on platforms
that have it (Windows), so we might as well use "u_char" and "u_int", as
the BSD version of "inet_pton.c" does.  (Besides, we weren't including
any GLib include files, so "guchar" and "guint" weren't getting defined
in any case.)

svn path=/trunk/; revision=5937

21 years ago<netinet/in.h> is needed for <arpa/inet.h>, at least on some platforms,
Guy Harris [Sat, 3 Aug 2002 19:35:16 +0000 (19:35 -0000)]
<netinet/in.h> is needed for <arpa/inet.h>, at least on some platforms,
and <sys/types.h> is needed for <netinet/in.h>.

svn path=/trunk/; revision=5936

21 years agoUpdated LogonControl2 and ServerAuthenticate2 functions
Ronnie Sahlberg [Sat, 3 Aug 2002 10:48:46 +0000 (10:48 -0000)]
Updated LogonControl2 and ServerAuthenticate2 functions

svn path=/trunk/; revision=5935

21 years agoI still have to see a case when a MAC address starting with 0:0:0
Jörg Mayer [Sat, 3 Aug 2002 00:50:22 +0000 (00:50 -0000)]
I still have to see a case when a MAC address starting with 0:0:0
actually means Xerox, but 0:0:0:0:0:0 can be found quite often.

svn path=/trunk/; revision=5934

21 years agoReplace the types from sys/types.h and netinet/in.h by their glib.h
Jörg Mayer [Fri, 2 Aug 2002 23:46:26 +0000 (23:46 -0000)]
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents in the READMEs and examples in the doc/ directory.

svn path=/trunk/; revision=5933

21 years agoReplace the types from sys/types.h and netinet/in.h by their glib.h
Jörg Mayer [Fri, 2 Aug 2002 23:36:07 +0000 (23:36 -0000)]
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the toplevel directory. The removal of winsock2.h will
hopefully not cause any problems under MSVC++, as those files using
struct timeval still include wtap.h, which still includes winsock2.h.

svn path=/trunk/; revision=5932

21 years agoTwo new options added to TCP.
Ronnie Sahlberg [Fri, 2 Aug 2002 22:41:56 +0000 (22:41 -0000)]
Two new options added to TCP.
1, Analyze TCP sequence numbers.
   This option will keep track of sequence numbers for all tcp sessions
   and flag the following:
   a, If a new segment is seen which is beyong the right edge this is
      an indication that the previous segment was lost and this will be
      flagged as previous segment lost.
   b, If a segment is seen which lies left of the right edge this is flagged
      as retransmission.
   c, if a keep-alive is seen (empty segment, seq==expected seq-1)
      this is flagged as a retransmission.
   d, if an ACK is seen which is beyond the right edge this is an indication
      that a segment has been lost and it will be flagged as segment lost.

   All ACKs which advance the left edge get the RTT displayed between the ACKed
   segment and the ACK itself. The ACK also gets an indication of WHICH segment
   it is an ACK for.

2, Relative sequence numbers. This option needs the first option to be selected
as well. This option will as best as it can try to get ethereal to use
relative sequence numbers instead of absolute ones.

The patch does not handle sequence number wrapping and unexpected results
can probably happen for such.

svn path=/trunk/; revision=5931

21 years agoReplace the types from sys/types.h and netinet/in.h by their glib.h
Jörg Mayer [Fri, 2 Aug 2002 22:34:54 +0000 (22:34 -0000)]
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the gtk/ directory.

svn path=/trunk/; revision=5930

21 years agoReplace the types from sys/types.h and netinet/in.h by their glib.h
Jörg Mayer [Fri, 2 Aug 2002 22:04:22 +0000 (22:04 -0000)]
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the plugins/ directory.

svn path=/trunk/; revision=5929

21 years agoReplace the types from sys/types.h and netinet/in.h by their glib.h
Jörg Mayer [Fri, 2 Aug 2002 21:29:45 +0000 (21:29 -0000)]
Replace the types from sys/types.h and netinet/in.h by their glib.h
equivalents for the epan/ directory but leave winsock2.h in inet_pton.c
and inet_ntop.c for now (can't estimate the consequences).

svn path=/trunk/; revision=5928

21 years agoFix a few more memleaks found by valgrind (all deriving
Jörg Mayer [Thu, 1 Aug 2002 03:15:29 +0000 (03:15 -0000)]
Fix a few more memleaks found by valgrind (all deriving
from the get_persconffile_path mess).

svn path=/trunk/; revision=5927

21 years agoUse <zlib.h> instead of "zlib.h"
Jörg Mayer [Wed, 31 Jul 2002 22:52:38 +0000 (22:52 -0000)]
Use <zlib.h> instead of "zlib.h"

svn path=/trunk/; revision=5926

21 years agoAdd conditional include of winsock2.h again, so compilation with MSVC++
Jörg Mayer [Wed, 31 Jul 2002 22:41:34 +0000 (22:41 -0000)]
Add conditional include of winsock2.h again, so compilation with MSVC++
will work again without complaints.

svn path=/trunk/; revision=5925

21 years agoFrom Jim McDonough: support for LsaQueryInformationPolicy2 in the LSA
Guy Harris [Wed, 31 Jul 2002 21:22:39 +0000 (21:22 -0000)]
From Jim McDonough: support for LsaQueryInformationPolicy2 in the LSA
dissector.

svn path=/trunk/; revision=5924

21 years agoFrom Mike Frisch: fix a problem with decoding the AUTHORIZE call.
Guy Harris [Wed, 31 Jul 2002 19:58:28 +0000 (19:58 -0000)]
From Mike Frisch: fix a problem with decoding the AUTHORIZE call.

Update his e-mail address in the AUTHORS file while we're at it.

svn path=/trunk/; revision=5923

21 years agoFrom Motonori Shindo: support for reading CoSine L2 debug output.
Guy Harris [Wed, 31 Jul 2002 19:27:57 +0000 (19:27 -0000)]
From Motonori Shindo: support for reading CoSine L2 debug output.

svn path=/trunk/; revision=5922

21 years agoCheck whether the first byte of a putative TPKT header is 3 (the TPKT
Guy Harris [Wed, 31 Jul 2002 18:45:50 +0000 (18:45 -0000)]
Check whether the first byte of a putative TPKT header is 3 (the TPKT
version number from RFC 1006) and, if not, assume it's *not* a TPKT
header, and don't try getting the packet length and doing TPKT
dissection and reassembly.

svn path=/trunk/; revision=5921

21 years agoFix small typo
Ronnie Sahlberg [Wed, 31 Jul 2002 11:16:19 +0000 (11:16 -0000)]
Fix small typo

svn path=/trunk/; revision=5920

21 years agoDon't loop forever in "find_rsvp_session_tempfilt()" or
Guy Harris [Wed, 31 Jul 2002 10:10:44 +0000 (10:10 -0000)]
Don't loop forever in "find_rsvp_session_tempfilt()" or
"dissect_rsvp_msg_tree()" if there's a zero-length object.

In "find_rsvp_session_tempfilt()", check to make sure the data exists
before fetching it, so that it doesn't throw an exception - the
information it returns is only used to put items into the protocol tree,
so there's no reason to quit dissecting the packet just because it can't
find that information because, for example, not enough of the packet
data was captured.

svn path=/trunk/; revision=5919

21 years agoFrom Chris Waters: check 802.11 FCS if present.
Guy Harris [Wed, 31 Jul 2002 09:00:02 +0000 (09:00 -0000)]
From Chris Waters: check 802.11 FCS if present.

svn path=/trunk/; revision=5918

21 years agoAdding a new macro CMP_ADDRESS similar to ADDRESS_EQUAL but this one will return
Ronnie Sahlberg [Wed, 31 Jul 2002 06:15:26 +0000 (06:15 -0000)]
Adding a new macro CMP_ADDRESS similar to ADDRESS_EQUAL but this one will return
-1,0,1 as the xxxcmp() functions will instead of just true/false.
Useful if you not only want to check for equality but also if you want to have a way to order the elements.

svn path=/trunk/; revision=5917

21 years agoFrom Graeme Hewson:
Guy Harris [Tue, 30 Jul 2002 10:13:16 +0000 (10:13 -0000)]
From Graeme Hewson:

Ethereal sometimes creates a progress dialog bar and then, if
the processing is fast, quickly destroys it.  The resulting
"flash" can be disconcerting.  This set of patches ensures a
progress bar is either not created or is displayed for a minimum
time.

svn path=/trunk/; revision=5916

21 years agoCall "proto_item_add_subtree()" to create a subtree for POST data, don't
Guy Harris [Tue, 30 Jul 2002 07:36:22 +0000 (07:36 -0000)]
Call "proto_item_add_subtree()" to create a subtree for POST data, don't
just use the return value of a "proto_tree_add" routine as if it could
be used as a protocol tree.

svn path=/trunk/; revision=5915

21 years agoFrom Michael Tuexen: AF_INET6 support for DLT_NULL captures from
Guy Harris [Tue, 30 Jul 2002 07:25:29 +0000 (07:25 -0000)]
From Michael Tuexen: AF_INET6 support for DLT_NULL captures from
Darwin/MacOS X.  (As if FreeBSD and {Net,Open}BSD having different
AF_INET6 values wasn't enough, we have The Other BSD having its own
value....)

svn path=/trunk/; revision=5914

21 years ago#ifdef out some variables not used on Windows.
Guy Harris [Tue, 30 Jul 2002 07:04:08 +0000 (07:04 -0000)]
#ifdef out some variables not used on Windows.

If printing a single packet to a file, don't use the "print to a
printer" code for Windows.

Only free "print_args.dest" *after* the last usage.

svn path=/trunk/; revision=5913

21 years agoCode from Jan Berkel <jan.berkel@gmx.de> to
Uwe Girlich [Mon, 29 Jul 2002 09:28:28 +0000 (09:28 -0000)]
Code from Jan Berkel <jan.berkel@gmx.de> to
* fully decode client->server packets (mouse movement, button press etc.)
* start of decoding server->client packets (names of first command as text)

svn path=/trunk/; revision=5912

21 years agoFrom Didier Gautheron: add FPGetUserInfo.
Guy Harris [Mon, 29 Jul 2002 06:35:12 +0000 (06:35 -0000)]
From Didier Gautheron: add FPGetUserInfo.

svn path=/trunk/; revision=5911

21 years agoFrom Joerg Mayer:
Guy Harris [Mon, 29 Jul 2002 06:30:01 +0000 (06:30 -0000)]
From Joerg Mayer:

gtk/colors.c: Fix a memleak found by valgrind
   (Note that there are similar bugs in other functions that
   use the same construct with path!)

svn path=/trunk/; revision=5910

21 years agoFrom Joerg Mayer:
Guy Harris [Mon, 29 Jul 2002 06:09:59 +0000 (06:09 -0000)]
From Joerg Mayer:

All files:
  - Replace types from sys/types.h by those from glib.h
  - Replace ntoh family of macros from netinet/in.h and winsock2.h
    by g_ntoh family from glib.h
  - Remove now unneeded includes of sys/types.h, netinet/in.h and
    winsock2.h
wtap.h
  Move includes to the top

svn path=/trunk/; revision=5909

21 years agoCommitting Kerberos NetBIOS address type stuff from Jim McDonough.
Richard Sharpe [Mon, 29 Jul 2002 02:03:54 +0000 (02:03 -0000)]
Committing Kerberos NetBIOS address type stuff from Jim McDonough.

svn path=/trunk/; revision=5908

21 years agoChanged the SMB dissector to put ALL command PDUs in one SMB in the summary
Ronnie Sahlberg [Sat, 27 Jul 2002 05:03:53 +0000 (05:03 -0000)]
Changed the SMB dissector to put ALL command PDUs in one SMB in the summary
line, separated by ;

It only prints "Request"/"Response" for the first command to save space

svn path=/trunk/; revision=5907

21 years agoIf conversations have already been created in lower layers, say TCP before
Ronnie Sahlberg [Sat, 27 Jul 2002 03:18:29 +0000 (03:18 -0000)]
If conversations have already been created in lower layers, say TCP before
SMB sees the PDU, then SMB would forget to create the proper state variables and crash.

SMB is changed to split the operation into
1, only create a conversation if it needs to. (as before)
2, detect if it needs to create the si.ct state variables independant of
whether smb also created a conversation or not.

Without this patch and with changes to say TCP to create conversations ethereal would crash at the first packet the SMB dissector would see.

svn path=/trunk/; revision=5906

21 years agoFrom Stefan Wenk: remove an unnecessary +1 from some offset
Guy Harris [Thu, 25 Jul 2002 21:43:53 +0000 (21:43 -0000)]
From Stefan Wenk: remove an unnecessary +1 from some offset
computations.

svn path=/trunk/; revision=5905