mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Add new "udp_content_delivery_ports_use_resp" option
This controls whether ports given by "udp_content_delivery_ports_orig" and "udp_content_delivery_ports_orig" are in terms of the UDP packet's destination port or by the Connection's "responder" port (the former is the unchanged default behavior).
This commit is contained in:
parent
e66148a13a
commit
2da84020cf
7 changed files with 41 additions and 8 deletions
|
@ -77,6 +77,7 @@ TableVal* udp_content_delivery_ports_orig;
|
|||
TableVal* udp_content_delivery_ports_resp;
|
||||
bool udp_content_deliver_all_orig;
|
||||
bool udp_content_deliver_all_resp;
|
||||
bool udp_content_delivery_ports_use_resp;
|
||||
|
||||
double dns_session_timeout;
|
||||
double rpc_timeout;
|
||||
|
@ -323,6 +324,8 @@ void init_net_var()
|
|||
bool(internal_val("udp_content_deliver_all_orig")->AsBool());
|
||||
udp_content_deliver_all_resp =
|
||||
bool(internal_val("udp_content_deliver_all_resp")->AsBool());
|
||||
udp_content_delivery_ports_use_resp =
|
||||
bool(internal_val("udp_content_delivery_ports_use_resp")->AsBool());
|
||||
|
||||
dns_session_timeout = opt_internal_double("dns_session_timeout");
|
||||
rpc_timeout = opt_internal_double("rpc_timeout");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue