Commit Graph

22 Commits

Author SHA1 Message Date
Guy Harris 93a728ab46 From Pasi Eronen: support for the PCT record layer, and fixes for a
couple of bugs in the TCP desegmentation routines.

svn path=/trunk/; revision=5145
2002-04-11 09:43:22 +00:00
Guy Harris 665fecd413 From Pasi Eronen: add some items for the cipher suites for Microsoft's
old PCT protocol.

svn path=/trunk/; revision=5143
2002-04-11 09:20:33 +00:00
Guy Harris 1c9a36de0c From Scott Renfro: remove unused "pinfo" arguments.
svn path=/trunk/; revision=5125
2002-04-08 10:05:19 +00:00
Guy Harris 5445def34b Use the reported length, not the captured length, when iterating through
the tvbuff we're handed.

Handle record headers split across segment boundaries.

Don't set the column until we know we don't need to desegment.

svn path=/trunk/; revision=5035
2002-03-28 09:15:28 +00:00
Guy Harris 5c18f33d5c Add an EAP dissector that doesn't create a top-level tree and doesn't
set the columns, for use with EAP payloads inside RADIUS packets.

From Adam Sulmicki: dissect SSL-encoded stuff inside EAP.

svn path=/trunk/; revision=4806
2002-02-25 23:28:32 +00:00
Guy Harris 932fc43798 Additional cipher suite names for SSL, from Nathan Neulinger and Scott
Renfro.

svn path=/trunk/; revision=4706
2002-02-07 18:56:55 +00:00
Nathan Neulinger 0e2c3748bd add ports for ssl pop, imap, and ldap
svn path=/trunk/; revision=4677
2002-02-02 04:02:28 +00:00
Guy Harris eb2d6593dc Replace a bunch of "tvb_length()" and "tvb_length_remaining()" calls in
arguments to "proto_tree_add_text()", and to "proto_tree_add_XXX()" calls
that add FT_NONE or FT_PROTO items to the protocol tree, with -1.

Replace some calls to "tvb_length()" or "tvb_length_remaining()" with
calls to "tvb_reported_length()" and "tvb_reported_length_remaining()",
as those give the actual length of the data in the packet, not just the
data that happened to be captured.

svn path=/trunk/; revision=4605
2002-01-24 09:20:54 +00:00
Guy Harris ee5ca25d31 Include files from the "epan" directory and subdirectories thereof with
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).

Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").

svn path=/trunk/; revision=4586
2002-01-21 07:37:49 +00:00
Guy Harris 833fd03080 "pinfo->desegment_len" is initialized by TCP only if desegmentation is
being done; otherwise, it contains random data.  As such, don't use it
as a way for the SSL2 and SSL3 record dissectors to indicate to the
top-level SSL dissector that the last record is continued in a
subsequent TCP segment - pass a pointer to a flag and have the record
dissectors set that flag if they record that we need to do
desegmentation.

svn path=/trunk/; revision=4556
2002-01-17 09:24:05 +00:00
Guy Harris abbebafa78 TCP desegmentation support in SSL, from Scott Renfro.
svn path=/trunk/; revision=4476
2002-01-04 07:01:54 +00:00
Guy Harris 23319ff023 Move the pointer to the "column_info" structure in the "frame_data"
structure to the "packet_info" structure; only stuff that's permanently
stored with each frame should be in the "frame_data" structure, and the
"column_info" structure is not guaranteed to hold the column values for
that frame at all times - it was only in the "frame_data" structure so
that it could be passed to dissectors, and, as all dissectors are now
passed a pointer to a "packet_info" structure, it could just as well be
put in the "packet_info" structure.

That saves memory, by shrinking the "frame_data" structure (there's one
of those per frame), and also lets us clean up the code a bit.

svn path=/trunk/; revision=4370
2001-12-10 00:26:21 +00:00
Guy Harris bced8711f6 Make "dissector_add()", "dissector_delete()", and "dissector_change()"
take a dissector handle as an argument, rather than a pointer to a
dissector function and a protocol ID.  Associate dissector handles with
dissector table entries.

svn path=/trunk/; revision=4308
2001-12-03 04:00:26 +00:00
Guy Harris 10da28737f Get rid of some unused variables.
svn path=/trunk/; revision=4240
2001-11-21 01:21:08 +00:00
Guy Harris aad830eaa6 Update from Scott Renfro: a simple patch that adds support for FIPS
Cipher Suite identifiers.

svn path=/trunk/; revision=4033
2001-10-16 07:13:01 +00:00
Guy Harris 1d42c94b05 Make the resolution for time values be nanoseconds rather than
microseconds.

Fix some "signed vs. unsigned" comparison warnings.

svn path=/trunk/; revision=3934
2001-09-14 07:10:13 +00:00
Guy Harris 3388bde488 Instead of having a single datum attached to a conversation, have a list
of protocol-id-plus-datum pairs, so that multiple protocols can attach
information to the same conversation.

Dissectors that attach information to a conversation should not assume
that if they find a conversation it has one of its data attached to it;
the conversation might've been created by another dissector.

svn path=/trunk/; revision=3901
2001-09-03 10:33:12 +00:00
Guy Harris 55073f8573 "Cipher", not "Cypher".
svn path=/trunk/; revision=3727
2001-07-16 05:17:30 +00:00
Guy Harris 04c530b2de Put back the protocol tree fields for items with subtrees - but as
FT_NONE, not FT_STRING, as they have no value assigned to them.

Don't use "hf_ssl_handshake_certificate" both for the collection of all
certificates and for individual certificates, add a new
"hf_ssl_handshake_certificates" FT_NONE field for the collection of all
certificates, as is done for other collections.

Properly pluralize the "N specs" in the item for the collection of
cipher specs.

Properly label the second "ssl.record" as "SSLv2 record data", not
"Length of SSLv2 record data".

Fix a typo in the field name of the field for the length of the
collection of certificates.

svn path=/trunk/; revision=3725
2001-07-16 04:02:22 +00:00
Guy Harris 1e7f6b3ad6 Put various length fields into the protocol tree.
Opaque fields should be FT_BYTES, not FT_STRING; FT_STRING is for text
strings.

Don't supply a null value when putting an FT_BYTES field into the tree;
supply a pointer to the actual bytes.

For items with subtrees, use "proto_tree_add_text()" if the actual value
of all the stuff under the subtree, treated as a big array of bytes,
isn't interesting (e.g., if the individual items are put into the
protocol tree).  Also, make the items with subtrees refer to the same
data as all the items under them.

svn path=/trunk/; revision=3724
2001-07-16 01:38:34 +00:00
Guy Harris e574c8de6d Fix from Scott Renfro - one field had a name beginning with "ss" rather
than "ssl".

Remove duplicate credits for Scott in the AUTHORS file and man page.

svn path=/trunk/; revision=3721
2001-07-15 19:09:07 +00:00
Guy Harris 318682adca SSL/TLS support, from Scott Renfro.
svn path=/trunk/; revision=3692
2001-07-11 18:19:16 +00:00