zeek/doc/frameworks/netcontrol-1-drop-with-debug.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

11 lines
218 B
Plaintext

event NetControl::init()
{
local debug_plugin = NetControl::create_debug(T);
NetControl::activate(debug_plugin, 0);
}
event connection_established(c: connection)
{
NetControl::drop_connection(c$id, 20 secs);
}