pkg/

directory
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0

Directories

Path Synopsis
adapters
extproc
Package extproc implements the ext_proc adapter used by Envoy's external processing filter (envoy.service.ext_proc.v3), and so by Envoy Gateway.
Package extproc implements the ext_proc adapter used by Envoy's external processing filter (envoy.service.ext_proc.v3), and so by Envoy Gateway.
forwardauth
Package forwardauth implements the forward-auth adapter used by Traefik's ForwardAuth middleware.
Package forwardauth implements the forward-auth adapter used by Traefik's ForwardAuth middleware.
httpcheck
Package httpcheck implements POST /v1/check, the engine's own check API (api/engine/v1).
Package httpcheck implements POST /v1/check, the engine's own check API (api/engine/v1).
internal/httpadapter
Package httpadapter holds request handling shared by the adapters that receive requests over net/http: the reverse proxy and forward-auth.
Package httpadapter holds request handling shared by the adapters that receive requests over net/http: the reverse proxy and forward-auth.
proxy
Package proxy implements Inkwall's standalone mode: an HTTP reverse proxy that inspects each request and forwards allowed ones to an upstream.
Package proxy implements Inkwall's standalone mode: an HTTP reverse proxy that inspects each request and forwards allowed ones to an upstream.
spoe
Package spoe implements an SPOE agent (an SPOA): the adapter HAProxy's Stream Processing Offload Engine calls over SPOP, its binary protocol (doc/SPOE.txt in HAProxy).
Package spoe implements an SPOE agent (an SPOA): the adapter HAProxy's Stream Processing Offload Engine calls over SPOP, its binary protocol (doc/SPOE.txt in HAProxy).
Package agent connects the engine to the operator (0002 §5.2): it keeps one stream open, verifies and applies every bundle the operator sends, and reports what it applied.
Package agent connects the engine to the operator (0002 §5.2): it keeps one stream open, verifies and applies every bundle the operator sends, and reports what it applied.
Package bundlekey is how the operator and the engines name and exchange the public keys that bundles are signed with (0004 §4.6).
Package bundlekey is how the operator and the engines name and exchange the public keys that bundles are signed with (0004 §4.6).
Package bundlesecret is the format of the operator's bundle Secret, which the operator writes and the engines and inkwallctl read (0004 §4.6).
Package bundlesecret is the format of the operator's bundle Secret, which the operator writes and the engines and inkwallctl read (0004 §4.6).
Package clientip resolves the real client address of a request that may have passed through load balancers or proxies.
Package clientip resolves the real client address of a request that may have passed through load balancers or proxies.
Package events turns the engine's security events into SecurityEvents (0002 §5.4) and holds them, bounded, until the agent sends them to the operator.
Package events turns the engine's security events into SecurityEvents (0002 §5.4) and holds them, bounded, until the agent sends them to the operator.
Package grpcwire reads gRPC request messages without their schema: it splits a body into gRPC messages and finds the text in each protobuf message, for rules to inspect.
Package grpcwire reads gRPC request messages without their schema: it splits a body into gRPC messages and finds the text in each protobuf message, for rules to inspect.
Package haproxyprobe is the probe the operator sends through HAProxy to tell whether a route runs the engine's SPOE filter (0002 §6.4): a GET with Header carrying a random nonce and a MAC of the nonce, the host and the path under the bundle's probe key.
Package haproxyprobe is the probe the operator sends through HAProxy to tell whether a route runs the engine's SPOE filter (0002 §6.4): a GET with Header carrying a random nonce and a MAC of the nonce, the host and the path under the bundle's probe key.
Package iplist matches client addresses against a set of CIDR prefixes: a policy's IP allow and deny lists (#358).
Package iplist matches client addresses against a set of CIDR prefixes: a policy's IP allow and deny lists (#358).
Package pipeline turns a request into a verdict: it runs the rule evaluator under a per-request deadline and applies the enforcement mode (detect or block) and the failure mode (fail open or closed).
Package pipeline turns a request into a verdict: it runs the rule evaluator under a per-request deadline and applies the enforcement mode (detect or block) and the failure mode (fail open or closed).
Package policy enforces a bundle: each policy of the bundle gets its own pipeline (mode, failure mode, timeout, skip paths, rules, body settings), and each request is inspected by the policy of its route.
Package policy enforces a bundle: each policy of the bundle gets its own pipeline (mode, failure mode, timeout, skip paths, rules, body settings), and each request is inspected by the policy of its route.
Package request defines the canonical HTTP request that every Inkwall adapter produces and the inspection pipeline consumes.
Package request defines the canonical HTTP request that every Inkwall adapter produces and the inspection pipeline consumes.
Package router decides, before any rule runs, how much of a request needs inspection (pipeline tier T0).
Package router decides, before any rule runs, how much of a request needs inspection (pipeline tier T0).
Package rules defines the interface between the inspection pipeline and a rule engine.
Package rules defines the interface between the inspection pipeline and a rule engine.
coraza
Package coraza implements rules.Evaluator with OWASP Coraza and the OWASP Core Rule Set (CRS), which is embedded in the binary.
Package coraza implements rules.Evaluator with OWASP Coraza and the OWASP Core Rule Set (CRS), which is embedded in the binary.
Package streams splits streamed responses into the events that are inspected one by one (#323, docs/design/0006 §2): a Server-Sent Events stream into its events, a gRPC server stream into its messages.
Package streams splits streamed responses into the events that are inspected one by one (#323, docs/design/0006 §2): a Server-Sent Events stream into its events, a gRPC server stream into its messages.
Package telemetry exposes engine metrics in the Prometheus format and the admin endpoints (/metrics, /healthz, /readyz).
Package telemetry exposes engine metrics in the Prometheus format and the admin endpoints (/metrics, /healthz, /readyz).
Package websocket reads the frames of a WebSocket connection (RFC 6455 §5), so that the engine's reverse proxy can inspect a client's messages before it forwards them (#276).
Package websocket reads the frames of a WebSocket connection (RFC 6455 §5), so that the engine's reverse proxy can inspect a client's messages before it forwards them (#276).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL