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
↓ 441 callers
Method
Load
()
intra/core/weakref.go:97
↓ 365 callers
Function
W
W logs a warning message.
intra/log/log.go:173
↓ 298 callers
Function
I
I logs an info message.
intra/log/log.go:168
↓ 255 callers
Function
E
E logs an error message.
intra/log/log.go:186
↓ 221 callers
Function
D
D logs a debug message.
intra/log/log.go:163
↓ 220 callers
Method
String
String returns a string repr of all tracked conns.
intra/core/connmap.go:48
↓ 199 callers
Method
Store
Store stores the value t; creates a new Volatile[T] if t is nil. If a is nil, does nothing. This func is not atomic.
intra/core/volatile.go:52
↓ 164 callers
Method
Errorf
(at int, msg string, args ...any)
intra/log/logger.go:66
↓ 139 callers
Function
V
V logs a verbose message.
intra/log/log.go:153
↓ 131 callers
Method
Addr
()
intra/netstack/icmpconn.go:65
↓ 129 callers
Method
Error
Error notes the error in connecting src to dst; retrying if necessary.
intra/netstack/hdl.go:43
↓ 99 callers
Method
Add
Resolves hostOrIP and adds the resulting IPs to its IPSet. hostOrIP may be host:port, or ip:port, or host, or ip.
intra/protect/ipmap/ipmap.go:108
↓ 90 callers
Function
JoinErr
(errs ...error)
intra/core/err.go:31
↓ 86 callers
Function
EE
(msg string, args ...any)
intra/log/log.go:190
↓ 86 callers
Method
Write
confirms to protect.Conn
intra/core/proto.go:39
↓ 80 callers
Function
VV
VV logs a very verbose message.
intra/log/log.go:158
↓ 80 callers
Function
idstr
(p x.Proxy)
intra/ipn/exit.go:212
↓ 74 callers
Method
ID
()
intra/protect/xdial.go:41
↓ 74 callers
Function
IsNil
IsNil reports whether x is nil if its Chan, Func, Map, Pointer, UnsafePointer, Interface, and Slice; may panic or return false if x is not addressable
intra/core/typ.go:67
↓ 71 callers
Method
tag
who concats id of this proxy & status of its via
intra/ipn/wgproxy.go:882
↓ 69 callers
Method
Get
Get returns a conn mapped to connection id, cid.
intra/core/connmap.go:38
↓ 60 callers
Method
Done
Done decrements the WaitGroup counter for the current generation by one.
intra/core/rollwg.go:43
↓ 60 callers
Method
Set
Sets cidr route to v, overwriting any previous value.
intra/backend/core_iptree.go:26
↓ 59 callers
Function
idstr
(t Transport)
intra/dnsx/alg.go:2595
↓ 58 callers
Method
Fatalf
(at int, msg string, args ...any)
intra/log/logger.go:67
↓ 52 callers
Function
Go
Go runs f in a goroutine and recovers from any panics.
intra/core/async.go:31
↓ 51 callers
Method
Read
([]byte)
intra/core/proto.go:40
↓ 50 callers
Function
OneErr
(errs ...error)
intra/core/err.go:14
↓ 48 callers
Method
Add
Add a sample to the estimator.
intra/core/p2est.go:35
↓ 46 callers
Method
Port
Port returns the pinned WireGuard port, or 0 if none is set.
intra/backend/ipn_proxies.go:170
↓ 43 callers
Method
Dial
Dial creates a connection to the given address, the resulting net.Conn must be a *net.TCPConn if network is "tcp" or "tcp4" or "tcp6" and must be a *n
intra/protect/xdial.go:46
↓ 42 callers
Method
Contains
Contains returns true if this router can route ipprefix.
intra/backend/ipn_proxies.go:359
↓ 42 callers
Function
FmtTimeAsPeriod
(t time.Time)
intra/core/fmtstr.go:40
↓ 39 callers
Function
Gx
Gx runs f in a goroutine and exits the process if f panics.
intra/core/async.go:80
↓ 39 callers
Function
IsNotNil
may panic or return false if x is not addressable
intra/core/typ.go:60
↓ 39 callers
Function
Recover
Recover must be called as a defered function, and must be the first defer called at the start of a new goroutine.
intra/core/dontpanic.go:166
↓ 38 callers
Method
Do
Do executes and returns the results of the given function, making sure that only one execution is in-flight for a given key at a time. If a duplicate
intra/core/barrier.go:236
↓ 37 callers
Method
GetAddr
Return the server host address used to initialize this transport.
intra/backend/dnsx.go:103
↓ 36 callers
Function
Close
Close closes cs.
intra/core/closer.go:125
↓ 36 callers
Method
CompareAndSwap
(old, new T)
intra/core/volatileflow.go:181
↓ 35 callers
Function
FmtPeriod
(d time.Duration)
intra/core/fmtstr.go:44
↓ 35 callers
Method
Size
()
intra/protect/ipmap/ipmap.go:743
↓ 31 callers
Method
Swap
Swap closes existing FDs; uses new fd.
intra/netstack/seamless.go:25
↓ 29 callers
Method
ProxyFor
ProxyFor returns a transport from this multi-transport.
intra/ipn/proxies.go:214
↓ 28 callers
Method
LocalAddr
LocalAddr returns the local client network address.
intra/core/proto.go:36
↓ 28 callers
Method
Router
Returns x.Router.
intra/backend/ipn_proxies.go:226
↓ 28 callers
Method
Status
State of the transport after previous query (see: queryerror.go)
intra/backend/dnsx.go:108
↓ 28 callers
Function
ko
(tst *testing.T, err error)
intra/backend/core_iptree_test.go:238
↓ 27 callers
Method
Dialer
Dialer returns the dialer for this proxy, which is an adapter for protect.RDialer interface, but with the caveat that not all Proxy instances implemen
intra/ipn/proxies.go:184
↓ 27 callers
Function
Len
(msg *dns.Msg)
intra/xdns/dnsutil.go:1403
↓ 26 callers
Function
FmtBytes
from: github.com/google/gops/blob/35c854fb84/agent/agent.go
intra/core/fmtstr.go:17
↓ 26 callers
Method
Stop
Stop closes the transport.
intra/dnsx/transport.go:143
↓ 26 callers
Function
candial
(state *core.Volatile[int])
intra/ipn/proxy.go:791
↓ 25 callers
Method
IsZero
IsZero returns true if the key is all zeros.
intra/backend/ipn_wgkeygen.go:42
↓ 25 callers
Function
QName
(msg *dns.Msg)
intra/xdns/dnsutil.go:146
↓ 25 callers
Method
Type
one of DNS53, DOH, DNSCrypt, System
intra/backend/dnsx.go:99
↓ 25 callers
Function
laddr
laddr returns the local address of the connection.
intra/dialers/op.go:209
↓ 25 callers
Method
tun
()
intra/netstack/fds.go:121
↓ 24 callers
Method
Add
Adds value v to the cidr route.
intra/backend/core_iptree.go:24
↓ 24 callers
Function
CloseConn
CloseConn closes cs.
intra/core/closer.go:94
↓ 24 callers
Method
Len
Len returns the number of tracked conns.
intra/core/connmap.go:46
↓ 24 callers
Method
Log
Log logs a multi-line msg.
intra/log/log.go:58
↓ 24 callers
Function
NewVolatile
NewVolatile returns a new Volatile with the value t. Panics if t is nil.
intra/core/volatile.go:17
↓ 23 callers
Method
dialerID
()
intra/dialers/retrier.go:314
↓ 23 callers
Method
done
(errs ...error)
intra/rnet/listener.go:25
↓ 22 callers
Method
done
(errs ...error)
intra/listener.go:174
↓ 21 callers
Function
HasAnyQuestion
(msg *dns.Msg)
intra/xdns/dnsutil.go:1111
↓ 21 callers
Function
Loc
go.dev/play/p/jjI4XJZud4i
intra/core/typ.go:44
↓ 21 callers
Method
WriteTo
confirms to net.PacketConn
intra/core/proto.go:63
↓ 21 callers
Function
ko
(t *testing.T, err error)
intra/dns53/dot_test.go:767
↓ 21 callers
Function
ko
(t *testing.T, err error)
intra/dnsx/rethinkdns_test.go:326
↓ 20 callers
Method
Cas
Cas compares and swaps the value of a with new, returns true if the value was swapped. If new is nil, returns true; and sets a to NewZeroVolatile[T] n
intra/core/volatile.go:85
↓ 20 callers
Method
SetLevel
(level LogLevel)
intra/log/logger.go:53
↓ 20 callers
Method
SyscallConn
()
intra/protect/protect_test.go:37
↓ 20 callers
Function
clos
(c ...core.MinConn)
intra/common.go:806
↓ 20 callers
Function
trunc8
(s string)
intra/ipn/rpn/yegor.go:2097
↓ 19 callers
Method
SetDeadline
Implements MinConn and net.Conn
intra/core/proto.go:43
↓ 19 callers
Function
e
(err tcpip.Error)
intra/netstack/netstack.go:109
↓ 19 callers
Method
who
who returns unique id of this proxy
intra/ipn/wgproxy.go:877
↓ 18 callers
Method
RemoteAddr
RemoteAddr returns the destination network address.
intra/core/proto.go:34
↓ 18 callers
Function
localDialStatus
(status *core.Volatile[int], err error)
intra/ipn/exit.go:187
↓ 17 callers
Method
ID
()
intra/rnet/socks5.go:176
↓ 17 callers
Function
NewTransport
NewTransport returns a POST-only DoH transport. `id` identifies this transport. `rawurl` is the DoH template in string form. `addrs` is a list of IP a
intra/doh/doh.go:120
↓ 17 callers
Function
logei
(err error)
intra/ipn/exit64.go:340
↓ 17 callers
Method
queueSummary
queueSummary queues a summary to be sent to the listener; thread-safe.
intra/common.go:341
↓ 16 callers
Function
Mapper
Mapper is a hostname to IP (a/aaaa) resolver for the network engine; may be nil.
intra/dialers/ips.go:117
↓ 16 callers
Method
Query
Given a DNS query (including ID), returns a DNS response with matching ID, or an error if no response was received. The error may be accompanied by a
intra/dnsx/transport.go:137
↓ 16 callers
Function
RTtl
(msg *dns.Msg)
intra/xdns/dnsutil.go:201
↓ 16 callers
Function
copyUniq
flattens and returns a copy with dups removed, if any.
intra/dnsx/alg.go:2622
↓ 16 callers
Function
done
done returns true if the context is done.
intra/core/expiringmap.go:280
↓ 16 callers
Function
newProxyClient
(p Proxy)
intra/ipn/pxclient.go:110
↓ 16 callers
Function
refhandle
(ref *core.WeakRef[Proxy])
intra/ipn/exit.go:205
↓ 16 callers
Function
withPort
(ap netip.AddrPort, port uint16)
intra/core/wire/parsed.go:615
↓ 15 callers
Method
AddrPort
AddrPort returns the ip:port or host:port; may return empty string.
intra/settings/dnsopts.go:37
↓ 15 callers
Method
Addrs
Addrs returns a copy of the IP set as a slice in random order. The slice is owned by the caller, but the elements are owned by the set.
intra/protect/ipmap/ipmap.go:755
↓ 15 callers
Function
AsMsg
(packet []byte)
intra/xdns/dnsutil.go:36
↓ 15 callers
Function
CloseOp
CloseOp closes op on c.
intra/core/closer.go:132
↓ 15 callers
Method
DialBind
DialBind is like Dial but creates a connection to the remote address bounded from the local port (not ip). If local is invalid ip:port (ip must be pre
intra/protect/xdial.go:51
↓ 15 callers
Function
GetInterestingRData
(msg *dns.Msg)
intra/xdns/dnsutil.go:238
↓ 15 callers
Function
HasAnyAnswer
(msg *dns.Msg)
intra/xdns/dnsutil.go:749
next →
1–100 of 3,609, ranked by callers