MCPcopy Create free account

hub / github.com/0x4D31/finch / types & classes

Types & classes63 in github.com/0x4D31/finch

↓ 2 callersTypeAliasAction
Action is the result of a matching rule.
internal/rules/action.go:4
StructAdminConfig
internal/config/config.go:34
StructAnd
internal/rules/hcl.go:29
StructCond
Cond wraps a matcher function.
internal/rules/hcl.go:52
StructConfig
Config represents the top-level configuration file.
internal/config/config.go:25
StructDefaults
Defaults holds optional values inherited by listeners.
internal/config/config.go:51
StructEngine
Engine evaluates incoming requests against loaded rules.
internal/rules/engine.go:12
StructEvent
internal/logger/jsonl.go:22
InterfaceExpr
New rule engine structures inspired by HCL based DSL. Expr represents a boolean expression node.
internal/rules/hcl.go:25
FuncTypeFieldGetter
FieldGetter returns zero or more values for a field.
internal/rules/hcl.go:73
StructGalahConfig
GalahConfig holds configuration for the Galah deception service.
internal/config/config.go:79
StructGalahInfo
GalahInfo holds details about a Galah-generated response.
internal/logger/jsonl.go:51
StructHub
Hub delivers published events to multiple subscribers.
internal/sse/hub.go:9
StructListenerConfig
ListenerConfig defines a single listener instance.
internal/config/config.go:61
StructLoader
Loader manages rule engines and Suricata rule sets.
cmd/finch/loader.go:20
StructLogger
Logger writes JSONL events to a file or stdout.
internal/logger/jsonl.go:60
FuncTypeOption
Option configures a Parser.
pkg/quic/clienthello.go:32
StructOr
internal/rules/hcl.go:40
StructOverrides
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
StructParser
Parser extracts ClientHello records from QUIC Initial packets.
pkg/quic/clienthello.go:55
StructRequestCtx
RequestCtx contains request metadata needed for rule evaluation.
internal/fingerprint/context.go:16
StructRule
Rule is a compiled rule from the HCL file.
internal/rules/hcl.go:59
StructRuleSet
RuleSet is a set of compiled rules.
internal/rules/hcl.go:70
StructRuleSetInfo
RuleSetInfo describes a rule file and the listeners referencing it.
internal/config/config.go:94
StructSSEConfig
internal/config/config.go:40
StructServer
Server wraps proxyserver.Server and holds minimal configuration.
internal/proxy/server.go:79
StructServer
Server exposes events over Server-Sent Events.
internal/sse/server.go:15
StructServer
Server exposes administrative endpoints.
internal/admin/server.go:27
StructSuricataConfig
internal/config/config.go:45
StructSuricataMatch
Event represents a single request log entry.
internal/logger/jsonl.go:17
StructTLSConfig
TLSConfig holds optional TLS certificate paths.
internal/config/config.go:73
StructTarpitConfig
TarpitConfig configures the tarpit handler.
internal/proxy/tarpit.go:20
StructbrokenWriter
internal/sse/server_test.go:42
StructcacheEntry
internal/proxy/cache.go:19
StructcliArgs
cmd/quic-chdump/main.go:36
StructconnKey
cmd/quic-chdump/main.go:30
StructconnState
pkg/quic/clienthello.go:92
StructcorsRecorder
internal/sse/server_test.go:98
StructcountingConn
countingConn wraps a net.Conn and counts the number of times Close is called.
internal/proxy/cache_test.go:17
StructdetailResponse
internal/proxy/echo.go:48
StructdummyModel
internal/proxy/server_test.go:42
StructdummyPacketConn
internal/proxy/http3_error_test.go:38
StructfailWriter
internal/proxy/echo_error_test.go:15
StructfailingBody
internal/proxy/server_test.go:1327
StructflushRecorder
internal/sse/server_test.go:87
InterfaceflusherErr
flusherErr wraps http.Flusher with an error-returning FlushErr.
internal/sse/flush.go:6
Structh3Server
internal/proxy/http3.go:165
StructhttpInfo
internal/proxy/echo.go:26
StructinspectConn
internal/proxy/http3.go:18
StructkeyModel
internal/proxy/server_test.go:52
StructlogRef
cmd/finch/runtime.go:47
Structmatcher
internal/rules/hcl.go:591
StructmdEntry
internal/proxy/http3.go:30
StructparsedFlags
parsedFlags groups additional command line options passed to the runtime.
cmd/finch/parsed_flags.go:4
StructproxyCache
proxyCache implements a basic LRU cache for HTTP handlers.
internal/proxy/cache.go:12
StructruleBlock
internal/rules/hcl.go:106
StructruleHandler
ruleHandler evaluates requests using the rule engine before forwarding.
internal/proxy/server.go:361
StructrulePos
internal/admin/rulefile.go:15
StructruntimeState
cmd/finch/runtime.go:33
StructsummaryResponse
internal/proxy/echo.go:54
StructtarpitHandler
tarpitHandler serves slow drip responses to frustrate scanners.
internal/proxy/tarpit.go:82
StructtlsInfo
internal/proxy/echo.go:34
StructwhenBlock
internal/rules/hcl.go:116