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
Probe
Probe implements RDialer.
intra/protect/xdial.go:210
↓ 1 callers
Method
ProbeICMP
ProbeICMP listens on the local address for ICMP packets sent over UDP. network must be "udp" or "udp4" or "udp6". Helper method for d.Probe("udp", loc
intra/protect/xdial.go:330
↓ 1 callers
Method
Protected
()
intra/protect/ipmap/ipmap.go:777
↓ 1 callers
Function
ProxyDials
ProxyDials tries to connect to addr using each dialer in dd
intra/dialers/pdial.go:42
↓ 1 callers
Method
ProxyMux
ProxyMux proxies data between conn and multiple destinations (endpoint-independent mapping).
intra/netstack/hdl.go:49
↓ 1 callers
Method
ProxyRef
(who, id string)
intra/ipn/proxies.go:447
↓ 1 callers
Function
Ptr
Ptr returns hostnames from the ipmap cache, given an IP address.
intra/dialers/ips.go:96
↓ 1 callers
Method
Put
Put puts conn back in the pool. Put takes ownership of the conn regardless of the return value.
intra/core/connpool.go:288
↓ 1 callers
Method
RDNSBL
given an alg or real ip, retrieve assoc blocklists as csv, if any
intra/dnsx/alg.go:100
↓ 1 callers
Function
RandomIPFromPrefix
RandomIPFromPrefix returns a random IP from the provided CIDR prefix. Supports IPv4 and IPv6. Does not support mapped inputs.
intra/core/ip.go:28
↓ 1 callers
Method
Reaches
Reaches returns true if any host:port or ip:port is dialable.
intra/backend/ipn_proxies.go:357
↓ 1 callers
Method
Read
Read implements core.UDPConn.Read
intra/udpmux.go:376
↓ 1 callers
Method
ReadFrom
(p []byte)
intra/netstack/icmpconn.go:187
↓ 1 callers
Function
ReadStats
(who string, id uint64, cfn core.Work[string])
intra/ipn/wg/stats.go:139
↓ 1 callers
Function
RecoverFn
fn is called in a separate goroutine, if a panic is recovered. RecoverFn must be called as a defered function, and must be the first defer called at t
intra/core/dontpanic.go:73
↓ 1 callers
Method
Refresh
()
intra/rnet/socks5.go:163
↓ 1 callers
Method
Refresh
Refresh re-registers servers
intra/dnscrypt/multiserver.go:402
↓ 1 callers
Method
Remove64
Remove64 deregisters any current resolver from id.
intra/dnsx/x64.go:31
↓ 1 callers
Function
RemoveEDNS0Options
(msg *dns.Msg)
intra/xdns/dnsutil.go:498
↓ 1 callers
Method
RemoveGateways
RemoveGateways removes relay servers
intra/dnscrypt/multiserver.go:547
↓ 1 callers
Method
RemoveServer
(id string)
intra/rnet/servers.go:143
↓ 1 callers
Function
Request4FromResponse6
(msg6 *dns.Msg)
intra/xdns/dnsutil.go:69
↓ 1 callers
Function
ResolveFor
ResolveFor resolves nom to IPs using transport designated for given uid.
intra/dialers/dns.go:21
↓ 1 callers
Function
ResolveForUrl
(s string)
intra/dialers/dns.go:47
↓ 1 callers
Method
ResolvedAddrs
()
intra/settings/dnsopts.go:48
↓ 1 callers
Method
ReverseGet
Reverse lookup; returns hostnames for the given IP address.
intra/protect/ipmap/ipmap.go:126
↓ 1 callers
Method
ReverseGetMany
ReverseGetMany returns a list of sampled hostnames from the ipmap cache. ipver is one of "v4", "v6", or "" (for both).
intra/protect/ipmap/ipmap.go:129
↓ 1 callers
Method
Rotate
Rotate reports whether a new WG keypair should be generated.
intra/backend/ipn_proxies.go:161
↓ 1 callers
Method
Routes
Returns csv of all routes matching cidr or "".
intra/backend/core_iptree.go:36
↓ 1 callers
Method
RoutesLike
Returns csv of all routes with any value like v matching cidr.
intra/backend/core_iptree.go:46
↓ 1 callers
Function
S
(alleast64k []byte)
intra/log/log.go:208
↓ 1 callers
Method
S
S reveals internal state for debugging
intra/dnsx/transport.go:194
↓ 1 callers
Method
S
S reveals internal state for debugging
intra/dnsx/alg.go:112
↓ 1 callers
Method
Salt
()
intra/core/brsa/brsa.go:104
↓ 1 callers
Method
Same
(b *Amnezia)
intra/ipn/wg/amnezia.go:74
↓ 1 callers
Function
SampleHosts
SampleHosts returns a slice of random hosts, of size n, for the given ipver. ipver is one of "v4", "v6", or "" (for both).
intra/dialers/dns.go:57
↓ 1 callers
Function
SampleIPs
SampleIPs returns a slice of random IPs, of size n, for the given ipver. ipver is one of "v4", "v6", or "" (for both).
intra/dialers/dns.go:63
↓ 1 callers
Method
Serve
Serve reads DNS query from conn and writes DNS answer to conn. fid is the flow ID that spawned this DNS query, if Origin is "tunnel".
intra/dnsx/transport.go:181
↓ 1 callers
Method
Set
Set replaces the existing list of IPs, hostnames, and hostname's IPs if resolved.
intra/ipn/multihost/multihost.go:278
↓ 1 callers
Function
SetCallerDepth
(d uint8)
intra/log/log.go:96
↓ 1 callers
Function
SetConsoleLevel
(level LogLevel)
intra/log/log.go:92
↓ 1 callers
Method
SetDNSConfig
SetDNSConfig sets the DNS filter preset configuration. v is a csv of filter presets: "family", "security", "social", "privacy", "all", "none", "defaul
intra/backend/ipn_proxies.go:130
↓ 1 callers
Function
SetFlightRecordOutput
(fp string)
intra/core/dontpanic.go:207
↓ 1 callers
Method
SetLinkAndRoutes
Creates a new link using fd (tun device).
tunnel/tunnel.go:59
↓ 1 callers
Method
SetLinkAndRoutes2
(fd, tunmtu, linkmtu, engine int)
intra/tunnel.go:310
↓ 1 callers
Method
SetPcap
Set or unset the pcap sink
tunnel/tunnel.go:63
↓ 1 callers
Method
SetReadDeadline
SetReadDeadline implements core.UDPConn.SetReadDeadline
intra/udpmux.go:535
↓ 1 callers
Method
SetReadDeadline
(t time.Time)
intra/netstack/icmpconn.go:222
↓ 1 callers
Method
SetReadDeadline
SetReadDeadline sets the read deadline for the connection if the retry is complete, otherwise it does so after the retry.
intra/dialers/retrier.go:895
↓ 1 callers
Method
SetStamp
(stamp string)
intra/dnsx/rethinkdns.go:178
↓ 1 callers
Method
SetTimeout
()
intra/rwconn.go:30
↓ 1 callers
Function
SetTimeoutSockOpt
(c MinConn, timeoutms int)
intra/core/sockopt.go:43
↓ 1 callers
Function
SetTunMode
SetMode re-assigns d to DNSMode, b to BlockMode, pt to PtMode.
intra/settings/tunopts.go:99
↓ 1 callers
Method
SetWriteDeadline
SetWriteDeadline implements core.UDPConn.SetWriteDeadline
intra/udpmux.go:548
↓ 1 callers
Method
SetWriteDeadline
SetWriteDeadline sets the write deadline for the connection.
intra/dialers/retrier.go:912
↓ 1 callers
Function
SigFin
SigFin runs f in a goroutine and returns a channel that is closed when f returns.
intra/core/async.go:313
↓ 1 callers
Method
SlotSize
()
intra/log/memconsole.go:440
↓ 1 callers
Function
Snapshot
Snapshot returns a snapshot of all registered barriers, maps, and active goroutines managed by this package. Safe to call concurrently.
intra/core/runmet.go:519
↓ 1 callers
Method
SoftRefresh
SoftRefresh appends to the list of IPs, hostnames by re-resolving the hostname. It returns the total number of IPs, or -1 on error.
intra/ipn/multihost/multihost.go:248
↓ 1 callers
Function
SplitDialBind
(d *protect.RDial, network, local, remote string)
intra/dialers/rdial.go:159
↓ 1 callers
Function
StackOutput
(w io.Writer)
intra/log/log.go:104
↓ 1 callers
Method
StackOutput
(w io.Writer)
intra/log/logger.go:70
↓ 1 callers
Method
Start
()
intra/rnet/http.go:297
↓ 1 callers
Method
Start
()
intra/rnet/socks5.go:141
↓ 1 callers
Function
Stat
(s *stack.Stack)
intra/netstack/stat.go:24
↓ 1 callers
Method
Stat
NIC, IP, TCP, UDP, and ICMP stats.
tunnel/tunnel.go:65
↓ 1 callers
Method
State
State implements x.RpnAcc.
intra/ipn/rpn/yegor.go:992
↓ 1 callers
Method
Status
Status returns the status of this proxy.
intra/backend/ipn_proxies.go:234
↓ 1 callers
Method
Status
()
intra/dns53/mdns.go:230
↓ 1 callers
Method
Status
()
intra/dns53/grounded.go:89
↓ 1 callers
Method
Status
()
intra/dns53/errorer.go:80
↓ 1 callers
Method
Status
()
intra/rnet/socks5.go:187
↓ 1 callers
Method
Status
()
intra/dnsx/cacher.go:530
↓ 1 callers
Method
Stop
Stop stops this proxy.
intra/backend/ipn_proxies.go:242
↓ 1 callers
Method
Stop
()
intra/rnet/http.go:316
↓ 1 callers
Method
Stop
()
intra/rnet/socks5.go:155
↓ 1 callers
Method
String
String implements fmt.Stringer.
intra/backend/dnsx_listener.go:117
↓ 1 callers
Method
String
()
intra/core/runmet.go:536
↓ 1 callers
Method
String
()
intra/netstat/procfs.go:104
↓ 1 callers
Function
StringReverse
(s string)
intra/xdns/common.go:183
↓ 1 callers
Function
SubstAAAARecords
(out *dns.Msg, subip6s netip.Addr, ttl uint32)
intra/xdns/dnsutil.go:785
↓ 1 callers
Function
SubstARecords
(out *dns.Msg, subip4s netip.Addr, ttl uint32)
intra/xdns/dnsutil.go:819
↓ 1 callers
Function
SupportsRecording
()
intra/core/dontpanic.go:90
↓ 1 callers
Function
TALL
TALL logs the stack trace of all active goroutines.
intra/log/log.go:244
↓ 1 callers
Function
Targets
(msg *dns.Msg)
intra/xdns/dnsutil.go:423
↓ 1 callers
Method
TestWin
TestWin connects to the Windscribe gateway and returns its IP if reachable.
intra/backend/ipn_proxies.go:208
↓ 1 callers
Method
ToResponse
ToResponse implements Header.
intra/core/wire/udp.go:62
↓ 1 callers
Method
Trace
(c bool, t string)
intra/log/logger.go:68
↓ 1 callers
Function
TrackMap
TrackMap registers snap under id for use in Snapshot(). Returns a deregister function that removes it from the registry.
intra/core/runmet.go:513
↓ 1 callers
Function
TruncatedResponse
(packet []byte)
intra/xdns/dnsutil.go:116
↓ 1 callers
Function
U
U logs a user message (notifies the user).
intra/log/log.go:229
↓ 1 callers
Method
UIP
UIP returns ip (network-order byte) to bind given a local/remote ipp (ip:port). (unused)
intra/backend/protect.go:53
↓ 1 callers
Method
Unlink
Unsets existing link and closes the fd (tun device).
tunnel/tunnel.go:61
↓ 1 callers
Method
UntrackBatch
UntrackBatch untracks one cid at a time.
intra/core/connmap.go:44
↓ 1 callers
Method
Unwrap
()
intra/core/err.go:120
↓ 1 callers
Method
Unwrap
()
intra/ipn/wg/wgconn2.go:133
↓ 1 callers
Function
Up
ref: github.com/brewlin/net-protocol/blob/ec64e5f899/internal/endpoint/endpoint.go#L20
intra/netstack/netstack.go:30
↓ 1 callers
Method
Update
Update updates the account creating new state; ops may be nil to retain current RpnOps.
intra/backend/ipn_proxies.go:285
↓ 1 callers
Method
Usr
(msg string)
intra/log/logger.go:58
↓ 1 callers
Method
V
()
intra/backend/ipn_pipkeygen.go:190
← previous
next →
1,501–1,600 of 3,609, ranked by callers