MCPcopy Index your code
hub / github.com/celzero/firestack

github.com/celzero/firestack @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4,094 symbols 14,251 edges 204 files 1,792 documented · 44%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

firestack

Userspace firewall in go

Extension points exported contracts — how you extend this code

DNSTransport (Interface)
DNSTransport exports necessary methods from dnsx.Transport [12 implementers]
intra/backend/dnsx.go
TCPConn (Interface)
TCPConn abstracts a TCP connection coming from TUN. This connection should be handled by a registered TCP proxy handler. [8 …
intra/core/proto.go
IPMapper (Interface)
IPMapper is an interface for resolving hostnames to IP addresses. For internal used by firestack. [7 implementers]
intra/protect/ipmap/ipmap.go
Transport (Interface)
Transport represents a DNS query transport. This interface is exported by gobind, so it has to be very simple. [12 implementers]
intra/dnsx/transport.go
GEchoConnHandler (Interface)
(no doc) [6 implementers]
intra/netstack/hdl.go
DefaultDNS (Interface)
DefaultDNS is the resolver used by all dialers. [1 implementers]
intra/bootstrap.go
Tunnel (Interface)
Tunnel represents an Intra session. [1 implementers]
intra/tunnel.go
Logger (Interface)
originally: github.com/eycorsican/go-tun2socks/blob/301549c43/common/log/simple/logger.go [1 implementers]
intra/log/logger.go

Core symbols most depended-on inside this repo

Load
called by 441
intra/core/weakref.go
W
called by 365
intra/log/log.go
I
called by 298
intra/log/log.go
E
called by 255
intra/log/log.go
D
called by 221
intra/log/log.go
String
called by 220
intra/core/connmap.go
Store
called by 199
intra/core/volatile.go
Errorf
called by 164
intra/log/logger.go

Shape

Method 2,353
Function 1,256
Struct 315
Interface 99
TypeAlias 45
FuncType 26

Languages

Go100%

Modules by API surface

intra/dnsx/alg.go125 symbols
intra/backend/ipn_proxies.go104 symbols
intra/dnsx/transport.go102 symbols
intra/ipn/rpn/yegor.go101 symbols
intra/ipn/proxies.go100 symbols
intra/ipn/wgproxy.go96 symbols
intra/xdns/dnsutil.go84 symbols
intra/log/logger.go81 symbols
intra/protect/ipmap/ipmap.go60 symbols
intra/backend/core_iptree.go57 symbols
intra/ipn/rpn.go56 symbols
intra/common.go52 symbols

For agents

$ claude mcp add firestack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact