zeek/testing/btest/scripts/base/protocols
Bernhard Amann 6d73b8c57e Fix x509_extension event.
The event now really returns the extension. If openssl supports printing
it, it is converted into the openssl ascii output.

The output does not always look pretty because it can contain newlines.

New event syntax:
event x509_extension(c: connection, is_orig: bool, cert:X509, extension: X509_extension_info)

Example output for extension:
  [name=X509v3 Extended Key Usage,
    short_name=extendedKeyUsage,
    oid=2.5.29.37,
    critical=F,
    value=TLS Web Server Authentication, TLS Web Client Authentication]
  [name=X509v3 Certificate Policies,
   short_name=certificatePolicies,
   oid=2.5.29.32,
   critical=F,
   value=Policy: 1.3.6.1.4.1.6449.1.2.1.3.4^J  CPS: https://secure.comodo.com/CPS^J]
2014-01-27 10:24:57 -08:00
..
conn FileAnalysis: add unit tests covering current protocol integration. 2013-03-19 15:50:05 -05:00
dhcp DHCP: Adding unit tests. 2013-07-31 17:30:56 -04:00
dnp3 fixed number of object bug in dnp3-protocol pac; update two base test trases 2013-08-23 18:10:30 -05:00
dns Adding a trace with a DNSKEY RR. 2013-07-29 14:08:33 -07:00
ftp File analysis fixes and test updates. 2013-07-25 16:51:16 -05:00
http File analysis fixes and test updates. 2013-07-25 16:51:16 -05:00
irc File analysis fixes and test updates. 2013-07-25 16:51:16 -05:00
modbus Merge remote-tracking branch 'origin/master' into topic/robin/plugins 2013-05-16 17:58:48 -07:00
smtp File analysis fixes and test updates. 2013-07-25 16:51:16 -05:00
socks SOCKS and tunnel test updates. 2012-06-20 14:19:49 -04:00
ssl Fix x509_extension event. 2014-01-27 10:24:57 -08:00
syslog Porting syslog analyzer as another example. 2013-04-05 13:13:30 -07:00