mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Register SIP analyzer to well known port.
This commit is contained in:
parent
fb35a86b45
commit
c5ef85497d
1 changed files with 4 additions and 0 deletions
|
@ -85,9 +85,13 @@ redef record connection += {
|
|||
sip_state: State &optional;
|
||||
};
|
||||
|
||||
const ports = { 5060/udp };
|
||||
redef likely_server_ports += { ports };
|
||||
|
||||
event bro_init() &priority=5
|
||||
{
|
||||
Log::create_stream(SIP::LOG, [$columns=Info, $ev=log_sip]);
|
||||
Analyzer::register_for_ports(Analyzer::ANALYZER_SIP, ports);
|
||||
}
|
||||
|
||||
function new_sip_session(c: connection): Info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue