Commit Graph

10 Commits

Author SHA1 Message Date
Ronnie Sahlberg d5f9c8aa92 in dissect_ber_bitstring32()
It is not neccessary that the encoded bitstring is actually encoded as 4 bytes.

Make sure, that if the bistring is encoded in less than 4 bytes that we
still do the right thing.

svn path=/trunk/; revision=11008
2004-05-26 11:25:20 +00:00
Guy Harris 2d673629b5 Add a colon to the top-level item for a sequence or set, to separate the
name for the sequence or set from any summary items added as the members
of the sequence or set are dissected.

svn path=/trunk/; revision=10850
2004-05-11 10:57:14 +00:00
Guy Harris c4168122eb In the top-level summary item for a bitstring, show the names of the
bits as a parenthesized, comma-separated lists - using only blanks as
separators doesn't work well if the names themselves have blanks in
them, as some of them do.

Note that "dissect_ber_integer()" won't work well if the length of the
item isn't appropriate for the field, e.g. a length > 4 for an FT_INTn
or FT_UINTn field.

svn path=/trunk/; revision=10847
2004-05-11 07:26:45 +00:00
Guy Harris 055faf194e Squelch some compiler warnings.
svn path=/trunk/; revision=10779
2004-05-03 22:55:36 +00:00
Guy Harris 2486aeff7a Fix a typo.
Clean up white space.

svn path=/trunk/; revision=10492
2004-03-26 00:21:53 +00:00
Guy Harris 6969a1a8da Add constants and names for all universal tags.
Add "get_ber_last_created_item()" to get the last created item - you
can't access the global variable from a plugin.

svn path=/trunk/; revision=10487
2004-03-25 23:57:10 +00:00
Guy Harris a6ed2d499a From Tomas Kukosa: BER dissector enhancements and proto.c updates to
support them.

From Ronnie Sahlberg: Kerberos updates with new constants from the
current draft, decryption and dissection of Kerberos blobs, and changes
to work with the changed BER dissector.

svn path=/trunk/; revision=10479
2004-03-25 09:18:03 +00:00
Ronnie Sahlberg 21f1f90ac9 Update to BER, dont do anything at all if there is no octet string (length == 0)
svn path=/trunk/; revision=10269
2004-03-01 09:11:23 +00:00
Ronnie Sahlberg a89af7040c Small change to the octet string dissector for BER.
make it create a new tvb and pass it to the callback so that the callback can pick up the length of the octet string by doing a
tvb_length_remaining(tvb, 0);

svn path=/trunk/; revision=10246
2004-02-26 12:02:45 +00:00
Ronnie Sahlberg dce73d4e1f Update to Kerberos.
Split kerberos prototype into two halves:
helpers to dissect ASN.1 BER in packet-ber.c
and kerberos stuff using those helpers in packet-kerberos.c

This new kerberos thing places filterable items for every single field
and also dissects the bitstring Option fields.

It is hoped that this will make it easier to extend kerberos to do decryption of service tickets.

svn path=/trunk/; revision=10122
2004-02-20 10:04:10 +00:00