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
GetRelay
Return the proxy (relay) always used by this transport. Returns nil if there isn't any.
intra/backend/dnsx.go:106
↓ 2 callers
Method
GetRelay
()
intra/dnscrypt/servers.go:425
↓ 2 callers
Method
GetServer
(id string)
intra/rnet/servers.go:152
↓ 2 callers
Function
Gg
Gg runs f in a goroutine, recovers from any panics if any; then calls cb in a separate goroutine, and recovers from any panics.
intra/core/async.go:68
↓ 2 callers
Function
HandlerAddrs
(hdl GConnHandler)
intra/netstack/rev.go:258
↓ 2 callers
Method
HasAuth
HasAuth returns true if p has auth params.
intra/settings/proxyopts.go:88
↓ 2 callers
Function
HttpClient
Exported for testing only.
intra/ipn/pxclient.go:588
↓ 2 callers
Method
ICMP4Header
()
intra/core/wire/parsed.go:441
↓ 2 callers
Method
ICMP6Header
()
intra/core/wire/parsed.go:457
↓ 2 callers
Method
ID
()
intra/dnsx/plus.go:104
↓ 2 callers
Method
ID
()
intra/dnscrypt/servers.go:387
↓ 2 callers
Function
IP2Cidr2
(ippOrCidr string)
intra/core/ip.go:94
↓ 2 callers
Method
IP4Header
()
intra/core/wire/parsed.go:405
↓ 2 callers
Function
IPs
(msg *dns.Msg)
intra/xdns/dnsutil.go:974
↓ 2 callers
Function
IcmpReaches
(p Proxy, ipp netip.AddrPort)
intra/ipn/proxy.go:618
↓ 2 callers
Function
IsAll
(arr []T, test TestFn[T])
intra/core/slices.go:127
↓ 2 callers
Method
IsDnsAddr
IsDnsAddr returns true if the ip:port is resolver's fake endpoint
intra/dnsx/transport.go:178
↓ 2 callers
Function
IsHTTPQuestion
whether question q is a https question
intra/xdns/dnsutil.go:1139
↓ 2 callers
Function
IsMDNSQuery
(qname string)
intra/xdns/dnsutil.go:1492
↓ 2 callers
Method
IsNat64
Returns true if ip is a NAT64 address from transport id.
intra/dnsx/x64.go:42
↓ 2 callers
Function
IsSVCBQuestion
whether question q is a svcb question
intra/xdns/dnsutil.go:1134
↓ 2 callers
Function
IsServFailOrInvalid
(msg *dns.Msg)
intra/xdns/dnsutil.go:1456
↓ 2 callers
Function
IsZero
(x any)
intra/core/typ.go:104
↓ 2 callers
Method
K
K sets the (value, expiry) for the given key and returns the number of hits. expiry must be greater than the minimum lifetime.
intra/core/expiringmap.go:151
↓ 2 callers
Function
LOB
LOB returns a truncated byte slice of size 524288
intra/core/buf.go:66
↓ 2 callers
Method
LatestRecentHandshake
()
intra/ipn/wg/stats.go:127
↓ 2 callers
Function
LevelOf
(level int32)
intra/log/log.go:286
↓ 2 callers
Method
LinkAddress
LinkAddress returns the link address of this endpoint.
intra/netstack/fdbased.go:404
↓ 2 callers
Method
ListenUDPAddrPort
(laddr netip.AddrPort)
intra/ipn/wgnet.go:259
↓ 2 callers
Method
Load
Load returns the value of a. May return zero value. This func is atomic.
intra/core/volatile.go:43
↓ 2 callers
Method
Lookup
(q []byte, _ string, _ ...string)
intra/ipn/multihost/multihost_test.go:28
↓ 2 callers
Method
LookupNetIPFor
LookupNetIPFor is like LookupFor
intra/protect/ipmap/ipmap.go:97
↓ 2 callers
Method
MDNS
MDNS returns the mdns transport, if available; error otherwise.
intra/dnsx/transport.go:188
↓ 2 callers
Method
MakeIPSet
MakeIPSet creates an IPSet for this hostname bootstrapped with given IPs or IP:Ports. Subsequent calls to MakeIPSet return a new, overridden IPSet. ho
intra/protect/ipmap/ipmap.go:124
↓ 2 callers
Function
MakeListenConfig
unused: Creates a listener that binds to a particular ip.
intra/protect/protect.go:161
↓ 2 callers
Method
MakeUapiConfig
MakeUapiConfig builds an on-the-fly UAPI config string that overlays the credentials from a permanent config (private key, address, DNS, preshared key
intra/ipn/rpn/regional.go:136
↓ 2 callers
Function
Min
(a, b int)
intra/xdns/common.go:169
↓ 2 callers
Method
Msg
Msg implements PipKeyProvider.
intra/backend/ipn_pipkeygen.go:460
↓ 2 callers
Method
Mult
Mult returns the key multiplied by the basepoint (curve25519).
intra/backend/ipn_wgkeygen.go:48
↓ 2 callers
Method
Network
()
intra/dialers/retrier.go:47
↓ 2 callers
Function
NewBigPublicKey
NewBigPublicKey creates a BigPublicKey from a rsa.PublicKey.
intra/core/brsa/keys.go:47
↓ 2 callers
Function
NewDcMult
NewDcMult creates a dnscrypt proxy
intra/dnscrypt/multiserver.go:735
↓ 2 callers
Function
NewEndQueryError
()
intra/dnsx/queryerror.go:141
↓ 2 callers
Function
NewForeverFlow
(v T)
intra/core/volatileflow.go:55
↓ 2 callers
Function
NewGTunnel
fd must be non-blocking.
tunnel/tunnel.go:173
↓ 2 callers
Function
NewGoosTransport
in secs NewGoosTransport returns the default Go DNS resolver
intra/dns53/goos.go:42
↓ 2 callers
Function
NewKeyedBarrier
(ctx context.Context, id string, ttl time.Duration)
intra/core/barrier.go:100
↓ 2 callers
Function
NewMap
(id string)
intra/ipn/multihost/map.go:260
↓ 2 callers
Function
NewMemoryBased
NewMemoryBased creates a Memconsole backed by page-aligned memfd regions. Returns an error if the kernel does not support memfd_create (Linux < 3.17)
intra/log/memconsole.go:148
↓ 2 callers
Function
NewNatPt2
NewNatPt2 returns a new NatPt.
intra/x64/natpt.go:56
↓ 2 callers
Function
NewProcNetEntry
NewProcNetEntry creates an Entry
intra/netstat/procfs.go:91
↓ 2 callers
Function
NewProtected
hostOrIP may be host:port, or ip:port, or host, or ip.
intra/dialers/ips.go:78
↓ 2 callers
Function
NewRadixTree
()
intra/backend/core_radixtree.go:46
↓ 2 callers
Function
NewSocks5Proxy
(id string, ctx context.Context, ctl protect.Controller, px ProxyProvider, po *settings.ProxyOptions)
intra/ipn/socks5.go:98
↓ 2 callers
Function
NewTunnel2
(fd, linkmtu, tunmtu int, ifaddrs, fakedns string, dtr DefaultDNS, bdg Bridge)
intra/tunnel.go:159
↓ 2 callers
Function
NewVerifier
(v Variant, pk *rsa.PublicKey)
intra/core/brsa/brsa.go:196
↓ 2 callers
Function
NewWgProxy
ref: github.com/WireGuard/wireguard-android/blob/713947e432/tunnel/tools/libwg-go/api-android.go#L76
intra/ipn/wgproxy.go:779
↓ 2 callers
Function
NewXdomains
NewXdomains returns a new xdomains object keyed by tid+uid.
intra/dnsx/alg.go:707
↓ 2 callers
Function
NewXips
NewXips returns a new xips object with primary and secondary ips. May return nil if tid is empty.
intra/dnsx/alg.go:261
↓ 2 callers
Function
Of
(tag string, l LogFn2)
intra/log/log.go:136
↓ 2 callers
Method
OnDNSAdded
OnDNSAdded is called when a new DNS transport with id is added.
intra/backend/dnsx.go:168
↓ 2 callers
Method
OnDeviceBlock
()
intra/dnsx/rethinkdns.go:84
↓ 2 callers
Method
OnDeviceBlock
()
intra/dnsx/rethinkdns.go:157
↓ 2 callers
Method
OnResponse
OnResponse is called when a DNS response is received. May be called twice for the same query, for instance, when different options are requested throu
intra/backend/dnsx_listener.go:138
↓ 2 callers
Method
Ops
Ops returns the RpnOps that control the behaviour of Update.
intra/backend/ipn_proxies.go:275
↓ 2 callers
Function
P
P logs a private message.
intra/log/log.go:199
↓ 2 callers
Method
PTR
given an alg or real ip, retrieves assoc dns names as csv, if any
intra/dnsx/alg.go:96
↓ 2 callers
Method
Pause
()
intra/ipn/wgproxy.go:175
↓ 2 callers
Function
Ping
from: github.com/go-ping/ping/blob/caaf2b72ea5/ping.go
intra/core/ping.go:43
↓ 2 callers
Method
Postflow
Postflow reports summary after flow closes.
intra/listener.go:77
↓ 2 callers
Method
PreferredAddr
prefers v4; see: github.com/WireGuard/wireguard-android/blob/4ba87947a/tunnel/src/main/java/com/wireguard/config/InetEndpoint.java#L97
intra/ipn/multihost/multihost.go:169
↓ 2 callers
Function
PrefixWithSize
(packet []byte)
intra/xdns/common.go:158
↓ 2 callers
Method
Protect
Protect marks fd as protected from routing loops, if any. On Android, this means calling VpnService.protect(fd) to exempt it from fwmarks that route i
intra/backend/protect.go:47
↓ 2 callers
Function
PtrEq
(a, b any)
intra/core/typ.go:100
↓ 2 callers
Method
PurgeAll
()
intra/ipn/rpn.go:29
↓ 2 callers
Method
PurgeAll
()
intra/ipn/rpn.go:475
↓ 2 callers
Function
QueryFor
QueryFor forward a DNS request for uid (if set) or to chosen transport, tid (if uid is not set).
intra/dialers/dns.go:118
↓ 2 callers
Function
Question
(domain string, qtyp uint16)
intra/xdns/dnsutil.go:596
↓ 2 callers
Method
ReadBatch
(ms []ipv6.Message, flags int)
intra/ipn/wg/wgconn2.go:84
↓ 2 callers
Function
ReadPrefixed
TODO: merge this with doh.Accept
intra/xdns/common.go:211
↓ 2 callers
Function
RecordForever
(y bool)
intra/core/dontpanic.go:98
↓ 2 callers
Function
Recording
()
intra/core/dontpanic.go:94
↓ 2 callers
Method
RemoteAddr
()
intra/ipn/wgproxy.go:174
↓ 2 callers
Method
RemoveResolver
(id string)
intra/x64/dns64.go:207
↓ 2 callers
Method
Resume
()
intra/ipn/wgproxy.go:176
↓ 2 callers
Method
ReverseProxy
ReverseProxy copies data between conn and dst (ingress).
intra/netstack/hdl.go:41
↓ 2 callers
Method
Reverser
Reverser sets the reverse proxy for all proxies.
intra/ipn/proxies.go:231
↓ 2 callers
Function
Route
(s *stack.Stack, l3 string)
intra/netstack/netstack.go:175
↓ 2 callers
Function
Same
(a, b Proxy)
intra/ipn/proxy.go:752
↓ 2 callers
Method
Same
(q *ProcNetEntry)
intra/netstat/procfs.go:118
↓ 2 callers
Method
SetConsole
(c Console)
intra/log/logger.go:55
↓ 2 callers
Method
SetConsoleLevel
(level LogLevel)
intra/log/logger.go:54
↓ 2 callers
Function
SetKeepAliveConfigSockOpt
SetKeepAliveConfigSockOpt sets for a TCP connection, SO_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT, TCP_USER_TIMEOUT. args is optional, and s
intra/core/sockopt.go:87
↓ 2 callers
Function
SetLevel
(level LogLevel)
intra/log/log.go:88
↓ 2 callers
Function
SetNetstackOpts
(s *stack.Stack)
intra/netstack/stackopts.go:17
↓ 2 callers
Method
SetReader
SetReader installs r as the consumer of the Memconsole's shared-memory buffers. Drain(fd, start, end) is called synchronously (but without mc.mu held
intra/log/memconsole.go:426
↓ 2 callers
Method
Src
()
intra/netstack/hdl.go:58
↓ 2 callers
Function
StackAddrs
(s *stack.Stack, nic tcpip.NICID)
intra/netstack/rev.go:238
↓ 2 callers
Method
State
State returns the state (as json) of the account.
intra/backend/ipn_proxies.go:273
↓ 2 callers
Function
Status2Str
(status int)
intra/dnsx/queryerror.go:30
← previous
next →
801–900 of 3,609, ranked by callers