mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
add starttls support for pop3
This commit is contained in:
parent
6bc914458b
commit
388b8f92ec
7 changed files with 78 additions and 15 deletions
20
testing/btest/scripts/base/protocols/pop3/starttls.bro
Normal file
20
testing/btest/scripts/base/protocols/pop3/starttls.bro
Normal 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);
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue