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
Method
maybeResetMtu
(via Proxy, dryrun bool)
intra/ipn/wgproxy.go:1878
↓ 2 callers
Method
maybeUndoNat64Locked
(realips ...netip.Addr)
intra/dnsx/alg.go:2147
↓ 2 callers
Function
mgf1XOR
mgf1XOR XORs the bytes in out with a mask generated using the MGF1 function specified in PKCS #1 v2.1.
intra/core/brsa/rsa.go:49
↓ 2 callers
Function
mklslab
(size int)
intra/log/logpool.go:116
↓ 2 callers
Method
msg
()
intra/backend/ipn_pipkeygen.go:144
↓ 2 callers
Function
msgAddr
(msgs *[]ipv6.Message)
intra/ipn/wg/wgconn2.go:950
↓ 2 callers
Method
nat64PrefixForResolver
(id string)
intra/x64/natpt.go:167
↓ 2 callers
Function
netdialer
Creates a plain old dialer
intra/protect/protect.go:272
↓ 2 callers
Function
netips2str
(addrs []netip.Addr)
intra/xdns/dnsutil.go:1529
↓ 2 callers
Function
newExitProxy
(id, addr string, ctx context.Context, c protect.Controller)
intra/ipn/exit.go:61
↓ 2 callers
Function
newFdbasedInjectableEndpoint
New creates a new fd-based endpoint. Makes fd non-blocking, but does not take ownership of fd, which must remain open for the lifetime of the returne
intra/netstack/fdbased.go:157
↓ 2 callers
Function
newPipKey
(bjwk []byte, msgOrExistingState string, msgOnly bool)
intra/backend/ipn_pipkeygen.go:362
↓ 2 callers
Function
newServerWithListener
(t *testing.T, ln net.Listener)
intra/ipn/pxclient_test.go:113
↓ 2 callers
Function
newTransport
(ctx context.Context, typ, id, rawurl, otargeturl string, addrs []string, px ipn.ProxyProvider)
intra/doh/doh.go:134
↓ 2 callers
Function
newWsGw
(c *WsWgConfig, h *http.Client, o x.RpnOps)
intra/ipn/rpn/yegor.go:2110
↓ 2 callers
Function
newdevice
(wgtun *wgtun, wgep wgconn)
intra/ipn/wgproxy.go:816
↓ 2 callers
Function
normalize
dip can be host or ip or host:port or ip:port
intra/ipn/multihost/multihost.go:388
↓ 2 callers
Method
note
note notes the new tun fd (used for diagnostics only).
intra/netstack/forwarders.go:228
↓ 2 callers
Method
notok
()
intra/rnet/http.go:114
↓ 2 callers
Function
nsaddr2ip
(addr tcpip.Address)
intra/netstack/hdl.go:155
↓ 2 callers
Function
ntoa
ntoa returns the IP protocol number for the given network string.
intra/common.go:811
↓ 2 callers
Method
observers
()
intra/core/volatileflow.go:128
↓ 2 callers
Method
ofLocal464
()
intra/x64/dns64.go:346
↓ 2 callers
Function
ok
(tag string, err error)
intra/dnsx/rethinkdns_test.go:332
↓ 2 callers
Method
onInflow
to is the local address, from is the remote address.
intra/common.go:122
↓ 2 callers
Method
out
out logs to stdout and pushes msg into ring buffer. ref: github.com/golang/mobile/blob/c713f31d/internal/mobileinit/mobileinit_android.go#L51
intra/log/logger.go:713
↓ 2 callers
Method
parseHeader
(pkt *stack.PacketBuffer)
intra/netstack/fdbased.go:434
↓ 2 callers
Method
pauseOrResume
()
intra/x64/dns64.go:89
↓ 2 callers
Method
pid
()
intra/rnet/http.go:337
↓ 2 callers
Method
pipe
(r, w net.Conn, finch chan<- pipefin)
intra/rnet/socks5.go:272
↓ 2 callers
Function
pipeconn
(dst net.Conn, src net.Conn, ssu *ServerSummary, wg *sync.WaitGroup)
intra/rnet/http.go:244
↓ 2 callers
Function
pipetcp
(dst, src *net.TCPConn, ssu *ServerSummary, wg *sync.WaitGroup)
intra/rnet/http.go:253
↓ 2 callers
Method
postAddRpnProxy
(p Proxy, srv *x.RpnServer, acc RpnAcc)
intra/ipn/proxy.go:150
↓ 2 callers
Method
postAddRpnProxyError
(acc RpnAcc)
intra/ipn/proxy.go:182
↓ 2 callers
Function
preferOffload
(id string)
intra/ipn/wgproxy.go:464
↓ 2 callers
Function
prepareForRelay
(ip net.IP, port int, eq *[]byte)
intra/dnscrypt/multiserver.go:191
↓ 2 callers
Method
proxy
proxy connects src to dst over a proxy; thread-safe.
intra/udp.go:170
↓ 2 callers
Method
putMessages
(msgs *[]ipv6.Message)
intra/ipn/wg/wgconn2.go:560
↓ 2 callers
Method
pxdial
(network, pid string)
intra/dns53/upstream.go:149
↓ 2 callers
Function
queriesMostlyEqual
Check that all fields of m1 match those of m2, except for Header.ID and Additionals.
intra/doh/doh_test.go:294
↓ 2 callers
Method
queryAny2
(q []byte, uid string, tids ...string)
intra/dns53/ipmapper.go:210
↓ 2 callers
Method
queryIP
(ctx context.Context, network, host string, uid string)
intra/dns53/ipmapper.go:105
↓ 2 callers
Method
queryIP2
todo: use context
intra/dns53/ipmapper.go:110
↓ 2 callers
Method
readTimeoutLocked
()
intra/dialers/retrier.go:592
↓ 2 callers
Method
realips
realips returns all live primary ips for a given uid. returns all tracked live primary ips. and returns unspecified ips, if uid had a "block" response
intra/dnsx/alg.go:348
↓ 2 callers
Method
receiveIP
( br batchReader, conn *net.UDPConn, rxOffload bool, bufs [][]byte, sizes []int, eps []conn.Endpoint, )
intra/ipn/wg/wgconn2.go:429
↓ 2 callers
Function
reconcileMtu
Returns wg header (80 bytes) minus min(underlay, overlay). Returns NOMTU if underlay is <= NOMTU. Returns minoverlay if overlay is <= NOMTU.
intra/ipn/wgproxy.go:1939
↓ 2 callers
Method
recycle
()
tunnel/sink.go:78
↓ 2 callers
Method
refresh
(proxy *DcMulti)
intra/dnscrypt/servers.go:176
↓ 2 callers
Method
refreshHopOriginsIfAny
(hop Proxy, why string)
intra/ipn/proxies.go:997
↓ 2 callers
Method
refreshServer
(proxy *DcMulti, name string, stamp stamps.ServerStamp)
intra/dnscrypt/servers.go:204
↓ 2 callers
Method
registerServer
(name string, stamp stamps.ServerStamp)
intra/dnscrypt/servers.go:169
↓ 2 callers
Function
remoteAddrIfAny
(conn *dns.Conn)
intra/dns53/upstream.go:421
↓ 2 callers
Method
removeFinallys
(obsolete map[FlowOn[T]]struct{})
intra/core/volatileflow.go:104
↓ 2 callers
Method
removeRpnProxy
removeRpnProxy removes an RPN proxy from this multi-transport.
intra/ipn/proxies.go:199
↓ 2 callers
Function
reorderIPs
(ips []netip.Addr, alwaysExclude netip.Addr)
intra/dialers/cdial.go:26
↓ 2 callers
Method
resolvLocked
resolvLocked returns IPs and related targets for domain depending on typ. If typ is typalg, returns all algips for domain. If typ is typreal, returns
intra/dnsx/alg.go:2218
↓ 2 callers
Function
resolve
resolve resolves incoming DNS query, data
intra/dnscrypt/multiserver.go:313
↓ 2 callers
Function
restoreDefaultURLs
(t *testing.T)
intra/ipn/pxclient_test.go:78
↓ 2 callers
Method
revipp
ip local to revstack
intra/netstack/rev.go:202
↓ 2 callers
Method
rmv
(tid string)
intra/dnsx/alg.go:426
↓ 2 callers
Method
route
(cid string, to netip.AddrPort, flo flowkind)
intra/udpmux.go:275
↓ 2 callers
Method
rpnProxyFor
rpnProxyFor returns a country-specific RPN proxy from this multi-transport.
intra/ipn/proxies.go:206
↓ 2 callers
Method
safeStore
safeStore stores new in a, iff old & new are of the same concrete type. If old & new are not of the same concrete type, it creates a Volatile with new
intra/core/volatile.go:63
↓ 2 callers
Function
sameFamily
(a, b netip.Addr)
intra/tcp.go:228
↓ 2 callers
Method
secips
secondary ips for all tids+uids
intra/dnsx/alg.go:307
↓ 2 callers
Method
send
send writes q to approp unicast mdns address
intra/dns53/mdns.go:525
↓ 2 callers
Method
send
(pid string, req *http.Request)
intra/doh/doh.go:764
↓ 2 callers
Method
send
(conn *net.UDPConn, pc batchWriter, msgs []ipv6.Message, who string)
intra/ipn/wg/wgconn2.go:802
↓ 2 callers
Method
set
(t T)
intra/log/logger.go:117
↓ 2 callers
Method
setCountLocked
setCountLocked atomically stores n as the number of fully written slots.
intra/log/memconsole.go:78
↓ 2 callers
Method
setDeadline
(c net.Conn, secs int)
intra/rnet/socks5.go:259
↓ 2 callers
Method
setRdnsLocal
(rlocal *rethinkdnslocal)
intra/dnsx/wall.go:17
↓ 2 callers
Method
setRdnsRemote
(rremote *rethinkdns)
intra/dnsx/wall.go:24
↓ 2 callers
Method
setRoutes
(ifaddrs []netip.Prefix)
intra/ipn/wgproxy.go:1000
↓ 2 callers
Function
setSrcControl
setSrcControl parses the control for PKTINFO and if found updates ep with the source information found.
intra/ipn/wg/sosticky.go:39
↓ 2 callers
Method
setupReverserIfNeeded
(set bool)
intra/ipn/wgproxy.go:833
↓ 2 callers
Function
skipBlock
(tr ...Transport)
intra/dnsx/transport.go:1635
↓ 2 callers
Function
slabof
slabof returns the sync.Pool that vends byte slices of size sz.
intra/core/buf.go:106
↓ 2 callers
Function
sni
(addr string)
intra/dialers/rdial.go:240
↓ 2 callers
Function
splitIPFamilies
(ips []netip.Addr)
intra/dnsx/alg.go:2548
↓ 2 callers
Function
splitmsg
splitmsg parses the two-character level prefix prepended by msgstr ("D ", "I ", "W ", "E ") and returns the corresponding LogLevel together with the m
intra/log/logger.go:851
↓ 2 callers
Method
stale
()
intra/ipn/multihost/multihost.go:261
↓ 2 callers
Method
stampToBlocklist
(stamp string)
intra/dnsx/rethinkdns.go:266
↓ 2 callers
Method
stampToFlags
(stamp string)
intra/dnsx/rethinkdns.go:234
↓ 2 callers
Method
stampToNames
(stamp string)
intra/dnsx/rethinkdns.go:252
↓ 2 callers
Method
stat
()
intra/tunnel.go:463
↓ 2 callers
Method
storeLocked
()
intra/core/weakref.go:56
↓ 2 callers
Function
str2addr
(network, addrport string)
intra/ipn/proxies.go:1551
↓ 2 callers
Function
str2ip
(host string)
intra/dns53/ipmapper.go:71
↓ 2 callers
Function
summation
(m *tcpip.IntegralStatCounterMap)
intra/netstack/stat.go:147
↓ 2 callers
Function
supportsBatchRw
()
intra/ipn/wg/gso.go:115
↓ 2 callers
Function
supportsUDPOffload
from: github.com/WireGuard/wireguard-go/blob/12269c276/conn/features_linux.go
intra/ipn/wg/gso.go:83
↓ 2 callers
Method
swap
(fd int, force bool)
intra/netstack/fdbased.go:276
↓ 2 callers
Method
synack
(complete bool)
intra/netstack/tcp.go:197
↓ 2 callers
Function
sysconn
(c net.PacketConn)
intra/protect/icmplistener.go:106
↓ 2 callers
Method
take4Locked
(q string, idx int)
intra/dnsx/alg.go:1767
↓ 2 callers
Method
take6Locked
(q string, idx int)
intra/dnsx/alg.go:1858
↓ 2 callers
Method
ticker
ticker is a one-shot timer goroutine started by the first-write after each buffer reset. It fires once after memFlushInterval and calls periodicFlush.
intra/log/memconsole.go:316
↓ 2 callers
Function
timedout
(err error)
intra/ipn/wgproxy.go:1961
← previous
next →
1,101–1,200 of 3,609, ranked by callers