mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00

This is based on commit 99e6942efec5feff50523f6b2a1f5868f19ab638 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);
|
|
}
|