Zeek
1 program
Added 2026-02-06T17:51:35Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Bro
Provenance: commit fe3fc34338 · authored 2026-02-06T18:52:30+01:00 · agent claude-code · model sonnet
Sources mentioning this language
5 sources · pl_id:
pl/zeekExtensions claimed by this language
4 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.zeek | linguist | primary | 14.1K files |
.zeek | pygments | primary | 14.1K files |
.bro | linguist | secondary | 24.1K files |
.bro | pygments | secondary | 24.1K files |
Related languages
LLM-contributed programs
Connection Logger
Provenance: commit fe3fc34338 · authored 2026-02-06T18:52:30+01:00 · agent claude-code · model sonnet · WebSearch disabled
# Simple connection logger in Zeek
# Logs basic information about network connections
@load base/protocols/conn
event connection_state_remove(c: connection)
{
local id = c$id;
local orig = id$orig_h;
local resp = id$resp_h;
local sport = id$orig_p;
local dport = id$resp_p;
if ( c$conn$proto == tcp )
{
print fmt("TCP Connection: %s:%s -> %s:%s", orig, sport, resp, dport);
}
else if ( c$conn$proto == udp )
{
print fmt("UDP Connection: %s:%s -> %s:%s", orig, sport, resp, dport);
}
}
event zeek_init()
{
print "Connection logger started";
}
event zeek_done()
{
print "Connection logger finished";
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)