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
Method
cloneDialer
()
intra/protect/xdial.go:109
↓ 1 callers
Method
close
close releases the mmap region and closes the memfd.
intra/log/memconsole.go:83
↓ 1 callers
Method
closeReadDown
()
intra/dialers/retrier_test.go:128
↓ 1 callers
Function
coalesceMessages
(addr *net.UDPAddr, ep *StdNetEndpoint2, bufs [][]byte, msgs []ipv6.Message, setGSO setGSOFunc)
intra/ipn/wg/wgconn2.go:854
↓ 1 callers
Function
computeSharedKey
(cryptoConstruction xdns.CryptoConstruction, secretKey *[32]byte, serverPk *[32]byte, providerName *string)
intra/dnscrypt/crypto.go:67
↓ 1 callers
Function
confirm
(ips *ipmap.IPSet, ip netip.Addr)
intra/dialers/cdial.go:185
↓ 1 callers
Method
consoleDispatcher
consoleDispatcher sends msgs from l.msgC to external log console. It may drop logs on high load (50% for conNorm, 80% for conErr). Must be called once
intra/log/logger.go:371
↓ 1 callers
Function
convertToRegionalWgConfs
(id *WsWgCreds, list []WsServerList, test bool, port string)
intra/ipn/rpn/yegor.go:1582
↓ 1 callers
Method
copy
()
intra/dnsx/cacher.go:147
↓ 1 callers
Function
countSetBits
return the count of set bits in n
intra/dnsx/rethinkdns.go:681
↓ 1 callers
Function
dddToByte
(s []byte)
intra/dnscrypt/certs.go:182
↓ 1 callers
Method
decode4
(b []byte)
intra/core/wire/parsed.go:186
↓ 1 callers
Method
decode6
(b []byte)
intra/core/wire/parsed.go:318
↓ 1 callers
Function
decrypt
decrypt performs an RSA decryption, resulting in a plaintext integer. If a random source is given, RSA blinding is used.
intra/core/brsa/rsa.go:75
↓ 1 callers
Method
defaultdns
()
intra/dnsx/plus.go:128
↓ 1 callers
Method
del
(k string)
intra/backend/core_radixtree.go:80
↓ 1 callers
Method
delAll
(prefix string)
intra/backend/core_radixtree.go:103
↓ 1 callers
Method
delByPidLocked
(pid, cid string)
intra/core/connmap.go:208
↓ 1 callers
Method
delByUidLocked
(uid, cid string)
intra/core/connmap.go:232
↓ 1 callers
Method
delLocked
(h *MH)
intra/ipn/multihost/map.go:142
↓ 1 callers
Function
desyncWithTraceroute
desyncWithTraceroute estimates the TTL with UDP traceroute, then returns a TCP connection that may launch TCB Desynchronization Attack and split the i
intra/dialers/split_and_desync.go:183
↓ 1 callers
Method
dial
dial dials proxy addr using the proxydialer via dialers.SplitDial, which is aware of proto changes.
intra/ipn/piph2.go:153
↓ 1 callers
Method
dial
(ctx context.Context, network, local, remote string)
intra/ipn/wgnet.go:87
↓ 1 callers
Method
dialIfReachable
dialIfReachable currently aliases dialIfHealthy.
intra/ipn/auto.go:507
↓ 1 callers
Method
dialProxy
()
intra/ipn/h1/dialer.go:91
↓ 1 callers
Method
dialStratLocked
()
intra/dialers/retrier.go:248
↓ 1 callers
Function
dialWithSplitAndDesync
DialWithSplitAndDesync estimates the TTL with UDP traceroute, then returns a TCP connection that may launch TCB Desynchronization and split the initia
intra/dialers/split_and_desync.go:306
↓ 1 callers
Function
dialerOptsForMultiDialers
()
intra/dialers/retrier.go:169
↓ 1 callers
Method
dialtcp
(pid string, addr *net.TCPAddr)
intra/dnscrypt/servers.go:483
↓ 1 callers
Method
dialudp
(pid string, addr *net.UDPAddr)
intra/dnscrypt/servers.go:474
↓ 1 callers
Method
dispatch
(fd *fds)
intra/netstack/fdbased.go:66
↓ 1 callers
Method
dissociate
(cid, pid string, src netip.AddrPort)
intra/udpmux.go:676
↓ 1 callers
Function
dnsConfigToFilters
dnsConfigToFilters converts a csv of DNS preset names (e.g. "family,privacy") into a set of filter IDs that should be enabled. "none" and "default" di
intra/ipn/rpn/yegor.go:824
↓ 1 callers
Function
dnsExchange
(dialer protect.RDialer, query *dns.Msg, serverAddress string, serverName *string)
intra/dnscrypt/certs.go:215
↓ 1 callers
Method
dnsResolvers
()
intra/ipn/wgproxy.go:1568
↓ 1 callers
Function
dnsclient
(c *tls.Config)
intra/dns53/dot.go:129
↓ 1 callers
Method
dnstcp
dnstcp queries the transport and writes answers to w, prefixed by length.
intra/dnsx/transport.go:914
↓ 1 callers
Method
dnsudp
dnsudp queries the transport and writes answers to w.
intra/dnsx/transport.go:932
↓ 1 callers
Method
doDialLocked
dialStrat returns a core.DuplexConn to r.raddr using a specified strategy, strat, which is one of the settings.Split* constants.
intra/dialers/retrier.go:372
↓ 1 callers
Method
doDoh
Given a raw DNS query (including the query ID), this function sends the query. If the query is successful, it returns the response and a nil qerr. O
intra/doh/doh.go:508
↓ 1 callers
Method
doOdoh
targets: github.com/DNSCrypt/dnscrypt-resolvers/blob/master/v3/odoh-servers.md endpoints: github.com/DNSCrypt/dnscrypt-resolvers/blob/master/v3/odoh
intra/doh/odoh.go:48
↓ 1 callers
Method
doPCAP
()
intra/netstack/snooper.go:99
↓ 1 callers
Method
doQuery
(pid string, q *dns.Msg)
intra/dns53/dot.go:159
↓ 1 callers
Method
domainsFor
(tid, uid string, forIP netip.Addr, s xaddrstatus)
intra/dnsx/alg.go:737
↓ 1 callers
Function
download
download copies data from local to remote, and returns the number of bytes copied and error, if any.
intra/common.go:570
↓ 1 callers
Method
drain
()
intra/udpmux.go:185
↓ 1 callers
Method
drainObsCh
()
intra/ipn/wg/wgconn2.go:393
↓ 1 callers
Method
drainObsCh
()
intra/ipn/wg/wgconn.go:445
↓ 1 callers
Method
ech
todo: ech over user specified dns+proxy
intra/dns53/dot.go:140
↓ 1 callers
Method
echVerifyFn
()
intra/dns53/dot.go:149
↓ 1 callers
Method
echVerifyFn
()
intra/doh/doh.go:287
↓ 1 callers
Method
echoReply
(pkt *wire.Parsed, d []byte, ok bool)
intra/netstack/icmpecho.go:228
↓ 1 callers
Method
elapsed
()
intra/listener.go:168
↓ 1 callers
Method
empty
empty returns true if pool is empty.
intra/core/connpool.go:322
↓ 1 callers
Function
emsaPSSEncode
Per RFC 8017, Section 9.1 EM = MGF1 xor DB || H( 8*0x00 || mHash || salt ) || 0xbc where DB = PS || 0x01 || salt and PS can be empty so emLen = d
intra/core/brsa/pss.go:48
↓ 1 callers
Function
emsaPSSVerify
(mHash, em []byte, emBits, sLen int, hash hash.Hash)
intra/core/brsa/pss.go:123
↓ 1 callers
Function
encrypt
( serverInfo *server, packet []byte, useudp, userelay bool, )
intra/dnscrypt/crypto.go:80
↓ 1 callers
Function
ensureEDNS0
(msg *dns.Msg)
intra/xdns/dnsutil.go:510
↓ 1 callers
Method
esc
(cidr string, v string)
intra/backend/core_iptree.go:163
↓ 1 callers
Method
escLike
(cidr, like string)
intra/backend/core_iptree.go:401
↓ 1 callers
Method
eval
TODO: handle svcb/https ipv4hint/ipv6hint datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-10#section-7.4
intra/x64/dns64.go:217
↓ 1 callers
Method
eve
()
intra/netstack/fds.go:114
↓ 1 callers
Function
every
(who string, tests [][]core.WorkCtx[bool])
intra/ipn/proxy.go:536
↓ 1 callers
Function
exceedsHopLimit
exceedsHopLimit checks if cmsgs contains an ICMPv6 hop limit exceeded SockExtendedErr type SockExtendedErr struct { Errno uint32 Origin uint8
intra/dialers/split_and_desync.go:73
↓ 1 callers
Function
exceedsTTL
exceedsTTL checks if cmsgs contains an ICMPv4 time to live exceeded SockExtendedErr. https://www.rfc-editor.org/rfc/rfc792.html#page-6
intra/dialers/split_and_desync.go:91
↓ 1 callers
Function
extend
(c MinConn)
intra/core/ping.go:221
↓ 1 callers
Method
extend
(t time.Time)
intra/udpmux.go:339
↓ 1 callers
Function
extendc
(c net.Conn, r time.Duration, w time.Duration)
intra/common.go:842
↓ 1 callers
Method
extendr
()
intra/rwconn.go:118
↓ 1 callers
Method
extendw
()
intra/rwconn.go:111
↓ 1 callers
Function
extractHttpURLs
extractHttpURLs extracts valid URLs from comma-separated input
intra/ipn/proxy.go:817
↓ 1 callers
Method
fd
fd returns the file descriptor associated with the endpoint.
intra/netstack/fdbased.go:454
↓ 1 callers
Method
fetch
(network string, q *dns.Msg, smmout *x.DNSSummary, cb *cache, key string)
intra/dnsx/cacher.go:371
↓ 1 callers
Function
fetchCurrentDNSCryptCert
(proxy *DcMulti, serverName *string, pk ed25519.PublicKey, serverAddress string, providerName string)
intra/dnscrypt/certs.go:55
↓ 1 callers
Function
fetchDNSCryptServerInfo
(proxy *DcMulti, name string, stamp stamps.ServerStamp)
intra/dnscrypt/servers.go:233
↓ 1 callers
Function
fetchDoHServerInfo
(_ *DcMulti, _ string, _ stamps.ServerStamp)
intra/dnscrypt/servers.go:300
↓ 1 callers
Function
fetchIPinfo
(p Proxy, network string)
intra/ipn/pxclient.go:325
↓ 1 callers
Function
fetchMullvad
(p Proxy, network, url string)
intra/ipn/pxclient.go:477
↓ 1 callers
Function
fetchServerInfo
(proxy *DcMulti, name string, stamp stamps.ServerStamp)
intra/dnscrypt/servers.go:223
↓ 1 callers
Method
fetchTargetConfig
Get the current (cached) target config or refresh it if expired.
intra/doh/odoh.go:163
↓ 1 callers
Function
fetchTrace
fetchTrace fetches the Cloudflare trace data via the given proxy. fl=765f119 h=sky.rethinkdns.com ip=dead:beef::dead:beef ts=1766262434 visit_scheme=h
intra/ipn/pxclient.go:382
↓ 1 callers
Function
fetchWarp
(p Proxy, network string)
intra/ipn/pxclient.go:436
↓ 1 callers
Function
fetchWindscribe
(p Proxy, network string)
intra/ipn/pxclient.go:234
↓ 1 callers
Method
finalize
(blindSig string)
intra/backend/ipn_pipkeygen.go:541
↓ 1 callers
Method
findRoute
(to netip.AddrPort)
intra/udpmux.go:269
↓ 1 callers
Function
firstEmpty
(arr []string)
intra/xdns/common.go:287
↓ 1 callers
Function
firstEmpty
(arr []string)
intra/ipn/proxies.go:1576
↓ 1 callers
Method
fixedTransport
fixedTransport returns true if split tunneling is enforced via dnsx.Fixed
intra/dnsx/alg.go:106
↓ 1 callers
Method
fixedTransport
()
intra/dnsx/alg.go:1071
↓ 1 callers
Function
fixedValidWsEndpoint
unused on the control plane, so use a fixed but valid hostname
intra/ipn/rpn/yegor.go:1310
↓ 1 callers
Method
flagstoinfo
(flags []uint16)
intra/dnsx/rethinkdns.go:498
↓ 1 callers
Method
flowID
aux is usually dst domains, ip, ip:port
intra/common.go:421
↓ 1 callers
Method
forkAll
()
intra/ipn/rpn.go:401
↓ 1 callers
Method
forkMain
()
intra/ipn/rpn.go:374
↓ 1 callers
Method
fresh
fresh returns true if conn is recent enough.
intra/core/connpool.go:408
↓ 1 callers
Method
fresh
()
intra/dnsx/alg.go:660
↓ 1 callers
Method
fromOpts
(id string, opts *settings.ProxyOptions)
intra/ipn/proxy.go:277
↓ 1 callers
Method
fromPool
fromPool returns a conn from the pool, if available.
intra/dns53/dot.go:258
↓ 1 callers
Method
fromPool
fromPool returns a conn from the pool, if available.
intra/dns53/upstream.go:208
↓ 1 callers
Method
full
full returns true if pool is full.
intra/core/connpool.go:327
← previous
next →
1,701–1,800 of 3,609, ranked by callers