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
↓ 15 callers
Method
LookupNetIP
LookupNetIP is like Lookup but with empty tids.
intra/protect/ipmap/ipmap.go:95
↓ 15 callers
Method
ProviderID
()
intra/ipn/rpn/cfg.go:56
↓ 15 callers
Function
Rcode
(msg *dns.Msg)
intra/xdns/dnsutil.go:171
↓ 15 callers
Function
Recycle
Recycle returns the byte slices to the pool
intra/core/buf.go:71
↓ 14 callers
Method
Addrs
Returns ip:port, where ports may be 0.
intra/ipn/multihost/multihost.go:117
↓ 14 callers
Method
Clear
()
intra/dnsx/cacher.go:67
↓ 14 callers
Method
Close
()
intra/core/byt.go:35
↓ 14 callers
Method
Confirmed
Confirmed returns the confirmed IP address, or zeroaddr if there is no such address.
intra/protect/ipmap/ipmap.go:786
↓ 14 callers
Method
Delete
Delete deletes the given key.
intra/core/expiringmap.go:216
↓ 14 callers
Method
IP4
IP4 returns true if this router supports IPv4.
intra/backend/ipn_proxies.go:347
↓ 14 callers
Function
Reaches
(p Proxy, urlOrHostPortOrIPPortCsv string, protos ...string)
intra/ipn/proxy.go:305
↓ 14 callers
Method
ReadFrom
([]byte)
intra/core/proto.go:64
↓ 14 callers
Method
Refresh
Refresh re-registers this proxy, if necessary.
intra/backend/ipn_proxies.go:244
↓ 14 callers
Function
k
(i uint32)
intra/core/buf.go:137
↓ 14 callers
Function
logeif
(e error)
intra/dialers/op.go:223
↓ 13 callers
Method
Empty
Empty reports whether the set is empty.
intra/protect/ipmap/ipmap.go:735
↓ 13 callers
Method
Get
Get creates an IPSet for this hostname populated with the IPs discovered by resolving it. Subsequent calls to Get return the same IPSet. Never returns
intra/protect/ipmap/ipmap.go:113
↓ 13 callers
Function
NewProxifier
NewProxifier returns a new Proxifier instance.
intra/ipn/proxies.go:287
↓ 13 callers
Method
Status
()
intra/dnsx/queryerror.go:82
↓ 13 callers
Function
clos
(c io.Closer)
intra/protect/xdial.go:334
↓ 13 callers
Method
fresh
fresh returns false if a has expired or if a is zero-value.
intra/dnsx/alg.go:158
↓ 13 callers
Function
local
Base, Block, Exit, Rpn64, Ingress
intra/ipn/proxies.go:1479
↓ 12 callers
Function
CopyUniq
flattens and returns a (stable) copy with dups removed, if any. go.dev/play/p/OzJs4s6XvQe
intra/core/slices.go:16
↓ 12 callers
Method
IP6
IP6 returns true if this router supports IPv6.
intra/backend/ipn_proxies.go:349
↓ 12 callers
Method
MTU
MTU returns the MTU of this router.
intra/backend/ipn_proxies.go:351
↓ 12 callers
Method
MultiCountry
x.RpnWg, x.RpnPro, x.RpnAmz, x.RpnWin
intra/ipn/rpn/cfg.go:57
↓ 12 callers
Function
NetAndProxyID
NetAndProxyID joins proto and pid into a network string. proto is the network protocol and pid is the proxy ID. May return just the separator ":", if
intra/xdns/common.go:154
↓ 12 callers
Function
clos
(c ...core.MinConn)
intra/dialers/cdial.go:181
↓ 12 callers
Method
id
()
intra/udpmux.go:46
↓ 12 callers
Function
ip2cidr
(ippOrCidr string)
intra/backend/core_iptree.go:545
↓ 12 callers
Function
logeif
(e bool)
intra/ipn/exit64.go:330
↓ 12 callers
Method
net
net returns the trie for the address family of r.
intra/backend/core_iptree.go:91
↓ 12 callers
Method
requireProxy
()
intra/ipn/rpn.go:102
↓ 12 callers
Function
tokenState
(t string)
intra/ipn/rpn/yegor.go:1676
↓ 12 callers
Function
unit4float
(v float64, u metricUnit)
intra/core/runmet.go:415
↓ 11 callers
Method
Copy
()
intra/core/byt.go:51
↓ 11 callers
Function
FmtUnixMillisAsPeriod
(ms int64)
intra/core/fmtstr.go:67
↓ 11 callers
Function
For
For returns addresses for hostOrIP from cache, resolving them if missing. Underlying cache relies on Disconfirm() to remove unreachable IP addrs; if n
intra/dialers/ips.go:87
↓ 11 callers
Method
LocalLookup
LocalLookup performs resolution on Default and/or Goos DNSes. To be only used by protect.MyUid.
intra/dnsx/rethinkdns.go:75
↓ 11 callers
Function
MakeNsRDial
Creates a RDial that can bind to any active interface.
intra/protect/protect.go:180
↓ 11 callers
Function
NewResolver
(pctx context.Context, fakeaddrs string, dtr x.DNSTransport, l x.DNSListener, pt NatPt)
intra/dnsx/transport.go:221
↓ 11 callers
Method
Put
Put adds an element to the sieve with the given key and value.
intra/core/expiringsieve.go:82
↓ 11 callers
Method
Put
(h *MH)
intra/ipn/multihost/map.go:90
↓ 11 callers
Function
b2msg
b2msg creates a Logmsg from a byte slice without copying. github.com/golang/go/issues/19367
intra/log/logger.go:840
↓ 11 callers
Function
byte2hex
byte2hex returns the hex representation of the byte slice b.
intra/backend/ipn_pipkeygen.go:609
↓ 11 callers
Method
conn
()
intra/netstack/udp.go:202
↓ 11 callers
Method
conn
()
intra/netstack/tcp.go:165
↓ 11 callers
Method
get
(s xaddrstatus)
intra/dnsx/alg.go:186
↓ 11 callers
Function
logeif
(cond bool)
intra/dnsx/alg.go:2626
↓ 11 callers
Method
withinStaleThres
withinStaleThres returns true if a is within the stale threshold for retaining expired ips.
intra/dnsx/alg.go:182
↓ 10 callers
Method
Announce
Announce announces the local address. network must be packet-oriented ("udp" or "udp4" or "udp6").
intra/protect/xdial.go:54
↓ 10 callers
Function
Ans
(msg *dns.Msg)
intra/xdns/dnsutil.go:1442
↓ 10 callers
Function
ChooseOne
(c []T)
intra/core/slices.go:57
↓ 10 callers
Method
DialUDP
(laddr, raddr *net.UDPAddr)
intra/ipn/wgnet.go:263
↓ 10 callers
Function
E2
(at int, msg string, args ...any)
intra/log/log.go:270
↓ 10 callers
Function
Grx
Grx runs work function f in a goroutine, blocking until it returns or timesout.
intra/core/async.go:111
↓ 10 callers
Function
LocStr
(x T)
intra/core/typ.go:51
↓ 10 callers
Method
Marshal
Marshal serializes the header into buf, which must be at least Len() bytes long. Implementations of Marshal assume that bytes after the first Len() ar
intra/core/wire/header.go:48
↓ 10 callers
Function
NewBadQueryError
(err error)
intra/dnsx/queryerror.go:119
↓ 10 callers
Function
NewIPMap
()
intra/protect/ipmap/ipmap.go:168
↓ 10 callers
Function
NewNatPt
Only for test.
intra/x64/natpt.go:51
↓ 10 callers
Function
NewSendFailedQueryError
(err error)
intra/dnsx/queryerror.go:107
↓ 10 callers
Function
NewTransport
NewTransport returns a DNS53 transport serving from ip & port, ready for use.
intra/dns53/upstream.go:79
↓ 10 callers
Function
NormalizeQName
(str string)
intra/xdns/dnsutil.go:469
↓ 10 callers
Method
Stat
Stats returns the stats of this router.
intra/backend/ipn_proxies.go:353
↓ 10 callers
Method
TCP
()
intra/netstack/hdl.go:59
↓ 10 callers
Method
Wait
Wait waits until the condition is true. If the condition is already true, it returns immediately.
intra/core/sigcond.go:47
↓ 10 callers
Method
alive
()
intra/dnsx/alg.go:153
↓ 10 callers
Function
clos
(c io.Closer)
intra/ipn/wg/wgconn.go:834
↓ 10 callers
Method
config
()
intra/ipn/rpn/yegor.go:968
↓ 10 callers
Function
copySummary
(from *x.DNSSummary)
intra/dnsx/cacher.go:555
↓ 10 callers
Function
has
(pids []T, pid T)
intra/ipn/proxy.go:748
↓ 10 callers
Function
idhandle
(p Proxy)
intra/ipn/exit.go:198
↓ 10 callers
Function
logeif
(err error)
intra/netstack/rev.go:217
↓ 10 callers
Function
recycleAll
recycleAll returns all []byte pointers to their pools.
intra/log/logpool.go:80
↓ 10 callers
Method
retryCompleted
retryCompleted returns true if the retry is complete or unnecessary.
intra/dialers/retrier.go:125
↓ 10 callers
Method
sendUp
()
intra/dialers/retrier_test.go:98
↓ 10 callers
Function
tracecaller
(s string)
intra/log/logger.go:824
↓ 9 callers
Function
AllocRegion
pointers to slices: archive.is/BhHuQ deal only in pointers to byte-array github.com/golang/example/blob/9fd7daa/slog-handler-guide/README.md#speed All
intra/core/buf.go:45
↓ 9 callers
Method
Bytes
()
intra/core/byt.go:44
↓ 9 callers
Method
Handle
Handle uniquely identifies the concrete type backing this proxy.
intra/ipn/proxies.go:179
↓ 9 callers
Method
Remove
Remove removes a transport from this multi-transport.
intra/backend/dnsx.go:116
↓ 9 callers
Method
SetReadDeadline
(time.Time)
intra/core/proto.go:44
↓ 9 callers
Function
Sort
sorts arr x in ascending order. less(a, b) < 0 when a < b, less(a, b) > 0 when a > b, and less(a, b) == 0 when a == b.
intra/core/slices.go:73
↓ 9 callers
Function
T
T logs the stack trace of the current goroutine.
intra/log/log.go:234
↓ 9 callers
Function
TlsSessionCache
()
intra/core/connmap.go:28
↓ 9 callers
Method
close
()
intra/dialers/retrier_test.go:136
↓ 9 callers
Function
domainsFor
(base *baseans, tid, uid string, forIP netip.Addr, s xaddrstatus)
intra/dnsx/alg.go:1003
↓ 9 callers
Method
ensureProxy
()
intra/ipn/rpn.go:86
↓ 9 callers
Function
ipok
(ip netip.Addr)
intra/dialers/cdial.go:191
↓ 9 callers
Function
makeSetup
(t *testing.T)
intra/dialers/retrier_test.go:38
↓ 9 callers
Function
newQueryError
(no int, err error)
intra/dnsx/queryerror.go:103
↓ 9 callers
Method
ok
()
intra/backend/ipn_pipkeygen.go:140
↓ 9 callers
Function
pidstr
(p ipn.Proxy)
intra/common.go:917
↓ 9 callers
Function
qname
(msg *dns.Msg)
intra/dnsx/transport.go:1689
↓ 9 callers
Function
recycle
recycle returns a []byte pointer to its pool.
intra/log/logpool.go:65
↓ 9 callers
Method
stop
()
intra/netstack/fdbased.go:64
↓ 9 callers
Method
t
()
intra/dnscrypt/fresh.go:24
↓ 9 callers
Function
trackwork
trackwork registers a goroutine under the given id and typ, and returns a function that removes it from the registry. Callers must defer the returned
intra/core/runmet.go:489
↓ 8 callers
Method
Accept
Accept creates a listener on the local address. network must be stream-oriented ("tcp" or "tcp4" or "tcp6").
intra/protect/xdial.go:57
← previous
next →
101–200 of 3,609, ranked by callers