MCPcopy Create free account

hub / github.com/celzero/firestack / functions

Functions3,609 in github.com/celzero/firestack

↓ 3 callersMethodSeed
Returns bootstrap ips or ip:ports.
intra/protect/ipmap/ipmap.go:635
↓ 3 callersMethodSet
()
intra/ipn/wg/amnezia.go:66
↓ 3 callersFunctionSetAutoDialsParallel
SetAutoDialsParallel puts backend.Auto in parallel-dial mode if y is true. That is, backend.Auto will dial all (available) RPN proxies in parallel.
intra/settings/proxyopts.go:169
↓ 3 callersFunctionSetAutoMode
SetAutoMode sets the global AutoMode variable to m. Indicates if backend.Auto proxy is in local, remote, or hybrid mode.
intra/settings/proxyopts.go:143
↓ 3 callersFunctionSetConsole
SetConsole sets external console to redirect log output to.
intra/log/log.go:109
↓ 3 callersMethodSetMTU
(mtu uint32)
intra/netstack/fdbased.go:577
↓ 3 callersFunctionShuffleInPlace
(c []T)
intra/core/slices.go:47
↓ 3 callersFunctionSize
(msg *dns.Msg)
intra/xdns/dnsutil.go:1413
↓ 3 callersFunctionSplitDial
SplitDial dials into addr splitting the first segment to two if the first connection is unsuccessful, using settings.DialStrategy. Returns a net.Conn,
intra/dialers/rdial.go:151
↓ 3 callersMethodStart
Start starts the server.
intra/backend/rnet_services.go:39
↓ 3 callersMethodStat
Stat returns EpStat (fd, age, read, written, lastRead, lastWrite).
intra/netstack/seamless.go:29
↓ 3 callersMethodSvcRoute
SvcRoute decides how to forward an incoming connection over service (sid).
intra/backend/rnet_services.go:89
↓ 3 callersMethodTango
Tango retrieves old value and loads in new non-atomically. If a is nil, returns zero value. If new is nil, returns zero value; and sets a to NewZeroVo
intra/core/volatile.go:128
↓ 3 callersFunctionTranslateRecords
(ansin *dns.Msg, typ uint16, translate func(dns.RR) (x []dns.RR, stop bool))
intra/xdns/dnsutil.go:853
↓ 3 callersMethodTransport
Transport returns the transport header and payload (IP subprotocol, such as TCP or UDP). This is a read-only view; that is, p retains the ownership of
intra/core/wire/parsed.go:498
↓ 3 callersMethodTryWait
TryWait waits until signalled, or until max time has elapsed. It returns true if signal fires, false if timeout elapsed. If already signalled, it retu
intra/core/sigcond.go:57
↓ 3 callersFunctionWE
(msg string, args ...any)
intra/log/log.go:177
↓ 3 callersMethodX
given an alg or real ip, retrieves assoc real ips as csv, if any
intra/dnsx/alg.go:94
↓ 3 callersFunctionaaaaquery
(d string)
intra/dns53/dot_test.go:760
↓ 3 callersMethodadd
add adds the nat64 prefixes to the dns64 map; thread-safe.
intra/x64/dns64.go:357
↓ 3 callersMethodaddLocked
(k K)
intra/core/barrier.go:213
↓ 3 callersFunctionaddrs
TODO: handle HTTPS/SVCB
intra/dns53/ipmapper.go:403
↓ 3 callersMethodall
()
intra/dnsx/transport.go:1122
↓ 3 callersFunctionbrand
(sz int)
intra/backend/ipn_pipkeygen.go:593
↓ 3 callersMethodcacheKey
cacheKey returns the key used for pool lookups. Note: UID and INode are intentionally excluded because lookups are performed by 5-tuple (protocol, src
intra/netstat/procfs.go:114
↓ 3 callersFunctioncachedTransport
(t Transport)
intra/dnsx/transport.go:1767
↓ 3 callersMethodcandial
()
intra/rnet/socks5.go:244
↓ 3 callersFunctioncantProxyH3
(id string)
intra/ipn/proxies.go:1519
↓ 3 callersFunctionchangeport
(endpoint, newPort string)
intra/ipn/rpn/regional.go:216
↓ 3 callersFunctionchooseAny
(s []T)
intra/dnscrypt/multiserver.go:88
↓ 3 callersMethodclear
()
intra/protect/ipmap/ipmap.go:847
↓ 3 callersFunctionclos
(fd int)
intra/netstack/fds.go:151
↓ 3 callersFunctionclosePipe
(ps ...io.Closer)
intra/ipn/piph2.go:558
↓ 3 callersMethodcloseWriteDown
()
intra/dialers/retrier_test.go:132
↓ 3 callersFunctioncloseWs
(ws *websocket.Conn, reason string)
intra/ipn/pipws.go:458
↓ 3 callersFunctioncommondial
(d D, network, addr string, connect dialFn[D, C])
intra/dialers/cdial.go:58
↓ 3 callersFunctionconn2str
(a net.Conn, b net.Conn)
intra/common.go:795
↓ 3 callersMethodconnect
(network, pid string)
intra/dns53/upstream.go:228
↓ 3 callersMethodconsoleQueue
consoleQueue sends msg m to l.msgC, dropping if full.
intra/log/logger.go:431
↓ 3 callersFunctioncontainsPid
(pids []string, pid string)
intra/common.go:833
↓ 3 callersMethoddeadlines
()
intra/rwconn.go:100
↓ 3 callersMethoddetermineTransport
(id string)
intra/dnsx/transport.go:829
↓ 3 callersMethoddialAlways
(p Proxy, network, local, remote string)
intra/ipn/auto.go:525
↓ 3 callersMethoddialIfHealthy
(p Proxy, network, local, remote string)
intra/ipn/auto.go:536
↓ 3 callersMethoddialLocked
dialLocked establishes a new connection to r.raddr and closes existing, if any. Sets r.conn on non-errors and timeout as calculated from round-trip ti
intra/dialers/retrier.go:324
↓ 3 callersFunctiondialtls
(d D, cfg *tls.Config, network, local, remote string, how dialFn[D, *net.Conn])
intra/dialers/rdial.go:173
↓ 3 callersFunctionencrypt
(c *big.Int, N *big.Int, e *big.Int, m *big.Int)
intra/core/brsa/rsa.go:68
↓ 3 callersFunctionestr
(err error)
intra/ipn/wgproxy.go:1986
↓ 3 callersFunctionextend
(c core.MinConn, t time.Duration)
intra/common.go:853
↓ 3 callersFunctionextend
(c net.PacketConn, t time.Duration)
intra/dns53/mdns.go:655
↓ 3 callersFunctionextendr
(c core.MinConn, t time.Duration)
intra/common.go:863
↓ 3 callersFunctionextendw
(c core.MinConn, t time.Duration)
intra/common.go:873
↓ 3 callersFunctionfhash
xor fold fnv to 48 bits: www.isthe.com/chongo/tech/comp/fnv
intra/log/logger.go:349
↓ 3 callersMethodflattenKids
()
intra/ipn/rpn.go:630
↓ 3 callersMethodflowing
(smm *FlowSummary)
intra/common.go:791
↓ 3 callersFunctionfmtTime
(t time.Time)
intra/ipn/rpn/cfg.go:187
↓ 3 callersMethodfmtmsg
(lvl LogLevel, f string, args ...any)
intra/log/logger.go:604
↓ 3 callersFunctionfname
(f *os.File)
intra/tun2socks.go:479
↓ 3 callersFunctionfname
(f *os.File)
intra/core/dontpanic.go:234
↓ 3 callersMethodfork
cc may be a fully qualified ID (in case of re-forking the main proxy), too.
intra/ipn/rpn.go:312
↓ 3 callersMethodfresherThan
(b expaddr)
intra/dnsx/alg.go:174
↓ 3 callersFunctionfullAddrFrom
(nic tcpip.NICID, ipp netip.AddrPort)
intra/netstack/icmpconn.go:227
↓ 3 callersMethodget
(hostOrIP string, typ IPSetType)
intra/protect/ipmap/ipmap.go:376
↓ 3 callersMethodgetLocked
(k K)
intra/core/barrier.go:192
↓ 3 callersFunctiongetProcNetEntryFromPool
(p *ProcNetEntry)
intra/netstat/procfs.go:357
↓ 3 callersMethodgetRdnsLocal
()
intra/dnsx/wall.go:31
↓ 3 callersMethodgetRelay
()
intra/dnscrypt/servers.go:433
↓ 3 callersMethodgetStamp
()
intra/dnsx/rethinkdns.go:165
↓ 3 callersMethodgetVia
()
intra/ipn/wgproxy.go:853
↓ 3 callersFunctiongetaddrstr
(t Transport)
intra/dnsx/alg.go:2610
↓ 3 callersMethodh2
(cfg *tls.Config)
intra/ipn/pipws.go:252
↓ 3 callersFunctionhasroute
(p Proxy, ipp string)
intra/ipn/proxy.go:702
↓ 3 callersFunctionhttpClient
(p Proxy, network string, httpTimeout time.Duration)
intra/ipn/pxclient.go:592
↓ 3 callersMethodinc
()
intra/log/logger.go:158
↓ 3 callersFunctioninvalidProcNetEntry
(p *ProcNetEntry)
intra/netstat/procfs.go:328
↓ 3 callersFunctionisAnyFixed
(ids ...string)
intra/dnsx/transport.go:1569
↓ 3 callersFunctionisDigit
(b byte)
intra/dnscrypt/certs.go:180
↓ 3 callersFunctionisInternal
(id string)
intra/ipn/proxies.go:1507
↓ 3 callersFunctionkey4
(name string, oth ...string)
intra/dns53/ipmapper.go:394
↓ 3 callersFunctionkey6
(name string, oth ...string)
intra/dns53/ipmapper.go:398
↓ 3 callersMethodlatest
()
intra/dnsx/plus.go:113
↓ 3 callersFunctionloadIPNets
(id string, out *[]netip.Prefix, v string)
intra/ipn/wgproxy.go:756
↓ 3 callersFunctionlocalDialStrat
(d *protect.RDial, network, local, remote string)
intra/ipn/proxies.go:1543
↓ 3 callersMethodlocallookup
locallookup resolves on dnsx.Default and then on dnsx.System or dnsx.Goos if dnsx.Default fails.
intra/dns53/ipmapper.go:270
↓ 3 callersMethodlog
(y bool)
tunnel/sink.go:107
↓ 3 callersFunctionloge
(err error)
intra/ipn/rpn/yegor.go:2681
↓ 3 callersFunctionlogei
(err error)
intra/common.go:895
↓ 3 callersFunctionlogeif
(cond bool)
intra/ipn/multihost/multihost.go:476
↓ 3 callersFunctionlogwif
(cond bool)
intra/x64/dns64.go:445
↓ 3 callersMethodlookupfor
lookupfor resolves q given a uid. If uid is protect.SelfUid, the client code (via DNSListener.OnQuery) may or may not choose dnsx.Default. If uid is a
intra/dns53/ipmapper.go:250
↓ 3 callersMethodlookupon
lookupon always resolves on one of the chosen tids (if empty, it may or may not use dnsx.Default; see: dnsx.transport.go:determineTransport) uid may b
intra/dns53/ipmapper.go:261
↓ 3 callersMethodloopAssoc
(smm *FlowSummary)
intra/common.go:455
↓ 3 callersMethodloopDetected
(smm *FlowSummary)
intra/common.go:479
↓ 3 callersMethodloopUnassoc
(smm *FlowSummary)
intra/common.go:492
↓ 3 callersFunctionlooptrackerKey
TODO: loop tracker key must account for proto:ip:port not just proto:ip
intra/common.go:838
↓ 3 callersFunctionmakeIPPorts
makeIPPorts returns a slice of valid, non-zero at most cap AddrPorts. The first element may be origipp AddrPort, if realips is empty or contains only
intra/common.go:607
↓ 3 callersFunctionmatch
match returns the first matching prefix for ip in nets.
intra/x64/natpt.go:172
↓ 3 callersFunctionmaybeH3
(proto string, addr netip.AddrPort)
intra/ipn/proxies.go:1580
↓ 3 callersMethodmerge
(q *xips)
intra/dnsx/alg.go:527
↓ 3 callersFunctionnetlistener
Creates a plain old listener
intra/protect/protect.go:279
← previousnext →601–700 of 3,609, ranked by callers