mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00

* origin/topic/seth/zeek_init: Some more testing fixes. Update docs and tests for bro_(init|done) -> zeek_(init|done) Implement the zeek_init handler.
20 lines
427 B
Text
20 lines
427 B
Text
# @TEST-EXEC: bro -C -b -r $TRACES/tls/pop3-starttls.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff conn.log
|
|
# @TEST-EXEC: btest-diff ssl.log
|
|
# @TEST-EXEC: btest-diff x509.log
|
|
|
|
@load base/protocols/conn
|
|
@load base/frameworks/dpd
|
|
@load base/protocols/ssl
|
|
|
|
module POP3;
|
|
|
|
const ports = {
|
|
110/tcp
|
|
};
|
|
redef likely_server_ports += { ports };
|
|
|
|
event zeek_init() &priority=5
|
|
{
|
|
Analyzer::register_for_ports(Analyzer::ANALYZER_POP3, ports);
|
|
}
|