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
Function
newBaseHandler
(pctx context.Context, proto string, r dnsx.Resolver, px ipn.ProxyProvider, l FlowListener)
intra/common.go:105
↓ 3 callers
Function
newBasicProxy
(id, addr string, ctx context.Context, c protect.Controller, px ProxyProvider)
intra/ipn/base.go:46
↓ 3 callers
Function
newIPv4Server
(t *testing.T)
intra/ipn/pxclient_test.go:95
↓ 3 callers
Function
newTransport
(pctx context.Context, id string, do *settings.DNSOptions, px ipn.ProxyProvider)
intra/dns53/upstream.go:89
↓ 3 callers
Method
ok
returns true if the responder is enabled and debug mode is on.
intra/netstack/icmpecho.go:58
↓ 3 callers
Method
ok
ok returns true if a is readable or fresh.
intra/core/connpool.go:400
↓ 3 callers
Method
pid
()
intra/rnet/socks5.go:233
↓ 3 callers
Method
pin
pin pins uid+ipp to proxy p, if healthy, and returns error on failure.
intra/ipn/proxies.go:723
↓ 3 callers
Method
pinID
pinID pins uid+ipp to proxy id, if found, and returns the proxy. Returns error on proxy not found or if the proxy is not healthy.
intra/ipn/proxies.go:713
↓ 3 callers
Method
prepare
(fd *fds)
intra/netstack/fdbased.go:65
↓ 3 callers
Method
purge
(cc string)
intra/ipn/rpn.go:506
↓ 3 callers
Method
reinit
(typ, ipOrUrl, ips string)
intra/bootstrap.go:56
↓ 3 callers
Method
relegateLocked
relegateLocked moves v (expaddr) into past under key k, merging with an existing entry if still within stale threshold.
intra/dnsx/alg.go:465
↓ 3 callers
Method
relegateLocked
relegateLocked moves v (expdomains) into past under key k, merging with an existing entry if still within stale threshold.
intra/dnsx/alg.go:834
↓ 3 callers
Method
removeOne
(uid string)
intra/dnscrypt/multiserver.go:568
↓ 3 callers
Method
removeProxy
(id string, force bool)
intra/ipn/proxies.go:415
↓ 3 callers
Method
revmap
(hostOrIP string, new *IPSet, old *IPSet)
intra/protect/ipmap/ipmap.go:536
↓ 3 callers
Function
runtime_environ
go:linkname runtime_environ runtime.environ
intra/core/runtime/overreach.go:144
↓ 3 callers
Method
safeLoad
()
intra/core/volatile.go:30
↓ 3 callers
Method
secipsFor
secondary ip by a given tid+uid pair
intra/dnsx/alg.go:315
↓ 3 callers
Method
sendObsMsg
sendObsMsg delivers (op, err) to the observer goroutine via a channel. It never blocks: the caller returns immediately after the send.
intra/ipn/wg/wgconn.go:462
↓ 3 callers
Function
shortfile
shortfile strips the last path component from a file path.
intra/log/logger.go:879
↓ 3 callers
Function
skipInternalCache
(tids ...string)
intra/dnsx/transport.go:1679
↓ 3 callers
Function
stamp
()
intra/core/version.go:30
↓ 3 callers
Function
stamp2str
(s stamps.ServerStamp)
intra/dnscrypt/multiserver.go:730
↓ 3 callers
Method
start
()
intra/core/hangover.go:26
↓ 3 callers
Function
timedout
(err error)
intra/ipn/wg/wgconn.go:814
↓ 3 callers
Function
tr2csv
(activeOnly bool, ts []Transport)
intra/dnsx/transport.go:1699
↓ 3 callers
Function
trimcsv
(s string)
intra/dnsx/transport.go:1714
↓ 3 callers
Function
truncate2k
(b []byte)
intra/ipn/rpn/yegor.go:2708
↓ 3 callers
Method
tunid
tunid returns a unique identifier (usually current tun fd); used for diagnostics only.
intra/netstack/forwarders.go:223
↓ 3 callers
Function
udpSummary
(id, uid string, src, dst netip.Addr)
intra/listener.go:141
↓ 3 callers
Method
unmapHop
(hop x.Proxy, orig x.Proxy, dryrun bool)
intra/ipn/proxies.go:971
↓ 3 callers
Method
untrackBatchLocked
(cidsOrUidsOrPids []string)
intra/core/connmap.go:263
↓ 3 callers
Method
updateHttpClientsFor
updateHttpClientsFor only updates non-nil http clients dialing via Proxy p.
intra/doh/doh.go:471
↓ 3 callers
Function
vals
(m map[K]V, upto uint)
intra/dnsx/alg.go:286
↓ 3 callers
Function
waitForViaHandshake
()
intra/ipn/wgproxy.go:308
↓ 3 callers
Function
wgIfConfigOf
(id string, txtptr *string)
intra/ipn/wgproxy.go:582
↓ 3 callers
Function
wsErr2
(res *http.Response, op string)
intra/ipn/rpn/yegor.go:1435
↓ 2 callers
Function
AAAAAnswer
(msg *dns.Msg)
intra/xdns/dnsutil.go:1074
↓ 2 callers
Function
AAnswer
(msg *dns.Msg)
intra/xdns/dnsutil.go:1057
↓ 2 callers
Function
AQuadAForQuery
(q *dns.Msg, ips ...netip.Addr)
intra/xdns/dnsutil.go:681
↓ 2 callers
Function
AddIPMapper
AddIPMapper adds or removes the IPMapper.
intra/dns53/ipmapper.go:53
↓ 2 callers
Method
AddProxy
Add adds a proxy to this multi-transport. "id" is a free-form unique identifier for this proxy, except: "id" for WireGuard proxies must be prefixed wi
intra/backend/ipn_proxies.go:323
↓ 2 callers
Method
AddResolver
(r string)
intra/x64/dns64.go:149
↓ 2 callers
Function
AddTransport
AddTransport creates and adds a dnscrypt transport to p
intra/dnscrypt/multiserver.go:764
↓ 2 callers
Function
AnnounceUDP
AnnounceUDP announces the local address. network must be "udp" or "udp4" or "udp6".
intra/protect/xdial.go:295
↓ 2 callers
Function
AnyAddrForUDP
(ipp netip.AddrPort)
intra/ipn/proxy.go:550
↓ 2 callers
Function
AsMsg2
(packet []byte)
intra/xdns/dnsutil.go:44
↓ 2 callers
Method
At
At runs f at time t; accepts a Context to cancel it.
intra/core/sched.go:122
↓ 2 callers
Method
Attach
(dispatcher stack.NetworkDispatcher)
intra/netstack/seamless.go:280
↓ 2 callers
Function
Await1
(f func() T, until time.Duration)
intra/core/async.go:337
↓ 2 callers
Method
BufSize
BufSize returns the byte size of each shared-memory region. Pass this value to the external reader (e.g. via Console.LogMemFD) so it knows how large
intra/log/memconsole.go:438
↓ 2 callers
Function
C
C logs the stack trace of the current goroutine to Console.
intra/log/log.go:214
↓ 2 callers
Function
CanUseProxy
CanUseProxy returns true if transport with id can be safely proxied over another network. For example, Goos, Local, System cannot be. Preset is a tran
intra/dnsx/transport.go:1598
↓ 2 callers
Function
Categorize
(ts []Transport)
intra/dnsx/transport.go:1411
↓ 2 callers
Function
ChooseHealthyProxy
(who, proto string, ipps []netip.AddrPort, pids []string, px ipn.ProxyProvider)
intra/dnsx/alg.go:2479
↓ 2 callers
Method
Clear
Clears the trie.
intra/backend/core_iptree.go:56
↓ 2 callers
Method
Clear
Clear untracks all conns.
intra/core/connmap.go:34
↓ 2 callers
Method
Close
()
intra/netstack/seamless.go:368
↓ 2 callers
Method
Close
Close implements WgProxy
intra/ipn/wgproxy.go:239
↓ 2 callers
Function
CloseTCP
CloseTCP closes c.
intra/core/closer.go:45
↓ 2 callers
Function
ComputePaddingSize
Compute the number of padding bytes needed, excluding headers.
intra/xdns/dnsutil.go:527
↓ 2 callers
Function
Confirm
(hostOrIP string, addr netip.Addr)
intra/dialers/ips.go:135
↓ 2 callers
Method
Connect
(r *tx.Request, w *net.TCPConn)
intra/rnet/socks5.go:501
↓ 2 callers
Function
CryptoPrefix
(nopki, ech bool)
intra/dnsx/transport.go:1718
↓ 2 callers
Function
DebugLog
(y bool)
intra/netstack/seamless.go:110
↓ 2 callers
Method
Debugf
(at int, msg string, args ...any)
intra/log/logger.go:62
↓ 2 callers
Method
Del
(h *MH)
intra/ipn/multihost/map.go:131
↓ 2 callers
Function
Dial
Dial dials into addr using the provided dialer and returns a net.Conn, which is guaranteed to be either net.UDPConn or net.TCPConn
intra/dialers/rdial.go:144
↓ 2 callers
Function
DialPingAddr
(s *stack.Stack, nic tcpip.NICID, laddr, raddr netip.Addr)
intra/netstack/icmpconn.go:73
↓ 2 callers
Function
Disconfirm
Disconfirm unmarks addr as preferred for hostOrIP
intra/dialers/ips.go:154
↓ 2 callers
Method
Disconnect
Disconnect disconnects the tunnel.
tunnel/tunnel.go:53
↓ 2 callers
Method
Disconnect
()
tunnel/tunnel.go:148
↓ 2 callers
Function
DnsIPPort
(s string)
intra/xdns/common.go:277
↓ 2 callers
Method
DstIP
()
intra/ipn/wg/wgconn2.go:212
↓ 2 callers
Function
Echo
(pc net.PacketConn, pkt []byte, dst net.Addr, v4 bool)
intra/core/ping.go:120
↓ 2 callers
Function
EitherOr
(either <-chan struct{}, or Callback, until time.Duration)
intra/core/async.go:352
↓ 2 callers
Method
Endpoints
()
intra/ipn/multihost/map.go:42
↓ 2 callers
Method
EntitlementFrom
EntitlementFrom returns the RpnEntitlement represented by entitlementOrStateJson. `did` is the device identifier to use for this entitlement, if appli
intra/backend/ipn_proxies.go:201
↓ 2 callers
Method
EqualAddrs
(other *MH)
intra/ipn/multihost/multihost.go:423
↓ 2 callers
Method
Esc
Removes value v, if found.
intra/backend/core_iptree.go:28
↓ 2 callers
Method
FDs
FDs returns the raw file descriptor integers for the two shared buffers backed by memfd. The receiver must use dup(2) fds to own these fds.
intra/log/memconsole.go:185
↓ 2 callers
Method
FetchServers
FetchServers reports whether the server-list fetch should be forced.
intra/backend/ipn_proxies.go:167
↓ 2 callers
Function
FindUnique
returns unique strings in n not in s as new array
intra/xdns/common.go:192
↓ 2 callers
Method
FixedBlind
(message, salt []byte, r, rInv *big.Int)
intra/core/brsa/brsa.go:144
↓ 2 callers
Function
FmtSecs
(s int64)
intra/core/fmtstr.go:71
↓ 2 callers
Function
FmtTimeNs
(ns uint64)
intra/core/fmtstr.go:32
↓ 2 callers
Function
FmtWithSep
FmtWithSep formats a uint64 with one byte separators every 3 digits (e.g. 1234567 -> "1,234,567").
intra/core/runmet.go:195
↓ 2 callers
Method
Fork
Fork adds proxy for country code, cc.
intra/backend/ipn_proxies.go:251
↓ 2 callers
Method
FullUrl
FullUrl returns the full url with auth.
intra/settings/proxyopts.go:93
↓ 2 callers
Method
Gateway
special purpose pre-defined transports: Gateway implements a DNS ALG transport
intra/dnsx/transport.go:186
↓ 2 callers
Function
Generate
Generate generates a new packet with the given Header and payload. This function allocates memory, see Header.Marshal for an allocation-free option.
intra/core/wire/header.go:64
↓ 2 callers
Method
GetAddr
GetAddr returns the address of this proxy.
intra/backend/ipn_proxies.go:230
↓ 2 callers
Method
GetAddr
()
intra/dns53/errorer.go:64
↓ 2 callers
Method
GetAddr
()
intra/rnet/http.go:348
↓ 2 callers
Method
GetAddr
()
intra/rnet/socks5.go:180
↓ 2 callers
Method
GetAny
Returns the route@csv(value) of any route matching cidr or "".
intra/backend/core_iptree.go:40
↓ 2 callers
Method
GetInternal
(id string)
intra/dnsx/transport.go:429
↓ 2 callers
Method
GetInternal
(cc string)
intra/ipn/rpn.go:27
← previous
next →
701–800 of 3,609, ranked by callers