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
extractMDNSDomain
(qname string)
intra/xdns/dnsutil.go:1506
↓ 2 callers
Function
fakeBearer
fakeBearer generates a fake Windscribe-shaped Bearer token. Format: <9-digit-id>:1:<unix-epoch>:<42-hex-sig1>:<42-hex-sig2>
intra/ipn/pxclient.go:185
↓ 2 callers
Method
fetch
(pid string, req *http.Request)
intra/doh/doh.go:539
↓ 2 callers
Function
fetchIPMetadata
(p Proxy, network string)
intra/ipn/pxclient.go:124
↓ 2 callers
Method
file
(f io.WriteCloser)
tunnel/sink.go:89
↓ 2 callers
Function
filterFamilyForDialing
filterFamilyForDialing filters out invalid IPs and IPs that are not of the family that the dialer is configured to use.
intra/common.go:709
↓ 2 callers
Function
filterFamilyForDialingWithFailSafe
filterFamilyForDialingWithFailSafe filters out invalid IPs and IPs that are not of the family that the dialer is configured to use, and includes one e
intra/common.go:698
↓ 2 callers
Function
finalizeMH
(m *multihost.MHMap, currentPeer *multihost.MH)
intra/ipn/wgproxy.go:741
↓ 2 callers
Function
findProcNetEntryForProtocol
findProcNetEntryForProtocol parses /proc/net/* and return the line matching the argument five-tuple (protocol, source, sport, destination, dport) as N
intra/netstat/procfs.go:373
↓ 2 callers
Function
firstEmpty
(arr []string)
intra/dnsx/transport.go:1809
↓ 2 callers
Method
flagsToStamp
(flagscsv string, enctyp int)
intra/dnsx/rethinkdns.go:204
↓ 2 callers
Method
flood
flood c with random-sized, non-sense (unencrypted) packets. this is okay to do because wireguard silently drops packets that won't decrypt. github.com
intra/ipn/wg/wgconn.go:678
↓ 2 callers
Method
flow
(v T)
intra/core/volatileflow.go:22
↓ 2 callers
Function
fmtUnixMillis
(ms int64)
intra/ipn/rpn/cfg.go:183
↓ 2 callers
Method
fmtmsg2
(lvl LogLevel, t, f string, args ...any)
intra/log/logger.go:608
↓ 2 callers
Method
forceAddProxy
(id, txt string)
intra/ipn/proxy.go:186
↓ 2 callers
Method
forward
(network, addr string)
intra/ipn/piph2.go:385
↓ 2 callers
Method
forward
(network, addr string)
intra/ipn/pipws.go:385
↓ 2 callers
Method
fout
(y bool)
tunnel/sink.go:111
↓ 2 callers
Method
fresh
fresh returns false if a has expired or if a is nil
intra/dnsx/alg.go:942
↓ 2 callers
Method
freshCopy
(key string)
intra/dnsx/cacher.go:236
↓ 2 callers
Method
fromInternalCache
(tid, uid, fid string, q *dns.Msg, typ iptype)
intra/dnsx/alg.go:1124
↓ 2 callers
Function
genWgConfs
(h *http.Client, existingCreds *WsWgCreds, existingPermaCreds *WsWgPermanentConfig, sess *WsSession, servers [
intra/ipn/rpn/yegor.go:2032
↓ 2 callers
Method
get
(cc string)
intra/ipn/rpn.go:549
↓ 2 callers
Method
getAddr
()
intra/dns53/goos.go:195
↓ 2 callers
Method
getAddr
()
intra/dns53/upstream.go:359
↓ 2 callers
Method
getAddr
()
intra/dnscrypt/servers.go:421
↓ 2 callers
Method
getByPidLocked
(pid string)
intra/core/connmap.go:174
↓ 2 callers
Method
getByUidLocked
(uid string)
intra/core/connmap.go:167
↓ 2 callers
Method
getDispatchers
()
intra/netstack/fdbased.go:581
↓ 2 callers
Method
getLocked
(cid string)
intra/core/connmap.go:160
↓ 2 callers
Method
getMatch
(str string)
intra/backend/core_radixtree.go:155
↓ 2 callers
Method
getMessages
()
intra/ipn/wg/wgconn2.go:570
↓ 2 callers
Method
getOrCreateEchConfigIfNeeded
()
intra/dns53/dot.go:453
↓ 2 callers
Method
getOrCreateEchConfigIfNeeded
()
intra/doh/doh.go:388
↓ 2 callers
Method
getRdnsRemote
()
intra/dnsx/wall.go:37
↓ 2 callers
Function
getServerList
(h *http.Client, sess *WsSession, ent *WsEntitlement)
intra/ipn/rpn/yegor.go:1702
↓ 2 callers
Function
getSession
(h *http.Client, ent *WsEntitlement)
intra/ipn/rpn/yegor.go:1494
↓ 2 callers
Method
getViaIfDialed
()
intra/ipn/wgproxy.go:869
↓ 2 callers
Function
handle
(h GUDPConnHandler, gc *GUDPConn, src, dst netip.AddrPort, demux DemuxerFn)
intra/netstack/udp.go:189
↓ 2 callers
Method
handshakeIfNeededOrClose
(gconn *netstack.GTCPConn, smm *FlowSummary)
intra/tcp.go:189
↓ 2 callers
Method
hasLocked
Reports whether ip is in the set. Must be called under RLock.
intra/protect/ipmap/ipmap.go:585
↓ 2 callers
Method
hasip
hasip checks if we have all the ip recs we need
intra/dns53/mdns.go:255
↓ 2 callers
Function
hexToIP
hexToIP converts a hex string from /proc/net/* to a netip.Addr. The kernel stores addresses in little-endian format: - IPv4: 8 hex chars (1 uint32) -
intra/netstat/procfs.go:239
↓ 2 callers
Function
hexToInt
(h string)
intra/netstat/procfs.go:189
↓ 2 callers
Function
hexurl
(p string)
intra/ipn/piph2.go:570
↓ 2 callers
Function
histo2Ms
histo2Ms returns a string with mean, median, mode, avg, min, max, variance, and standard deviation for the histogram, considering only buckets with no
intra/core/runmet.go:305
↓ 2 callers
Function
histo2Ps
histo2Ps returns a string of percentiles (p10 ... p99.99) for the histogram, considering only buckets with non-zero counts.
intra/core/runmet.go:233
↓ 2 callers
Function
histo2str
(h *metrics.Float64Histogram, u metricUnit, sep byte)
intra/core/runmet.go:214
↓ 2 callers
Function
hmac256
(m, k []byte)
intra/ipn/piph2.go:564
↓ 2 callers
Method
hop
(via, origin string, dryrun bool)
intra/ipn/proxies.go:888
↓ 2 callers
Function
hostport
(stamp *stamps.ServerStamp)
intra/dnscrypt/servers.go:350
↓ 2 callers
Function
http502
(w io.WriteCloser, err1 error, ssu *ServerSummary)
intra/rnet/http.go:235
↓ 2 callers
Function
icmpListener
Creates a icmp listener over UDP
intra/protect/protect.go:286
↓ 2 callers
Method
incrStCount
(id string)
intra/log/logger.go:355
↓ 2 callers
Function
initAndConnectCreds
initAndConnectCreds registers creds via /WgConfigs/init and then either: - dynamic creds (perma=false): reserves a WireGuard interface via /WgConfigs/
intra/ipn/rpn/yegor.go:1760
↓ 2 callers
Method
initIfNeeded
()
intra/dnsx/alg.go:121
↓ 2 callers
Method
io
(out *[]byte, in *slice)
intra/udpmux.go:562
↓ 2 callers
Method
io
io reads packets from fds and dispatches it to netstack. not thread safe (see: threadSafe).
intra/netstack/dispatchers.go:261
↓ 2 callers
Function
ip2addr
(ip net.IP)
intra/x64/natpt.go:200
↓ 2 callers
Function
ip4to6
(prefix6 net.IPNet, ip4 net.IP)
intra/xdns/dnsutil.go:1365
↓ 2 callers
Function
ipbind
unused: Binds a socket to a local ip.
intra/protect/protect.go:108
↓ 2 callers
Method
ipcset
(d *device.Device)
intra/ipn/wgproxy.go:449
↓ 2 callers
Function
ipof
(addr string)
intra/dialers/ips.go:167
↓ 2 callers
Function
ipok
(ip netip.Addr)
intra/ipn/rpn/cfg.go:179
↓ 2 callers
Method
ipsFor
(tid, uid string, t xaddrtyp, s xaddrstatus)
intra/dnsx/alg.go:384
↓ 2 callers
Function
isAlgErr
(err error)
intra/dnsx/alg.go:88
↓ 2 callers
Function
isAnyBasePid
(pids []string)
intra/common.go:829
↓ 2 callers
Function
isAnyBlockFree
(ids ...string)
intra/dnsx/transport.go:1565
↓ 2 callers
Function
isAnyDefault
(ids ...string)
intra/dnsx/transport.go:1590
↓ 2 callers
Method
isDNS
(addr netip.AddrPort)
intra/common.go:519
↓ 2 callers
Method
isSplitStrat
()
intra/dialers/retrier.go:363
↓ 2 callers
Function
isWG
(id string)
intra/ipn/proxies.go:1523
↓ 2 callers
Function
joinErr
must always return the interface "error" and not a *errMult, as client code checks for err == nil for a nil *errMult returned from here is always fals
intra/core/err.go:46
↓ 2 callers
Method
keepalive
keepalive sets tcp keepalive, if y is true. If y is false, it disables keepalive.
intra/core/connpool.go:429
↓ 2 callers
Method
keyToNames
(list []string)
intra/dnsx/rethinkdns.go:289
↓ 2 callers
Method
kickstartLocked
(px ipn.ProxyProvider)
intra/bootstrap.go:213
↓ 2 callers
Function
l3l4
(pkt *stack.PacketBuffer, sz int64)
intra/netstack/icmp.go:558
↓ 2 callers
Function
l4l7
(pkt *stack.PacketBuffer, sz uint32)
intra/netstack/icmp.go:542
↓ 2 callers
Method
lenLocked
()
intra/log/ring.go:98
↓ 2 callers
Function
listKeys
listKeys calls GET WgConfigs/list_keys and returns the parsed response.
intra/ipn/rpn/yegor.go:2404
↓ 2 callers
Method
listenNet
(network string, port int)
intra/ipn/wg/wgconn2.go:234
↓ 2 callers
Method
listenNet
(network string, port int)
intra/ipn/wg/wgconn.go:279
↓ 2 callers
Function
load
(configjson string)
intra/dnsx/rethinkdns.go:398
↓ 2 callers
Function
loadMH
(mh *multihost.MH, v string)
intra/ipn/wgproxy.go:748
↓ 2 callers
Method
loadOrStore
()
intra/core/weakref.go:62
↓ 2 callers
Method
logIfNeeded
(dir string, typ uint32, n int, newn int)
intra/ipn/wg/amnezia.go:241
↓ 2 callers
Function
logedcond
(x bool)
intra/dialers/op.go:238
↓ 2 callers
Function
logevif
(e bool)
intra/core/connpool.go:498
↓ 2 callers
Function
logwd
(err error)
intra/dialers/cdial.go:195
↓ 2 callers
Function
makeAnyAddrPort
(origipp netip.AddrPort)
intra/common.go:594
↓ 2 callers
Function
makeGTCPConn
(who string, s *stack.Stack, req *tcp.ForwarderRequest, src, dst netip.AddrPort)
intra/netstack/tcp.go:150
↓ 2 callers
Function
makeGUDPConn
ref: github.com/google/gvisor/blob/e89e736f1/pkg/tcpip/adapters/gonet/gonet_test.go#L373
intra/netstack/udp.go:62
↓ 2 callers
Method
makeIPSet
(hostname string, ipps []string, ogtyp IPSetType)
intra/protect/ipmap/ipmap.go:483
↓ 2 callers
Method
makeReceiveFn
(fd int, uc net.PacketConn)
intra/ipn/wg/wgconn.go:526
↓ 2 callers
Function
makeWsWg
(h *http.Client, ent *WsEntitlement, ops x.RpnOps)
intra/ipn/rpn/yegor.go:2175
↓ 2 callers
Function
makeWsWgFrom
(h *http.Client, existingConf *WsWgConfig, ops x.RpnOps, updating, mustRedo bool)
intra/ipn/rpn/yegor.go:2270
↓ 2 callers
Method
marshalPseudo
marshalPseudo serializes h into buf in the "pseudo-header" form required when calculating UDP checksums. The pseudo-header starts at buf[ip4PseudoHead
intra/core/wire/ip4.go:109
↓ 2 callers
Function
maybeDup
copy so golang gc may not close orig fd
tunnel/tunnel.go:317
↓ 2 callers
Function
maybeGlobalUnicast
returns true if addr is a global unicast address; and yn on error.
intra/protect/protect.go:73
← previous
next →
1,001–1,100 of 3,609, ranked by callers