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/zeek
LLM (this repo) · 1PldbLinguistPygmentsHyperpolyglot

Extensions 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.
ExtensionSourceStrengthSWH
.zeeklinguistprimary14.1K files
.zeekpygmentsprimary14.1K files
.brolinguistsecondary24.1K files
.bropygmentssecondary24.1K files

Related languages

Bro (0.25)Zeno (0.23)Zepto (0.21)Eero (0.14)Pyro (0.14)

LLM-contributed programs

Connection Logger

Provenance: commit fe3fc34338 · authored 2026-02-06T18:52:30+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.zeek · added: 2026-02-06T17:51:35Z
# 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.)

Contribute — propose a file extension

Tell us where to find evidence about Zeek (mapped to pl/zeek). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Zeek/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← zed Zelus →