mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
add whitelist and redirect high-level functions
This commit is contained in:
parent
2f1ebed2e9
commit
ae18062761
5 changed files with 66 additions and 15 deletions
|
@ -15,4 +15,6 @@ event connection_established(c: connection)
|
|||
local id = c$id;
|
||||
Pacf::shunt_flow([$src_h=id$orig_h, $src_p=id$orig_p, $dst_h=id$resp_h, $dst_p=id$resp_p], 30sec);
|
||||
Pacf::drop_address(id$orig_h, 15sec);
|
||||
Pacf::whitelist_address(id$orig_h, 15sec);
|
||||
Pacf::redirect_flow([$src_h=id$orig_h, $src_p=id$orig_p, $dst_h=id$resp_h, $dst_p=id$resp_p], 5, 30sec);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue