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
↓ 2 callers
Function
tlsHello
(c net.Conn, cfg *tls.Config, addr string)
intra/dialers/rdial.go:210
↓ 2 callers
Method
toPool
toPool takes ownership of c.
intra/dns53/dot.go:248
↓ 2 callers
Method
toPool
toPool takes ownership of c.
intra/dns53/upstream.go:198
↓ 2 callers
Function
toUnmappedAddr
(ip net.IP)
intra/netstat/procfs.go:261
↓ 2 callers
Function
token
()
intra/backend/ipn_pipkeygen.go:584
↓ 2 callers
Method
tokenState
()
intra/ipn/rpn/yegor.go:1688
↓ 2 callers
Method
tooyoung
()
intra/ipn/wgproxy.go:364
↓ 2 callers
Method
trackLocked
trackLocked is the non-locking version of track, called when lock is already held
intra/dns53/mdns.go:642
↓ 2 callers
Method
tryConnect
()
intra/netstack/tcp.go:177
↓ 2 callers
Method
undoAlgAndOrNat64
(ip64 []netip.Addr, tid, uid string)
intra/dns53/ipmapper.go:355
↓ 2 callers
Function
unit4int
(v uint64, u metricUnit)
intra/core/runmet.go:177
↓ 2 callers
Method
unregisterRpn
(provider string)
intra/ipn/proxies.go:1367
↓ 2 callers
Function
updateV4PacketChecksums
updateV4PacketChecksums updates the checksums in the packet buffer. Currently (2023-03-01) only TCP/UDP/ICMP over IPv4 is supported. p is modified in
intra/core/wire/xsum.go:83
↓ 2 callers
Function
updateV6PacketChecksums
updateV6PacketChecksums updates the checksums in the packet buffer. p is modified in place. If p.IPProto is unknown, no checksums are updated.
intra/core/wire/xsum.go:124
↓ 2 callers
Function
use4
(l3 string)
intra/dns53/mdns.go:86
↓ 2 callers
Function
use6
(l3 string)
intra/dns53/mdns.go:95
↓ 2 callers
Method
v
()
intra/log/logger.go:153
↓ 2 callers
Method
vaccumLocked
vaccumLocked removes stale entries from past, limiting to maxVaccumIterCount.
intra/dnsx/alg.go:478
↓ 2 callers
Method
vaccumLocked
vaccumLocked removes stale entries from past, limiting to maxVaccumIterCount.
intra/dnsx/alg.go:847
↓ 2 callers
Function
verifyMatch
(t *testing.T, conn hasSyscallConn, p *fakeProtector)
intra/protect/protect_test.go:40
↓ 2 callers
Method
viaCanRoute
(via Proxy, dryrun bool)
intra/ipn/wgproxy.go:1848
↓ 2 callers
Function
withPresetSummary
(smm *x.DNSSummary, reqSent, fixed bool)
intra/dnsx/alg.go:2575
↓ 2 callers
Method
wrapup
(prev *fds, ttl time.Duration)
intra/netstack/fdbased.go:67
↓ 2 callers
Function
writeTCPSplit
(w net.Conn, hello []byte)
intra/dialers/op.go:71
↓ 2 callers
Function
wsBriefPauseBeforeRetry
()
intra/ipn/rpn/yegor.go:2677
↓ 2 callers
Function
wsRandomPort
()
intra/ipn/rpn/yegor.go:1554
↓ 2 callers
Method
xAddr
xAddr translates ip6 to IPv4 discarding prefix64. If prefix64 or ip6 is not valid, it returns zerovalueaddr. If ip6 is unspecified, it returns unspeci
intra/x64/nat64.go:31
↓ 1 callers
Function
AName
(ans dns.RR)
intra/xdns/dnsutil.go:154
↓ 1 callers
Function
AQuadAAnswers
(msg *dns.Msg)
intra/xdns/dnsutil.go:1038
↓ 1 callers
Method
Abort
Abort aborts the connection by sending a RST segment.
intra/netstack/tcp.go:337
↓ 1 callers
Function
AcceptTCP
AcceptTCP creates a listener on localaddr. network must be "tcp" or "tcp4" or "tcp6".
intra/protect/xdial.go:315
↓ 1 callers
Function
ActiveWorkers
ActiveWorkers returns a snapshot of all goroutines currently running inside async.go helpers (Go, Gx, Gg, Grx, etc.).
intra/core/async.go:20
↓ 1 callers
Method
Add
Add appends to the existing list of IPs, hostnames, and hostname's IPs if resolved.
intra/ipn/multihost/multihost.go:273
↓ 1 callers
Method
Add64
Add64 registers DNS64 resolver f to id.
intra/dnsx/x64.go:29
↓ 1 callers
Function
AddEDNS0PaddingIfNoneFound
(msg *dns.Msg)
intra/xdns/dnsutil.go:543
↓ 1 callers
Method
AddGateways
AddGateways adds relay servers
intra/dnscrypt/multiserver.go:528
↓ 1 callers
Function
AddRelayTransport
AddRelayTransport creates and adds a relay server to p
intra/dnscrypt/multiserver.go:784
↓ 1 callers
Function
All
(who string, timeout time.Duration, fs ...WorkCtx[T])
intra/core/async.go:251
↓ 1 callers
Method
All
()
intra/ipn/multihost/map.go:29
↓ 1 callers
Method
AnnounceUDP
AnnounceUDP announces the local address. network must be "udp" or "udp4" or "udp6". Helper method for d.Announce("udp", local)
intra/protect/xdial.go:290
↓ 1 callers
Function
AsPipMsg
AsPipMsg typecast m to PipMsg. m must be a 64 bytes hex string (32b for msg + 32b for opaque-id). Returns nil if the string m is nil or not a valid Pi
intra/backend/ipn_pipkeygen.go:101
↓ 1 callers
Method
Attach
Attach launches the goroutine that reads packets from the file descriptor and dispatches them via the provided dispatcher.
intra/netstack/fdbased.go:320
↓ 1 callers
Function
AutoActive
backend.Auto is effecively not active.
intra/settings/proxyopts.go:159
↓ 1 callers
Method
AutoActive
AutoActive returns true if any of the RPN proxies are in-use by ipn.Auto.
intra/ipn/proxies.go:208
↓ 1 callers
Function
AutoModeStr
()
intra/settings/proxyopts.go:149
↓ 1 callers
Method
BatchSize
BatchSize implements tun.Device.
intra/ipn/wgproxy.go:1316
↓ 1 callers
Method
Bind4
Bind4 binds fd to any IPv4 interface that will route addrport.
intra/backend/protect.go:40
↓ 1 callers
Method
Bind6
Bind6 binds fd to any IPv6 interface that will route addrport. also: github.com/lwip-tcpip/lwip/blob/239918c/src/core/ipv6/ip6.c#L68
intra/backend/protect.go:43
↓ 1 callers
Method
Blind
Blind generates id:blindMsg:blindingFactor:salt:msg id is a 64 byte hmac tying blindMsg to the public key blindMsg is a 256 byte blinded message blind
intra/backend/ipn_pipkeygen.go:65
↓ 1 callers
Method
Break
()
intra/core/hangover.go:36
↓ 1 callers
Method
Bridge
(serverid, proxyid string)
intra/rnet/servers.go:113
↓ 1 callers
Function
BuildInfo
()
intra/core/version.go:42
↓ 1 callers
Function
BustAndroidCacheIfNeeded
Bust cache as needed and if ans is not authenticated.
intra/xdns/common.go:143
↓ 1 callers
Function
CPUProfile
CPUProfile starts a program-wide CPU profiler for durationSecs seconds (clamped to [10, 120]). The CPU profile is written to outproffile, and the flig
intra/core/prof.go:43
↓ 1 callers
Function
CachedAddrs
CachedAddrs returns addresses for hostOrIP from cache. Use Resolve() to bypass cache.
intra/dialers/ips.go:108
↓ 1 callers
Method
Cas
(old, new T)
intra/core/volatileflow.go:185
↓ 1 callers
Method
ChallengeResponse
ChallengeResponse returns the content of the "Proxy-Authenticate" response header, that has been chose as response to "Proxy-Authorization" request he
intra/ipn/h1/auth.go:35
↓ 1 callers
Function
ChangeBufferSizes
(c MinConn, rsz, wsz int)
intra/core/sockopt.go:162
↓ 1 callers
Method
ChangesConfig
ChangesConfig reports whether this RpnOps would cause a change in wg config if applied to override "other".
intra/backend/ipn_proxies.go:187
↓ 1 callers
Function
Clear
()
intra/dialers/ips.go:123
↓ 1 callers
Method
Clear
Clears the trie.
intra/backend/core_radixtree.go:36
↓ 1 callers
Method
Clear
Clear deletes all keys and returns the number of keys deleted.
intra/core/expiringmap.go:232
↓ 1 callers
Method
Clear
Clear removes all IPSets from the map.
intra/protect/ipmap/ipmap.go:133
↓ 1 callers
Function
CloneA
(base dns.RR, ip4 netip.Addr)
intra/xdns/dnsutil.go:1245
↓ 1 callers
Function
CloneAAAA
(base dns.RR, ip6 netip.Addr)
intra/xdns/dnsutil.go:1265
↓ 1 callers
Method
Close
()
intra/ipn/wg/wgconn2.go:629
↓ 1 callers
Method
Close
()
intra/ipn/wg/wgconn.go:481
↓ 1 callers
Method
CloseConns
CloseConns implements netstack.GBaseConnHandler
intra/common.go:409
↓ 1 callers
Method
CloseConns
Close connections by pid, cid, uid.
intra/tunnel.go:110
↓ 1 callers
Function
CloseFD
(fd int)
intra/core/closer.go:33
↓ 1 callers
Method
CloseRead
()
intra/ipn/piph2.go:106
↓ 1 callers
Method
CloseRead
CloseRead closes r.conn for reads, and the read flag.
intra/dialers/retrier.go:464
↓ 1 callers
Function
CloseUDP
CloseUDP closes c.
intra/core/closer.go:38
↓ 1 callers
Method
CloseWrite
()
intra/ipn/piph2.go:107
↓ 1 callers
Method
CloseWrite
CloseWrite closes r.conn for writes, the write flag.
intra/dialers/retrier.go:862
↓ 1 callers
Method
Closed
()
intra/ipn/wgproxy.go:177
↓ 1 callers
Method
Conf
(key string)
intra/ipn/rpn/cfg.go:58
↓ 1 callers
Function
Confirm3
Confirm3 marks addr as preferred for hostOrIP
intra/dialers/ips.go:131
↓ 1 callers
Function
Confirmed
(hostOrIP string)
intra/dialers/ips.go:100
↓ 1 callers
Function
Connect
Connect creates firestack-administered tunnel. `fd` is the TUN device. The tunnel acquires an additional reference to it, which is released by Disconn
intra/tun2socks.go:160
↓ 1 callers
Method
Connect
Connect connects the proxy server; thread-safe.
intra/udp.go:200
↓ 1 callers
Function
Connect2
Connect2 is like Connect, but assumes defaults for linkmtu, ifaddrs, and fakedns as -1, ["10.111.222.1/24", "fd66:f83a:c650::0/120"], and ["10.111.222
intra/tun2socks.go:170
↓ 1 callers
Function
ConsoleReady
(ctx context.Context)
intra/log/log.go:100
↓ 1 callers
Method
ConsoleReady
(ctx context.Context)
intra/log/logger.go:57
↓ 1 callers
Method
Consumed
()
intra/log/memconsole.go:418
↓ 1 callers
Function
ConvertHashFunction
ConvertHashFunction converts a crypto.Hash function to an equivalent hash.Hash type.
intra/core/brsa/common.go:37
↓ 1 callers
Function
CopyAns
(a *dns.Msg)
intra/xdns/dnsutil.go:583
↓ 1 callers
Method
Created
Created implements x.RpnAcc.
intra/ipn/rpn/yegor.go:1004
↓ 1 callers
Function
Csv2Netip
(csv string)
intra/dnsx/alg.go:1633
↓ 1 callers
Function
D2
(at int, msg string, args ...any)
intra/log/log.go:258
↓ 1 callers
Method
D64
D64 synthesizes ans64 (AAAA) from ans6 if required, using resolver f. Returned ans64 is nil if no DNS64 synthesis is needed (not AAAA). Returned ans64
intra/dnsx/x64.go:37
↓ 1 callers
Method
Debugf
(at int, msg string, args ...any)
intra/log/logger.go:461
↓ 1 callers
Method
DecodeTrunc
(b []byte, trunc bool)
intra/core/wire/parsed.go:155
↓ 1 callers
Function
DecryptAndCheck
DecryptAndCheck checks that the private key operation is consistent (fault attack detection).
intra/core/brsa/common.go:98
↓ 1 callers
Function
DefaultTunMode
DefaultTunMode returns a new default TunMode with IP-only DNS capture and replay (not all DNS traffic but only the DNS traffic sent to [tcp/udp]handle
intra/settings/tunopts.go:110
↓ 1 callers
Method
DeliverNetworkPacket
(protocol tcpip.NetworkProtocolNumber, pkt *stack.PacketBuffer)
intra/netstack/seamless.go:299
↓ 1 callers
Method
Dial
Dial implements Proxy.
intra/ipn/http1.go:99
↓ 1 callers
Method
Dial
(network, addr string)
intra/ipn/pxclient_test.go:43
↓ 1 callers
Function
DialAny
(ds []protect.RDialer, laddr, raddr net.Addr)
intra/dialers/retrier.go:198
↓ 1 callers
Function
DialBind
(d *protect.RDial, network, local, remote string)
intra/dialers/rdial.go:155
← previous
next →
1,201–1,300 of 3,609, ranked by callers