Ronnie Sahlberg
bef8e01fcd
fix small bug that gets offset confused for CHOICE { } OPTIONAL if there were no arms that matched
...
svn path=/trunk/; revision=12425
2004-10-28 11:35:43 +00:00
Anders Broman
0510221c29
Make it possible to register a string for an OID in the hash table.
...
svn path=/trunk/; revision=12412
2004-10-27 19:59:44 +00:00
Ronnie Sahlberg
97a6dc74e7
make SEQUENCE OF and CHOICE handle indefinite length encodings
...
svn path=/trunk/; revision=12382
2004-10-24 03:51:27 +00:00
Ronnie Sahlberg
de1bcd5d88
make the SEQUENCE dissection helper understand and handle Indefinite Length
...
svn path=/trunk/; revision=12319
2004-10-16 12:53:09 +00:00
Guy Harris
518f7926b7
Constify more pointer arguments.
...
svn path=/trunk/; revision=12265
2004-10-11 18:34:54 +00:00
Guy Harris
3acb84d24a
Make the "asn_namedbit *" argument to "dissect_ber_bitstring()" a
...
"const" pointer.
svn path=/trunk/; revision=12247
2004-10-08 21:14:33 +00:00
Guy Harris
c5c8453097
"dissect_ber_sequence()" doesn't modify the "ber_sequence" structure
...
passed to it; make that argument a const pointer.
svn path=/trunk/; revision=12244
2004-10-08 20:24:23 +00:00
Guy Harris
bbe7f89742
Move prefs.c and prefs.h into the epan subdirectory.
...
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Ronnie Sahlberg
53912ffc47
fix bug in handling of offset for integers longer than 4 bytes
...
svn path=/trunk/; revision=12092
2004-09-25 02:44:45 +00:00
Guy Harris
c68f62210f
Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
...
integers.
Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array
values, to the protocol tree, and add routines to add specified 64-bit
integer values to the protocol tree.
Use those routines in the RSVP dissector.
svn path=/trunk/; revision=11796
2004-08-22 00:31:58 +00:00
Ronnie Sahlberg
ce6804616e
add some algorithm oid's to x509af(for the time being)
...
(only those that take no parameters for the time being)
create a dummy ber oid callback for callbacks that are NULL
svn path=/trunk/; revision=11565
2004-07-29 09:52:14 +00:00
Ronnie Sahlberg
70d7bbebd0
prettify the oid printing of ber oid's
...
svn path=/trunk/; revision=11564
2004-07-29 09:32:13 +00:00
Ronnie Sahlberg
34b6e90f3e
for very large integers, print them in hex thats better than nothing
...
but we can not filter on them anymore
svn path=/trunk/; revision=11563
2004-07-29 08:41:51 +00:00
Ronnie Sahlberg
e7172b423b
add nice text item for the case when we could not find the dissector for a specific OID/attribute to make it easier to see where we have missed implementing something.
...
svn path=/trunk/; revision=11491
2004-07-23 23:12:31 +00:00
Ronnie Sahlberg
52d5646696
inside dissect_ber_sequence() we know the expected length of the field that follows.
...
use this and create a new tvbsubset so that
1, reading too much data is flagged as MALFORMED PACKET indicating a bug in the dissector (or a packet that IS malformed)
2, this also implicitely passes the length of the data through the ber.oid dissector handle in case we want to pick it up later.
svn path=/trunk/; revision=11490
2004-07-23 23:06:38 +00:00
Ronnie Sahlberg
73f560c866
register ber oid functions through a special function in packet-ber.c which also takes (still unused) the name of the oid
...
so that sometime later it will be easy to add code to add the name of the oid to the dissection.
svn path=/trunk/; revision=11478
2004-07-23 07:08:14 +00:00
Ronnie Sahlberg
283807bf4b
dissect the x509if/Name all the way down to the AttributeTypeAndDistinguishedValue structure but not the structure itself.
...
we are getting there, slow but steady
svn path=/trunk/; revision=11468
2004-07-22 10:05:59 +00:00
Ronnie Sahlberg
dcea6b49c6
get rid of the nasty ber specific oid->callback table and reimplement the functionality using a dissector table instead i.e. the proper way.
...
svn path=/trunk/; revision=11457
2004-07-21 11:13:03 +00:00
Ronnie Sahlberg
a9c3e27415
Small update to AlgorithmIdentifier.
...
Allow the TYPE field to match ANY type of BER construct.
svn path=/trunk/; revision=11441
2004-07-20 10:45:11 +00:00
Ronnie Sahlberg
723d3dbe44
Add the new protocols CMS, X509AF, X509IF, X509CE and X509SAT
...
to the ethereal build.
The dissections are semi-useful but incomplete.
The big problem still remaining is the x509if Name object not being
dissected properly thus causing the dissection to get out of sync/fail
halfway through the certificate structure.
work in progress but already semi-useful.
svn path=/trunk/; revision=11440
2004-07-20 09:11:40 +00:00
Gilbert Ramirez
669db206cb
Move dissectors to epan/dissectors directory.
...
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.
Adjust #include lines in files that include packet-*.h
files.
svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00