Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celzero/firestack
/ functions
Functions
3,609 in github.com/celzero/firestack
⨍
Functions
3,609
◇
Types & classes
485
↓ 3 callers
Method
Seed
Returns bootstrap ips or ip:ports.
intra/protect/ipmap/ipmap.go:635
↓ 3 callers
Method
Set
()
intra/ipn/wg/amnezia.go:66
↓ 3 callers
Function
SetAutoDialsParallel
SetAutoDialsParallel puts backend.Auto in parallel-dial mode if y is true. That is, backend.Auto will dial all (available) RPN proxies in parallel.
intra/settings/proxyopts.go:169
↓ 3 callers
Function
SetAutoMode
SetAutoMode sets the global AutoMode variable to m. Indicates if backend.Auto proxy is in local, remote, or hybrid mode.
intra/settings/proxyopts.go:143
↓ 3 callers
Function
SetConsole
SetConsole sets external console to redirect log output to.
intra/log/log.go:109
↓ 3 callers
Method
SetMTU
(mtu uint32)
intra/netstack/fdbased.go:577
↓ 3 callers
Function
ShuffleInPlace
(c []T)
intra/core/slices.go:47
↓ 3 callers
Function
Size
(msg *dns.Msg)
intra/xdns/dnsutil.go:1413
↓ 3 callers
Function
SplitDial
SplitDial dials into addr splitting the first segment to two if the first connection is unsuccessful, using settings.DialStrategy. Returns a net.Conn,
intra/dialers/rdial.go:151
↓ 3 callers
Method
Start
Start starts the server.
intra/backend/rnet_services.go:39
↓ 3 callers
Method
Stat
Stat returns EpStat (fd, age, read, written, lastRead, lastWrite).
intra/netstack/seamless.go:29
↓ 3 callers
Method
SvcRoute
SvcRoute decides how to forward an incoming connection over service (sid).
intra/backend/rnet_services.go:89
↓ 3 callers
Method
Tango
Tango retrieves old value and loads in new non-atomically. If a is nil, returns zero value. If new is nil, returns zero value; and sets a to NewZeroVo
intra/core/volatile.go:128
↓ 3 callers
Function
TranslateRecords
(ansin *dns.Msg, typ uint16, translate func(dns.RR) (x []dns.RR, stop bool))
intra/xdns/dnsutil.go:853
↓ 3 callers
Method
Transport
Transport returns the transport header and payload (IP subprotocol, such as TCP or UDP). This is a read-only view; that is, p retains the ownership of
intra/core/wire/parsed.go:498
↓ 3 callers
Method
TryWait
TryWait waits until signalled, or until max time has elapsed. It returns true if signal fires, false if timeout elapsed. If already signalled, it retu
intra/core/sigcond.go:57
↓ 3 callers
Function
WE
(msg string, args ...any)
intra/log/log.go:177
↓ 3 callers
Method
X
given an alg or real ip, retrieves assoc real ips as csv, if any
intra/dnsx/alg.go:94
↓ 3 callers
Function
aaaaquery
(d string)
intra/dns53/dot_test.go:760
↓ 3 callers
Method
add
add adds the nat64 prefixes to the dns64 map; thread-safe.
intra/x64/dns64.go:357
↓ 3 callers
Method
addLocked
(k K)
intra/core/barrier.go:213
↓ 3 callers
Function
addrs
TODO: handle HTTPS/SVCB
intra/dns53/ipmapper.go:403
↓ 3 callers
Method
all
()
intra/dnsx/transport.go:1122
↓ 3 callers
Function
brand
(sz int)
intra/backend/ipn_pipkeygen.go:593
↓ 3 callers
Method
cacheKey
cacheKey returns the key used for pool lookups. Note: UID and INode are intentionally excluded because lookups are performed by 5-tuple (protocol, src
intra/netstat/procfs.go:114
↓ 3 callers
Function
cachedTransport
(t Transport)
intra/dnsx/transport.go:1767
↓ 3 callers
Method
candial
()
intra/rnet/socks5.go:244
↓ 3 callers
Function
cantProxyH3
(id string)
intra/ipn/proxies.go:1519
↓ 3 callers
Function
changeport
(endpoint, newPort string)
intra/ipn/rpn/regional.go:216
↓ 3 callers
Function
chooseAny
(s []T)
intra/dnscrypt/multiserver.go:88
↓ 3 callers
Method
clear
()
intra/protect/ipmap/ipmap.go:847
↓ 3 callers
Function
clos
(fd int)
intra/netstack/fds.go:151
↓ 3 callers
Function
closePipe
(ps ...io.Closer)
intra/ipn/piph2.go:558
↓ 3 callers
Method
closeWriteDown
()
intra/dialers/retrier_test.go:132
↓ 3 callers
Function
closeWs
(ws *websocket.Conn, reason string)
intra/ipn/pipws.go:458
↓ 3 callers
Function
commondial
(d D, network, addr string, connect dialFn[D, C])
intra/dialers/cdial.go:58
↓ 3 callers
Function
conn2str
(a net.Conn, b net.Conn)
intra/common.go:795
↓ 3 callers
Method
connect
(network, pid string)
intra/dns53/upstream.go:228
↓ 3 callers
Method
consoleQueue
consoleQueue sends msg m to l.msgC, dropping if full.
intra/log/logger.go:431
↓ 3 callers
Function
containsPid
(pids []string, pid string)
intra/common.go:833
↓ 3 callers
Method
deadlines
()
intra/rwconn.go:100
↓ 3 callers
Method
determineTransport
(id string)
intra/dnsx/transport.go:829
↓ 3 callers
Method
dialAlways
(p Proxy, network, local, remote string)
intra/ipn/auto.go:525
↓ 3 callers
Method
dialIfHealthy
(p Proxy, network, local, remote string)
intra/ipn/auto.go:536
↓ 3 callers
Method
dialLocked
dialLocked establishes a new connection to r.raddr and closes existing, if any. Sets r.conn on non-errors and timeout as calculated from round-trip ti
intra/dialers/retrier.go:324
↓ 3 callers
Function
dialtls
(d D, cfg *tls.Config, network, local, remote string, how dialFn[D, *net.Conn])
intra/dialers/rdial.go:173
↓ 3 callers
Function
encrypt
(c *big.Int, N *big.Int, e *big.Int, m *big.Int)
intra/core/brsa/rsa.go:68
↓ 3 callers
Function
estr
(err error)
intra/ipn/wgproxy.go:1986
↓ 3 callers
Function
extend
(c core.MinConn, t time.Duration)
intra/common.go:853
↓ 3 callers
Function
extend
(c net.PacketConn, t time.Duration)
intra/dns53/mdns.go:655
↓ 3 callers
Function
extendr
(c core.MinConn, t time.Duration)
intra/common.go:863
↓ 3 callers
Function
extendw
(c core.MinConn, t time.Duration)
intra/common.go:873
↓ 3 callers
Function
fhash
xor fold fnv to 48 bits: www.isthe.com/chongo/tech/comp/fnv
intra/log/logger.go:349
↓ 3 callers
Method
flattenKids
()
intra/ipn/rpn.go:630
↓ 3 callers
Method
flowing
(smm *FlowSummary)
intra/common.go:791
↓ 3 callers
Function
fmtTime
(t time.Time)
intra/ipn/rpn/cfg.go:187
↓ 3 callers
Method
fmtmsg
(lvl LogLevel, f string, args ...any)
intra/log/logger.go:604
↓ 3 callers
Function
fname
(f *os.File)
intra/tun2socks.go:479
↓ 3 callers
Function
fname
(f *os.File)
intra/core/dontpanic.go:234
↓ 3 callers
Method
fork
cc may be a fully qualified ID (in case of re-forking the main proxy), too.
intra/ipn/rpn.go:312
↓ 3 callers
Method
fresherThan
(b expaddr)
intra/dnsx/alg.go:174
↓ 3 callers
Function
fullAddrFrom
(nic tcpip.NICID, ipp netip.AddrPort)
intra/netstack/icmpconn.go:227
↓ 3 callers
Method
get
(hostOrIP string, typ IPSetType)
intra/protect/ipmap/ipmap.go:376
↓ 3 callers
Method
getLocked
(k K)
intra/core/barrier.go:192
↓ 3 callers
Function
getProcNetEntryFromPool
(p *ProcNetEntry)
intra/netstat/procfs.go:357
↓ 3 callers
Method
getRdnsLocal
()
intra/dnsx/wall.go:31
↓ 3 callers
Method
getRelay
()
intra/dnscrypt/servers.go:433
↓ 3 callers
Method
getStamp
()
intra/dnsx/rethinkdns.go:165
↓ 3 callers
Method
getVia
()
intra/ipn/wgproxy.go:853
↓ 3 callers
Function
getaddrstr
(t Transport)
intra/dnsx/alg.go:2610
↓ 3 callers
Method
h2
(cfg *tls.Config)
intra/ipn/pipws.go:252
↓ 3 callers
Function
hasroute
(p Proxy, ipp string)
intra/ipn/proxy.go:702
↓ 3 callers
Function
httpClient
(p Proxy, network string, httpTimeout time.Duration)
intra/ipn/pxclient.go:592
↓ 3 callers
Method
inc
()
intra/log/logger.go:158
↓ 3 callers
Function
invalidProcNetEntry
(p *ProcNetEntry)
intra/netstat/procfs.go:328
↓ 3 callers
Function
isAnyFixed
(ids ...string)
intra/dnsx/transport.go:1569
↓ 3 callers
Function
isDigit
(b byte)
intra/dnscrypt/certs.go:180
↓ 3 callers
Function
isInternal
(id string)
intra/ipn/proxies.go:1507
↓ 3 callers
Function
key4
(name string, oth ...string)
intra/dns53/ipmapper.go:394
↓ 3 callers
Function
key6
(name string, oth ...string)
intra/dns53/ipmapper.go:398
↓ 3 callers
Method
latest
()
intra/dnsx/plus.go:113
↓ 3 callers
Function
loadIPNets
(id string, out *[]netip.Prefix, v string)
intra/ipn/wgproxy.go:756
↓ 3 callers
Function
localDialStrat
(d *protect.RDial, network, local, remote string)
intra/ipn/proxies.go:1543
↓ 3 callers
Method
locallookup
locallookup resolves on dnsx.Default and then on dnsx.System or dnsx.Goos if dnsx.Default fails.
intra/dns53/ipmapper.go:270
↓ 3 callers
Method
log
(y bool)
tunnel/sink.go:107
↓ 3 callers
Function
loge
(err error)
intra/ipn/rpn/yegor.go:2681
↓ 3 callers
Function
logei
(err error)
intra/common.go:895
↓ 3 callers
Function
logeif
(cond bool)
intra/ipn/multihost/multihost.go:476
↓ 3 callers
Function
logwif
(cond bool)
intra/x64/dns64.go:445
↓ 3 callers
Method
lookupfor
lookupfor resolves q given a uid. If uid is protect.SelfUid, the client code (via DNSListener.OnQuery) may or may not choose dnsx.Default. If uid is a
intra/dns53/ipmapper.go:250
↓ 3 callers
Method
lookupon
lookupon always resolves on one of the chosen tids (if empty, it may or may not use dnsx.Default; see: dnsx.transport.go:determineTransport) uid may b
intra/dns53/ipmapper.go:261
↓ 3 callers
Method
loopAssoc
(smm *FlowSummary)
intra/common.go:455
↓ 3 callers
Method
loopDetected
(smm *FlowSummary)
intra/common.go:479
↓ 3 callers
Method
loopUnassoc
(smm *FlowSummary)
intra/common.go:492
↓ 3 callers
Function
looptrackerKey
TODO: loop tracker key must account for proto:ip:port not just proto:ip
intra/common.go:838
↓ 3 callers
Function
makeIPPorts
makeIPPorts returns a slice of valid, non-zero at most cap AddrPorts. The first element may be origipp AddrPort, if realips is empty or contains only
intra/common.go:607
↓ 3 callers
Function
match
match returns the first matching prefix for ip in nets.
intra/x64/natpt.go:172
↓ 3 callers
Function
maybeH3
(proto string, addr netip.AddrPort)
intra/ipn/proxies.go:1580
↓ 3 callers
Method
merge
(q *xips)
intra/dnsx/alg.go:527
↓ 3 callers
Function
netlistener
Creates a plain old listener
intra/protect/protect.go:279
← previous
next →
601–700 of 3,609, ranked by callers