Use our new features to send the CN and SAN fields of certificates to

the intel framework.
This commit is contained in:
Johanna Amann 2015-03-03 17:13:55 -08:00
parent e48c6ccc4a
commit 946f19fb9d
4 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# @TEST-EXEC: bro -r $TRACES/tls/ecdsa-cert.pcap %INPUT
# @TEST-EXEC: cat intel.log > intel-all.log
# @TEST-EXEC: bro -r $TRACES/tls/ssl.v3.trace %INPUT
# @TEST-EXEC: cat intel.log >> intel-all.log
# @TEST-EXEC: btest-diff intel-all.log
@TEST-START-FILE intel.dat
#fields indicator indicator_type meta.source meta.desc meta.url
www.pantz.org Intel::DOMAIN source1 test entry http://some-data-distributor.com/100000
www.dresdner-privat.de Intel::DOMAIN source1 test entry http://some-data-distributor.com/100000
@TEST-END-FILE
@load base/frameworks/intel
@load base/protocols/ssl
@load frameworks/intel/seen
redef Intel::read_files += { "intel.dat" };