add starttls support for pop3

This commit is contained in:
Bernhard Amann 2014-05-15 10:25:21 -07:00
parent 6bc914458b
commit 388b8f92ec
7 changed files with 78 additions and 15 deletions

View file

@ -0,0 +1,20 @@
# @TEST-EXEC: bro -C -b -r $TRACES/tls/pop3-starttls.pcap %INPUT
# @TEST-EXEC: btest-diff ssl.log
# @TEST-EXEC: btest-diff x509.log
@load base/protocols/conn
@load base/protocols/ssl
module POP3;
const ports = {
110/tcp
};
redef likely_server_ports += { ports };
event bro_init() &priority=5
{
Analyzer::register_for_ports(Analyzer::ANALYZER_POP3, ports);
}