Commit graph

6223 commits

Author SHA1 Message Date
Jörg Mayer
8874c97191 Add gtk2/glib2 handling to configure. Use --enable-gtk2 to use
gtk2 instead of gtk and glib2 instead of glib.

Right now, --enable-gtk2 will fail during compile unless
acompanied by --disable-ethereal, as ethereal does not yet
support gtk2 (but does support glib2 alone).

svn path=/trunk/; revision=6107
2002-08-28 00:37:31 +00:00
Richard Sharpe
33008beffa Commit some more changes ... getting closer ...
svn path=/trunk/; revision=6106
2002-08-28 00:19:10 +00:00
Richard Sharpe
0401d17629 OK, fix up the problems of the previous commit ...
svn path=/trunk/; revision=6105
2002-08-27 23:30:34 +00:00
Richard Sharpe
55d87b38b5 Here is the beginnings of some code to handle SPNEGO ...
It is not correct yet, as we really should parse the ASN1 stuff correctly.

I have mainly added comments, and then will work on parsing the structures
better.

svn path=/trunk/; revision=6104
2002-08-27 23:21:53 +00:00
Jörg Mayer
210393588b Delete m4 files from aclocal-missing/
svn path=/trunk/; revision=6103
2002-08-27 23:05:11 +00:00
Jörg Mayer
2bdb0230e5 Implement an alternative method to provide missing aclocal files:
Check if a development file for the package is present and install
the corresponding m4 file in aclocal-missing if it isn't.

Add glib, glib-2.0 and gtk-2.0 to the fallback directory.

svn path=/trunk/; revision=6102
2002-08-27 23:00:04 +00:00
Michael Tüxen
d20fafc816 - updated to support draft-ietf-sigtran-m2pa-05.txt
- restructured the code.
- fixed some cosmetic bugs.

svn path=/trunk/; revision=6101
2002-08-27 19:28:23 +00:00
Guy Harris
3fbb450361 From Motonori Shindo: support for
o draft-lasserre-tls-mpls-00.txt
 o draft-lasserre-vkompella-ppvpn-vpls-02.txt

svn path=/trunk/; revision=6100
2002-08-27 19:21:02 +00:00
Guy Harris
784309817d Use Flavio Poletti's home e-mail address, as per his request.
svn path=/trunk/; revision=6099
2002-08-27 19:16:23 +00:00
Guy Harris
867c6e5833 From Hannes Gredler:
open up a subtree when decoding l2info extd communities;

	some bugfixes in the extd community dissector.

svn path=/trunk/; revision=6098
2002-08-27 19:12:35 +00:00
Guy Harris
4c71637b3c "packet-snego.c" was renamed "packet-spnego.c", but this file wasn't
updated to reflect that; do so.

svn path=/trunk/; revision=6097
2002-08-27 19:07:30 +00:00
Guy Harris
e495c4917e "lsa.key" is a Unicode string, and is ultimately put into the protocol
tree with "proto_tree_add_string()", so it has to have the type
FT_STRING, not FT_BYTES.

svn path=/trunk/; revision=6096
2002-08-27 19:02:51 +00:00
Richard Sharpe
9288a564d5 Begin moving snego to spnego
svn path=/trunk/; revision=6095
2002-08-27 15:46:17 +00:00
Ronnie Sahlberg
b8c9f70f2f From Luke H, a new function name and name of some structures/fields used by that function.
svn path=/trunk/; revision=6094
2002-08-27 12:33:15 +00:00
Guy Harris
1f869adf58 From Hannes Gredler:
more complete support for L2VPNs as described in
	draft-kompella-ppvpn-l2vpn;

	fix a segfault in the extd_community decoder;

	more consistent SAFI strings (tcpdump);

	more robust V6 decoding (the assumption that v6 may come
	only in unlabeled form is wrong :-|)

svn path=/trunk/; revision=6093
2002-08-27 08:41:43 +00:00
Tim Potter
532f7b3d1e Dissect flags field for enumprinters rpc.
The string in this rpc is not a devmode, but rather an object name.

svn path=/trunk/; revision=6092
2002-08-27 07:38:36 +00:00
Guy Harris
320621f2f4 From Flavio Poletti: handle 3GPP QoS in RADIUS messages.
svn path=/trunk/; revision=6091
2002-08-26 20:22:31 +00:00
Guy Harris
7a12fa1373 From Ulf Lamping:
Put "bytes" after the byte counts for the frame sizes in the
	    top-level item for the "Frame" protocol, to make it clearer
	    what they refer to.

	Put the source and destination MAC addresses into the top-level
	    item for Ethernet.

svn path=/trunk/; revision=6090
2002-08-26 19:09:02 +00:00
Guy Harris
06573c83ef Plug a memory leak, by freeing the OID string generated by
"format_oid()" after we're done with it.

"format_oid()" doesn't necessarily generate a string containing only the
numerical OID value, so we can't use that string to search for an OID in
the OID hash table.  Generate the string used in that lookup ourselves,
instead.

svn path=/trunk/; revision=6089
2002-08-26 18:52:50 +00:00
Guy Harris
915e66e434 Document FT_FLOAT and the "proto_tree_add_float" routines.
svn path=/trunk/; revision=6088
2002-08-26 09:36:22 +00:00
Guy Harris
1fba4891a1 Dissect SASL credentials.
svn path=/trunk/; revision=6087
2002-08-26 09:21:54 +00:00
Jörg Mayer
c8a1cc363f Disable the aclocal-fallback feature for aclocal (and thus automake)
version 1.4

svn path=/trunk/; revision=6086
2002-08-26 02:14:55 +00:00
Guy Harris
9aaf4916af Expand on a note in a comment.
svn path=/trunk/; revision=6085
2002-08-25 22:57:26 +00:00
Guy Harris
0aeae83ddc NDS fragment handles are 32 bits, according to Greg Morris.
svn path=/trunk/; revision=6084
2002-08-25 21:41:12 +00:00
Richard Sharpe
3f96656bd4 Small fix to get the OIDs to display properly in GSSAPI.
Next to turn SPNEGO into SPNEGO and not SNEGO ... and display the contents
properly as NTLMSSP.

svn path=/trunk/; revision=6083
2002-08-25 19:22:20 +00:00
Guy Harris
bce49e3238 Properly check for an address family that's neither AFNUM_INET nor
AFNUM_INET6.

Properly check for "mp_addr_to_str()" indicating that it doesn't know
the address family being parsed.

svn path=/trunk/; revision=6082
2002-08-24 21:58:57 +00:00
Guy Harris
6e56c25c9d From Ulf Lamping: add a new FT_FLOAT type, for single-precision
floating-point numbers, and display all the significant digits for both
single-precision and double-precision floating-point numbers in the
protocol tree, not just what "%g" does (6 digits).

Put in comments explaining how the length of filter strings is computed,
and fix some of the computations.

svn path=/trunk/; revision=6081
2002-08-24 19:45:28 +00:00
Guy Harris
fedaad1874 Before dissecting a packet, clear the filter field and value stored with
each column for use by the "Match Selected" and "Prepare Selected"
functions in the packet list pane.

svn path=/trunk/; revision=6080
2002-08-24 10:41:40 +00:00
Guy Harris
210b46429b From Hannes Gredler:
Basic support for AFI & Extd communities in
	    draft-kompella-ppvpn-l2vpn

	More robust handling for unknown AFIs in BGP MP(UN)REACH NLRIs

Fix typos.

svn path=/trunk/; revision=6079
2002-08-24 10:22:29 +00:00
Guy Harris
1e1bbe5215 From Marcus Haebler: handle a sub-protocol field of 0x00 as PPP.
Merge all the cases for handling PPP together.

svn path=/trunk/; revision=6078
2002-08-24 10:12:45 +00:00
Guy Harris
d6d0a33cf7 Give the routines that implement the "Match" and "Prepare" menu items
more meaningful names, indicating whether they look at something in the
protocol tree or the packet list.

svn path=/trunk/; revision=6077
2002-08-24 01:17:09 +00:00
Guy Harris
df35b83338 Make the filter name for GSS-API tokens "gss-api", not "GSS-API", to
1) match the protocol's filter name (which isn't used, as we
	   never put entries into the protocol tree for the protocol
	   itself)

and

	2) make it more obvious what you type.

(This matches what the NTLMSSP dissector does for its security blobs.)

svn path=/trunk/; revision=6076
2002-08-24 00:40:45 +00:00
Guy Harris
ab89806eab Give the NDS Verb field a value_string table, so you can filter on it
without having to know the numerical values for the verbs.

Use that table to convert the verb value to a verb name.

Fix indentation.

svn path=/trunk/; revision=6075
2002-08-23 22:44:57 +00:00
Guy Harris
149f19d372 Note to the person who checked in the previous change: that's "already
have", not "don't have". :-)

svn path=/trunk/; revision=6074
2002-08-23 22:15:51 +00:00
Guy Harris
5357337904 In "dissect_nds_request()", if we already have a tree into which to put
items, don't create the temporary tree.

svn path=/trunk/; revision=6073
2002-08-23 22:08:50 +00:00
Guy Harris
ecef5353f4 Fix indentation.
Get rid of unused "ncp_nds_true" variable.

svn path=/trunk/; revision=6072
2002-08-23 21:54:30 +00:00
Jörg Mayer
365bb11df4 Allow running autogen.sh on systems that do not have gtk.m4 installed.
That way it should be possible to build tethereal from cvs. Also,
Fallback files may be added to the aclocal-fallback/ directory in case
other optional packages come up.

svn path=/trunk/; revision=6071
2002-08-23 21:12:32 +00:00
Guy Harris
9ff9891c02 From Flavio Poletti: fix bug in decoding of maximum uplink and downlink
rate in GTP v1 (they were swapped).

svn path=/trunk/; revision=6070
2002-08-23 20:03:15 +00:00
Gilbert Ramirez
34180e1bf2 From Greg Morris:
1. Secret Store Services (NCP 94) (ncp2222.py)
2. NMAS (NCP 92) (ncp2222.py)
3. NDS information in summary screen (packet-ncp.c & packet-ncp2222.inc)
4. Sever broadcast packets (NCP type 0xbbbb) to notify workstation to clear op-lock (packet-ncp.c)
5. Large Internet Packets (LIP) (packet-ncp.c)
6. Unicode Support. (unicode_to_string function in packet-ncp2222.inc & ncp2222.py)

svn path=/trunk/; revision=6069
2002-08-23 17:47:31 +00:00
Guy Harris
3cba66311d The "GSS Data" is not a GSS token, it's a sequence number followed by
(unencrypted) request data.

svn path=/trunk/; revision=6068
2002-08-22 20:47:10 +00:00
Guy Harris
640161291a Use the GSSAPI token dissector on what are presumed to be GSSAPI tokens.
For the "GSS Data", put the un-rounded length into the protocol tree, as
that's the value extracted from the packet.

svn path=/trunk/; revision=6067
2002-08-22 20:22:22 +00:00
Tim Potter
66bc3e597f These guys got lost in a merge. Actually call the gssapi dissector from
the relevant parts of the SMB and DCERPC dissectors.

svn path=/trunk/; revision=6066
2002-08-22 20:04:55 +00:00
Guy Harris
4047c3caeb Properly display the window scale option.
svn path=/trunk/; revision=6065
2002-08-22 19:47:15 +00:00
Guy Harris
23029e96e0 "CMP_ADDRESS()" is not guaranteed to return 0, 1, or -1, it's just
guaranteed to return 0, a positive number, or a negative number, based
on the result of the comparison.  Furthermore, if it returns 0, meaning
the source and destination addresses are the same, we have to look at
the port numbers to decide which side of the conversation the frame is
from.

svn path=/trunk/; revision=6064
2002-08-22 19:40:03 +00:00
Guy Harris
fdf6f47176 Fix the comment before "CMP_ADDRESS()" to reflect reality ("memcmp()"
isn't guaranteed to return 0, 1, or -1, it returns *some* positive
number, not necessarily 1, if the first argument is greater than the
second, and *some* negative number, not necessarily -1, if the first
argument is less than the second).

svn path=/trunk/; revision=6063
2002-08-22 18:53:54 +00:00
Guy Harris
cc6c8214eb Put the top-level item for an NT access mask into the protocol tree with
"proto_tree_add_uint()" and the hfindex passed to us, rather than as a
text item.  That means it has the name our caller gave to it, and that
it's a filterable field.

svn path=/trunk/; revision=6062
2002-08-22 18:24:06 +00:00
Guy Harris
ccf2372350 Display NetBIOS names in standard NetBIOS-name style if they have the
right length, and display them with an error indication and using
"format_text()" if they're not ("format_text()" deals with the string
not being null-terminated, and handles non-printable characters).

svn path=/trunk/; revision=6061
2002-08-22 08:47:13 +00:00
Guy Harris
90e83c9238 From Andy Hood: in the AODV6 dissector, rename "ext_t" to "aodv6_ext_t",
as "ext_t" is defined by a system header file on AIX.

Get rid of the bitfields in "struct aodv_rrep" and "rrep_t", as some
compilers don't allow any type other than "int" or "unsigned int" for
bitfields (so "guint8" won't work), and as there's no guarantee of the
order of bitfields in a structure.

Make "rreq", "rrep", and "rerr" local to "dissect_aodv()" and
"dissect_aodv6()", as they're not used outside them.

Add a protocol tree item for the prefix size field in AODV and AODV6 replies.

svn path=/trunk/; revision=6060
2002-08-22 07:32:22 +00:00
Guy Harris
99e286d8a3 Fix the type of "spoolss_specific_rights()" to match the curent
definition of "nt_access_mask_fn_t".

svn path=/trunk/; revision=6059
2002-08-22 07:05:31 +00:00
Richard Sharpe
4b66eaac73 First part of support for Thursby's Mac extenstions from CIFS2002.
svn path=/trunk/; revision=6058
2002-08-22 06:47:08 +00:00