Commit Graph

32 Commits

Author SHA1 Message Date
Ronnie Sahlberg 898dc49980 add a simple g_strlcat define in strutil for gtk==1 where this symbol does not exist
svn path=/trunk/; revision=16511
2005-11-16 09:27:43 +00:00
Anders Broman c33182b898 From Graeme Lunt:
Here are a number of small patches for asn1 based dissectors:

acse:
  release request/response column information (many X.400/X.500 unbinds are
empty)
  "standardised" PNAME to "ISO 8650-1 OSI Association Control Service"
  fix for crash when using EXTERNAL dissector

rtse:
  column information when attempting a resume

x509if:
  generation of LDAP-style DNs from RDNSequences 
  new function x509if_get_last_dn() to get the last DN generated.

x509af:
  DSS parameters
  certificate extension naming
  subject naming of certificate

x509sat:
  Guide syntax (as SET now supported)
  PDU exports.
  
cms:
  verification of message digest attribute (SHA-1 and MD5)
  
ess:
  enumerated/restrictive/permissive/informative security categories

x411:
  generation of string encoding of X.400 addresses, trace information and message identifiers.

s4406:
  separate types for primary and copy precedence to allow better filtering (e.g. primary precedence = flash)
  priority-level-qualifier


svn path=/trunk/; revision=16508
2005-11-16 07:13:12 +00:00
Tomas Kukosa 3b770d5c7c - dissect_ber_object_identifier() returns value as tvb
- new dissect_ber_object_identifier_str() function
 - BER dissectors adapted and regenerated

svn path=/trunk/; revision=16501
2005-11-14 10:02:31 +00:00
Guy Harris 92e0e21362 Regenerate dissectors with the current asn2eth.
svn path=/trunk/; revision=15664
2005-09-02 05:43:49 +00:00
Jörg Mayer 4f693dfae2 Some warning fixes for "no previous declaration"
Remove svn:executable
Add svn:eol-style native
Add svn:keywords Id


svn path=/trunk/; revision=15179
2005-08-02 05:39:45 +00:00
Jörg Mayer 7b2ff03d8c Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15169
2005-08-02 04:31:42 +00:00
Ronnie Sahlberg 0ca30abe65 change the symbol dissect_ber_CHOICE back into dissect_ber_choice
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +00:00
Ronnie Sahlberg 3a51ba4293 make dissect_ber_choice take a guint* that will return the
index of the branch taken or -1  to make prettifications easier to implement.


change the signature of dissect_ber_choice and rename it to dissect_ber_CHOICE to catch all
occurences of the use of this function

update asn2eth to use the new name/signature

update all occurences of this function to the new name and new signature.



svn path=/trunk/; revision=14758
2005-06-26 05:48:50 +00:00
Gerald Combs 082651c83e Define a maximum OID string length, and use it in a lot of places. Fixes a
buffer overflow found while fuzz testing.

svn path=/trunk/; revision=14169
2005-04-22 21:17:13 +00:00
Ronnie Sahlberg fbf762bda5 update asn2eth and all generated dissectors to new dissect_ber_boolean that takes a implicit_tag parameter
svn path=/trunk/; revision=13479
2005-02-23 08:57:47 +00:00
Ronnie Sahlberg eeeadf7b7b remove some asn2eth warnings
svn path=/trunk/; revision=12744
2004-12-13 12:43:48 +00:00
Ronnie Sahlberg 8afae320de update of the asn2eth compiler to use the types ber_[choice|sequence]_t instead of ber_[choice|sequence]
regenerated all dissectors


fixed the choice/sequence struct to use unsigned entities for class and tag
(to reduce some compiler warning and because it should be signed quantities)



svn path=/trunk/; revision=12740
2004-12-13 08:15:34 +00:00
Ronnie Sahlberg bc3979ee23 minor updates, get rid of temporary files during dissection
svn path=/trunk/; revision=12725
2004-12-12 01:29:21 +00:00
Ronnie Sahlberg 0e528dc7a1 updates from tomas and anders
create some missing makefiles for autogenerated dissectors

finish the transition to the new ber integer dissetor helper signature
and regenerate all ber dissectors



svn path=/trunk/; revision=12724
2004-12-12 01:14:03 +00:00
Ronnie Sahlberg 8b4a9a21e1 export some more sympols from PKIX1EXPLICIT
svn path=/trunk/; revision=12617
2004-11-29 08:43:19 +00:00
Ronnie Sahlberg b48e26b8df SelectedAttributeTypes are now almost completely implemented also here i added a small makefile to reduce boring typing on the commandline
svn path=/trunk/; revision=12556
2004-11-21 08:56:09 +00:00
Ronnie Sahlberg 8b9b044698 update to x509if autogenerate the exports conformance file and create a small makefile since i am tired of typing that long command line every time
svn path=/trunk/; revision=12555
2004-11-21 08:22:21 +00:00
Ronnie Sahlberg 7119af2815 Add a whole bunch of dissector to X509IF and export them.
X509if is now almost complete.



svn path=/trunk/; revision=12553
2004-11-21 06:40:02 +00:00
Ronnie Sahlberg 649398d952 get rid of some compiler warnings
svn path=/trunk/; revision=12548
2004-11-20 07:11:08 +00:00
Ronnie Sahlberg e7082f5194 Since we can now handle SEQUENCE OF ANY uncomment this "difficult" field from
the Attribute SEQUENCE to make it more complete.



svn path=/trunk/; revision=12527
2004-11-14 09:48:11 +00:00
Ronnie Sahlberg 9c965a4c07 various changes in the generated dissectors after asn2eth was patched.
i think it is high time to put makefiles down in asn1/   since this autogenerating dissectors "experiment" have payed off so well   and it actual;ly works!


i dont know anything about how autogen stuff works  :-(




svn path=/trunk/; revision=12522
2004-11-14 05:15:09 +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 076d4710ec more updates of x509if
svn path=/trunk/; revision=12433
2004-10-29 11:39:58 +00:00
Ronnie Sahlberg deae759020 new generated version of x509if
svn path=/trunk/; revision=12432
2004-10-29 11:11:11 +00:00
Guy Harris 45d05ca95e Re-generate a number of ASN.1-based dissectors with the most recent
version of asn2eth.

svn path=/trunk/; revision=12267
2004-10-11 18:36:51 +00:00
Ronnie Sahlberg 135f0cdfa3 update tox509ce virtually all of x509ce now implemented (but there are still bugs)
svn path=/trunk/; revision=11524
2004-07-26 09:21:36 +00:00
Ronnie Sahlberg 744387f3ca add the countryname attribute
svn path=/trunk/; revision=11470
2004-07-22 13:11:13 +00:00
Ronnie Sahlberg f42a958398 start dissecting AttributeTypeAnddistinguishedValue
(which must be implemented by hand inside themplate)


svn path=/trunk/; revision=11469
2004-07-22 10:29:17 +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 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