metze/wireshark/wip.git
21 years agoSome more HyperSCSI bits.
Richard Sharpe [Sat, 16 Nov 2002 08:25:35 +0000 (08:25 -0000)]
Some more HyperSCSI bits.

svn path=/trunk/; revision=6642

21 years agoNew gtk1/gtk2 compatibility macros used for menu entries.
Olivier Abad [Fri, 15 Nov 2002 23:50:06 +0000 (23:50 -0000)]
New gtk1/gtk2 compatibility macros used for menu entries.

svn path=/trunk/; revision=6641

21 years agoNew protocol: Stub dissector for ClearCase NFS protocol
Ronnie Sahlberg [Fri, 15 Nov 2002 22:45:52 +0000 (22:45 -0000)]
New protocol: Stub dissector for ClearCase NFS protocol

svn path=/trunk/; revision=6640

21 years agoIn gtk2 code :
Olivier Abad [Fri, 15 Nov 2002 22:21:15 +0000 (22:21 -0000)]
In gtk2 code :
gdk_font_from_description() may return NULL if no GdkFont matching a
PangoFontDescription can be loaded.
Replace primitives using GdkFonts (gdk_string_width, gdk_draw_string)
with their pango equivalent (pango_layout_get_pixel_size,
gdk_draw_layout).

svn path=/trunk/; revision=6639

21 years agoFrom Taisuke Sasaki:
Guy Harris [Fri, 15 Nov 2002 18:50:47 +0000 (18:50 -0000)]
From Taisuke Sasaki:

In OSPF(both OSPFv2 and OSPFv3),
I think it is popular that

1) LS Sequence is represented in %0x08x format
2) External Route Tag is represented in %u format

svn path=/trunk/; revision=6638

21 years agoClean up the GTK+ 1.2[.x] menu items. (This really calls for another
Guy Harris [Fri, 15 Nov 2002 18:45:18 +0000 (18:45 -0000)]
Clean up the GTK+ 1.2[.x] menu items.  (This really calls for another
"compat_macros.h" macro....)

Add some comments on #else's and #endif's to make it a bit easier to
follow the twisty maze.

svn path=/trunk/; revision=6637

21 years agoGtk1 version of io-stat
Ronnie Sahlberg [Fri, 15 Nov 2002 10:55:19 +0000 (10:55 -0000)]
Gtk1 version of io-stat

svn path=/trunk/; revision=6636

21 years agoUpdate to LSA_DS from Jim McDonough
Ronnie Sahlberg [Fri, 15 Nov 2002 08:46:42 +0000 (08:46 -0000)]
Update to LSA_DS from Jim McDonough

svn path=/trunk/; revision=6635

21 years agoAdded constants for devicemode fields.
Tim Potter [Fri, 15 Nov 2002 04:55:36 +0000 (04:55 -0000)]
Added constants for devicemode fields.

svn path=/trunk/; revision=6634

21 years agoFrom Chris Waters: export "find_dissector_table()" and add
Guy Harris [Fri, 15 Nov 2002 03:10:36 +0000 (03:10 -0000)]
From Chris Waters: export "find_dissector_table()" and add
"dissector_handle_get_protocol_index()".

svn path=/trunk/; revision=6633

21 years agoOnly display errors in SMB headers in the COL_INFO field. This gets
Tim Potter [Thu, 14 Nov 2002 23:14:14 +0000 (23:14 -0000)]
Only display errors in SMB headers in the COL_INFO field.  This gets
rid of the annoying STATUS_BUFFER_OVERFLOW messages when dissecting
large DCERPC responses as a buffer overflow is only a informational
message not an error.

svn path=/trunk/; revision=6632

21 years agoFrom Andrew Esh: typo fix in iSCSI dissector.
Guy Harris [Thu, 14 Nov 2002 19:08:17 +0000 (19:08 -0000)]
From Andrew Esh: typo fix in iSCSI dissector.

svn path=/trunk/; revision=6631

21 years agoFrom Tomas Kukosa: export more routines to plugins.
Guy Harris [Thu, 14 Nov 2002 18:54:53 +0000 (18:54 -0000)]
From Tomas Kukosa: export more routines to plugins.

svn path=/trunk/; revision=6630

21 years agoFeature for Gtk2: GUI version of IO-STAT. Looks reasonable with one graph. Looks...
Ronnie Sahlberg [Thu, 14 Nov 2002 10:32:22 +0000 (10:32 -0000)]
Feature for Gtk2: GUI version of IO-STAT. Looks reasonable with one graph. Looks "sub-optimal" with multiple graphs overwriting eachothers.

We can just delete it later if it cant be improved visually.

svn path=/trunk/; revision=6629

21 years agoMake the list of dissectors match the one for UNIX builds.
Guy Harris [Thu, 14 Nov 2002 08:10:51 +0000 (08:10 -0000)]
Make the list of dissectors match the one for UNIX builds.

svn path=/trunk/; revision=6628

21 years agoMake "tethereal-tap-register.c" and "ethereal-tap-register.c" depend on
Guy Harris [Thu, 14 Nov 2002 08:09:35 +0000 (08:09 -0000)]
Make "tethereal-tap-register.c" and "ethereal-tap-register.c" depend on
the script that builds them.

svn path=/trunk/; revision=6627

21 years agoFrom Didier Gautheron: make the rule to build "ethereal-tap-register.c"
Guy Harris [Thu, 14 Nov 2002 08:07:12 +0000 (08:07 -0000)]
From Didier Gautheron: make the rule to build "ethereal-tap-register.c"
work when a build is done outside the source tree, and make
"ethereal-tap-register.c" depend on the script that builds it.

svn path=/trunk/; revision=6626

21 years agoAdd the actual dissector for HyperSCSI.
Richard Sharpe [Thu, 14 Nov 2002 07:55:42 +0000 (07:55 -0000)]
Add the actual dissector for HyperSCSI.

svn path=/trunk/; revision=6625

21 years agoAdd HyperSCSI support. SCSI over ethernet.
Richard Sharpe [Thu, 14 Nov 2002 07:54:48 +0000 (07:54 -0000)]
Add HyperSCSI support. SCSI over ethernet.

svn path=/trunk/; revision=6624

21 years agoThis patch adds dissection of DsRoleGetPrimaryDomainInfo to the
Richard Sharpe [Thu, 14 Nov 2002 04:39:39 +0000 (04:39 -0000)]
This patch adds dissection of DsRoleGetPrimaryDomainInfo to the
dcerpc-lsa-ds dissector.

From Jim McDonough

svn path=/trunk/; revision=6623

21 years agoTypo fixes, from Brian Ginsbach.
Guy Harris [Thu, 14 Nov 2002 02:31:26 +0000 (02:31 -0000)]
Typo fixes, from Brian Ginsbach.

svn path=/trunk/; revision=6622

21 years agoFrom Brian Ginsbach: upport for additional snoop file encapsulations in
Guy Harris [Wed, 13 Nov 2002 21:49:58 +0000 (21:49 -0000)]
From Brian Ginsbach: upport for additional snoop file encapsulations in
UNICOS/mp.

svn path=/trunk/; revision=6621

21 years agoFrom Brian Ginsbach: add a new "dissect_rpc_bytes()" routine to allow
Guy Harris [Wed, 13 Nov 2002 21:45:59 +0000 (21:45 -0000)]
From Brian Ginsbach: add a new "dissect_rpc_bytes()" routine to allow
fixed-length opaque data to be dissected, and add support for SGI's
variant of the ONC RPC mount protocol.

svn path=/trunk/; revision=6620

21 years agoFrom Andreas Trauer:
Guy Harris [Wed, 13 Nov 2002 09:01:08 +0000 (09:01 -0000)]
From Andreas Trauer:

- more typos corrected
- changed "Teardown indication" to "Teardown Indicator"
  The official name is Teardown Ind, but 3GPP TS 29.060 also
  refers to it as Teardown Indicator
- bugfix: I had moved the call to col_append_str_gtp() one bracket
  too far resulting in display of "GTP <GTP>" or "GTP-U <GTP-C>".

svn path=/trunk/; revision=6619

21 years agoFrom Ronald Henderson: in LDAP dissector, handle Sequence Of header
Guy Harris [Tue, 12 Nov 2002 21:37:35 +0000 (21:37 -0000)]
From Ronald Henderson: in LDAP dissector, handle Sequence Of header
being split across TCP segments.

svn path=/trunk/; revision=6618

21 years agoInstead of tweaking a "Protocol configuration options" extension header
Guy Harris [Mon, 11 Nov 2002 19:23:14 +0000 (19:23 -0000)]
Instead of tweaking a "Protocol configuration options" extension header
item to look more-or-less like a PPP packet, just dissect it in place
and hand off to the appropriate subdissector using the PPP dissector's
handoff table (which we export, along with its value_string table for
protocol IDs, which we use to report the protocol ID symbolically).

This means there's no point in having a configurable option to control
whether to do that tweaking; make it an obsolete option.

Bring "col_get_writable()" back from the dead, and have the GTP
dissector save the current "writable" flag for columns, mark the columns
non-writable before calling the subdissector for the PPP configuration
protocol, and restore the state of the writable flag, rather than
putting the columns back after the PPP configuration protocol's
dissector is done.

Fix some more typos in comments.

Don't register the IP dissector in the "ppp.protocol" table in the GTP
dissector's handoff registration routine - it's already being done in
the IP dissector's handoff routine.

Fix the name for CHAP to match what RFC 1994 calls it (if the name
changed, it should be changed in all places, but, at least according to
this message, a while ago, from Bob Sutterfield, "since the RFC defines
the protocol, the RFC defines the name":

http://mail-index.netbsd.org/netbsd-help/1996/05/16/0011.html

and the RFC defines the name as "PPP Challenge Handshake Authentication
Protocol (CHAP)").

svn path=/trunk/; revision=6617

21 years agoUse gtk1/gtk2 compatibility macros.
Olivier Abad [Mon, 11 Nov 2002 18:57:00 +0000 (18:57 -0000)]
Use gtk1/gtk2 compatibility macros.

svn path=/trunk/; revision=6616

21 years agoIn the gtk2 port, make double click in the tree view expand or collapse
Olivier Abad [Mon, 11 Nov 2002 18:46:16 +0000 (18:46 -0000)]
In the gtk2 port, make double click in the tree view expand or collapse
a row.

svn path=/trunk/; revision=6615

21 years agoFrom Andreas Trauer:
Guy Harris [Mon, 11 Nov 2002 17:41:37 +0000 (17:41 -0000)]
From Andreas Trauer:

- correct typos in comments
- remove obsoleted definition of GTP_PPP_0x00, ...
- remove distinction between GTP and PPP for col_append_str_gtp(),
because this layer is GTP (or GTP-U), but never PPP

svn path=/trunk/; revision=6614

21 years ago"#ifdef" doesn't take Boolean expressions as arguments; use "#if
Guy Harris [Mon, 11 Nov 2002 17:34:22 +0000 (17:34 -0000)]
"#ifdef" doesn't take Boolean expressions as arguments; use "#if
defined(A) && defined(B)" to check whether both A and B are defined.

svn path=/trunk/; revision=6613

21 years ago"gtk_quit_add_destroy()" takes a "GtkObject *" as its second argument in
Guy Harris [Mon, 11 Nov 2002 17:32:42 +0000 (17:32 -0000)]
"gtk_quit_add_destroy()" takes a "GtkObject *" as its second argument in
both GTK+ 1.2[.x] and 2.x, so put the "GTK_OBJECT()" cast back in to
squelch a compiler warning.

svn path=/trunk/; revision=6612

21 years agoPut in some missing macros needed for recent changes.
Guy Harris [Mon, 11 Nov 2002 17:30:26 +0000 (17:30 -0000)]
Put in some missing macros needed for recent changes.

svn path=/trunk/; revision=6611

21 years agoUse gtk1/gtk2 compatibility macros to reduce #ifdefs.
Olivier Abad [Mon, 11 Nov 2002 15:39:06 +0000 (15:39 -0000)]
Use gtk1/gtk2 compatibility macros to reduce #ifdefs.

svn path=/trunk/; revision=6610

21 years agoReplace gtk_rpcprogs_init with gtk_rpcprogs_cb in the gtk2 menu entry.
Olivier Abad [Mon, 11 Nov 2002 12:37:15 +0000 (12:37 -0000)]
Replace gtk_rpcprogs_init with gtk_rpcprogs_cb in the gtk2 menu entry.

svn path=/trunk/; revision=6609

21 years agoIgnore Makefile{,.in}
Tim Potter [Mon, 11 Nov 2002 05:44:25 +0000 (05:44 -0000)]
Ignore Makefile{,.in}

svn path=/trunk/; revision=6608

21 years agoConvert getprinter info 0, 1, 2, 3 to dissect_ndr routines. Hooray!
Tim Potter [Mon, 11 Nov 2002 05:39:51 +0000 (05:39 -0000)]
Convert getprinter info 0, 1, 2, 3 to dissect_ndr routines. Hooray!

The old prs_DEVMODE function is still used by something else for the
moment.

svn path=/trunk/; revision=6607

21 years agoAdd tethereal's tap objects to Makefile.nmake's "clean" target.
Gerald Combs [Sun, 10 Nov 2002 20:53:06 +0000 (20:53 -0000)]
Add tethereal's tap objects to Makefile.nmake's "clean" target.

Instead of setting MIBDIRS in tethereal.c and gtk/main.c, set it in
packet-snmp.c.

svn path=/trunk/; revision=6606

21 years agoUpdate comments to reflect some information inferred from the Sniffer
Guy Harris [Sun, 10 Nov 2002 20:52:56 +0000 (20:52 -0000)]
Update comments to reflect some information inferred from the Sniffer
documentation.

svn path=/trunk/; revision=6605

21 years agoDisplay the call reference flag, and don't include that bit in the call
Guy Harris [Sun, 10 Nov 2002 20:26:24 +0000 (20:26 -0000)]
Display the call reference flag, and don't include that bit in the call
reference value.

svn path=/trunk/; revision=6604

21 years agoFrom Devin Heitmueller: show proper field names for SAMR
Guy Harris [Sun, 10 Nov 2002 20:17:52 +0000 (20:17 -0000)]
From Devin Heitmueller: show proper field names for SAMR
UnicodeChangePassword2.

svn path=/trunk/; revision=6603

21 years agoWhen opening tap windows, we don't need to search the tap_list again. It
Olivier Abad [Sun, 10 Nov 2002 11:41:45 +0000 (11:41 -0000)]
When opening tap windows, we don't need to search the tap_list again. It
has been done when processing the -z command line option.

svn path=/trunk/; revision=6602

21 years ago- use gtk1/gtk2 compatibility macros to reduce #ifdefs
Olivier Abad [Sun, 10 Nov 2002 11:36:39 +0000 (11:36 -0000)]
- use gtk1/gtk2 compatibility macros to reduce #ifdefs
- when processing tap extensions command line options, wait until the
  main window has been created before opening the tap window, to avoid
  lots of GTK warnings.

svn path=/trunk/; revision=6601

21 years agoUse gtk1/gtk2 compatibility macros to reduce #ifdefs.
Olivier Abad [Sun, 10 Nov 2002 11:00:29 +0000 (11:00 -0000)]
Use gtk1/gtk2 compatibility macros to reduce #ifdefs.

svn path=/trunk/; revision=6600

21 years agoBugfixes for two SAMR dissectors.
Ronnie Sahlberg [Sun, 10 Nov 2002 09:49:38 +0000 (09:49 -0000)]
Bugfixes for two SAMR dissectors.

svn path=/trunk/; revision=6599

21 years agoDissect NTLMSSP authentication verifiers, as per lkcl's "DCE/RPC over
Guy Harris [Sun, 10 Nov 2002 09:38:22 +0000 (09:38 -0000)]
Dissect NTLMSSP authentication verifiers, as per lkcl's "DCE/RPC over
SMB" book.

svn path=/trunk/; revision=6598

21 years agoUse gtk1/gtk2 compatibility macros to reduce #ifdefs.
Olivier Abad [Sat, 9 Nov 2002 20:52:39 +0000 (20:52 -0000)]
Use gtk1/gtk2 compatibility macros to reduce #ifdefs.

svn path=/trunk/; revision=6597

21 years agoHelper macros fro gtk1.2/gtk2 compatibility.
Olivier Abad [Sat, 9 Nov 2002 20:00:35 +0000 (20:00 -0000)]
Helper macros fro gtk1.2/gtk2 compatibility.
It should reduce the number of #ifdefs in gtk source code.

svn path=/trunk/; revision=6596

21 years agoAdded support for version 2 of the ID, port number can now be selected.
Michael Tüxen [Sat, 9 Nov 2002 19:00:09 +0000 (19:00 -0000)]
Added support for version 2 of the ID, port number can now be selected.
Based on a patch of Jeff Morriss.

svn path=/trunk/; revision=6595

21 years agoPut in a note about "ntoh[ls]()" and "hton[ls]()" vs. the GLib versions
Guy Harris [Sat, 9 Nov 2002 08:37:00 +0000 (08:37 -0000)]
Put in a note about "ntoh[ls]()" and "hton[ls]()" vs. the GLib versions
of same.

svn path=/trunk/; revision=6594

21 years agoDisplay the call reference flag, and don't include that bit in the call
Guy Harris [Sat, 9 Nov 2002 08:09:18 +0000 (08:09 -0000)]
Display the call reference flag, and don't include that bit in the call
reference value.

svn path=/trunk/; revision=6593

21 years agoIt appears that 0x80 in the fs field of an ISDN packet means "network to
Guy Harris [Sat, 9 Nov 2002 08:07:19 +0000 (08:07 -0000)]
It appears that 0x80 in the fs field of an ISDN packet means "network to
user", not "user to network" (SETUP messages are generally sent *to* the
network).

svn path=/trunk/; revision=6592

21 years agoAttempt to handle REC_HEADER2 records in major version 2 DOS Sniffer
Guy Harris [Sat, 9 Nov 2002 07:31:17 +0000 (07:31 -0000)]
Attempt to handle REC_HEADER2 records in major version 2 DOS Sniffer
captures.

svn path=/trunk/; revision=6591

21 years agoAdd support for SIGINFO on systems that have it.
Guy Harris [Sat, 9 Nov 2002 00:08:44 +0000 (00:08 -0000)]
Add support for SIGINFO on systems that have it.

svn path=/trunk/; revision=6590

21 years agoEliminate a compiler warning, and handle overflows.
Guy Harris [Fri, 8 Nov 2002 19:58:09 +0000 (19:58 -0000)]
Eliminate a compiler warning, and handle overflows.

svn path=/trunk/; revision=6589

21 years agoGet rid of carriage returns - they upset some UNIX compilers (and
Guy Harris [Fri, 8 Nov 2002 19:46:09 +0000 (19:46 -0000)]
Get rid of carriage returns - they upset some UNIX compilers (and
Windows compilers, etc. largely appear to handle files without them,
assuming CVS doesn't just put them in when you check them out).

Also get rid of execute permission on source files.

svn path=/trunk/; revision=6588

21 years agoMore patches from Jim McDonough
Richard Sharpe [Fri, 8 Nov 2002 19:29:39 +0000 (19:29 -0000)]
More patches from Jim McDonough

svn path=/trunk/; revision=6587

21 years agoAnother patch from Jim McDonough.
Richard Sharpe [Fri, 8 Nov 2002 19:25:42 +0000 (19:25 -0000)]
Another patch from Jim McDonough.

svn path=/trunk/; revision=6586

21 years agoIt doesn't appear as if any flag in the preceding NEGOTIATE or CHALLENGE
Guy Harris [Fri, 8 Nov 2002 06:02:18 +0000 (06:02 -0000)]
It doesn't appear as if any flag in the preceding NEGOTIATE or CHALLENGE
message indicates whether the session key or flags are missing in an
AUTH message - and it appears that the session key can be present
without the flags.

For both fields, check whether the offset is after the offset of the
first data chunk and, if so, assume the field is missing.

This means we no longer need to remember the flags for a NEGOTIATE
message, so just remember them for a CHALLENGE message.

svn path=/trunk/; revision=6585

21 years agoUse the same ett_ value for all security blobs, regardless of whether
Guy Harris [Fri, 8 Nov 2002 05:51:33 +0000 (05:51 -0000)]
Use the same ett_ value for all security blobs, regardless of whether
they're raw NTLMSSP or GSS-API.

svn path=/trunk/; revision=6584

21 years agoCall the NTLMSSP subdissector regardless of whether we're building a
Guy Harris [Fri, 8 Nov 2002 05:06:36 +0000 (05:06 -0000)]
Call the NTLMSSP subdissector regardless of whether we're building a
protocol tree or not.

svn path=/trunk/; revision=6583

21 years agoGet rid of an unused variable.
Guy Harris [Fri, 8 Nov 2002 04:25:00 +0000 (04:25 -0000)]
Get rid of an unused variable.

Fix the name of a field to begin with "ntlmssp".

svn path=/trunk/; revision=6582

21 years agoIf NTLMSSP_NEGOTIATE_UNICODE is different in the negotiate and challenge
Guy Harris [Fri, 8 Nov 2002 01:45:37 +0000 (01:45 -0000)]
If NTLMSSP_NEGOTIATE_UNICODE is different in the negotiate and challenge
messages, the value in the challenge message is what should be used to
determine how to dissect the auth message.

svn path=/trunk/; revision=6581

21 years agoAllow more than one circuit with the same circuit ID; a circuit has a
Guy Harris [Fri, 8 Nov 2002 01:00:07 +0000 (01:00 -0000)]
Allow more than one circuit with the same circuit ID; a circuit has a
starting and ending frame number, and circuits with the same circuit ID
are sorted by the starting frame number (the last circuit can have 0 as
the ending frame number, meaning "unknown"), and, when looking up a
circuit, we take a frame number as an argument and return the circuit
that includes that frame.

Add a new circuit ID type for X.25 virtual circuits, and use the circuit
mechanism to keep track of the dissector for an X.25 virtual circuit
rather than having a private mechanism.

svn path=/trunk/; revision=6580

21 years agoFrom Hannes Gredler: show the type value for OSI protocols symbolically.
Guy Harris [Thu, 7 Nov 2002 22:12:13 +0000 (22:12 -0000)]
From Hannes Gredler: show the type value for OSI protocols symbolically.

svn path=/trunk/; revision=6579

21 years agoSome more SPOOLSS stuff from Jim McDonough.
Richard Sharpe [Thu, 7 Nov 2002 17:45:30 +0000 (17:45 -0000)]
Some more SPOOLSS stuff from Jim McDonough.

svn path=/trunk/; revision=6578

21 years agoMust use the proper proto_tree_add_... call for FT_NONE
Ronnie Sahlberg [Thu, 7 Nov 2002 09:10:06 +0000 (09:10 -0000)]
Must use the proper proto_tree_add_... call for FT_NONE

svn path=/trunk/; revision=6577

21 years agohf_index update for TCP
Ronnie Sahlberg [Thu, 7 Nov 2002 08:51:07 +0000 (08:51 -0000)]
hf_index update for TCP

svn path=/trunk/; revision=6576

21 years agoNTLMSSP_NEGOTIATE messages sometimes appear to have two other blobs at
Guy Harris [Thu, 7 Nov 2002 08:01:19 +0000 (08:01 -0000)]
NTLMSSP_NEGOTIATE messages sometimes appear to have two other blobs at
the end, although they're empty in all messages I've seen; put in a
comment noting that.

NTLMSSP_CHALLENGE messages sometimes don't appear to have the address
list; it doesn't seem to be indicated by:

any flags in the previous NEGOTIATE message other than the
Negotiation Workstation Supplied, Negotiate Domain Supplied, or
Negotiate UNICODE, but it doesn't make sense for those to affect
it, as they affect unrelated things;

any flags in the CHALLENGE message other than Negotiate OEM or
Negotiate UNICODE, but those don't make sense.

So we just check whether the address list descriptor would be in the
middle of the domain name string and, if so, assume it's absent.

NTLMSSP_AUTH messages sometimes lack both the session key and the
negotiate flags; that appears to be controlled by th Negotiate Key
Exchange flag in the initial NEGOTIATE message - if not set, those
fields are missing.  We therefore remember the NEGOTIATE flags in a
conversation, and attach them to frames containing AUTH messages; we
also need those flags to determine whether the strings in the AUTH
message are Unicode or not.

Make lengths, maximum lengths, and offsets unsigned.

Display entries for empty blobs and address lists.

svn path=/trunk/; revision=6575

21 years agoFrom Jason House: add the rule to make "ethereal-tap-register.c".
Guy Harris [Thu, 7 Nov 2002 05:33:50 +0000 (05:33 -0000)]
From Jason House: add the rule to make "ethereal-tap-register.c".

Make that rule work correctly, by making "ETHEREAL_TAP_SRC" refer to the
*source* files, making "ETHEREAL_TAP_OBJECTS" be the *object* files (as
generated from the list of source files), and adding
"ETHEREAL_TAP_OBJECTS" rather than "ETHEREAL_TAP_SRC" to the list of
objects to link.

svn path=/trunk/; revision=6574

21 years agoFix the message printed when making "ethereal-tap-register.c".
Guy Harris [Thu, 7 Nov 2002 05:29:07 +0000 (05:29 -0000)]
Fix the message printed when making "ethereal-tap-register.c".

svn path=/trunk/; revision=6573

21 years agoThere can be more than one GSS-API negotiation in a conversation, so the
Guy Harris [Thu, 7 Nov 2002 05:25:37 +0000 (05:25 -0000)]
There can be more than one GSS-API negotiation in a conversation, so the
handle to use to dissect SPNEGO tokens has to be stored as per-frame
data, not just as conversation data.

svn path=/trunk/; revision=6572

21 years agoAdd "ethereal-tap-register.c" to the gtk ".cvsignore" file, as it's a
Guy Harris [Wed, 6 Nov 2002 23:41:21 +0000 (23:41 -0000)]
Add "ethereal-tap-register.c" to the gtk ".cvsignore" file, as it's a
generated file.

svn path=/trunk/; revision=6571

21 years agoNote that it's perfectly OK to store a dissector handle as per-frame or
Guy Harris [Wed, 6 Nov 2002 23:38:27 +0000 (23:38 -0000)]
Note that it's perfectly OK to store a dissector handle as per-frame or
per-conversation data.

svn path=/trunk/; revision=6570

21 years agoThere can be more than one GSS-API negotiation in a conversation, so the
Guy Harris [Wed, 6 Nov 2002 23:36:25 +0000 (23:36 -0000)]
There can be more than one GSS-API negotiation in a conversation, so the
handle to use to dissect GSS-API inner context tokens has to be stored
as per-frame data, not just as conversation data.

svn path=/trunk/; revision=6569

21 years agoFrom Andreas Trauer:
Guy Harris [Wed, 6 Nov 2002 22:59:23 +0000 (22:59 -0000)]
From Andreas Trauer:

Replace the handling of PPP packets over GTPv1 and also
establish the handling of PPP packet over GTPv0.  Additionally
IPv6 packets are handled in GTPv0 and GTPv1.

Explanation:

- old solution: examining the known PPP protocols is a tough
  task, because there might be more in the future -> the list
  must be extended more and more (the octet 0x00 has already
  been added for PPP network layer protocols, but for protocol
  field compression a lot of protocols must be inserted for
  IPv4(0x21), IPv6(0x57), maybe IPX (0x2b) or AppleTalk (0x29),
  ...)

- new solution: It is easier the other way: the most significant
  nibble of the first octet must be 4 for IPv4 and 6 for IPv6.
  All other values are assumed to be PPP packets, including
  packets beginning with values 0x40-0x44 (header too short for
  IPv4 packet) and value 0x4f (PPP protocol type (IPv6 header
  compression protocol) taking precedence over IPv4 packets with
  header length of 60 octets).

svn path=/trunk/; revision=6568

21 years agoFrom Solomon Peachy: support for new "wlancap" 802.11 extra-information
Guy Harris [Wed, 6 Nov 2002 21:49:34 +0000 (21:49 -0000)]
From Solomon Peachy: support for new "wlancap" 802.11 extra-information
header.

Add overflow checks to "BYTES_ARE_IN_FRAME()", and cast all arguments to
unsigned values (negative values should never be passed) to squelch
compiler warnings.

svn path=/trunk/; revision=6567

21 years agoFirst step in creating an API to register TAPs for use with ethereal instead of hardc...
Ronnie Sahlberg [Wed, 6 Nov 2002 10:53:36 +0000 (10:53 -0000)]
First step in creating an API to register TAPs for use with ethereal instead of hardcoding them in main.c/menu.c

This adds functions to register the command line arguments to use the API in the same way as is done for tethereal.

Later it may be extended to also register the GUI/Menu entry point to ethereal using this api but that iwll be later since the changes required to menu.c are not as intrusive as the main.c command line parsing ones were.

Some of the latest changes (before this checkin) has made ethereal to produce lots of GTK errors when starting up the extension windows.
They were there before this checking but will be investigated.

svn path=/trunk/; revision=6566

21 years agoGet rid of a trailing blank.
Guy Harris [Tue, 5 Nov 2002 23:00:11 +0000 (23:00 -0000)]
Get rid of a trailing blank.

svn path=/trunk/; revision=6565

21 years agoShow the SAP values in RPL packets symbolically if possible.
Guy Harris [Tue, 5 Nov 2002 22:50:42 +0000 (22:50 -0000)]
Show the SAP values in RPL packets symbolically if possible.

svn path=/trunk/; revision=6564

21 years agoIn connection-oriented DCE RPC, the authentication data are credentials
Guy Harris [Tue, 5 Nov 2002 21:41:27 +0000 (21:41 -0000)]
In connection-oriented DCE RPC, the authentication data are credentials
only in bind, bind_ack, alter_context, alter_context_response, and auth3
PDUs; they're a verifier of some sort in other PDUs.  The verifier
appears to start with an OID for the real authentication mechanism if
the authentication type is SPNEGO.

svn path=/trunk/; revision=6563

21 years agoA small fix to NtCreat&X from Jim McDonough ...
Richard Sharpe [Tue, 5 Nov 2002 19:44:51 +0000 (19:44 -0000)]
A small fix to NtCreat&X from Jim McDonough ...

svn path=/trunk/; revision=6562

21 years agoFrom Hannes Gredler:
Guy Harris [Mon, 4 Nov 2002 22:00:14 +0000 (22:00 -0000)]
From Hannes Gredler:

support dissecting of v6 VPN NLRIs;

fix a little bug for displaying v4 nexthops using type 1 RD
style [dissecting started at wrong offset].

svn path=/trunk/; revision=6561

21 years agoNew tap extension to tethereal: ProtoColInfo
Ronnie Sahlberg [Mon, 4 Nov 2002 12:11:01 +0000 (12:11 -0000)]
New tap extension to tethereal: ProtoColInfo

Using this command line option you canb now place any arbitrary display-filter fields on the COL_INFO line.

Assume you want NFS dissector in tethereal to put ALL filehandle hashes (nfs.fh.hash) on COL_INFO.
No worries, just add

-z proto,colinfo,nfs.fh.hash,nfs.fh.hash

as a parameter to tethereal.

Never again do you need to hack tethereal and recompile just because you want some extra info on the COL_INFO line.

svn path=/trunk/; revision=6560

21 years agoBugfix.
Ronnie Sahlberg [Mon, 4 Nov 2002 11:52:36 +0000 (11:52 -0000)]
Bugfix.
Previous checkin did not make sense. We can not have a union without having the
union case value stored as a separate variable or else the receiving side will
not know how to decode the packet.
Therefore it can not be a union at all. Instead we have a REF pointer to a ulong
holding the number of elements, then a unique pointer to a conformant array
of structures.

Thus, the content of the reply packet for function_24 as well as
dsrolegetprimarydomaininfo can not be

 [ref] PRIMARY_DOMAIN_INFO_EX_UNION *pdi;

but instead MUST be
 long num_entries;
 [unique][size_is(num_entries)] PRIMARY_DOMAIN_INFO_EX *pdi;

svn path=/trunk/; revision=6559

21 years agoBugfix for DSROLE_PRIMARY_DOMAIN_INFO
Ronnie Sahlberg [Mon, 4 Nov 2002 09:06:15 +0000 (09:06 -0000)]
Bugfix for DSROLE_PRIMARY_DOMAIN_INFO

svn path=/trunk/; revision=6558

21 years agoRegister (and initialize) ett_mplscp_options and ett_cdpcp_options. Fix
Gerald Combs [Mon, 4 Nov 2002 03:57:34 +0000 (03:57 -0000)]
Register (and initialize) ett_mplscp_options and ett_cdpcp_options.  Fix
some indentation inconsistencies.

svn path=/trunk/; revision=6557

21 years agoDon't use the result of "proto_registrar_get_name()" as the field value
Guy Harris [Sun, 3 Nov 2002 20:35:49 +0000 (20:35 -0000)]
Don't use the result of "proto_registrar_get_name()" as the field value
- it's the name of the field, not the name of the protocol corresponding
to the UUID.

svn path=/trunk/; revision=6556

21 years agoUse the full name of the "hf_dcerpc_obj_id" field when formatting the
Guy Harris [Sun, 3 Nov 2002 20:34:54 +0000 (20:34 -0000)]
Use the full name of the "hf_dcerpc_obj_id" field when formatting the
protocol tree item for it.

Fix a typo.

svn path=/trunk/; revision=6555

21 years agoFrom Jean-Baptiste Marchand: fix a typo in README.developer.
Guy Harris [Sun, 3 Nov 2002 20:24:12 +0000 (20:24 -0000)]
From Jean-Baptiste Marchand: fix a typo in README.developer.

Also, put him into the list of authors in the man page.

svn path=/trunk/; revision=6554

21 years agoFrom Jochen Friedrich: give individual fields their own ett_ values and
Guy Harris [Sun, 3 Nov 2002 20:11:32 +0000 (20:11 -0000)]
From Jochen Friedrich: give individual fields their own ett_ values and
fix the name of the file in the introductory comment.

Get rid of unnecessary include of "prefs.h".

Make the MAC address fields FT_ETHER rather than FT_BYTES.

Get rid of CRs at the ends of lines.

svn path=/trunk/; revision=6553

21 years agoMerge gtk and gtk2 directories.
Olivier Abad [Sun, 3 Nov 2002 17:38:45 +0000 (17:38 -0000)]
Merge gtk and gtk2 directories.

svn path=/trunk/; revision=6552

21 years agoAdd references to 'tethereal -D' in the '-i' section.
Gerald Combs [Sun, 3 Nov 2002 17:38:27 +0000 (17:38 -0000)]
Add references to 'tethereal -D' in the '-i' section.

svn path=/trunk/; revision=6551

21 years agoFix for Netlogon function 0x22 which used the wrong pointer type.
Ronnie Sahlberg [Sun, 3 Nov 2002 04:39:22 +0000 (04:39 -0000)]
Fix for Netlogon function 0x22 which used the wrong pointer type.
Additional cleanups added when no longer nessecary to pass through two levels of pointers to get to the DOMAIN_CONTROLLER_INFO structure in the code.

svn path=/trunk/; revision=6550

21 years agoRegister the ett_ values.
Guy Harris [Sat, 2 Nov 2002 22:55:49 +0000 (22:55 -0000)]
Register the ett_ values.

svn path=/trunk/; revision=6549

21 years agoFrom Jochen Friedrich : Support for the RPL (Remote Program Load) protocol implemente...
Ronnie Sahlberg [Sat, 2 Nov 2002 22:23:16 +0000 (22:23 -0000)]
From Jochen Friedrich : Support for the RPL (Remote Program Load) protocol implemented on some NIC bootproms.

svn path=/trunk/; revision=6548

21 years agoFrom Jean-Baptiste Marchand update the proto_tree_add_ for UUIDs in the
Ronnie Sahlberg [Sat, 2 Nov 2002 22:14:21 +0000 (22:14 -0000)]
From Jean-Baptiste Marchand  update the proto_tree_add_   for UUIDs in the
dcerpc layer (and the subdissectors using dissect_ndr_uuid_t()) so that
it is possible to use display filters on these items.

svn path=/trunk/; revision=6547

21 years agoFixed small bug in TCP seq/ack analysis. Forgot to check a pointer for NULL which...
Ronnie Sahlberg [Sat, 2 Nov 2002 22:00:17 +0000 (22:00 -0000)]
Fixed small bug in TCP seq/ack analysis. Forgot to check a pointer for NULL which caused crashes sometimes.

svn path=/trunk/; revision=6546

21 years agoHandle the 3 bytes of padding before the FDDI frame data in iptrace
Guy Harris [Fri, 1 Nov 2002 20:43:11 +0000 (20:43 -0000)]
Handle the 3 bytes of padding before the FDDI frame data in iptrace
captures.

Use #defines rather than magic numbers for various header sizes, and put
in a comment explaining the header formats.

svn path=/trunk/; revision=6545

21 years agoFix a problem when using the same field more than once in a display
Gilbert Ramirez [Fri, 1 Nov 2002 17:37:25 +0000 (17:37 -0000)]
Fix a problem when using the same field more than once in a display
filter, as in "ip.src == x.x.x.x || ip.src == y.y.y.y". My previous
change to allow filtering on multiple fields of the same name moved
some code into the wrong block within the function, causing the error.

svn path=/trunk/; revision=6544

21 years agoThree more things for TCP seq/ack analysis to check for and flag:
Ronnie Sahlberg [Fri, 1 Nov 2002 11:05:37 +0000 (11:05 -0000)]
Three more things for TCP seq/ack analysis to check for and flag:
  ZeroWindow:   ZeroWindow segments are detected and flagged
  ZeroWindowProbe: detected and flagged
  ZeroWindowViolation:  attempts to write >1 byte of data to a zerowindow is detected and flagged.

svn path=/trunk/; revision=6543