Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0x4D31/finch
/ types & classes
Types & classes
63 in github.com/0x4D31/finch
⨍
Functions
481
◇
Types & classes
63
↓ 2 callers
TypeAlias
Action
Action is the result of a matching rule.
internal/rules/action.go:4
Struct
AdminConfig
internal/config/config.go:34
Struct
And
internal/rules/hcl.go:29
Struct
Cond
Cond wraps a matcher function.
internal/rules/hcl.go:52
Struct
Config
Config represents the top-level configuration file.
internal/config/config.go:25
Struct
Defaults
Defaults holds optional values inherited by listeners.
internal/config/config.go:51
Struct
Engine
Engine evaluates incoming requests against loaded rules.
internal/rules/engine.go:12
Struct
Event
internal/logger/jsonl.go:22
Interface
Expr
New rule engine structures inspired by HCL based DSL. Expr represents a boolean expression node.
internal/rules/hcl.go:25
FuncType
FieldGetter
FieldGetter returns zero or more values for a field.
internal/rules/hcl.go:73
Struct
GalahConfig
GalahConfig holds configuration for the Galah deception service.
internal/config/config.go:79
Struct
GalahInfo
GalahInfo holds details about a Galah-generated response.
internal/logger/jsonl.go:51
Struct
Hub
Hub delivers published events to multiple subscribers.
internal/sse/hub.go:9
Struct
ListenerConfig
ListenerConfig defines a single listener instance.
internal/config/config.go:61
Struct
Loader
Loader manages rule engines and Suricata rule sets.
cmd/finch/loader.go:20
Struct
Logger
Logger writes JSONL events to a file or stdout.
internal/logger/jsonl.go:60
FuncType
Option
Option configures a Parser.
pkg/quic/clienthello.go:32
Struct
Or
internal/rules/hcl.go:40
Struct
Overrides
Overrides contains CLI override values applied when a main config is loaded. Zero-value fields are ignored unless the corresponding Set flag is true.
internal/loader/loader.go:26
Struct
Parser
Parser extracts ClientHello records from QUIC Initial packets.
pkg/quic/clienthello.go:55
Struct
RequestCtx
RequestCtx contains request metadata needed for rule evaluation.
internal/fingerprint/context.go:16
Struct
Rule
Rule is a compiled rule from the HCL file.
internal/rules/hcl.go:59
Struct
RuleSet
RuleSet is a set of compiled rules.
internal/rules/hcl.go:70
Struct
RuleSetInfo
RuleSetInfo describes a rule file and the listeners referencing it.
internal/config/config.go:94
Struct
SSEConfig
internal/config/config.go:40
Struct
Server
Server wraps proxyserver.Server and holds minimal configuration.
internal/proxy/server.go:79
Struct
Server
Server exposes events over Server-Sent Events.
internal/sse/server.go:15
Struct
Server
Server exposes administrative endpoints.
internal/admin/server.go:27
Struct
SuricataConfig
internal/config/config.go:45
Struct
SuricataMatch
Event represents a single request log entry.
internal/logger/jsonl.go:17
Struct
TLSConfig
TLSConfig holds optional TLS certificate paths.
internal/config/config.go:73
Struct
TarpitConfig
TarpitConfig configures the tarpit handler.
internal/proxy/tarpit.go:20
Struct
brokenWriter
internal/sse/server_test.go:42
Struct
cacheEntry
internal/proxy/cache.go:19
Struct
cliArgs
cmd/quic-chdump/main.go:36
Struct
connKey
cmd/quic-chdump/main.go:30
Struct
connState
pkg/quic/clienthello.go:92
Struct
corsRecorder
internal/sse/server_test.go:98
Struct
countingConn
countingConn wraps a net.Conn and counts the number of times Close is called.
internal/proxy/cache_test.go:17
Struct
detailResponse
internal/proxy/echo.go:48
Struct
dummyModel
internal/proxy/server_test.go:42
Struct
dummyPacketConn
internal/proxy/http3_error_test.go:38
Struct
failWriter
internal/proxy/echo_error_test.go:15
Struct
failingBody
internal/proxy/server_test.go:1327
Struct
flushRecorder
internal/sse/server_test.go:87
Interface
flusherErr
flusherErr wraps http.Flusher with an error-returning FlushErr.
internal/sse/flush.go:6
Struct
h3Server
internal/proxy/http3.go:165
Struct
httpInfo
internal/proxy/echo.go:26
Struct
inspectConn
internal/proxy/http3.go:18
Struct
keyModel
internal/proxy/server_test.go:52
Struct
logRef
cmd/finch/runtime.go:47
Struct
matcher
internal/rules/hcl.go:591
Struct
mdEntry
internal/proxy/http3.go:30
Struct
parsedFlags
parsedFlags groups additional command line options passed to the runtime.
cmd/finch/parsed_flags.go:4
Struct
proxyCache
proxyCache implements a basic LRU cache for HTTP handlers.
internal/proxy/cache.go:12
Struct
ruleBlock
internal/rules/hcl.go:106
Struct
ruleHandler
ruleHandler evaluates requests using the rule engine before forwarding.
internal/proxy/server.go:361
Struct
rulePos
internal/admin/rulefile.go:15
Struct
runtimeState
cmd/finch/runtime.go:33
Struct
summaryResponse
internal/proxy/echo.go:54
Struct
tarpitHandler
tarpitHandler serves slow drip responses to frustrate scanners.
internal/proxy/tarpit.go:82
Struct
tlsInfo
internal/proxy/echo.go:34
Struct
whenBlock
internal/rules/hcl.go:116