Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
controller
command
Command controller is the Packeteer entrypoint.
|
Command controller is the Packeteer entrypoint. |
|
relsign
command
Command relsign makes and signs the checksum file of a release (#196).
|
Command relsign makes and signs the checksum file of a release (#196). |
|
internal
|
|
|
announce
Package announce turns decision-engine changes into announcer calls.
|
Package announce turns decision-engine changes into announcer calls. |
|
anomaly
Package anomaly is automatic traffic anomaly (DDoS) detection (#33).
|
Package anomaly is automatic traffic anomaly (DDoS) detection (#33). |
|
auth
Package auth is HTTP authentication and role-based access for the ops API (#32): local users with passwords, API tokens, optional single sign-on through an sso plugin, and the audit log.
|
Package auth is HTTP authentication and role-based access for the ops API (#32): local users with passwords, API tokens, optional single sign-on through an sso plugin, and the audit log. |
|
auth/authtest
Package authtest is an in-memory user and audit store for tests.
|
Package authtest is an in-memory user and audit store for tests. |
|
commitview
Package commitview turns stored 95th-percentile samples (#127) and the recorded commit improvements into what the Commit & Cost page draws: per provider, the sample line, the running billable 95th, and where commit control moved traffic.
|
Package commitview turns stored 95th-percentile samples (#127) and the recorded commit improvements into what the Commit & Cost page draws: per provider, the sample line, the running billable 95th, and where commit control moved traffic. |
|
config
Package config loads and validates the Packeteer controller configuration.
|
Package config loads and validates the Packeteer controller configuration. |
|
configedit
Package configedit is the validated config editor and the first-run wizard behind the ops API (#34).
|
Package configedit is the validated config editor and the first-run wizard behind the ops API (#34). |
|
eventlog
Package eventlog keeps recent controller events for the Events page (#173).
|
Package eventlog keeps recent controller events for the Events page (#173). |
|
exchange
Package exchange builds Internet exchange statistics (#27): per peer, the prefixes the router shows through its next hop, the observed first AS, probe-source health, and active improvements; plus next hops on the peering LAN that are not configured peers ("discovered").
|
Package exchange builds Internet exchange statistics (#27): per peer, the prefixes the router shows through its next hop, the observed first AS, probe-source health, and active improvements; plus next hops on the peering LAN that are not configured peers ("discovered"). |
|
federation
Package federation turns peer snapshots from other POPs (routing domains, #30) into decision inputs, builds the snapshot this instance publishes, and reports the central view.
|
Package federation turns peer snapshots from other POPs (routing domains, #30) into decision inputs, builds the snapshot this instance publishes, and reports the central view. |
|
geoip
Package geoip reads a MaxMind-format country database (for example GeoLite2-Country.mmdb) that the operator mounts into the container, and lists the networks of a country.
|
Package geoip reads a MaxMind-format country database (for example GeoLite2-Country.mmdb) that the operator mounts into the container, and lists the networks of a country. |
|
geoip/geoiptest
Package geoiptest writes tiny MaxMind-format country databases for tests and the FRR lab.
|
Package geoiptest writes tiny MaxMind-format country databases for tests and the FRR lab. |
|
history
Package history records what the controller measured and decided into a storage plugin, and builds reports from it.
|
Package history records what the controller measured and decided into a storage plugin, and builds reports from it. |
|
httpapi
Package httpapi is Packeteer's ops surface: health, Prometheus metrics, a JSON API, history reports (JSON and CSV), read-only troubleshooting tools (looking glass, on-demand probe, traceroute, whois), and an embedded dashboard.
|
Package httpapi is Packeteer's ops surface: health, Prometheus metrics, a JSON API, history reports (JSON and CSV), read-only troubleshooting tools (looking glass, on-demand probe, traceroute, whois), and an embedded dashboard. |
|
inbound
Package inbound is inbound optimization (#25).
|
Package inbound is inbound optimization (#25). |
|
leakwatch
Package leakwatch notices Packeteer's own routes outside the AS and takes them back (#199).
|
Package leakwatch notices Packeteer's own routes outside the AS and takes them back (#199). |
|
linkout
Package linkout builds the "open in" links on the prefix, ASN, and provider pages (#211).
|
Package linkout builds the "open in" links on the prefix, ASN, and provider pages (#211). |
|
mitigation
Package mitigation is threat mitigation (#28): RTBH (blackhole), BGP redirect, and FlowSpec (drop, rate-limit, redirect) for prefixes under attack, added and removed through the ops API.
|
Package mitigation is threat mitigation (#28): RTBH (blackhole), BGP redirect, and FlowSpec (drop, rate-limit, redirect) for prefixes under attack, added and removed through the ops API. |
|
netpfx
Package netpfx holds small prefix and AS number helpers shared by the routing packages.
|
Package netpfx holds small prefix and AS number helpers shared by the routing packages. |
|
notify
Package notify fans controller events out to the configured notifiers.
|
Package notify fans controller events out to the configured notifiers. |
|
passive
Package passive scores destination prefixes from passively observed TCP problems: retransmissions, resets, handshake timeouts, and handshake RTT.
|
Package passive scores destination prefixes from passively observed TCP problems: retransmissions, resets, handshake timeouts, and handshake RTT. |
|
pluginhost
Package pluginhost builds the configured plugin instances and manages their lifecycle.
|
Package pluginhost builds the configured plugin instances and manages their lifecycle. |
|
plugins/all
Package all links every built-in plugin into the binary.
|
Package all links every built-in plugin into the binary. |
|
plugins/announcer/gobgp
Package gobgp is the in-process announcer.
|
Package gobgp is the in-process announcer. |
|
plugins/detector/baseline
Package baseline implements the "baseline" anomaly detector (#33).
|
Package baseline implements the "baseline" anomaly detector (#33). |
|
plugins/elector/lease
Package lease is the built-in high-availability elector (#31): a lease file on storage both instances of an active/standby pair mount (a shared Docker volume on one host, or a shared filesystem with working POSIX locks).
|
Package lease is the built-in high-availability elector (#31): a lease file on storage both instances of an active/standby pair mount (a shared Docker volume on one host, or a shared filesystem with working POSIX locks). |
|
plugins/exec
Package exec implements the out-of-process "exec" plugin type for probers, target sources, and notifiers.
|
Package exec implements the out-of-process "exec" plugin type for probers, target sources, and notifiers. |
|
plugins/federation/mtls
Package mtls is the built-in federation transport (#30).
|
Package mtls is the built-in federation transport (#30). |
|
plugins/leaksource/rislive
Package rislive is a leak source that reads RIPE RIS Live (https://ris-live.ripe.net) over its HTTP stream.
|
Package rislive is a leak source that reads RIPE RIS Live (https://ris-live.ripe.net) over its HTTP stream. |
|
plugins/notifier/smtp
Package smtp implements the "smtp" notifier: each event is sent as a plain-text email through a relay.
|
Package smtp implements the "smtp" notifier: each event is sent as a plain-text email through a relay. |
|
plugins/notifier/snmptrap
Package snmptrap implements the "snmptrap" notifier: each event is sent as an SNMPv2c or SNMPv3 trap to one receiver.
|
Package snmptrap implements the "snmptrap" notifier: each event is sent as an SNMPv2c or SNMPv3 trap to one receiver. |
|
plugins/notifier/webhook
Package webhook implements the "webhook" notifier: each event is POSTed to a configured URL.
|
Package webhook implements the "webhook" notifier: each event is POSTed to a configured URL. |
|
plugins/policy/maintenance
Package maintenance implements the "maintenance" policy: windows during which providers carry no improvements.
|
Package maintenance implements the "maintenance" policy: windows during which providers carry no improvements. |
|
plugins/policy/rules
Package rules implements the "rules" policy: routing policies matched by prefix, origin ASN, country, or traffic class, with the actions ignore, allow, deny, static, and vip.
|
Package rules implements the "rules" policy: routing policies matched by prefix, origin ASN, country, or traffic class, with the actions ignore, allow, deny, static, and vip. |
|
plugins/prober/fixed
Package fixed is a prober that returns configured results and never sends a packet.
|
Package fixed is a prober that returns configured results and never sends a packet. |
|
plugins/prober/icmp
Package icmp implements the "icmp" prober: ICMP echo sourced from the provider's source address.
|
Package icmp implements the "icmp" prober: ICMP echo sourced from the provider's source address. |
|
plugins/prober/tcp
Package tcp implements the "tcp" prober: it times TCP handshakes to a port (default 443) from the provider's source address.
|
Package tcp implements the "tcp" prober: it times TCP handshakes to a port (default 443) from the provider's source address. |
|
plugins/prober/udp
Package udp implements the "udp" prober: it sends one datagram per packet to a port (default 33434) from the provider's source address.
|
Package udp implements the "udp" prober: it sends one datagram per packet to a port (default 33434) from the provider's source address. |
|
plugins/ribsource/bmp
Package bmp is a BMP monitoring station (RFC 7854, Loc-RIB per RFC 9069).
|
Package bmp is a BMP monitoring station (RFC 7854, Loc-RIB per RFC 9069). |
|
plugins/scorer/commit
Package commit is the "commit" scorer.
|
Package commit is the "commit" scorer. |
|
plugins/scorer/cost
Package cost is the "cost" scorer.
|
Package cost is the "cost" scorer. |
|
plugins/scorer/weighted
Package weighted implements the default "weighted" scorer:
|
Package weighted implements the default "weighted" scorer: |
|
plugins/scorer/weights
Package weights is the improvement_weights block the built-in scorers (weighted, commit, cost) share (#34).
|
Package weights is the improvement_weights block the built-in scorers (weighted, commit, cost) share (#34). |
|
plugins/source/flow
Package flow implements the "flow" target source.
|
Package flow implements the "flow" target source. |
|
plugins/source/outage
Package outage implements the "outage" target source.
|
Package outage implements the "outage" target source. |
|
plugins/source/span
Package span implements the "span" target source.
|
Package span implements the "span" target source. |
|
plugins/source/static
Package static implements the "static" target source: a fixed list of prefixes from config, each with an optional representative host.
|
Package static implements the "static" target source: a fixed list of prefixes from config, each with an optional representative host. |
|
plugins/source/traceroute
Package traceroute implements the "traceroute" target source.
|
Package traceroute implements the "traceroute" target source. |
|
plugins/source/vip
Package vip implements the "vip" target source: prefixes, and prefixes whose learned AS path contains a listed ASN, probed on their own interval.
|
Package vip implements the "vip" target source: prefixes, and prefixes whose learned AS path contains a listed ASN, probed on their own interval. |
|
plugins/sso/oidc
Package oidc is the OpenID Connect single sign-on plugin (#32).
|
Package oidc is the OpenID Connect single sign-on plugin (#32). |
|
plugins/storage/sqlite
Package sqlite is the default storage plugin: an embedded SQLite file (pure Go, no cgo) that keeps report history on a mounted volume.
|
Package sqlite is the default storage plugin: an embedded SQLite file (pure Go, no cgo) that keeps report history on a mounted volume. |
|
plugins/telemetry/fixed
Package fixed is a telemetry plugin that reports configured usage and never polls a device.
|
Package fixed is a telemetry plugin that reports configured usage and never polls a device. |
|
plugins/telemetry/snmp
Package snmp is the telemetry plugin that polls interface counters and tracks 95th-percentile usage for a billing period.
|
Package snmp is the telemetry plugin that polls interface counters and tracks 95th-percentile usage for a billing period. |
|
plugins/whois/rdap
Package rdap is the built-in whois plugin.
|
Package rdap is the built-in whois plugin. |
|
policy
Package policy is the decision engine.
|
Package policy is the decision engine. |
|
probe
Package probe runs the probe engine: for every target and provider it asks the configured prober chain to measure the path from that provider's source address, and keeps the latest statistics.
|
Package probe runs the probe engine: for every target and provider it asks the configured prober chain to measure the path from that provider's source address, and keeps the latest statistics. |
|
rib
Package rib maintains Packeteer's view of routes learned from edge routers.
|
Package rib maintains Packeteer's view of routes learned from edge routers. |
|
subscribe
Package subscribe emails stored reports on a schedule (#34).
|
Package subscribe emails stored reports on a schedule (#34). |
|
syshealth
Package syshealth remembers the last result of the operations a component performs (a notifier delivery, a storage write, a router's monitoring session) so the System page can show state, since, and the last error.
|
Package syshealth remembers the last result of the operations a component performs (a notifier delivery, a storage write, a router's monitoring session) so the System page can show state, since, and the last error. |
|
troubleshoot
Package troubleshoot holds Packeteer's operator tools: a looking glass over the learned RIB view, an on-demand probe of one address or hostname across every provider, a per-provider traceroute, and a whois/RDAP lookup.
|
Package troubleshoot holds Packeteer's operator tools: a looking glass over the learned RIB view, an on-demand probe of one address or hostname across every provider, a per-provider traceroute, and a whois/RDAP lookup. |
|
upgrade
Package upgrade is the Settings page's version check, one-click upgrade, and rollback (#196).
|
Package upgrade is the Settings page's version check, one-click upgrade, and rollback (#196). |
|
lab
|
|
|
checklease
command
Command checklease waits until a lease file shows that one instance released it (#190).
|
Command checklease waits until a lease file shows that one instance released it (#190). |
|
checkms
command
Command checkms lists the prefixes Packeteer has on an FRR edge, for the more-specific lab (lab/e2e-more-specific.sh, #56).
|
Command checkms lists the prefixes Packeteer has on an FRR edge, for the more-specific lab (lab/e2e-more-specific.sh, #56). |
|
checkpath
command
Command checkpath checks the best path of one prefix in FRR's `show bgp ipv4 unicast <prefix> json` output.
|
Command checkpath checks the best path of one prefix in FRR's `show bgp ipv4 unicast <prefix> json` output. |
|
checkpop
command
Command checkpop lists the paths a Packeteer instance has on an FRR edge, for the multi-POP lab (lab/e2e-multipop.sh, #30).
|
Command checkpop lists the paths a Packeteer instance has on an FRR edge, for the multi-POP lab (lab/e2e-multipop.sh, #30). |
|
checkroute
command
Command checkroute reports whether FRR's BGP table still has Packeteer's injected route.
|
Command checkroute reports whether FRR's BGP table still has Packeteer's injected route. |
|
chrpeer
command
Command chrpeer is a minimal BGP speaker for the MikroTik CHR lab (lab/e2e-chr.sh, #52).
|
Command chrpeer is a minimal BGP speaker for the MikroTik CHR lab (lab/e2e-chr.sh, #52). |
|
doccmds
command
Command doccmds turns the shell blocks of a Markdown guide into a bash script, so CI runs the commands exactly as a reader copies them (#50).
|
Command doccmds turns the shell blocks of a Markdown guide into a bash script, so CI runs the commands exactly as a reader copies them (#50). |
|
fakerelease
command
Command fakerelease is a lab stand-in for the GitHub releases API.
|
Command fakerelease is a lab stand-in for the GitHub releases API. |
|
interopcheck
command
Command interopcheck checks one prefix in an edge router's BGP table for the router interop matrix (lab/e2e-interop.sh, #53).
|
Command interopcheck checks one prefix in an edge router's BGP table for the router interop matrix (lab/e2e-interop.sh, #53). |
|
matrixcfg
command
Command matrixcfg prepares a lab Packeteer config for the failure-mode matrix (lab/e2e-failure-matrix.sh, #234).
|
Command matrixcfg prepares a lab Packeteer config for the failure-mode matrix (lab/e2e-failure-matrix.sh, #234). |
|
mkcerts
command
Command mkcerts writes a throwaway CA and one certificate per instance name for the multi-POP lab (lab/e2e-multipop.sh, #30).
|
Command mkcerts writes a throwaway CA and one certificate per instance name for the multi-POP lab (lab/e2e-multipop.sh, #30). |
|
mkgeoip
command
Command mkgeoip writes a tiny MaxMind-format country database for the FRR labs: mkgeoip -o FILE PREFIX=CC ...
|
Command mkgeoip writes a tiny MaxMind-format country database for the FRR labs: mkgeoip -o FILE PREFIX=CC ... |
|
mkhistory
command
Command mkhistory writes a small synthetic report history to a sqlite storage file, for the UI smoke test of the before/after graphs (#129):
|
Command mkhistory writes a small synthetic report history to a sqlite storage file, for the UI smoke test of the before/after graphs (#129): |
|
sendflow
command
Command sendflow sends synthetic NetFlow v5 to a collector at steady rates.
|
Command sendflow sends synthetic NetFlow v5 to a collector at steady rates. |
|
soak
command
Command soak is Packeteer's load and soak harness (#51).
|
Command soak is Packeteer's load and soak harness (#51). |
|
uiproxy
command
Command uiproxy is a loopback reverse proxy that adds HTTP basic auth.
|
Command uiproxy is a loopback reverse proxy that adds HTTP basic auth. |
|
pkg
|
|
|
plugin
Package plugin defines Packeteer's extension points.
|
Package plugin defines Packeteer's extension points. |
Click to show internal directories.
Click to hide internal directories.
