Commit graph

6223 commits

Author SHA1 Message Date
Guy Harris
7f3ea787c7 From Anand Narwani: support for Cisco vendor-specific TLVs.
Add RCS IDs to source files.

svn path=/trunk/; revision=6257
2002-09-10 19:07:40 +00:00
Richard Sharpe
83e4aac7dd Fixing dfilter2sgml so it is only in one place
svn path=/trunk/; revision=6256
2002-09-10 15:37:35 +00:00
Ronnie Sahlberg
002669d3c5 From Jamie Fournier: DCE/RPC RSEC_LOGIN interface
svn path=/trunk/; revision=6255
2002-09-10 11:33:00 +00:00
Ronnie Sahlberg
5ac8abdffd From Jamie Fournier: DCE/RPC RS_REPLIST interface
svn path=/trunk/; revision=6254
2002-09-10 11:26:27 +00:00
Ronnie Sahlberg
4f835afed2 From Jamie Fournier: DCE/RPC RS_ATTR interface
svn path=/trunk/; revision=6253
2002-09-10 11:19:18 +00:00
Ronnie Sahlberg
98b7d83e72 From Jamie Fournier: DCE/RPC RS_ACCT interface
svn path=/trunk/; revision=6252
2002-09-10 11:13:19 +00:00
Ronnie Sahlberg
99c384ab8e From Jamie Fournier: DCE/RPC RS_MISC dissector
svn path=/trunk/; revision=6251
2002-09-10 11:01:21 +00:00
Ronnie Sahlberg
92bf23b19e From Jamie Fournier : DCE/RPC RS_MISC dissector
svn path=/trunk/; revision=6250
2002-09-10 11:00:36 +00:00
Ronnie Sahlberg
86dbc0b526 From Jamie Fournier DCE/RPC RS_PGO dissector
svn path=/trunk/; revision=6249
2002-09-10 10:48:36 +00:00
Ronnie Sahlberg
c07c4e11bb From Jamie Fournier: DCE/RPC RS_UNIX interface
svn path=/trunk/; revision=6248
2002-09-10 10:28:45 +00:00
Guy Harris
49fd685758 When allocating a hash table for a given MAC address range, use
"g_malloc0()", so it starts out initialized to all null pointers.

svn path=/trunk/; revision=6247
2002-09-10 10:12:34 +00:00
Guy Harris
1d5b83b842 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.

svn path=/trunk/; revision=6246
2002-09-10 10:08:41 +00:00
Guy Harris
5d3283f7e8 Fix a typo in Richard's name.
Add some additional information from

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

svn path=/trunk/; revision=6245
2002-09-10 08:55:34 +00:00
Guy Harris
15e93136d1 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".

svn path=/trunk/; revision=6244
2002-09-10 08:28:14 +00:00
Guy Harris
affdea9815 From Ulf Lamping: define HAVE_LIBZ in the top-level config.h.win32, as
it's defined in the Wiretap config.h.win32.

svn path=/trunk/; revision=6243
2002-09-10 08:23:10 +00:00
Guy Harris
9207c4b0c3 Add Microsoft's RC4-HMAC and exportable(?) RC4-HMAC encryption types.
svn path=/trunk/; revision=6242
2002-09-10 02:15:55 +00:00
Guy Harris
8b5beb7817 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.

svn path=/trunk/; revision=6241
2002-09-09 23:41:12 +00:00
Guy Harris
3b0ab19194 Dissect the autentication verifier for Kerberos 5 authentication in
connectionless PDUs.

svn path=/trunk/; revision=6240
2002-09-09 22:11:33 +00:00
Guy Harris
ac69a72fda "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.

svn path=/trunk/; revision=6239
2002-09-09 21:04:15 +00:00
Guy Harris
5e8ecbaf46 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.

svn path=/trunk/; revision=6238
2002-09-09 20:39:01 +00:00
Jörg Mayer
49425de396 Add/fix cvs id tags
svn path=/trunk/; revision=6237
2002-09-09 20:32:32 +00:00
Guy Harris
e70dea7b3e 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.

svn path=/trunk/; revision=6236
2002-09-09 20:22:51 +00:00
Guy Harris
7283f9b347 Put back missing include of <stdio.h>.
Fix the RCS ID.

svn path=/trunk/; revision=6235
2002-09-09 20:16:12 +00:00
Guy Harris
dbdb12e91e 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.

svn path=/trunk/; revision=6234
2002-09-09 19:53:38 +00:00
Guy Harris
91ecc404e9 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.

svn path=/trunk/; revision=6233
2002-09-09 19:38:11 +00:00
Guy Harris
9390e0591a 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.

svn path=/trunk/; revision=6232
2002-09-08 22:47:43 +00:00
Guy Harris
deb560618d 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.

svn path=/trunk/; revision=6231
2002-09-08 22:41:23 +00:00
Tim Potter
0e5cdab1da Auth type 8 is NETLOGON secure channel used for BDC replication.
svn path=/trunk/; revision=6230
2002-09-08 12:04:42 +00:00
Richard Sharpe
c5c8aed3d6 Fix documentation comments to reflext reality.
svn path=/trunk/; revision=6229
2002-09-08 02:45:26 +00:00
Guy Harris
849e1c6866 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.

svn path=/trunk/; revision=6228
2002-09-08 01:43:44 +00:00
Guy Harris
c949d23143 Explain the GTK+ developers' thinking about detecting fixed-width fonts
and about making some tree view item behaviors settable by applications.

svn path=/trunk/; revision=6227
2002-09-08 01:20:02 +00:00
Richard Sharpe
d3be9940c1 Add a copyright :-)
svn path=/trunk/; revision=6226
2002-09-08 01:07:40 +00:00
Guy Harris
24f888c088 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.

svn path=/trunk/; revision=6225
2002-09-08 00:40:44 +00:00
Guy Harris
edd663a93e 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.

svn path=/trunk/; revision=6224
2002-09-08 00:07:40 +00:00
Ronnie Sahlberg
2d3a5612f6 From Jouni Malinen, bug fix for EAP NAK packets.
svn path=/trunk/; revision=6223
2002-09-07 23:49:58 +00:00
Olivier Abad
f4f1c891dc GtkCList to GtkTreeView conversion.
svn path=/trunk/; revision=6222
2002-09-07 21:21:56 +00:00
Olivier Abad
51b942e186 Add missing gtk_tree_path_free()
svn path=/trunk/; revision=6221
2002-09-07 21:21:14 +00:00
Olivier Abad
eea71f4b6d Strings copied from a TreeModel must be freed after usage.
svn path=/trunk/; revision=6220
2002-09-07 18:35:16 +00:00
Richard Sharpe
428c514ba6 Fix a spelling mistake.
svn path=/trunk/; revision=6219
2002-09-07 15:45:28 +00:00
Jörg Mayer
6872097e8f Add back stdio.h
svn path=/trunk/; revision=6218
2002-09-07 14:56:57 +00:00
Olivier Abad
1cfc7d562c GtkList to GtkTreeView conversion.
svn path=/trunk/; revision=6217
2002-09-07 10:48:07 +00:00
Jörg Mayer
d3202fcc7d make dist needs to include gtk and gtk2 no matter what the configure opitons were
svn path=/trunk/; revision=6216
2002-09-07 10:04:41 +00:00
Ronnie Sahlberg
5b2510fb8e 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.

svn path=/trunk/; revision=6215
2002-09-07 10:02:36 +00:00
Jörg Mayer
f4ba9d929c Add back stdio.h
svn path=/trunk/; revision=6214
2002-09-07 10:01:55 +00:00
Ronnie Sahlberg
e0ccffe293 remove old files we have renamed to proper names
svn path=/trunk/; revision=6213
2002-09-07 09:29:46 +00:00
Ronnie Sahlberg
244b20d868 Change naming for rpcstat and rpcprogs
svn path=/trunk/; revision=6212
2002-09-07 09:28:05 +00:00
Richard Sharpe
95c2dfb4b3 Decode AP-REQ and AP-REP KRB5 message types ...
svn path=/trunk/; revision=6211
2002-09-07 08:43:04 +00:00
Jörg Mayer
3c4499c972 This file is not packet-gssapi.h, although it was cloned from it
svn path=/trunk/; revision=6210
2002-09-07 08:29:13 +00:00
Richard Sharpe
5739c418b7 OK, now have KRB5 dissector playing nice.
svn path=/trunk/; revision=6209
2002-09-07 03:32:49 +00:00
Jörg Mayer
0a749ca6b4 Include wtap.h to declare wtap_pseudo_header
svn path=/trunk/; revision=6208
2002-09-07 00:41:26 +00:00