Lars Roland
9a1a762922
remove remnants of the old plugin api from dissectors and plugins
...
svn path=/trunk/; revision=13656
2005-03-07 21:40:29 +00:00
Anders Broman
d8d583a587
Add a g723 dissector to dissect the first byte to find the rate and if speech is pressent or not.
...
svn path=/trunk/; revision=13652
2005-03-07 20:11:03 +00:00
Luis Ontanon
8b481b2ab9
From Florian Lohoff:
...
Add Netscreen vendor specific attributes
svn path=/trunk/; revision=13650
2005-03-07 11:35:52 +00:00
Jörg Mayer
8de6e67f08
Fix a small typo that would prevent compilation with MIT Kerberos
...
svn path=/trunk/; revision=13647
2005-03-07 10:15:03 +00:00
Ronnie Sahlberg
31a9522aa2
export some symbols we will need later.
...
svn path=/trunk/; revision=13646
2005-03-07 09:02:33 +00:00
Jörg Mayer
f2bab830dc
Make packet-kerberos.c compile again:
...
Replace the use of the undefined type krb5_keyusage (at least with heimdal)
in decrypt_krb5_data with the old int. The change wasn't complete anyway
as the .h file wasn't changed and the third implemenitation of
decrypt_krb5_data was left out also.
Disclaimer: I only made sure it compiles again, I don't know whether the
change has any side effects.
svn path=/trunk/; revision=13645
2005-03-07 08:47:48 +00:00
Guy Harris
ab32b090b7
Back out the BACnet application layer dissectin code - its use of
...
recursion instead of iteration means that packets with sufficiently
large lists can cause it to overflow the stack and crash.
svn path=/trunk/; revision=13643
2005-03-07 01:22:55 +00:00
Ronnie Sahlberg
7a43aeb457
minor update, add an extra parameter to a call to prepare for decryption of GSSAPI wrapped data
...
svn path=/trunk/; revision=13642
2005-03-06 22:52:58 +00:00
Ronnie Sahlberg
26dd060797
export decrypt_krb5_data
...
svn path=/trunk/; revision=13641
2005-03-06 22:34:13 +00:00
Guy Harris
722832f739
The length field in the "BACnet encoding rules" is limited to 32 bits
...
("Data lengths larger than 2^32-1 are not encodable using primitive
tags"), so it doesn't need to be a "guint64" - but it *can* be that big,
so we should handle the 65536-2^32-1 case.
Don't gratuitously throw away the upper 24 bits of various lengths by
casting them to guint8.
Show signed values as such.
Don't use "match_strval()" - it returns a null pointer if it doesn't
find the value in the value_string table; instead, use "val_to_str()" so
we don't blow up if the value isn't found.
svn path=/trunk/; revision=13640
2005-03-06 22:14:24 +00:00
Luis Ontanon
c57a54f3ec
Add a preference for another alternate tcp port
...
svn path=/trunk/; revision=13638
2005-03-06 21:32:13 +00:00
Anders Broman
2f4c6bf770
Fix a minor bug with FT_BOOLEAN.
...
svn path=/trunk/; revision=13637
2005-03-06 20:54:01 +00:00
Guy Harris
e41c4740c9
Handle XNS IDP socket numbers.
...
Handle SMB-over-SPP.
svn path=/trunk/; revision=13635
2005-03-06 20:13:58 +00:00
Jörg Mayer
9432483a14
Warning fix:
...
packet-sdp.c:74: warning: 'reset_sdp_packet_info' declared 'static'
but never defined
svn path=/trunk/; revision=13624
2005-03-06 09:33:44 +00:00
Guy Harris
177e6f1bc2
From Yaniv Kaul: show the protocol name in every record.
...
svn path=/trunk/; revision=13623
2005-03-06 04:42:51 +00:00
Guy Harris
a313c47a59
Get rid of an unused variable.
...
svn path=/trunk/; revision=13621
2005-03-06 04:41:00 +00:00
Guy Harris
f63c9301b2
No, the code is the numerical value, not the vendor ID.
...
svn path=/trunk/; revision=13618
2005-03-06 03:38:17 +00:00
Guy Harris
c9826f64d8
From Ben Turner: fix an addVendor() call.
...
svn path=/trunk/; revision=13617
2005-03-06 03:28:41 +00:00
Guy Harris
84f0170f07
Add a newline to the end of the file.
...
svn path=/trunk/; revision=13616
2005-03-06 03:25:19 +00:00
Guy Harris
b21ab2a5e0
Get rid of "unknown transport" warnings - don't spam the user just
...
because we haven't yet written a dissector for a particular protocol.
svn path=/trunk/; revision=13615
2005-03-06 03:19:34 +00:00
Guy Harris
2ad3b256f4
Handle the "32-bit length is > 2^31-1, so the protocol tree routines
...
will treat it as negative" problem by first calling
"tvb_ensure_bytes_exist()" - if the length is *that* large, it will run
past the end of the tvbuff, so the exception that
"tvb_ensure_bytes_exist()" will throw with a negative argument will be
the correct exception.
svn path=/trunk/; revision=13614
2005-03-06 03:11:24 +00:00
Guy Harris
39ad72864f
No, they don't use BER for the variable portion of a PDU; update the
...
comment appropriately.
Make a bunch of routines static.
Don't just dissect stuff past the end of the variable portion as data -
the protocol spec doesn't appear to say there's anything after that.
Don't pass the offset to the routines to dissect the different types of
PDUs, just have them start at 0.
Use guint8 for 8-bit unsigned quantities.
Rename the routine to dissect Abort PDUs to match the other PDU
dissectors.
svn path=/trunk/; revision=13611
2005-03-06 02:24:49 +00:00
Guy Harris
476c8da086
Don't use "long" and "%l[doux]" for 64-bit quantities, use guint64 and %
...
followed by PRIu64.
Don't use C++/C99-style comments.
Use "tvb_reported_length()" to get packet lengths - don't use
"tvb_length()", and especially don't directly refer to the "length"
field of the tvbuff.
svn path=/trunk/; revision=13609
2005-03-06 01:53:56 +00:00
Jörg Mayer
8940beb1e2
Martin Mathieson: Add information sources
...
svn path=/trunk/; revision=13607
2005-03-06 01:15:29 +00:00
Guy Harris
ea23bf66f9
From Herbert Lischka: implement some (not all) tags according to BACNET
...
application handbook.
svn path=/trunk/; revision=13605
2005-03-06 00:17:37 +00:00
Guy Harris
4576918110
For OSPF versions other than 2 or 3, stop dissecting the packet after
...
the checksum (which is the last header field common to V2 and V3).
svn path=/trunk/; revision=13603
2005-03-05 23:36:07 +00:00
Ronnie Sahlberg
7d6a1b502c
From Mike Duigou updates to JXTA
...
svn path=/trunk/; revision=13602
2005-03-05 21:00:41 +00:00
Guy Harris
30a19a9b3c
Clean up indentation.
...
Strings don't have a base, so use BASE_NONE with them, not BASE_DEC or
BASE_HEX.
svn path=/trunk/; revision=13600
2005-03-05 20:36:03 +00:00
Ronnie Sahlberg
aaa9cb5150
New Protocol : DTP
...
From Charlie Lenahan initial DTP support
svn path=/trunk/; revision=13598
2005-03-05 11:12:01 +00:00
Ronnie Sahlberg
a7ca6143e7
from susanne edlund : make tlli appear in the tree
...
also change value_length and total_length signed to eliminate a compiler warning
svn path=/trunk/; revision=13597
2005-03-05 10:51:30 +00:00
Guy Harris
1a7b3ec143
From Susanne Edlund: filter on NRI values in BSSGP.
...
svn path=/trunk/; revision=13595
2005-03-05 04:58:13 +00:00
Guy Harris
001b5aaba6
From Chris Waters: correct an error with the decoding of signal
...
strength information in 802.11 captures.
svn path=/trunk/; revision=13594
2005-03-05 01:03:22 +00:00
Guy Harris
5ba3adf134
Omit some stuff when building without a Kerberos library, as it's unused
...
if you don't have a Kerberos library to do decryption.
svn path=/trunk/; revision=13593
2005-03-05 01:00:15 +00:00
Michael Tüxen
10edbd81c3
Enable details in protocol tree by default like TCP and UDP.
...
svn path=/trunk/; revision=13592
2005-03-05 00:51:33 +00:00
Lars Roland
e434150f99
fix kerberos dissector for those having no kerberos decryption
...
svn path=/trunk/; revision=13591
2005-03-05 00:21:46 +00:00
Ronnie Sahlberg
413deb9130
from Carlos Pignataro
...
update MPLS to support MPLS Echo
svn path=/trunk/; revision=13590
2005-03-04 22:32:06 +00:00
Ronnie Sahlberg
7671b98bac
make kpasswd privide subdissectors to handle the user-data field for the KRB_PRIV structure for kpasswd requests and replies.
...
decrypt and behold the new password in plaintext in all its glory
(given you have the keytab with the old one of course)
svn path=/trunk/; revision=13586
2005-03-04 13:39:15 +00:00
Ronnie Sahlberg
6fec8dca5f
some authentication stuff from metze
...
svn path=/trunk/; revision=13584
2005-03-04 12:28:00 +00:00
Ronnie Sahlberg
2f4cb22585
make ethereal able to decrypt KRB_PRIV which kpasswd uses
...
svn path=/trunk/; revision=13583
2005-03-04 12:21:40 +00:00
Ronnie Sahlberg
bb77a3224f
the unknown stuff in the decrypted blobs in mapi are just uninitialized buffer padding so dont show them in the decode tree
...
svn path=/trunk/; revision=13582
2005-03-04 11:08:03 +00:00
Luis Ontanon
5ef5e77434
From Francisco Alcoba,
...
do not look for data blocks in ACK packets
svn path=/trunk/; revision=13581
2005-03-03 13:59:52 +00:00
Guy Harris
fa7eb4fdeb
From Anders Broman: fix a fault in the CODEC LIST routine where offset
...
was wrongly calculated, and clean up some other miscellaneous stuff.
svn path=/trunk/; revision=13580
2005-03-03 10:23:29 +00:00
Guy Harris
8ff4e8160e
Oops, forgot packet-idp.h.
...
svn path=/trunk/; revision=13579
2005-03-03 09:36:19 +00:00
Guy Harris
0de93bd590
From Yuriy Sidelnikov: correctly display User Information
...
field in release request/response PDu if the Reason field
is absent.
svn path=/trunk/; revision=13578
2005-03-03 08:54:00 +00:00
Guy Harris
282080e26d
Add support for what appears to be 3Com's scheme for encapsulating XNS
...
over Token Ring (and presumably other link layers using 802.2 LLC), and
for the XNS IDP and SPP protocols.
svn path=/trunk/; revision=13577
2005-03-03 08:34:48 +00:00
Guy Harris
439a65b82f
Use "tvb_get_string()" to fetch strings from the packet, rather than
...
filling up a fixed-length buffer.
Add a bunch of length checks.
Clean up indentation.
svn path=/trunk/; revision=13574
2005-03-02 21:08:47 +00:00
Anders Broman
7cb9e36324
Present diameter time as UTC time rather than the local time zone of the machine running Ethereal is at.
...
Insert a comment that time before 1970 will not be presented properly.
svn path=/trunk/; revision=13573
2005-03-02 20:16:18 +00:00
Guy Harris
e84c3d927c
Handle the CRC correctly:
...
don't do it if we don't have the entire packet, including the
CRC value;
fetch the CRC value from the packet with tvb_get_letoh24(),
and compare that against the computed CRC, rather than comparing
the computed CRC (presumably in host byte order) with the
little-endian CRC in the packet (that doesn't work if host byte
order is big-endian).
svn path=/trunk/; revision=13571
2005-03-02 00:21:33 +00:00
Guy Harris
bb7d0d43e8
Set the svn:keywords and svn:eol-style properties appropriately, and
...
give it an RCS ID.
svn path=/trunk/; revision=13568
2005-03-01 21:47:54 +00:00
Luis Ontanon
ecea5fac96
In packets with more than one req/resp the items of all the req/resp subtrees always pointed to the offset of the first req/resp.
...
svn path=/trunk/; revision=13564
2005-03-01 11:37:26 +00:00