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
↓ 4 callers
Function
send
(src io.Writer, dest io.Reader, t *testing.T)
intra/dialers/retrier_test.go:74
↓ 4 callers
Method
sendObsMsg
sendObsMsg delivers (op, err) to the observer goroutine via a channel. It never blocks: the caller returns immediately after the send.
intra/ipn/wg/wgconn2.go:410
↓ 4 callers
Function
serverSummary
(typ, sid, pid, cid string)
intra/rnet/listener.go:53
↓ 4 callers
Method
stall
(flowid string)
intra/common.go:434
↓ 4 callers
Method
stall
(k string)
intra/ipn/proxies.go:697
↓ 4 callers
Function
tcpSummary
(id, uid string, src, dst netip.Addr)
intra/listener.go:129
↓ 4 callers
Function
transportType
(unobs []byte)
intra/ipn/wg/wgconn.go:838
↓ 4 callers
Function
udpaddr
(ipp netip.AddrPort)
intra/ipn/wg/wgconn.go:265
↓ 4 callers
Function
updateV4Checksum
updateV4Checksum calculates and updates the checksum in the packet buffer for a change between old and new. The oldSum must point to the 16-bit checks
intra/core/wire/xsum.go:160
↓ 4 callers
Method
v
()
intra/backend/ipn_pipkeygen.go:133
↓ 4 callers
Function
v4only
(ips []netip.Addr)
intra/dnsx/alg.go:2563
↓ 4 callers
Function
v6only
(ips []netip.Addr)
intra/dnsx/alg.go:2569
↓ 4 callers
Function
withIP
(ap netip.AddrPort, ip netip.Addr)
intra/core/wire/parsed.go:611
↓ 3 callers
Method
AcceptTCP
AcceptTCP creates a listener on the local address. network must be "tcp" or "tcp4" or "tcp6". Helper method for d.Accept("tcp", local)
intra/protect/xdial.go:310
↓ 3 callers
Method
All
All returns a slice that contains all elements in the ring buffer
intra/log/ring.go:138
↓ 3 callers
Function
Alloc
Alloc returns a truncated byte slice of size 4096
intra/core/buf.go:56
↓ 3 callers
Function
Await
(f func(), until time.Duration)
intra/core/async.go:322
↓ 3 callers
Function
ChooseHealthyProxyHostPort
(who, proto string, host string, port uint16, pids []string, px ipn.ProxyProvider)
intra/dnsx/alg.go:2505
↓ 3 callers
Method
Close
Close implements core.UDPConn.Close
intra/udpmux.go:477
↓ 3 callers
Method
Close
Close closes the connection.
intra/netstack/udp.go:322
↓ 3 callers
Method
Close
()
intra/ipn/piph2.go:99
↓ 3 callers
Method
Close
()
intra/ipn/wgproxy.go:1197
↓ 3 callers
Method
CloseConns
ICMP returns the ICMP handler.
intra/netstack/hdl.go:62
↓ 3 callers
Function
CloseTCPRead
CloseTCPRead closes the read end of r.
intra/core/closer.go:52
↓ 3 callers
Function
CloseTCPWrite
CloseTCPWrite closes the write end of w.
intra/core/closer.go:74
↓ 3 callers
Function
Confirm2
(hostOrIP string, addr string)
intra/dialers/ips.go:144
↓ 3 callers
Method
DID
DID is the Device identifier, if any.
intra/backend/ipn_proxies.go:295
↓ 3 callers
Method
DNS
DNS returns the ip:port or doh/dot url or dnscrypt stamp for this proxy.
intra/backend/ipn_proxies.go:232
↓ 3 callers
Method
DNSConfig
DNSConfig returns the DNS filter preset configuration csv.
intra/backend/ipn_proxies.go:175
↓ 3 callers
Function
Dial
(d RDialer, laddr, raddr net.Addr)
intra/protect/xdial.go:232
↓ 3 callers
Function
DialTCP
DialTCP creates a net.TCPConn to raddr bound to laddr using dialer d; laddr may be nil.
intra/protect/xdial.go:252
↓ 3 callers
Method
DialUDPAddrPort
(laddr, raddr netip.AddrPort)
intra/ipn/wgnet.go:230
↓ 3 callers
Function
DialWithSplitRetry
DialWithSplitRetry returns a TCP connection that transparently retries by splitting the initial upstream segment if the socket closes without receivin
intra/dialers/retrier.go:150
↓ 3 callers
Function
DialWithTls
DialWithTls dials into addr using the provided dialer and returns a tls.Conn
intra/dialers/rdial.go:164
↓ 3 callers
Function
Disconfirm2
Disconfirm2 unmarks addr as preferred for hostOrIP
intra/dialers/ips.go:163
↓ 3 callers
Method
DumpPacket
DumpPacket logs a packet, depending on configuration, to stderr and/or a pcap file. ts is an optional timestamp for the packet.
intra/netstack/snooper.go:111
↓ 3 callers
Method
Dup
()
intra/core/byt.go:60
↓ 3 callers
Function
EDNS0PadLen
(msg *dns.Msg)
intra/xdns/dnsutil.go:1420
↓ 3 callers
Method
EchoIDSeq
EchoIDSeq extracts the identifier/sequence bytes from an ICMP Echo response, and returns them as a uint32, used to lookup internally routed ICMP echo
intra/core/wire/parsed.go:560
↓ 3 callers
Method
End
end closes the handler and all its connections.
intra/netstack/hdl.go:31
↓ 3 callers
Method
ExcludeCCs
ExcludeCCs returns the CSV of country codes excluded from CC selection.
intra/backend/ipn_proxies.go:158
↓ 3 callers
Function
FmtSecsFloat
(s float64)
intra/core/fmtstr.go:75
↓ 3 callers
Method
GetMultInternal
GetMultInternal returns multi-transport, if available
intra/dnsx/transport.go:160
↓ 3 callers
Method
GetMultInternal
(id string)
intra/dnsx/transport.go:404
↓ 3 callers
Function
Go2
Go2 runs f(arg0,arg1) in a goroutine and recovers from any panics.
intra/core/async.go:55
↓ 3 callers
Function
Gx1
Gx1 runs f in a goroutine and exits the process if f panics.
intra/core/async.go:92
↓ 3 callers
Method
Has
Returns true if the cidr route is found.
intra/backend/core_iptree.go:34
↓ 3 callers
Function
HasAQuestion
whether the given msg (ans/query) has a A question section
intra/xdns/dnsutil.go:1125
↓ 3 callers
Method
ICMP
UDP returns the UDP handler.
intra/netstack/hdl.go:61
↓ 3 callers
Method
ID
()
intra/doh/doh.go:820
↓ 3 callers
Method
ID
()
intra/dnsx/cacher.go:354
↓ 3 callers
Method
IP4
Implements x.Router.
intra/ipn/wgproxy.go:1606
↓ 3 callers
Method
IP6
()
intra/ipn/wgproxy.go:1607
↓ 3 callers
Function
InboundUDP
(who string, s *stack.Stack, in net.Conn, to, from netip.AddrPort, h GUDPConnHandler)
intra/netstack/udp.go:86
↓ 3 callers
Method
InjectInbound
InjectInbound ingresses a netstack-inbound packet.
intra/netstack/fdbased.go:588
↓ 3 callers
Function
IsDNSSECRequested
IsDNSSECRequested checks if the DNSSEC OK (DO) bit is set in the DNS query.
intra/xdns/dnsutil.go:566
↓ 3 callers
Method
IsEchoRequest
IsEchoRequest reports whether q is an ICMP Echo Request.
intra/core/wire/parsed.go:533
↓ 3 callers
Function
L3
L3 returns the string'd repr of engine.
intra/settings/dsopts.go:24
↓ 3 callers
Method
Len
Len implements Header.
intra/core/wire/ip6.go:34
↓ 3 callers
Method
Len
()
intra/ipn/multihost/multihost.go:221
↓ 3 callers
Function
Listen
Listen listens on for TCP connections on the local address using d.
intra/dialers/rdial.go:127
↓ 3 callers
Function
ListenPacket
ListenPacket listens on for UDP connections on the local address using d. Returned net.Conn is guaranteed to be a *net.UDPConn.
intra/dialers/rdial.go:118
↓ 3 callers
Method
LiveTransports
LiveTransports returns a csv of active transports.
intra/backend/dnsx.go:120
↓ 3 callers
Method
LocalAddr
LocalAddr implements core.DuplexConn.
intra/dialers/split_and_desync.go:336
↓ 3 callers
Method
Lookup
Lookup resolves q over one of the tids. If tids is empty, either dnsx.Default, and if that fails, dnsx.System or dnsx.Goos tids.
intra/protect/ipmap/ipmap.go:87
↓ 3 callers
Method
LookupNetIPOn
LookupNetIPOn is like Lookup but with tids set to some preset IDs on behalf of protect.MyUid.
intra/protect/ipmap/ipmap.go:100
↓ 3 callers
Function
MakeAAAARecord
(name string, ip6 string, ttl uint32)
intra/xdns/dnsutil.go:1193
↓ 3 callers
Function
MakeARecord
(name string, ip4 string, ttl uint32)
intra/xdns/dnsutil.go:1172
↓ 3 callers
Function
MakeDialer
unused: Creates a dialer that binds to a particular ip.
intra/protect/protect.go:151
↓ 3 callers
Function
MakeNsDialer
Creates a net.Dialer that can bind to any active interface.
intra/protect/protect.go:170
↓ 3 callers
Method
MarshalBinary
()
intra/core/pcap.go:38
↓ 3 callers
Function
Max
(a, b int)
intra/xdns/common.go:176
↓ 3 callers
Function
Mode2String
Converts a given DNS/Block/Pt mode to its string representation. typ is one of "dns", "block", "pt"; mode is the value to convert.
intra/settings/tunopts.go:51
↓ 3 callers
Function
N
N is a no-op logger.
intra/log/log.go:147
↓ 3 callers
Function
NeverResolve
never resolve system/default/"hostless" resolver; expected to have seeded ips
intra/protect/protect.go:63
↓ 3 callers
Function
NewAuthProxyOptions
NewAuthProxyOptions returns a new ProxyOptions object with authentication object.
intra/settings/proxyopts.go:31
↓ 3 callers
Function
NewBarrier2
NewBarrier2 returns a new Barrier with the time-to-lives for completed Vs (ttl) and errored Vs (neg).
intra/core/barrier.go:116
↓ 3 callers
Function
NewEndpoint
ref: github.com/google/gvisor/blob/91f58d2cc/pkg/tcpip/sample/tun_tcp_echo/main.go#L102
intra/netstack/seamless.go:82
↓ 3 callers
Function
NewExpiringMap
NewExpiringMap returns a new ExpMap with min lifetime of 0.
intra/core/expiringmap.go:43
↓ 3 callers
Function
NewExpiringMapLifetime
(ctx context.Context, id string, min time.Duration)
intra/core/expiringmap.go:50
↓ 3 callers
Function
NewIpTree
NewIpTree returns a new IpTree.
intra/backend/core_iptree.go:83
↓ 3 callers
Method
On
On (is a hot flow) which immediately calls o (in a separate goroutine) and later calls o on changes to the underlying Volatile variable.
intra/core/volatileflow.go:149
↓ 3 callers
Method
OnProtoChange
onProtoChange returns true if the proxy must be re-added with cfg on proto changes.
intra/ipn/proxies.go:188
↓ 3 callers
Method
Open
(uport uint16)
intra/ipn/wg/wgconn.go:317
↓ 3 callers
Method
OpenConns
OpenConns returns the number of active connections.
intra/netstack/hdl.go:27
↓ 3 callers
Function
OutboundTCP
OutboundTCP sets up a TCP forwarder h to handle TCP packets. If h is nil, s uses the (built-in) default TCP forwarding logic.
intra/netstack/tcp.go:95
↓ 3 callers
Function
OutboundUDP
OutboundUDP sets up a UDP forwarder h for outbound UDP packets. If h is nil, s uses the (built-in) default UDP forwarding logic.
intra/netstack/udp.go:77
↓ 3 callers
Method
Ping
Ping informs if ICMP Echo from src to dst is replied to
intra/netstack/hdl.go:54
↓ 3 callers
Method
Port
()
intra/settings/dnsopts.go:44
↓ 3 callers
Function
Probe
Probe sends and accepts ICMP packets on local addr using d over a net.PacketConn.
intra/dialers/rdial.go:136
↓ 3 callers
Method
Proxy
Proxy copies data between conn and dst (egress). must not block forever as it may block netstack see: netstack/dispatcher.go:newReadvDispatcher
intra/netstack/hdl.go:39
↓ 3 callers
Function
ProxyDial
ProxyDial tries to connect to addr using d
intra/dialers/pdial.go:33
↓ 3 callers
Method
ProxyFor
ProxyFor returns the proxy for the given id or an error. As a special case, if it takes longer than getproxytimeout, it returns an error. ProxyFor imp
intra/ipn/proxies.go:762
↓ 3 callers
Method
Public
Public returns the public key for the client certificate.
intra/doh/client_auth.go:89
↓ 3 callers
Function
Query
Query sends a DNS query to the Default DNS and returns the answer.
intra/dialers/dns.go:98
↓ 3 callers
Function
Record
(start bool)
intra/core/dontpanic.go:103
↓ 3 callers
Method
Refresh
Refresh implements Proxy.
intra/ipn/wgproxy.go:369
↓ 3 callers
Method
RegisterWin
RegisterWin registers (or re-registers) a Windscribe account. ops may be nil to use default behaviour.
intra/backend/ipn_proxies.go:204
↓ 3 callers
Function
Remote
TODO: check for hops on "noop" transports; if those are NOT hoppping, then those are NOT remote, either id MUST be valid proxy id (no checks are made
intra/ipn/proxies.go:1494
↓ 3 callers
Method
RemoteAddr
RemoteAddr implements core.DuplexConn.
intra/dialers/split_and_desync.go:339
← previous
next →
501–600 of 3,609, ranked by callers