Commit Graph

417 Commits

Author SHA1 Message Date
Ronnie Sahlberg a638e3681b fix bug in handling an optional item
svn path=/trunk/; revision=12518
2004-11-13 10:06:15 +00:00
Guy Harris 9ffe5f9243 Get rid of an unused prameter and an unused variable.
Use %u, not %d, for unsigned variables.

svn path=/trunk/; revision=12517
2004-11-12 23:14:49 +00:00
Ronnie Sahlberg 1d85091b92 By popular request,
make ethereal be able to measure the time it took to transfer a PDU atop TCP.

This is great for analyzing performance issues caused by network/frame loss/congestion.


See  http://wiki.ethereal.com/TcpPduTime


svn path=/trunk/; revision=12516
2004-11-12 22:04:19 +00:00
Guy Harris 0284f4d4f5 From Ignacio Goyret: decode RFC 2509 and RFC 3544 IPCP options.
Fix up the AUTHORS file.

svn path=/trunk/; revision=12514
2004-11-12 10:17:13 +00:00
Guy Harris 5289391300 From Mark Phillips: optionally support decoding the payload of ESP
packets using null encryption (with a heuristic to detect null
encryption).

svn path=/trunk/; revision=12513
2004-11-12 10:03:53 +00:00
Guy Harris f7042f6a52 From Yuriy Sidelnikov: remove some unused value_string tables, and fix
typos in other tables.

svn path=/trunk/; revision=12512
2004-11-12 09:56:12 +00:00
Guy Harris 8c53b99707 For dynamic DNS updates, give the counts in the message the appropriate
names.

For RRs with a data length of 0 - as can appear in dynamic DNS updates -
don't attempt to display the data.

svn path=/trunk/; revision=12511
2004-11-12 09:46:31 +00:00
Anders Broman 384cbd6977 From Nils Ohlmeier : patch for packet-sip.c which looks if the
Contact header in the REGISTER reply contains more then one binding.  
Details: up to now each Contact header was counted as one binding. But that 
is not correct, because several Contact headers (as several other SIP headers 
as well) can be written in one line separated by commatas.

svn path=/trunk/; revision=12507
2004-11-10 22:15:58 +00:00
Guy Harris bcaceaf20e From Rich Coe:
fix the heuristic code -- sometimes a conversation already
	    exists;
	fix the dissect code to display all the tags in the PDU.

svn path=/trunk/; revision=12504
2004-11-10 10:28:43 +00:00
Guy Harris 4b3a0e98a5 From Greg Morris:
support 6 additional login message verbs;

	correct a problem with displaying proper return code values in
	the reply packets.

Clean up white space.

Use "tvb_reported_length_remaining()" instead of
"tvb_length_remaining()", and don't use either one to avoid throwing an
exception on a short or malformed packet.

Use "val_to_str()" rather than "match_strval()", so we don't crash if a
value happens not to be valid.

svn path=/trunk/; revision=12503
2004-11-10 10:03:42 +00:00
Anders Broman 50ccc513e4 From Luis Ontanon: Use hf_isup_parameter_type insted of hf_isup_message_type.
svn path=/trunk/; revision=12499
2004-11-09 20:16:17 +00:00
Anders Broman d885b845c4 Add some OID string names
svn path=/trunk/; revision=12497
2004-11-09 07:03:04 +00:00
Anders Broman f1b5065273 Make it possible to print name of OID strings for PER coded OID:s as well.
svn path=/trunk/; revision=12496
2004-11-09 06:49:35 +00:00
Ronnie Sahlberg d26b93eb56 export RDNSequence from x509if
svn path=/trunk/; revision=12494
2004-11-06 05:31:03 +00:00
Ronnie Sahlberg eb3f657847 export DistinguishedName from x509if
svn path=/trunk/; revision=12493
2004-11-06 05:26:31 +00:00
Ronnie Sahlberg ed1a11f34f make x509if use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12492
2004-11-06 02:13:38 +00:00
Ronnie Sahlberg d1e31a5c20 make CMS use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12491
2004-11-06 02:06:55 +00:00
Ronnie Sahlberg 05cf6b7ced Make X509AF use the new support for ANY type and remove the workaround
svn path=/trunk/; revision=12490
2004-11-06 02:03:14 +00:00
Guy Harris 6e10679910 Move smb.trans2.cmd and smb.nt.function near the top of the hf[] array,
so they show up near the top of the list of fields in the dialog box for
adding a field to a filter - those are probably quite likely to be used
in filter expressions where you don't happen to remember the name of the
field, and those should show up at the top so you don't have to scroll
through the entire list of fields to find them.  (I suspect most other
fields either will rarely be filtered on at all, or would be filtered
only mainly with the "Match" or "Prepare" filter items, where you don't
need to know the name or even the text of the field.)

svn path=/trunk/; revision=12489
2004-11-05 21:39:31 +00:00
Guy Harris 019dc30543 Fix some typoes and clean up whitespace a bit.
svn path=/trunk/; revision=12487
2004-11-03 23:19:09 +00:00
Anders Broman 6dbef66b2d Added some value strings and started to add mobile-ip changes from latest draft.
svn path=/trunk/; revision=12486
2004-11-03 22:32:07 +00:00
Anders Broman f4035c429a Add SIP headers from: http://www.ietf.org/internet-drafts/draft-ietf-sip-resource-priority-05.txt
svn path=/trunk/; revision=12485
2004-11-03 22:16:20 +00:00
Guy Harris 0384ceeeb6 Check for ISL frames before checking for ETHERTYPE_UNK, as ISL fields
might have 0 in what would be the Ethernet type field.

Also, handle the first 5 octets of the destination address of an ISL
frame being 0C-00-0C-00-00.

svn path=/trunk/; revision=12484
2004-11-03 20:20:45 +00:00
Guy Harris 2a12cdec29 Add a new URL for ISL information.
svn path=/trunk/; revision=12483
2004-11-03 20:18:30 +00:00
Guy Harris dc5d1958a1 From Giles Scott: make the chunk size and data length unsigned so we
handle values > 2^31-1.

svn path=/trunk/; revision=12482
2004-11-03 20:01:53 +00:00
Guy Harris d7c83086ff From Yuriy Sidelnikov:
take stuff that has to be done regardless of whether a protocol
	tree is being built outside "if (tree)";

	handle PDUs with both data and control units.

svn path=/trunk/; revision=12481
2004-11-03 19:52:24 +00:00
Guy Harris 92f52c4e1c From Yuriy Sidelnikov: take stuff that has to be done regardless of
whether a protocol tree is being built outside "if (tree)".

svn path=/trunk/; revision=12480
2004-11-03 19:46:09 +00:00
Guy Harris 00204157bc Fix some strings.
svn path=/trunk/; revision=12479
2004-11-03 19:39:44 +00:00
Guy Harris affeb01009 From Yuriy Sidelnikov: take stuff that has to be done regardless of
whether a protocol tree is being built outside "if (tree)".

svn path=/trunk/; revision=12478
2004-11-03 19:34:44 +00:00
Guy Harris 62fce7b2d7 Use the #define for the eDonkey-over-TCP header length.
svn path=/trunk/; revision=12477
2004-11-03 19:23:07 +00:00
Guy Harris 3d37d77f53 Add support for desegmentation of eDonkey-over-TCP.
Clean up indentation.
 
Give edonkey.protocol a value_string table.

svn path=/trunk/; revision=12476
2004-11-03 19:12:49 +00:00
Guy Harris 723832dbf0 Close a comment, and re-generate the GSM MAP dissector files.
svn path=/trunk/; revision=12473
2004-11-02 01:25:05 +00:00
Gerald Combs 02032272ad When we dynamically discover a Kerberos key, it helps to add it to the
key list.  In the Nettle code, clear the key list and re-read the key
file when the key file preference changes.

Remove a redundant define in config.h.win32.

svn path=/trunk/; revision=12471
2004-11-01 23:54:05 +00:00
Anders Broman 76bafcae5e New GSM MAP files based on the asn2eth compiler.
svn path=/trunk/; revision=12470
2004-11-01 22:33:09 +00:00
Gerald Combs 5d0468963b Add support for the dhpublicnumber OID.
svn path=/trunk/; revision=12465
2004-11-01 18:11:48 +00:00
Gerald Combs 66d08181dd Register OID dissectors correctly.
svn path=/trunk/; revision=12463
2004-11-01 17:49:53 +00:00
Guy Harris 57a61b29a6 From Ryuji Somegawa: dissect the Registration Update Authentication
Extension.

svn path=/trunk/; revision=12462
2004-11-01 17:48:36 +00:00
Gerald Combs c31b0ca7ed Create a conversation only when we see a KDC_REQ.
svn path=/trunk/; revision=12461
2004-11-01 17:04:05 +00:00
Guy Harris 8a7f77731e Make the protocol tree item for ICMPv6 cover the entire ICMPv6 packet,
including any included packet.

svn path=/trunk/; revision=12458
2004-10-31 23:36:21 +00:00
Guy Harris 2d268b7a20 Get rid of a bunch of trailing spaces.
svn path=/trunk/; revision=12455
2004-10-31 02:47:07 +00:00
Guy Harris 7cd29e879e Add a "hf_sec_rgy_pname_t_size" hf_ value and corresponding field, and
use it ("sec_rgy_pname_t_size" had been used as an hf_ value, but it's
just a #define).

Fix the code for some strings to advance the offset by the string size
regardless of whether it's > 1 or not.

svn path=/trunk/; revision=12454
2004-10-31 02:39:39 +00:00
Guy Harris 1f02604dcd from Mark Phillips: the length field in the UDP header includes the
length of the UDP header itself, so subtract the length of the header
when using it to limit the length of the payload tvbuff.

Clean up the computing of the captured length of the payload tvbuff (we
really should get rid of the "length" argument to "tvb_new_subset()",
and have it compute the captured length based on the supplied reported
length and the amount of that data actually present in the parent
tvbuff).

Don't fetch the length and checksum fields until we use them (so that we
don't throw an exception until then, and fail to process the source and
destination ports), and check whether the length is bogus regardless of
whether we're building a protocol tree or not.

svn path=/trunk/; revision=12444
2004-10-30 10:04:35 +00:00
Guy Harris 6d9c6770bb Squelch some compile warnings.
svn path=/trunk/; revision=12443
2004-10-30 09:19:14 +00:00
Guy Harris 212015b7ff The length of the protocol tree item passed to "dissect_ppp_common()"
should be the length of the packet being dissected, so that if we throw
an exception dissecting it, the item covers the entire packet (because
it's incomplete, and thus *all* of it is the beginning of the header).

Instead, we should pass the length of the part of the header prior to
the protocol field as an argument to "dissect_ppp_common()", and it
should use that to set the length of that item.

svn path=/trunk/; revision=12441
2004-10-30 08:45:10 +00:00
Guy Harris bbd6db0f46 The interface name field is 6 bytes if we *do* have UUID information in
the file and 10 bytes if we *don't*.

Small language edits in preference text and blurb.

svn path=/trunk/; revision=12440
2004-10-30 07:47:50 +00:00
Guy Harris 6c1c5fc3e7 From Martin Pichlmaier: the first 4 bytes of the Symantec firewall
header are the IP address of the interface that saw the packet.

svn path=/trunk/; revision=12439
2004-10-30 07:23:55 +00:00
Ronnie Sahlberg b1e1e18ad1 change Extension to be implemented inside the conformance file and remove it from the template
svn path=/trunk/; revision=12438
2004-10-30 02:36:58 +00:00
Ronnie Sahlberg 805f948c29 implement AlgorithmIdentifier using the conformance file and remove it from the template
svn path=/trunk/; revision=12437
2004-10-30 02:18:44 +00:00
Ronnie Sahlberg ee310edcda fix call_ber_iod_callback() to move offset past the end of the current blob.
svn path=/trunk/; revision=12436
2004-10-30 01:54:40 +00:00
Ronnie Sahlberg b2160d6d25 update to cms to use workaround to lack of ANY and reducing the template significantly
svn path=/trunk/; revision=12434
2004-10-29 12:11:42 +00:00