mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Several final fixes for PacketFilter framework.
- Fixed how the dpd_* variables are written. - Fixed a bug with the shunting code. - Updated a few tests.
This commit is contained in:
parent
2ec7fbae62
commit
0c97c3c1de
17 changed files with 94 additions and 85 deletions
|
@ -57,9 +57,6 @@ export {
|
|||
const mail_path_capture = ALL_HOSTS &redef;
|
||||
|
||||
global log_smtp: event(rec: Info);
|
||||
|
||||
## Configure the default ports for SMTP analysis.
|
||||
const ports = { 25/tcp, 587/tcp } &redef;
|
||||
}
|
||||
|
||||
redef record connection += {
|
||||
|
@ -68,8 +65,9 @@ redef record connection += {
|
|||
};
|
||||
|
||||
global analyzers = { ANALYZER_SMTP };
|
||||
redef Protocols::analyzer_map["SMTP"] = analyzers;
|
||||
redef Protocols::common_ports["SMTP"] = ports;
|
||||
redef Protocols::analyzer_map += { ["SMTP"] = analyzers };
|
||||
const ports = { 25/tcp, 587/tcp } &redef;
|
||||
redef Protocols::common_ports += { ["SMTP"] = ports };
|
||||
|
||||
event bro_init() &priority=5
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue