obnox/wireshark/wip.git
22 years ago- add a new GUI preference in the gtk2 port. It allows to use
oabad [Sat, 14 Sep 2002 10:07:40 +0000 (10:07 +0000)]
- add a new GUI preference in the gtk2 port. It allows to use
  alternating colors in all TreeView widgets (see
  gtk_tree_view_set_rules_hint()).

- remove unused preferences in the gtk2 port (tree_expander_style and
  tree_line_style).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6296 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoOptimized edt handling as per Guy's suggestion.
sahlberg [Sat, 14 Sep 2002 07:42:52 +0000 (07:42 +0000)]
Optimized edt handling as per Guy's suggestion.
The performance impact on using multiple tap extensions using
filter strings should be greatly reduced.

Next step would be to rewrite the color filtering in file.c to become
a tap extension and then the checking of display filters in file.c as well.
After that the edt/epan_dissect_run() calls can be completely removed from
file.c

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6295 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC AFS4INT interface
sahlberg [Fri, 13 Sep 2002 10:36:55 +0000 (10:36 +0000)]
From Jaime Fournier: DCE/RPC AFS4INT interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6294 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RCP FLDB interface
sahlberg [Fri, 13 Sep 2002 10:28:54 +0000 (10:28 +0000)]
From Jaime Fournier: DCE/RCP FLDB interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6293 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC TKN4INT interface
sahlberg [Fri, 13 Sep 2002 10:20:48 +0000 (10:20 +0000)]
From Jaime Fournier: DCE/RPC TKN4INT interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6292 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC SECIDMAP interface
sahlberg [Fri, 13 Sep 2002 10:13:03 +0000 (10:13 +0000)]
From Jaime Fournier: DCE/RPC SECIDMAP interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6291 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC REP_PROC interface
sahlberg [Fri, 13 Sep 2002 10:06:45 +0000 (10:06 +0000)]
From Jaime Fournier: DCE/RPC REP_PROC interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6290 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC KRB5RPC interface
sahlberg [Fri, 13 Sep 2002 09:59:21 +0000 (09:59 +0000)]
From Jaime Fournier: DCE/RPC KRB5RPC interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6289 f5534014-38df-0310-8fa8-9805f1628bb7

22 years ago<sys/types.h> still needs to be #included to get size_t, as the comment
gram [Thu, 12 Sep 2002 21:26:51 +0000 (21:26 +0000)]
<sys/types.h> still needs to be #included to get size_t, as the comment
which was not deleted makes clear.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6288 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoHandle ignored files more flexible. This also fixes the newest files
jmayer [Thu, 12 Sep 2002 20:04:42 +0000 (20:04 +0000)]
Handle ignored files more flexible. This also fixes the newest files
missing from this file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6287 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Anand Narwani: fix an error in decoding classifier TLV's.
guy [Thu, 12 Sep 2002 19:58:37 +0000 (19:58 +0000)]
From Anand Narwani: fix an error in decoding classifier TLV's.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6286 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC CDS_CLERKSERVER interface
sahlberg [Thu, 12 Sep 2002 09:29:51 +0000 (09:29 +0000)]
From Jaime Fournier: DCE/RPC CDS_CLERKSERVER interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6285 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC FTSERVER interface
sahlberg [Thu, 12 Sep 2002 09:19:32 +0000 (09:19 +0000)]
From Jaime Fournier: DCE/RPC FTSERVER interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6284 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC BOSSVR interface
sahlberg [Thu, 12 Sep 2002 09:12:26 +0000 (09:12 +0000)]
From Jaime Fournier: DCE/RPC BOSSVR interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6283 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC UKIKVOTE interface
sahlberg [Thu, 12 Sep 2002 09:06:23 +0000 (09:06 +0000)]
From Jaime Fournier: DCE/RPC UKIKVOTE interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6282 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC UBIKDISK interface
sahlberg [Thu, 12 Sep 2002 08:55:42 +0000 (08:55 +0000)]
From Jaime Fournier: DCE/RPC UBIKDISK interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6281 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC DTSPROVIDER interface
sahlberg [Thu, 12 Sep 2002 08:48:40 +0000 (08:48 +0000)]
From Jaime Fournier: DCE/RPC DTSPROVIDER interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6280 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC CPRPC_SERVER interface
sahlberg [Thu, 12 Sep 2002 08:43:37 +0000 (08:43 +0000)]
From Jaime Fournier: DCE/RPC CPRPC_SERVER interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6279 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDisplay the error string in the COL_INFO field for an unsuccessful
tpot [Thu, 12 Sep 2002 00:10:58 +0000 (00:10 +0000)]
Display the error string in the COL_INFO field for an unsuccessful
NBNS name query.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6278 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDiscovered a new pipe, \PIPE\DNSSERVER, when debugging a win2k DNS
tpot [Wed, 11 Sep 2002 23:59:13 +0000 (23:59 +0000)]
Discovered a new pipe, \PIPE\DNSSERVER, when debugging a win2k DNS
problem.  The win2k DNS MMC snap-in generates calls to this pipe.

There appear to be three calls which have been implemented as stubs
for the moment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6277 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoSmall fix from Jim McDonough to fix the order of domain and workstation name
sharpe [Wed, 11 Sep 2002 17:47:32 +0000 (17:47 +0000)]
Small fix from Jim McDonough to fix the order of domain and workstation name
in a negotiate.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6276 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoSmall patch from Jim McDonough from IBM for problems with the Negotiate NTLMSSP frame.
sharpe [Wed, 11 Sep 2002 16:45:07 +0000 (16:45 +0000)]
Small patch from Jim McDonough from IBM for problems with the Negotiate NTLMSSP frame.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6275 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agofix for the fix
sahlberg [Wed, 11 Sep 2002 09:52:36 +0000 (09:52 +0000)]
fix for the fix

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6274 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC CDS_SOLICIT interface
sahlberg [Wed, 11 Sep 2002 09:48:01 +0000 (09:48 +0000)]
From Jaime Fournier: DCE/RPC CDS_SOLICIT interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6273 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoTiny bugfix
sahlberg [Wed, 11 Sep 2002 09:42:02 +0000 (09:42 +0000)]
Tiny bugfix

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6272 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC DTSSTIME_REQ interface
sahlberg [Wed, 11 Sep 2002 09:40:33 +0000 (09:40 +0000)]
From Jaime Fournier: DCE/RPC DTSSTIME_REQ interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6271 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RPC REPADMIN interface
sahlberg [Wed, 11 Sep 2002 09:34:28 +0000 (09:34 +0000)]
From Jaime Fournier: DCE/RPC REPADMIN interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6270 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RCP ROVERRIDE interface
sahlberg [Wed, 11 Sep 2002 09:17:25 +0000 (09:17 +0000)]
From Jaime Fournier: DCE/RCP ROVERRIDE interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6269 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoTiny change to the tcp seq/ack analysis.
sahlberg [Wed, 11 Sep 2002 09:08:07 +0000 (09:08 +0000)]
Tiny change to the tcp seq/ack analysis.

If the addresses are equal, compare the ports with '>' instead of '-'
since '>' will work regardless of whether the values are unsigned or not.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6268 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jaime Fournier: DCE/RCP RPRIV interface
sahlberg [Wed, 11 Sep 2002 09:05:22 +0000 (09:05 +0000)]
From Jaime Fournier: DCE/RCP RPRIV interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6267 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoA small fix to avoid a crash. Needs more work, though ...
sharpe [Wed, 11 Sep 2002 02:23:14 +0000 (02:23 +0000)]
A small fix to avoid a crash. Needs more work, though ...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6266 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix the test for "want_zlib" being "no" when generating the message
guy [Wed, 11 Sep 2002 00:02:52 +0000 (00:02 +0000)]
Fix the test for "want_zlib" being "no" when generating the message
indicating whether we'll be building with zlib.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6265 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Greg Morris: handle watchdog packets on socket 4003 as well as
guy [Tue, 10 Sep 2002 23:47:07 +0000 (23:47 +0000)]
From Greg Morris: handle watchdog packets on socket 4003 as well as
socket 4001.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6264 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jim McDonough: update NTLMSSP decoding to do:
guy [Tue, 10 Sep 2002 23:44:17 +0000 (23:44 +0000)]
From Jim McDonough: update NTLMSSP decoding to do:

- strings are now in a subtree of a command, printing only the
  text unless you go into the subtree (to see length, offset)

- generic blobs are the same as strings, only displayed in hex

- NTLMSSP challenge address lists are decoded

- a couple of unknown fields are now known

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6263 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoCheck the right variable when generating the indication of whether we're
guy [Tue, 10 Sep 2002 23:26:19 +0000 (23:26 +0000)]
Check the right variable when generating the indication of whether we're
building with zlib or not.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6262 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoGtkList to GtkTreeView conversion.
oabad [Tue, 10 Sep 2002 20:54:14 +0000 (20:54 +0000)]
GtkList to GtkTreeView conversion.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6261 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd a reference to gtk2 docs which recommends replacing gtk_signal_xxx
oabad [Tue, 10 Sep 2002 20:53:26 +0000 (20:53 +0000)]
Add a reference to gtk2 docs which recommends replacing gtk_signal_xxx
functions with their g_signal_xxx equivalent.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6260 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoreplace gtk_signal_emit_by_name() with g_signal_emit_by_name()
oabad [Tue, 10 Sep 2002 20:49:07 +0000 (20:49 +0000)]
replace gtk_signal_emit_by_name() with g_signal_emit_by_name()

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6259 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoCall gtk_tree_model_get() only if gtk_tree_selection_get_selected()
oabad [Tue, 10 Sep 2002 19:39:00 +0000 (19:39 +0000)]
Call gtk_tree_model_get() only if gtk_tree_selection_get_selected()
returns TRUE (i.e. get data from the selected row only if something has
been selected).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6258 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Anand Narwani: support for Cisco vendor-specific TLVs.
guy [Tue, 10 Sep 2002 19:07:40 +0000 (19:07 +0000)]
From Anand Narwani: support for Cisco vendor-specific TLVs.

Add RCS IDs to source files.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6257 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFixing dfilter2sgml so it is only in one place
sharpe [Tue, 10 Sep 2002 15:37:35 +0000 (15:37 +0000)]
Fixing dfilter2sgml so it is only in one place

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6256 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier: DCE/RPC RSEC_LOGIN interface
sahlberg [Tue, 10 Sep 2002 11:33:00 +0000 (11:33 +0000)]
From Jamie Fournier: DCE/RPC RSEC_LOGIN interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6255 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier: DCE/RPC RS_REPLIST interface
sahlberg [Tue, 10 Sep 2002 11:26:27 +0000 (11:26 +0000)]
From Jamie Fournier: DCE/RPC RS_REPLIST interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6254 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier: DCE/RPC RS_ATTR interface
sahlberg [Tue, 10 Sep 2002 11:19:18 +0000 (11:19 +0000)]
From Jamie Fournier: DCE/RPC RS_ATTR interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6253 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier: DCE/RPC RS_ACCT interface
sahlberg [Tue, 10 Sep 2002 11:13:19 +0000 (11:13 +0000)]
From Jamie Fournier: DCE/RPC RS_ACCT interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6252 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier: DCE/RPC RS_MISC dissector
sahlberg [Tue, 10 Sep 2002 11:01:21 +0000 (11:01 +0000)]
From Jamie Fournier: DCE/RPC RS_MISC dissector

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6251 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier : DCE/RPC RS_MISC dissector
sahlberg [Tue, 10 Sep 2002 11:00:36 +0000 (11:00 +0000)]
From Jamie Fournier : DCE/RPC RS_MISC dissector

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6250 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier DCE/RPC RS_PGO dissector
sahlberg [Tue, 10 Sep 2002 10:48:36 +0000 (10:48 +0000)]
From Jamie Fournier  DCE/RPC RS_PGO dissector

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6249 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jamie Fournier: DCE/RPC RS_UNIX interface
sahlberg [Tue, 10 Sep 2002 10:28:45 +0000 (10:28 +0000)]
From Jamie Fournier: DCE/RPC RS_UNIX interface

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6248 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoWhen allocating a hash table for a given MAC address range, use
guy [Tue, 10 Sep 2002 10:12:34 +0000 (10:12 +0000)]
When allocating a hash table for a given MAC address range, use
"g_malloc0()", so it starts out initialized to all null pointers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6247 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd "/I$(ZLIB_DIR)" to the list of "/I" flags in the top-level directory
guy [Tue, 10 Sep 2002 10:08:41 +0000 (10:08 +0000)]
Add "/I$(ZLIB_DIR)" to the list of "/I" flags in the top-level directory
and the "gtk" and "gtk2" directories, so that we find "zlib.h", as we
now define "HAVE_ZLIB" in the top-level "config.h.win32" and thus try to
include "zlib.h" on Windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6246 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix a typo in Richard's name.
guy [Tue, 10 Sep 2002 08:55:34 +0000 (08:55 +0000)]
Fix a typo in Richard's name.

Add some additional information from

http://www.isi.edu/people/bcn/krb-revisions/krbclar8-1.html

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6245 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Ulf Lamping: add a "distclean" rule to get rid of all generated
guy [Tue, 10 Sep 2002 08:28:14 +0000 (08:28 +0000)]
From Ulf Lamping: add a "distclean" rule to get rid of all generated
files, and have it get rid of "x11-declarations.h" and
"x11-register-info.h".  Also, don't delete "packet-ncp2222.c" with "make
clean", just with "make distclean", and get rid of a duplicate
"register.c" in the list of files removed by "make clean".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6244 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Ulf Lamping: define HAVE_LIBZ in the top-level config.h.win32, as
guy [Tue, 10 Sep 2002 08:23:10 +0000 (08:23 +0000)]
From Ulf Lamping: define HAVE_LIBZ in the top-level config.h.win32, as
it's defined in the Wiretap config.h.win32.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6243 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd Microsoft's RC4-HMAC and exportable(?) RC4-HMAC encryption types.
guy [Tue, 10 Sep 2002 02:15:55 +0000 (02:15 +0000)]
Add Microsoft's RC4-HMAC and exportable(?) RC4-HMAC encryption types.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6242 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoIf we see SASL authentication in a bind request, attach to the
guy [Mon, 9 Sep 2002 23:41:12 +0000 (23:41 +0000)]
If we see SASL authentication in a bind request, attach to the
conversation a data structure containing the authentication type and
mechanism, and use that to dissect the credentials in subsequent bind
responses.

Call the bind request and response dissectors regardless of whether
we're building a protocol tree or not, so that we call the
authentication subdissectors.

"read_string()" doesn't return anything through the string-pointer
argument if the string is zero-length; handle those cases.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6241 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDissect the autentication verifier for Kerberos 5 authentication in
guy [Mon, 9 Sep 2002 22:11:33 +0000 (22:11 +0000)]
Dissect the autentication verifier for Kerberos 5 authentication in
connectionless PDUs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6240 f5534014-38df-0310-8fa8-9805f1628bb7

22 years ago"dfilter_prime_proto_tree()" doesn't modify the "dfilter_t" to which
guy [Mon, 9 Sep 2002 21:04:15 +0000 (21:04 +0000)]
"dfilter_prime_proto_tree()" doesn't modify the "dfilter_t" to which
it's handed a pointer, which means that "epan_dissect_prime_dfilter()"
doesn't do so either; make that argument a "const dfilter_t *" in both
cases.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6239 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Graeme Hewson:
guy [Mon, 9 Sep 2002 20:39:01 +0000 (20:39 +0000)]
From Graeme Hewson:

Currently Ethereal sets and uses a default directory for reading
and writing, but only in some places.  This set of patches extends
the setting of the default directory to the -w option as well as
the -r option, and causes all file dialogs to use and set the
default consistently.  (I haven't changed the
Preferences/Printing/File dialog, though, as that's a special
case.)

There's also a fix for a bug where Ethereal was issuing the
message "Ring buffer requested, but capture isn't being saved to
a permanent file" even though a file was specified with -w.

There also appear to be some other cleanups in his patch.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6238 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd/fix cvs id tags
jmayer [Mon, 9 Sep 2002 20:32:32 +0000 (20:32 +0000)]
Add/fix cvs id tags

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6237 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Matthew Smart:
guy [Mon, 9 Sep 2002 20:22:51 +0000 (20:22 +0000)]
From Matthew Smart:

     o Added support for v1 and v7

     o Use proto_tree_add_item() instead of proto_tree_add_text() to
       enable filtering.  Thanks sahlberg AT optushome.com.au for
       pointing that out.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6236 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoPut back missing include of <stdio.h>.
guy [Mon, 9 Sep 2002 20:16:12 +0000 (20:16 +0000)]
Put back missing include of <stdio.h>.

Fix the RCS ID.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6235 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAllow the "manuf" file to contain well-known MAC addresses and address
guy [Mon, 9 Sep 2002 19:53:38 +0000 (19:53 +0000)]
Allow the "manuf" file to contain well-known MAC addresses and address
ranges specified with a mask, as well as manufacturer OUIs.  Match the
address range values, as well as MAC addresses and manufacturer OUIs,
when translating MAC addresses to names.

Have "make-manuf" read a file containing the well-known addresses and
append it to the list of OUIs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6234 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAllow the "manuf" file to contain well-known MAC addresses and address
guy [Mon, 9 Sep 2002 19:38:11 +0000 (19:38 +0000)]
Allow the "manuf" file to contain well-known MAC addresses and address
ranges specified with a mask, as well as manufacturer OUIs.  Match the
address range values, as well as MAC addresses and manufacturer OUIs,
when translating MAC addresses to names.

Have "make-manuf" read a file containing the well-known addresses and
append it to the list of OUIs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6233 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse -1, rather than "tvb_length_remaining(tvb, offset)", as the length
guy [Sun, 8 Sep 2002 22:47:43 +0000 (22:47 +0000)]
Use -1, rather than "tvb_length_remaining(tvb, offset)", as the length
for items that should run to the end of the tvbuff.

Make the next level dissector handle local to "dissect_spnego()".

Handle negTokenInit's with mechTokens, by, when processing the mechTypes
sequence in a negTokenInit, remembering the first MechType and telling
"dissect_spnego_mechTypes()"'s caller about it, and having that caller
use that mechType to dissect the mechToken.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6232 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoKRB_DECODE_STRING_OR_DIE, and variants thereof, set "val_len" to the
guy [Sun, 8 Sep 2002 22:41:23 +0000 (22:41 +0000)]
KRB_DECODE_STRING_OR_DIE, and variants thereof, set "val_len" to the
length of the string value and "item_len" to the length of the entire
BER item, including the type header.  As such, "val_len", not
"item_len", should be used when formatting the value, and "item_len",
not "val_len", should be used as the length when putting the item into
the protocol tree and when advancing the offset.

The kvno in an encryptedData item is unsigned; display it as such.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6231 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAuth type 8 is NETLOGON secure channel used for BDC replication.
tpot [Sun, 8 Sep 2002 12:04:42 +0000 (12:04 +0000)]
Auth type 8 is NETLOGON secure channel used for BDC replication.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6230 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix documentation comments to reflext reality.
sharpe [Sun, 8 Sep 2002 02:45:26 +0000 (02:45 +0000)]
Fix documentation comments to reflext reality.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6229 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd a "gssapi_lookup_oid()" that takes a binary OID (pointer and length)
guy [Sun, 8 Sep 2002 01:43:44 +0000 (01:43 +0000)]
Add a "gssapi_lookup_oid()" that takes a binary OID (pointer and length)
as an argument, and looks up that OID in the GSSAPI OID hash table.

Always use that routine to look up OIDs, so that we never use the result
of "format_oid()" as the key (as that doesn't necessarily work).

Make "gssapi_oids" static, as one should only look up GSSAPI
authentication mechanism OIDs with "gssapi_lookup_oid()".

In the SPNEGO dissector, free up the OID strings when we're done with
them, and don't advance the offset past the OID until after we put the
OID into the protocol tree.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6228 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoExplain the GTK+ developers' thinking about detecting fixed-width fonts
guy [Sun, 8 Sep 2002 01:20:02 +0000 (01:20 +0000)]
Explain the GTK+ developers' thinking about detecting fixed-width fonts
and about making some tree view item behaviors settable by applications.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6227 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd a copyright :-)
sharpe [Sun, 8 Sep 2002 01:07:40 +0000 (01:07 +0000)]
Add a copyright :-)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6226 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDo *N*O*T* use the result of "format_oid()" as a key to look up a entry
guy [Sun, 8 Sep 2002 00:40:44 +0000 (00:40 +0000)]
Do *N*O*T* use the result of "format_oid()" as a key to look up a entry
in the gssapi_oids hash table; the keys are just text representations of
the numbers in the OID, but "format_oid()" can add a formatted
description of the OID to the end of the string it returns, which means
it won't match.

Use -1 rather than "tvb_length_remaining(tvb, 0)" as the length to say
"this item goes to the end of the tvbuff.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6225 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAll the multi-byte integral quantities are big-endian, so let's pretend
guy [Sun, 8 Sep 2002 00:07:40 +0000 (00:07 +0000)]
All the multi-byte integral quantities are big-endian, so let's pretend
that the desired authentication type is, too.

Don't bother updating the offset after dissecting the desired
authentication type - we don't update it after dissecting the identity
or notification.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6224 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Jouni Malinen, bug fix for EAP NAK packets.
sahlberg [Sat, 7 Sep 2002 23:49:58 +0000 (23:49 +0000)]
From Jouni Malinen, bug fix for EAP NAK packets.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6223 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoGtkCList to GtkTreeView conversion.
oabad [Sat, 7 Sep 2002 21:21:56 +0000 (21:21 +0000)]
GtkCList to GtkTreeView conversion.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6222 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd missing gtk_tree_path_free()
oabad [Sat, 7 Sep 2002 21:21:14 +0000 (21:21 +0000)]
Add missing gtk_tree_path_free()

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6221 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoStrings copied from a TreeModel must be freed after usage.
oabad [Sat, 7 Sep 2002 18:35:16 +0000 (18:35 +0000)]
Strings copied from a TreeModel must be freed after usage.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6220 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFix a spelling mistake.
sharpe [Sat, 7 Sep 2002 15:45:28 +0000 (15:45 +0000)]
Fix a spelling mistake.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6219 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd back stdio.h
jmayer [Sat, 7 Sep 2002 14:56:57 +0000 (14:56 +0000)]
Add back stdio.h

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6218 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoGtkList to GtkTreeView conversion.
oabad [Sat, 7 Sep 2002 10:48:07 +0000 (10:48 +0000)]
GtkList to GtkTreeView conversion.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6217 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agomake dist needs to include gtk and gtk2 no matter what the configure opitons were
jmayer [Sat, 7 Sep 2002 10:04:41 +0000 (10:04 +0000)]
make dist needs to include gtk and gtk2 no matter what the configure opitons were

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6216 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoTap system supprot for Gtk1 and both rpc_stat and rpc_progs
sahlberg [Sat, 7 Sep 2002 10:02:36 +0000 (10:02 +0000)]
Tap system supprot for Gtk1 and both rpc_stat and rpc_progs

Gtk1 is still single threaded so if the tap extensions need to do something
time consuming or cpu intensive, then the main application will suffer.

It is better than nothing.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6215 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd back stdio.h
jmayer [Sat, 7 Sep 2002 10:01:55 +0000 (10:01 +0000)]
Add back stdio.h

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6214 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoremove old files we have renamed to proper names
sahlberg [Sat, 7 Sep 2002 09:29:46 +0000 (09:29 +0000)]
remove old files we have renamed to proper names

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6213 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoChange naming for rpcstat and rpcprogs
sahlberg [Sat, 7 Sep 2002 09:28:05 +0000 (09:28 +0000)]
Change naming for rpcstat and rpcprogs

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6212 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDecode AP-REQ and AP-REP KRB5 message types ...
sharpe [Sat, 7 Sep 2002 08:43:04 +0000 (08:43 +0000)]
Decode AP-REQ and AP-REP KRB5 message types ...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6211 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoThis file is not packet-gssapi.h, although it was cloned from it
jmayer [Sat, 7 Sep 2002 08:29:13 +0000 (08:29 +0000)]
This file is not packet-gssapi.h, although it was cloned from it

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6210 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoOK, now have KRB5 dissector playing nice.
sharpe [Sat, 7 Sep 2002 03:32:49 +0000 (03:32 +0000)]
OK, now have KRB5 dissector playing nice.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6209 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoInclude wtap.h to declare wtap_pseudo_header
jmayer [Sat, 7 Sep 2002 00:41:26 +0000 (00:41 +0000)]
Include wtap.h to declare wtap_pseudo_header

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6208 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoDeclare dissect_Ticket in packet-kerberos.h and include that into packet-spnego.c
jmayer [Sat, 7 Sep 2002 00:29:29 +0000 (00:29 +0000)]
Declare dissect_Ticket in packet-kerberos.h and include that into packet-spnego.c

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6207 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoUse g_ntohXXX instead of ntohXXX
jmayer [Sat, 7 Sep 2002 00:08:02 +0000 (00:08 +0000)]
Use g_ntohXXX instead of ntohXXX

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6206 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoAdd back more string.h includes
jmayer [Sat, 7 Sep 2002 00:02:24 +0000 (00:02 +0000)]
Add back more string.h includes

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6205 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoForgot to add two files
sahlberg [Fri, 6 Sep 2002 23:14:04 +0000 (23:14 +0000)]
Forgot to add two files

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6204 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoPatch from Oliver Abad to reduce CPU used by the redraw thread. Use g_sleep()
sahlberg [Fri, 6 Sep 2002 22:53:19 +0000 (22:53 +0000)]
Patch from Oliver Abad to reduce CPU used by the redraw thread. Use g_sleep()
instead of a crude busy-wait loop.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6203 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Vassilii Khachaturov, cleanup of redundant code.
sahlberg [Fri, 6 Sep 2002 22:45:44 +0000 (22:45 +0000)]
From Vassilii Khachaturov, cleanup of redundant code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6202 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoPut needed include back in (<string.h>, to declare "memset()").
guy [Fri, 6 Sep 2002 21:27:57 +0000 (21:27 +0000)]
Put needed include back in (<string.h>, to declare "memset()").

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6201 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoFrom Hannes Gredler: decode the sample rate factor in cflowd5 headers.
guy [Fri, 6 Sep 2002 21:22:37 +0000 (21:22 +0000)]
From Hannes Gredler: decode the sample rate factor in cflowd5 headers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6200 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoRemove unused include
jmayer [Fri, 6 Sep 2002 18:29:41 +0000 (18:29 +0000)]
Remove unused include

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6199 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoForgot to point to tap.c for more documentation.
sahlberg [Fri, 6 Sep 2002 14:05:59 +0000 (14:05 +0000)]
Forgot to point to tap.c for more documentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6198 f5534014-38df-0310-8fa8-9805f1628bb7

22 years agoA better than nothing doc for tapping.
sahlberg [Fri, 6 Sep 2002 14:04:25 +0000 (14:04 +0000)]
A better than nothing doc for tapping.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6197 f5534014-38df-0310-8fa8-9805f1628bb7