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
↓ 1 callers
Function
fullAddrFrom
(ipp netip.AddrPort)
tunnel/dialer.go:144
↓ 1 callers
Function
gen4Locked
(k string, hop int)
intra/dnsx/alg.go:1843
↓ 1 callers
Function
gen6Locked
(k string, hop int)
intra/dnsx/alg.go:1918
↓ 1 callers
Method
genUapiConfig
()
intra/ipn/rpn/regional.go:73
↓ 1 callers
Method
get
(k string)
intra/backend/core_radixtree.go:133
↓ 1 callers
Method
get
(s xaddrstatus)
intra/dnsx/alg.go:645
↓ 1 callers
Method
get
(name string)
intra/dnscrypt/servers.go:146
↓ 1 callers
Method
getAddr
()
intra/dnscrypt/multiserver.go:705
↓ 1 callers
Method
getAll
(cidr string)
intra/backend/core_iptree.go:321
↓ 1 callers
Method
getAll
()
intra/dnscrypt/servers.go:97
↓ 1 callers
Method
getAny
(prefix string)
intra/backend/core_radixtree.go:148
↓ 1 callers
Method
getAny
(cidr string)
intra/backend/core_iptree.go:288
↓ 1 callers
Function
getCachedIPMeta
(p Proxy, network string)
intra/ipn/pxclient.go:78
↓ 1 callers
Function
getDNSFilters
getDNSFilters returns the current DNS filter list.
intra/ipn/rpn/yegor.go:2444
↓ 1 callers
Method
getLike
(cidr, like string)
intra/backend/core_iptree.go:439
↓ 1 callers
Method
getOne
()
intra/dnscrypt/servers.go:113
↓ 1 callers
Method
getSetPayloadSize
GetSetPayloadSize adjusts the maximum payload size advertised in queries sent to upstream servers.
intra/dnscrypt/intercept.go:112
↓ 1 callers
Function
getSrcFromControl
getSrcFromControl parses the control for PKTINFO and if found updates ep with the source information found.
intra/ipn/wg/sosticky.go:34
↓ 1 callers
Method
getSummary
(c *tx.UDPExchange)
intra/rnet/socks5.go:570
↓ 1 callers
Function
getTLSClientHelloRecordLen
(h []byte)
intra/dialers/op.go:45
↓ 1 callers
Method
getUDPAddr
()
intra/ipn/wg/wgconn2.go:584
↓ 1 callers
Method
getpin
(uid string, ipp netip.AddrPort)
intra/ipn/proxies.go:745
↓ 1 callers
Method
handle
handle connects to the target via the proxy, and pipes data between the src, target; thread-safe.
intra/tcp.go:375
↓ 1 callers
Method
handle
handle returns true if the packet is ICMP and is handled (or dropped) by the bypass path.
intra/netstack/icmpecho.go:76
↓ 1 callers
Method
handleRequest
HandleRequest changes the incoming DNS question either to add padding to it or synthesize a pre-determined answer.
intra/dnscrypt/intercept.go:57
↓ 1 callers
Method
handleResponse
handleResponse
intra/dnscrypt/intercept.go:83
↓ 1 callers
Method
hangoverCheckpoint
()
intra/dnsx/cacher.go:363
↓ 1 callers
Method
has
(k string)
intra/backend/core_radixtree.go:92
↓ 1 callers
Method
has
(cidr string)
intra/backend/core_iptree.go:191
↓ 1 callers
Method
has4
()
intra/protect/ipmap/ipmap.go:714
↓ 1 callers
Method
has6
()
intra/protect/ipmap/ipmap.go:724
↓ 1 callers
Method
hasAny
(prefix string)
intra/backend/core_radixtree.go:125
↓ 1 callers
Method
hasAny
(cidr string)
intra/backend/core_iptree.go:237
↓ 1 callers
Function
hasIP3
(nodes []WsServerNode)
intra/ipn/rpn/yegor.go:1570
↓ 1 callers
Function
hasNotEnded
(t Transport)
intra/dnsx/transport.go:1798
↓ 1 callers
Function
hash
(s string)
intra/dnsx/cacher.go:180
↓ 1 callers
Function
hash22
xor fold fnv to 18 bits: www.isthe.com/chongo/tech/comp/fnv
intra/dnsx/alg.go:2350
↓ 1 callers
Function
hash48
xor fold fnv to 48 bits: www.isthe.com/chongo/tech/comp/fnv
intra/dnsx/alg.go:2358
↓ 1 callers
Function
hasmemfd
hasmemfd probes whether the kernel supports memfd_create.
intra/log/memconsole.go:133
↓ 1 callers
Method
hassvc
hassvc checks if we have all the srv recs we need
intra/dns53/mdns.go:260
↓ 1 callers
Function
hex2BigInt
(s string)
intra/backend/ipn_pipkeygen.go:613
↓ 1 callers
Function
hex8
create a random hex character string of length 8
intra/ipn/exit.go:234
↓ 1 callers
Function
hexToInt4
hexToInt4 parses a 32-char hex string (IPv6) into four uint32 values. The kernel stores IPv6 as 4 x uint32 in little-endian format. Returns (w0, w1, w
intra/netstat/procfs.go:200
↓ 1 callers
Function
hmac256
hmac256 returns the HMAC-SHA256 (32 byte) of the message m using the key k.
intra/backend/ipn_pipkeygen.go:632
↓ 1 callers
Function
hopping
(r x.Router)
intra/ipn/proxies.go:1498
↓ 1 callers
Method
hostport
()
intra/doh/doh.go:834
↓ 1 callers
Method
httpClientsFor
(pid string)
intra/doh/doh.go:424
↓ 1 callers
Function
httpclient
(p Proxy, url *url.URL)
intra/ipn/proxy.go:466
↓ 1 callers
Function
httpsReaches
(who string, c *http.Client, url *url.URL)
intra/ipn/proxy.go:839
↓ 1 callers
Function
httpsReachesWorkCtx
(p Proxy, url *url.URL)
intra/ipn/proxy.go:833
↓ 1 callers
Function
httpsstr
(r *dns.HTTPS)
intra/xdns/dnsutil.go:903
↓ 1 callers
Function
icmp6Checksum
Adapted from gVisor: icmp6Checksum calculates the ICMP checksum over the provided ICMPv6 header (without the IPv6 header), IPv6 src/dst addresses and
intra/core/wire/icmp6.go:125
↓ 1 callers
Method
icmpErr4
from: github.com/google/gvisor/blob/19ab27f98/pkg/tcpip/network/ipv4/icmp.go#L609
intra/netstack/icmp.go:272
↓ 1 callers
Method
icmpErr6
from: github.com/google/gvisor/blob/19ab27f98/pkg/tcpip/network/ipv6/icmp.go#L1055
intra/netstack/icmp.go:406
↓ 1 callers
Function
icmpForward
(h *icmpForwarder, pkt *stack.PacketBuffer, src, dst netip.AddrPort)
intra/netstack/icmpecho.go:155
↓ 1 callers
Function
icmpForward2
(h *icmpForwarder, pkt *stack.PacketBuffer, id stack.TransportEndpointID)
intra/netstack/icmpecho.go:175
↓ 1 callers
Function
icmpReachesWorkCtx
(p Proxy, ipp netip.AddrPort)
intra/ipn/proxy.go:612
↓ 1 callers
Function
icmpSummary
(id, uid string)
intra/listener.go:119
↓ 1 callers
Method
id
id returns a hash value based on the given five tuple. Will return 0 if the hash could not be computed.
intra/netstack/forwarders.go:249
↓ 1 callers
Method
ifaddrs
()
intra/ipn/wgproxy.go:1301
↓ 1 callers
Function
incCounter
incCounter increments a four byte, big-endian counter.
intra/core/brsa/rsa.go:34
↓ 1 callers
Method
inject
(nic tcpip.NICID, proto tcpip.NetworkProtocolNumber, l4proto tcpip.TransportProtocolNumber, packet []byte)
intra/netstack/icmpecho.go:255
↓ 1 callers
Method
instate
(pkt []byte)
intra/ipn/wg/amnezia.go:146
↓ 1 callers
Method
int
()
intra/core/dontpanic.go:32
↓ 1 callers
Method
internalProxies
()
intra/tunnel.go:423
↓ 1 callers
Method
internalResolver
()
intra/tunnel.go:409
↓ 1 callers
Function
ip4to6
(prefix96 netip.Prefix, ip4 netip.Addr)
intra/ipn/exit64.go:304
↓ 1 callers
Function
ip6to4
ip6to4 converts ip6 to IPv4 discarding prefix64.
intra/x64/nat64.go:36
↓ 1 callers
Function
ipok
(ip netip.Addr)
intra/dnsx/alg.go:2617
↓ 1 callers
Function
ippstr
(tr dnsx.Transport)
intra/bootstrap.go:339
↓ 1 callers
Function
isActiveStatus
(st int)
intra/dnsx/transport.go:1794
↓ 1 callers
Function
isAnyIPUnspecified
(ips []netip.Addr)
intra/dnsx/transport.go:1573
↓ 1 callers
Function
isAnyLocal
(ids ...string)
intra/dnsx/transport.go:1582
↓ 1 callers
Function
isAnyPlus
(ids ...string)
intra/dnsx/transport.go:1586
↓ 1 callers
Method
isDefaultSystemDNS
()
intra/dnsx/transport.go:1652
↓ 1 callers
Method
isDns
(ipp netip.AddrPort)
intra/dnsx/overrides.go:30
↓ 1 callers
Method
isDnsIpPort
(addr netip.AddrPort)
intra/dnsx/overrides.go:11
↓ 1 callers
Method
isDnsPort
(addr netip.AddrPort)
intra/dnsx/overrides.go:20
↓ 1 callers
Function
isEncrypted
(t string)
intra/dnsx/transport.go:1521
↓ 1 callers
Function
isGlobalH1
(id string)
intra/ipn/proxies.go:1531
↓ 1 callers
Function
isOrbot
(id string)
intra/ipn/proxies.go:1527
↓ 1 callers
Method
isPaused
()
intra/x64/dns64.go:145
↓ 1 callers
Function
isPip
(id string)
intra/ipn/proxies.go:1535
↓ 1 callers
Function
isProtected
(id string)
intra/dnsx/transport.go:1525
↓ 1 callers
Function
isReserved
(id string)
intra/dnsx/transport.go:1529
↓ 1 callers
Method
isTracked
(name string)
intra/dns53/mdns.go:620
↓ 1 callers
Function
isWellknown
(id string)
intra/ipn/proxies.go:1511
↓ 1 callers
Function
keepalive
(ep tcpip.Endpoint)
intra/netstack/tcp.go:243
↓ 1 callers
Method
kickstart
(px ipn.ProxyProvider)
intra/bootstrap.go:55
↓ 1 callers
Method
kid
()
intra/ipn/rpn/yegor.go:2082
↓ 1 callers
Method
len
()
intra/dnscrypt/servers.go:90
↓ 1 callers
Method
linearLocked
linearLocked computes the linear estimate.
intra/core/p2est.go:208
↓ 1 callers
Method
listen
listen listens for answers to the MDNS query, and sends them to qctx.ansch, and stops listening after qctx.timeout or the client is closed. Must be ca
intra/dns53/mdns.go:424
↓ 1 callers
Method
listenICMP
listenICMP listens for incoming ICMP packets addressed to address for non-privileged datagram-oriented ICMP endpoints. network must be "udp4" or "udp6
intra/protect/icmplistener.go:58
↓ 1 callers
Method
load
()
intra/core/weakref.go:45
↓ 1 callers
Function
load1
()
intra/dnsx/rethinkdns_test.go:123
↓ 1 callers
Method
loadaddrs
(csvaddr string)
intra/dnsx/transport.go:1452
↓ 1 callers
Function
localUDPAddr
(id stack.TransportEndpointID)
intra/netstack/hdl.go:148
↓ 1 callers
Function
log2
(powerof2 uint32)
intra/core/buf.go:145
↓ 1 callers
Function
logDidToken
(tok string)
intra/ipn/rpn/yegor.go:1389
← previous
next →
1,801–1,900 of 3,609, ranked by callers