Directories
¶
| Path | Synopsis |
|---|---|
|
Package api holds the OpenAPI spec, the source of truth for the HTTP API.
|
Package api holds the OpenAPI spec, the source of truth for the HTTP API. |
|
rest
Code generated by ogen, DO NOT EDIT.
|
Code generated by ogen, DO NOT EDIT. |
|
cmd
|
|
|
banoorctl
command
Command banoorctl checks the lists an operator maintains and prints the signing key's public half.
|
Command banoorctl checks the lists an operator maintains and prints the signing key's public half. |
|
banoord
command
Command banoord scores network sources from configurable queries and serves a signed ban list.
|
Command banoord scores network sources from configurable queries and serves a signed ban list. |
|
internal
|
|
|
clickhouse
Package clickhouse is the ClickHouse source: it runs signal and state queries and inserts state rows through the official Go client, over the native or the HTTP protocol.
|
Package clickhouse is the ClickHouse source: it runs signal and state queries and inserts state rows through the official Go client, over the native or the HTTP protocol. |
|
config
Package config reads banoor's JSON configuration: the source, the state tables, the signing key, the scoring policy, the signals and the lists.
|
Package config reads banoor's JSON configuration: the source, the state tables, the signing key, the scoring policy, the signals and the lists. |
|
lists
Package lists reads the operator's allowlist directory.
|
Package lists reads the operator's allowlist directory. |
|
metrics
Package metrics is a minimal registry that writes the Prometheus text exposition format.
|
Package metrics is a minimal registry that writes the Prometheus text exposition format. |
|
publish
Package publish signs the ban list and keeps it fresh.
|
Package publish signs the ban list and keeps it fresh. |
|
scorer
Package scorer runs the scoring loop: it reads every input from the source and the operator's files, scores, records, and publishes the signed list.
|
Package scorer runs the scoring loop: it reads every input from the source and the operator's files, scores, records, and publishes the signed list. |
|
server
Package server hosts the HTTP API, the OpenAPI spec and the metrics.
|
Package server hosts the HTTP API, the OpenAPI spec and the metrics. |
|
testutil/importguard
Package importguard lists the repository's Go packages and their imports, so a test can assert a dependency boundary that a code review would otherwise have to remember: which packages may import the generated API, the embedded UI, or each other.
|
Package importguard lists the repository's Go packages and their imports, so a test can assert a dependency boundary that a code review would otherwise have to remember: which packages may import the generated API, the embedded UI, or each other. |
|
pkg
|
|
|
engine
Package engine turns per-source signal counts into a ban list.
|
Package engine turns per-source signal counts into a ban list. |
|
manual
Package manual parses the lists an operator maintains: allowlists, key lists and the manual list of bans and lifts.
|
Package manual parses the lists an operator maintains: allowlists, key lists and the manual list of bans and lifts. |
|
netaddr
Package netaddr turns source addresses into ban units and checks the prefixes a list may publish.
|
Package netaddr turns source addresses into ban units and checks the prefixes a list may publish. |
|
sshlog
Package sshlog extracts the client address and outcome from OpenSSH server log lines.
|
Package sshlog extracts the client address and outcome from OpenSSH server log lines. |
|
sshsig
Package sshsig signs messages in OpenSSH's signature format (PROTOCOL.sshsig), the format `ssh-keygen -Y sign` writes and `ssh-keygen -Y verify` checks, with an Ed25519 key.
|
Package sshsig signs messages in OpenSSH's signature format (PROTOCOL.sshsig), the format `ssh-keygen -Y sign` writes and `ssh-keygen -Y verify` checks, with an Ed25519 key. |
Click to show internal directories.
Click to hide internal directories.