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
↓ 8 callers
Method
CloseRead
()
intra/core/proto.go:74
↓ 8 callers
Method
CloseWrite
()
intra/core/proto.go:75
↓ 8 callers
Method
Decode
(b []byte)
intra/core/wire/parsed.go:151
↓ 8 callers
Function
HasAAAAQuestion
whether the given msg (ans/query) has a AAAA question section
intra/xdns/dnsutil.go:1116
↓ 8 callers
Method
ID
()
intra/rnet/http.go:344
↓ 8 callers
Method
Infof
(at int, msg string, args ...any)
intra/log/logger.go:64
↓ 8 callers
Method
Network
()
intra/netstack/icmpconn.go:56
↓ 8 callers
Function
NewBadResponseQueryError
(err error)
intra/dnsx/queryerror.go:123
↓ 8 callers
Function
Req
Req sends q to transport t and returns the answer, if any; errors are unset if answer is not servfail or empty; smm, the in/out parameter, is dns summ
intra/dnsx/alg.go:2437
↓ 8 callers
Method
Reset
Reset resets the ring buffer, evicting all remaining elements.
intra/log/ring.go:125
↓ 8 callers
Function
Servfail
Servfail returns a SERVFAIL response to the query q.
intra/xdns/dnsutil.go:1464
↓ 8 callers
Method
SetWriteDeadline
(time.Time)
intra/core/proto.go:45
↓ 8 callers
Method
Sign
Request a signature on a digest.
intra/doh/client_auth.go:41
↓ 8 callers
Function
TransportPrefix
(id string)
intra/dnsx/transport.go:1732
↓ 8 callers
Method
Type
Type represents what kind of Authorization, e.g. "Bearer", "Token", "Digest".
intra/ipn/h1/auth.go:26
↓ 8 callers
Method
UDP
TCP returns the TCP handler.
intra/netstack/hdl.go:60
↓ 8 callers
Function
Use6
()
intra/dialers/link.go:32
↓ 8 callers
Function
ViaID
(p Proxy)
intra/ipn/proxy.go:762
↓ 8 callers
Method
after
(b *algans)
intra/dnsx/alg.go:967
↓ 8 callers
Function
didAndDBHeader
didAndDBHeader sets the x-rethink-app-did and x-rethink-app-did-token request headers when their respective values are non-empty.
intra/ipn/rpn/yegor.go:1370
↓ 8 callers
Function
healthy
(p Proxy)
intra/ipn/proxy.go:709
↓ 8 callers
Method
internalResolver
Get the internal resolver.
intra/tunnel.go:81
↓ 8 callers
Function
netError
from: netstack gonet
intra/netstack/tcp.go:348
↓ 8 callers
Function
now
func Handle(), GetAddr(), Dialer(), Reaches(), Stop(), OnProtoChange(), Ping(), Stats(), Router() impl by wgproxy. now returns the current time in uni
intra/ipn/wgproxy.go:1840
↓ 8 callers
Method
ok
()
intra/ipn/rpn/yegor.go:897
↓ 8 callers
Function
pipmsgof
go.dev/play/p/hPFgE9s9tMP go.dev/play/p/OTMIv7FLtVs
intra/backend/ipn_pipkeygen.go:123
↓ 8 callers
Method
proxyFor
Gets proxy from the underlying map with retries.
intra/ipn/proxies.go:793
↓ 8 callers
Method
sendDown
()
intra/dialers/retrier_test.go:103
↓ 8 callers
Function
typstr
(p x.Proxy)
intra/ipn/exit.go:226
↓ 8 callers
Function
updateDidTokenIfNeeded
updateDidTokenIfNeeded reads didTokenHeader from the response, logs its expiry, and – when it differs from ent.DidToken – overwrites it in ent.
intra/ipn/rpn/yegor.go:1419
↓ 8 callers
Function
wsRes
(res *http.Response, out *T, op string)
intra/ipn/rpn/yegor.go:1468
↓ 7 callers
Method
Buffer
Buffer returns the entire packet buffer. This is a read-only view; that is, q retains the ownership of the buffer.
intra/core/wire/parsed.go:475
↓ 7 callers
Method
Close
Close cleanups the client
intra/dns53/mdns.go:368
↓ 7 callers
Method
Close
Close drains any pending data, waits for any concurrent Drain call to return, calls Close(), then unmaps the shared-memory regions and closes the memf
intra/log/memconsole.go:445
↓ 7 callers
Function
EmptyResponseFromMessage
(srcMsg *dns.Msg)
intra/xdns/dnsutil.go:94
↓ 7 callers
Method
Establish
()
intra/netstack/udp.go:212
↓ 7 callers
Method
FlagsToStamp
Returns blockstamp given comma-separated blocklist ids
intra/dnsx/rethinkdns.go:200
↓ 7 callers
Method
Get
Gets the value of cidr or "" if cidr is not found.
intra/backend/core_iptree.go:32
↓ 7 callers
Method
GetClientCertificate
GetClientCertificate returns the client certificate (if any). May block as the first call may cause certificates to load. Returns a DER encoded X.509
intra/doh/client_auth.go:35
↓ 7 callers
Function
GetDialerOpts
GetDialerOpts returns current dialer options.
intra/settings/dialeropts.go:148
↓ 7 callers
Method
Len
Len returns the length of the marshaled packet.
intra/core/wire/header.go:42
↓ 7 callers
Method
Names
Names returns a copy of the list of hostnames or host:ports.
intra/ipn/multihost/multihost.go:106
↓ 7 callers
Function
NewTLSTransport
NewTLSTransport returns a DNS over TLS transport, ready for use.
intra/dns53/dot.go:65
↓ 7 callers
Method
ProxyTo
ProxyTo returns the proxy to use for ipp from given pids.
intra/ipn/proxies.go:216
↓ 7 callers
Function
WillErr
WillErr fetches current status and returns if t will error out due to dnsx.DEnd or dnsx.Paused states. It always calls into t.Status(), which has a ch
intra/dnsx/transport.go:1776
↓ 7 callers
Function
addDNSTransport
(r dnsx.Resolver, t dnsx.Transport)
intra/dns.go:282
↓ 7 callers
Function
authHeader
(req *http.Request, t string)
intra/ipn/rpn/yegor.go:1361
↓ 7 callers
Function
baseurl
(test bool, cid string)
intra/ipn/rpn/yegor.go:1317
↓ 7 callers
Method
forward
(q []byte, who, fid, uid string, chosenids ...string)
intra/dnsx/transport.go:553
↓ 7 callers
Function
isAnyBlockPid
(pids []string)
intra/common.go:825
↓ 7 callers
Function
isRPN
(id string)
intra/ipn/proxies.go:1515
↓ 7 callers
Method
judge
returns conn-id, user-id, flow-id. all four values may be empty.
intra/common.go:748
↓ 7 callers
Function
laddr
laddr returns the local address of conn c as a string, or false if c is nil.
intra/ipn/auto.go:579
↓ 7 callers
Function
loge
(err error)
intra/ipn/wg/wgconn.go:824
↓ 7 callers
Function
loged
(err error)
intra/ipn/wgproxy.go:1976
↓ 7 callers
Function
logev
(err error)
intra/ipn/wgproxy.go:1966
↓ 7 callers
Function
mustPack
(m *dnsmessage.Message)
intra/doh/doh_test.go:77
↓ 7 callers
Function
newpool
newpool returns a new sync.Pool of byte slices with minimum capacity, size.
intra/core/buf.go:128
↓ 7 callers
Function
noop
(typ string)
intra/ipn/proxies.go:1487
↓ 7 callers
Function
raddr
(c net.Conn)
intra/dialers/op.go:216
↓ 7 callers
Function
reversed
(s string)
intra/backend/core_radixtree.go:50
↓ 7 callers
Function
unPtr
(p *P, q Q)
intra/dialers/types.go:91
↓ 7 callers
Method
writelog
(lvl LogLevel, at int, msg string, args ...any)
intra/log/logger.go:897
↓ 6 callers
Function
AQuadAUnspecified
(msg *dns.Msg)
intra/xdns/dnsutil.go:1383
↓ 6 callers
Method
Close
()
intra/log/fconsole.go:24
↓ 6 callers
Method
Close
()
intra/doh/doh_test.go:495
↓ 6 callers
Function
CloseFile
(f *os.File)
intra/core/closer.go:27
↓ 6 callers
Method
DialTCP
DialTCP creates a net.TCPConn to raddr. Helper method for d.Dial("tcp", laddr.String(), raddr.String())
intra/protect/xdial.go:247
↓ 6 callers
Method
DialerHandle
DialerHandle uniquely identifies the concrete type backing this proxy's dialer. Useful as a phantom reference to this dialer. github.com/hashicorp/ter
intra/ipn/proxies.go:177
↓ 6 callers
Function
FmtMillis
(ms int64)
intra/core/fmtstr.go:83
↓ 6 callers
Method
Get
Gets the value of k from the trie or "" if k is not in the trie.
intra/backend/core_radixtree.go:26
↓ 6 callers
Function
Gxe
Gxe runs f in a goroutine, ignores returned error, and exits on panics.
intra/core/async.go:166
↓ 6 callers
Method
Hop
Gateway sets proxy p as the gateway for this router.
intra/ipn/proxies.go:190
↓ 6 callers
Function
IPHints
(msg *dns.Msg, x dns.SVCBKey)
intra/xdns/dnsutil.go:978
↓ 6 callers
Method
LocalAddr
gonet conn local and remote addresses may be nil ref: github.com/tailscale/tailscale/blob/8c5c87be2/wgengine/netstack/netstack.go#L768-L775 and: githu
intra/netstack/tcp.go:266
↓ 6 callers
Function
Map
(arr []T, transform func(T) U)
intra/core/slices.go:78
↓ 6 callers
Method
Name
implements tun.Device Name implements tun.Device.
intra/ipn/wgproxy.go:1071
↓ 6 callers
Function
New
New returns a new multihost with the given id.
intra/ipn/multihost/multihost.go:66
↓ 6 callers
Function
New
New re-seeds hostOrIP with a new set of ips. hostOrIP may be host:port, or ip:port, or host, or ip. ipps may be ip or ip:port.
intra/dialers/ips.go:72
↓ 6 callers
Function
NewP50Estimator
NewP50Estimator returns a new P50 (median) estimator.
intra/core/p2est.go:45
↓ 6 callers
Method
Ops
Ops implements x.RpnAcc. Never returns nil.
intra/ipn/rpn/yegor.go:1028
↓ 6 callers
Method
P50
Median round-trip time for this transport, in millis.
intra/backend/dnsx.go:101
↓ 6 callers
Method
Ping
Ping pings this proxy.
intra/backend/ipn_proxies.go:236
↓ 6 callers
Method
RemoteAddr
()
intra/netstack/tcp.go:276
↓ 6 callers
Method
SetDeadline
SetDeadline sets the read and write deadlines for the connection. Read deadlines are set eventually depending on the status of retries.
intra/dialers/retrier.go:924
↓ 6 callers
Method
StampToFlags
Returns comma-separated blocklist ids, given a stamp of form version:base64
intra/dnsx/rethinkdns.go:230
↓ 6 callers
Method
Unwrap
()
intra/rwconn.go:48
↓ 6 callers
Method
Unwrap
()
intra/dnsx/queryerror.go:75
↓ 6 callers
Function
Use4
()
intra/dialers/link.go:17
↓ 6 callers
Method
Via
Via returns the gateway for this router, if any.
intra/backend/ipn_proxies.go:355
↓ 6 callers
Method
add
add adds a proxy to the proxifier and invokes OnProxyAdded. It returns true if the proxy was added successfully. It stops old proxy if a new one with
intra/ipn/proxies.go:337
↓ 6 callers
Function
candial2
(st int)
intra/ipn/proxy.go:781
↓ 6 callers
Function
changeBufferSizes
(c core.MinConn)
intra/ipn/auto.go:571
↓ 6 callers
Function
checksumBytes
checksumBytes calculates the checksum (as defined in RFC 1071) of the bytes in buf. The initial checksum must have been computed on an even number of
intra/core/wire/icmp6.go:159
↓ 6 callers
Function
clos
(c net.Conn)
intra/dns53/dot.go:277
↓ 6 callers
Method
closeWriteUp
()
intra/dialers/retrier_test.go:124
↓ 6 callers
Method
consume
consume calls Drain for the prepared drain parameters, then resets the count header and clears the draining flag for that buffer. idx < 0 is a no-op.
intra/log/memconsole.go:380
↓ 6 callers
Method
currentProxy
()
intra/ipn/rpn.go:96
↓ 6 callers
Method
del
(cidr string)
intra/backend/core_iptree.go:145
↓ 6 callers
Method
extend
(time.Time)
intra/udpmux.go:48
← previous
next →
201–300 of 3,609, ranked by callers