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
Method
WriteTo
(data []byte, addr net.Addr)
intra/netstack/udp.go:286
Method
WriteTo
WriteFrom writes b to TUN using addr as the source.
intra/ipn/socks5.go:77
Method
WriteTo
WriteTo reads from s and writes to w. Usually, WriteTo is executing the "download" phase of egressing conn (w).
intra/dialers/direct_split.go:102
Method
WriteTo
WriteTo writes data to writer via r.conn.WriteTo, after (as needed) retries are done; before which reads are delegated to copyOnce. Usually, WriteTo i
intra/dialers/retrier.go:691
Method
WriteTo
WriteTo reads from s and writes to w. Usually, WriteTo is executing the "download" phase of egressing conn (w).
intra/dialers/split_and_desync.go:516
Function
Wtf
Wtf logs a fatal message.
intra/log/log.go:204
Method
X
(maybeAlg netip.Addr, uid string, tids ...string)
intra/dnsx/alg.go:2000
Method
X64
X64 Implements NAT64.
intra/x64/natpt.go:83
Method
after
(b expaddr)
intra/dnsx/alg.go:167
Method
after
(b expdomains)
intra/dnsx/alg.go:669
Method
awaiters
awaiters waits for a demuxed conns to close, then cleans the state up.
intra/udpmux.go:147
Method
blockAnswer
(*dns.Msg)
intra/dnsx/rethinkdns.go:300
Method
blockAnswer
(msg *dns.Msg)
intra/dnsx/rethinkdns.go:335
Method
blockQuery
(*dns.Msg)
intra/dnsx/rethinkdns.go:299
Method
blockQuery
(msg *dns.Msg)
intra/dnsx/rethinkdns.go:302
Method
denyConnect
(host string, ctx *tx.ProxyCtx)
intra/rnet/http.go:124
Method
denyRequest
(req *http.Request, ctx *tx.ProxyCtx)
intra/rnet/http.go:129
Method
dial
connects to the ws proxy at addr over tcp; used by t.client dial is aware of proto changes via dialers.SplitDial
intra/ipn/pipws.go:76
Method
dialtls
(network, addr string, cfg *tls.Config)
intra/ipn/piph2.go:114
Method
dispatch
cont indicates that the dispatcher should continue delivering packets despite an error. dispatch reads packets from the current file descriptor in d.f
intra/netstack/dispatchers.go:219
Method
end
GConnHandler
intra/netstack/rev.go:112
Function
expaddrDobSorter
go.dev/play/p/t24GYIQERsp
intra/dnsx/alg.go:201
Function
expdomainsDobSorter
(a, b expdomains)
intra/dnsx/alg.go:688
Method
extend
(by time.Duration)
intra/dnsx/alg.go:963
Method
forward
forward copies data between local and remote, and tracks the connection. local, wired to TUN via netstack, is either gonet.TCPConn or gonet.UDPConn. r
intra/common.go:299
Method
fresherThan
(b expdomains)
intra/dnsx/alg.go:676
Function
getGSOSize
getGSOSize parses control for UDP_GRO and if found returns its GSO size data.
intra/ipn/wg/gso.go:40
Method
hijackConnect
from: https://github.com/elazarl/goproxy/blob/2592e75ae0/https.go#L126-L154
intra/rnet/http.go:189
Method
id
()
intra/udpmux.go:330
Method
id
()
intra/core/barrier.go:74
Function
init
()
intra/tun2socks.go:75
Function
init
()
intra/xdns/common.go:78
Function
init
()
intra/core/dontpanic.go:60
Function
init
github.com/v2fly/v2ray-core/blob/0c5abc7e53a/common/bytespool/pool.go#L63
intra/core/buf.go:89
Function
init
()
intra/core/runmet.go:74
Function
init
()
intra/core/runtime/overreach.go:36
Function
init
()
intra/core/wire/parsed.go:68
Function
init
()
intra/log/log.go:82
Function
init
()
intra/log/logpool.go:111
Function
init
()
intra/settings/tunopts.go:121
Function
init
()
intra/settings/dialeropts.go:113
Function
init
()
intra/doh/doh_test.go:138
Function
init
A net.ListenConfig (protect.MakeNsListenConfigExt) must apply the controlFns to the socket prior to bind. This is used to apply socket buffer sizing a
intra/ipn/wg/controlfns.go:43
Method
init
()
intra/x64/dns64.go:112
Method
internalCtx
()
intra/tunnel.go:401
Function
ipConnect
ipConnect dials into ip:port using the provided dialer and returns a net.Conn net.Conn is guaranteed to be either net.UDPConn or net.TCPConn
intra/dialers/rdial.go:38
Method
kickstart
(px ipn.ProxyProvider)
intra/bootstrap.go:206
Function
main
()
intra/dialers/example/main.go:30
Method
marshalPseudo
marshalPseudo serializes h into buf in the "pseudo-header" form required when calculating UDP checksums.
intra/core/wire/ip6.go:68
Method
merge
(q *xdomains)
intra/dnsx/alg.go:865
Method
merge
merge merges b into a.
intra/dnsx/alg.go:975
Function
netConnect2
(d *protect.RDialer, proto string, laddr, raddr netip.AddrPort)
intra/dialers/rdial.go:20
Method
onNotOK
()
intra/ipn/nop.go:98
Method
onNotOK
onNotOK implements Proxy.
intra/ipn/wgproxy.go:317
Method
onNotOK
()
intra/ipn/pxclient_test.go:66
Method
onNotOK
onNotOK implements Proxy.
intra/ipn/rpn.go:203
Method
onStopped
(tid string)
intra/dnsx/alg.go:1076
Method
ordered
()
intra/dnsx/plus.go:146
Method
prepare
swap atomically swaps existing fd for this new one. On error, it closes fd.
intra/netstack/dispatchers.go:200
Method
processObsMsg
processObsMsg launches a goroutine that drains obsCh and calls the observer synchronously for each message. The goroutine exits when s.ctx is cancelle
intra/ipn/wg/wgconn2.go:377
Method
processObsMsg
processObsMsg launches a goroutine that drains observerCh and calls the observer synchronously for each message. The goroutine exits when s.ctx is ca
intra/ipn/wg/wgconn.go:429
Method
processSummaries
must be called from a goroutine; loops reading from ch until done is closed.
intra/common.go:368
Function
proxyConnect
todo: dial bound to the local address if specified
intra/dialers/pdial.go:20
Method
purgeProxyClients
always called from a go-routine
intra/doh/doh.go:320
Method
pxdial
(ctx context.Context, network, addr string)
intra/dns53/goos.go:75
Method
q
Implements Gateway preset may be nil
intra/dnsx/alg.go:1296
Method
quit
()
intra/ipn/wg/wgconn2.go:669
Method
readers
readers has to tasks: 1. Dispatching incoming packets to the correct Conn. It can therefore not be ended until all Conns are closed. 2. Creating a new
intra/udpmux.go:202
Method
reaper
reaper deletes expired keys. Must always be called from a goroutine.
intra/core/expiringmap.go:244
Function
refpass
(_ *V)
intra/core/weakref.go:20
Method
refresh
()
intra/dnsx/transport.go:1132
Method
refresh
()
intra/dnsx/plus.go:421
Method
refreshRoutes
refreshRoutes re-adds relay routes to all live/tracked servers. Must be called from a goroutine.
intra/dnscrypt/multiserver.go:506
Method
refreshTargetKeyDNS
()
intra/doh/odoh.go:243
Method
refreshTargetKeyWellKnown
()
intra/doh/odoh.go:202
Method
reinit
(trtype, ippOrUrl, ipcsv string)
intra/bootstrap.go:123
Method
removeRpnProxy
cc may be a fully qualified ID in case of removing the main proxy.
intra/ipn/proxy.go:66
Method
rmv
(tid string)
intra/dnsx/alg.go:804
Method
route
using ctx.UserData to store summary github.com/elazarl/goproxy/blob/2592e75ae0/examples/goproxy-httpdump/httpdump.go#L254 and counting bytes via a wra
intra/rnet/http.go:137
Method
routeConnect
(host string, ctx *tx.ProxyCtx)
intra/rnet/http.go:173
Method
rpnProxyFor
(provider, cc string)
intra/ipn/proxies.go:854
Method
run
()
intra/core/p2est.go:88
Method
scrub
scrub closes and removes old conns from the pool.
intra/core/connpool.go:349
Method
scrubCache
scrubCache deletes expired entries from the cache. Must be called from a goroutine.
intra/dnsx/cacher.go:206
Method
sendSummaries
sendSummaries sends summaries to the listener. Must be run in a goroutine.
intra/dnsx/transport.go:258
Method
sendto
(p []byte, addr net.Addr)
intra/udpmux.go:332
Method
serve
(network, local string)
intra/ipn/wgproxy.go:1632
Function
setGSOSize
setGSOSize sets a UDP_SEGMENT in control based on gsoSize. It leaves existing data in control untouched.
intra/ipn/wg/gso.go:64
Function
splitIpConnect
(d *protect.RDial, proto string, laddr, raddr netip.AddrPort)
intra/dialers/rdial.go:75
Method
splitTunnel
()
intra/dnsx/alg.go:1063
Method
start
start starts the processor goroutines if the processor manager is configured with more than one processor.
intra/netstack/forwarders.go:234
Method
stop
stop stops all processor goroutines.
intra/netstack/forwarders.go:315
Method
stop
stop stops the dispatcher once. Safe to call multiple times.
intra/netstack/dispatchers.go:207
Method
stop
stop writes to the eventfd and notifies the dispatcher to stop. It does not block.
intra/netstack/fds.go:56
Method
stop
()
intra/netstack/fds.go:128
Method
stop
()
intra/netstack/icmpecho.go:44
Method
stop
clears alg states
intra/dnsx/alg.go:1113
Method
stopAll
()
intra/dnsx/plus.go:80
Method
stopProxies
()
intra/ipn/proxies.go:1035
Function
stopTransport
(t dnsx.Transport)
intra/bootstrap.go:346
← previous
next →
3,501–3,600 of 3,609, ranked by callers