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 | 23.8K files |
.zeek | pygments | primary | 23.8K files |
.bro | linguist | secondary | 28.8K files |
.bro | pygments | secondary | 28.8K files |
Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
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";
}