mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
10 lines
228 B
Text
10 lines
228 B
Text
event NetControl::init()
|
|
{
|
|
local skeleton_plugin = NetControl::create_skeleton("");
|
|
NetControl::activate(skeleton_plugin, 0);
|
|
}
|
|
|
|
event connection_established(c: connection)
|
|
{
|
|
NetControl::drop_connection(c$id, 20 secs);
|
|
}
|