mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
GH-1991: Add option to limit the number of tunnel_changed events
This commit is contained in:
parent
4deacefa4c
commit
a9fd4a60e0
5 changed files with 21 additions and 1 deletions
|
@ -193,6 +193,8 @@ int record_all_packets;
|
|||
|
||||
bro_uint_t bits_per_uid;
|
||||
|
||||
bro_uint_t tunnel_max_changes_per_connection;
|
||||
|
||||
} // namespace zeek::detail. The namespace has be closed here before we include the netvar_def
|
||||
// files.
|
||||
|
||||
|
@ -343,6 +345,9 @@ void init_net_var()
|
|||
dpd_match_only_beginning = id::find_val("dpd_match_only_beginning")->AsBool();
|
||||
dpd_late_match_stop = id::find_val("dpd_late_match_stop")->AsBool();
|
||||
dpd_ignore_ports = id::find_val("dpd_ignore_ports")->AsBool();
|
||||
|
||||
tunnel_max_changes_per_connection =
|
||||
id::find_val("Tunnel::max_changes_per_connection")->AsCount();
|
||||
}
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue