MCPcopy Create free account

hub / github.com/celzero/firestack / functions

Functions3,609 in github.com/celzero/firestack

↓ 2 callersFunctionextractMDNSDomain
(qname string)
intra/xdns/dnsutil.go:1506
↓ 2 callersFunctionfakeBearer
fakeBearer generates a fake Windscribe-shaped Bearer token. Format: <9-digit-id>:1:<unix-epoch>:<42-hex-sig1>:<42-hex-sig2>
intra/ipn/pxclient.go:185
↓ 2 callersMethodfetch
(pid string, req *http.Request)
intra/doh/doh.go:539
↓ 2 callersFunctionfetchIPMetadata
(p Proxy, network string)
intra/ipn/pxclient.go:124
↓ 2 callersMethodfile
(f io.WriteCloser)
tunnel/sink.go:89
↓ 2 callersFunctionfilterFamilyForDialing
filterFamilyForDialing filters out invalid IPs and IPs that are not of the family that the dialer is configured to use.
intra/common.go:709
↓ 2 callersFunctionfilterFamilyForDialingWithFailSafe
filterFamilyForDialingWithFailSafe filters out invalid IPs and IPs that are not of the family that the dialer is configured to use, and includes one e
intra/common.go:698
↓ 2 callersFunctionfinalizeMH
(m *multihost.MHMap, currentPeer *multihost.MH)
intra/ipn/wgproxy.go:741
↓ 2 callersFunctionfindProcNetEntryForProtocol
findProcNetEntryForProtocol parses /proc/net/* and return the line matching the argument five-tuple (protocol, source, sport, destination, dport) as N
intra/netstat/procfs.go:373
↓ 2 callersFunctionfirstEmpty
(arr []string)
intra/dnsx/transport.go:1809
↓ 2 callersMethodflagsToStamp
(flagscsv string, enctyp int)
intra/dnsx/rethinkdns.go:204
↓ 2 callersMethodflood
flood c with random-sized, non-sense (unencrypted) packets. this is okay to do because wireguard silently drops packets that won't decrypt. github.com
intra/ipn/wg/wgconn.go:678
↓ 2 callersMethodflow
(v T)
intra/core/volatileflow.go:22
↓ 2 callersFunctionfmtUnixMillis
(ms int64)
intra/ipn/rpn/cfg.go:183
↓ 2 callersMethodfmtmsg2
(lvl LogLevel, t, f string, args ...any)
intra/log/logger.go:608
↓ 2 callersMethodforceAddProxy
(id, txt string)
intra/ipn/proxy.go:186
↓ 2 callersMethodforward
(network, addr string)
intra/ipn/piph2.go:385
↓ 2 callersMethodforward
(network, addr string)
intra/ipn/pipws.go:385
↓ 2 callersMethodfout
(y bool)
tunnel/sink.go:111
↓ 2 callersMethodfresh
fresh returns false if a has expired or if a is nil
intra/dnsx/alg.go:942
↓ 2 callersMethodfreshCopy
(key string)
intra/dnsx/cacher.go:236
↓ 2 callersMethodfromInternalCache
(tid, uid, fid string, q *dns.Msg, typ iptype)
intra/dnsx/alg.go:1124
↓ 2 callersFunctiongenWgConfs
(h *http.Client, existingCreds *WsWgCreds, existingPermaCreds *WsWgPermanentConfig, sess *WsSession, servers [
intra/ipn/rpn/yegor.go:2032
↓ 2 callersMethodget
(cc string)
intra/ipn/rpn.go:549
↓ 2 callersMethodgetAddr
()
intra/dns53/goos.go:195
↓ 2 callersMethodgetAddr
()
intra/dns53/upstream.go:359
↓ 2 callersMethodgetAddr
()
intra/dnscrypt/servers.go:421
↓ 2 callersMethodgetByPidLocked
(pid string)
intra/core/connmap.go:174
↓ 2 callersMethodgetByUidLocked
(uid string)
intra/core/connmap.go:167
↓ 2 callersMethodgetDispatchers
()
intra/netstack/fdbased.go:581
↓ 2 callersMethodgetLocked
(cid string)
intra/core/connmap.go:160
↓ 2 callersMethodgetMatch
(str string)
intra/backend/core_radixtree.go:155
↓ 2 callersMethodgetMessages
()
intra/ipn/wg/wgconn2.go:570
↓ 2 callersMethodgetOrCreateEchConfigIfNeeded
()
intra/dns53/dot.go:453
↓ 2 callersMethodgetOrCreateEchConfigIfNeeded
()
intra/doh/doh.go:388
↓ 2 callersMethodgetRdnsRemote
()
intra/dnsx/wall.go:37
↓ 2 callersFunctiongetServerList
(h *http.Client, sess *WsSession, ent *WsEntitlement)
intra/ipn/rpn/yegor.go:1702
↓ 2 callersFunctiongetSession
(h *http.Client, ent *WsEntitlement)
intra/ipn/rpn/yegor.go:1494
↓ 2 callersMethodgetViaIfDialed
()
intra/ipn/wgproxy.go:869
↓ 2 callersFunctionhandle
(h GUDPConnHandler, gc *GUDPConn, src, dst netip.AddrPort, demux DemuxerFn)
intra/netstack/udp.go:189
↓ 2 callersMethodhandshakeIfNeededOrClose
(gconn *netstack.GTCPConn, smm *FlowSummary)
intra/tcp.go:189
↓ 2 callersMethodhasLocked
Reports whether ip is in the set. Must be called under RLock.
intra/protect/ipmap/ipmap.go:585
↓ 2 callersMethodhasip
hasip checks if we have all the ip recs we need
intra/dns53/mdns.go:255
↓ 2 callersFunctionhexToIP
hexToIP converts a hex string from /proc/net/* to a netip.Addr. The kernel stores addresses in little-endian format: - IPv4: 8 hex chars (1 uint32) -
intra/netstat/procfs.go:239
↓ 2 callersFunctionhexToInt
(h string)
intra/netstat/procfs.go:189
↓ 2 callersFunctionhexurl
(p string)
intra/ipn/piph2.go:570
↓ 2 callersFunctionhisto2Ms
histo2Ms returns a string with mean, median, mode, avg, min, max, variance, and standard deviation for the histogram, considering only buckets with no
intra/core/runmet.go:305
↓ 2 callersFunctionhisto2Ps
histo2Ps returns a string of percentiles (p10 ... p99.99) for the histogram, considering only buckets with non-zero counts.
intra/core/runmet.go:233
↓ 2 callersFunctionhisto2str
(h *metrics.Float64Histogram, u metricUnit, sep byte)
intra/core/runmet.go:214
↓ 2 callersFunctionhmac256
(m, k []byte)
intra/ipn/piph2.go:564
↓ 2 callersMethodhop
(via, origin string, dryrun bool)
intra/ipn/proxies.go:888
↓ 2 callersFunctionhostport
(stamp *stamps.ServerStamp)
intra/dnscrypt/servers.go:350
↓ 2 callersFunctionhttp502
(w io.WriteCloser, err1 error, ssu *ServerSummary)
intra/rnet/http.go:235
↓ 2 callersFunctionicmpListener
Creates a icmp listener over UDP
intra/protect/protect.go:286
↓ 2 callersMethodincrStCount
(id string)
intra/log/logger.go:355
↓ 2 callersFunctioninitAndConnectCreds
initAndConnectCreds registers creds via /WgConfigs/init and then either: - dynamic creds (perma=false): reserves a WireGuard interface via /WgConfigs/
intra/ipn/rpn/yegor.go:1760
↓ 2 callersMethodinitIfNeeded
()
intra/dnsx/alg.go:121
↓ 2 callersMethodio
(out *[]byte, in *slice)
intra/udpmux.go:562
↓ 2 callersMethodio
io reads packets from fds and dispatches it to netstack. not thread safe (see: threadSafe).
intra/netstack/dispatchers.go:261
↓ 2 callersFunctionip2addr
(ip net.IP)
intra/x64/natpt.go:200
↓ 2 callersFunctionip4to6
(prefix6 net.IPNet, ip4 net.IP)
intra/xdns/dnsutil.go:1365
↓ 2 callersFunctionipbind
unused: Binds a socket to a local ip.
intra/protect/protect.go:108
↓ 2 callersMethodipcset
(d *device.Device)
intra/ipn/wgproxy.go:449
↓ 2 callersFunctionipof
(addr string)
intra/dialers/ips.go:167
↓ 2 callersFunctionipok
(ip netip.Addr)
intra/ipn/rpn/cfg.go:179
↓ 2 callersMethodipsFor
(tid, uid string, t xaddrtyp, s xaddrstatus)
intra/dnsx/alg.go:384
↓ 2 callersFunctionisAlgErr
(err error)
intra/dnsx/alg.go:88
↓ 2 callersFunctionisAnyBasePid
(pids []string)
intra/common.go:829
↓ 2 callersFunctionisAnyBlockFree
(ids ...string)
intra/dnsx/transport.go:1565
↓ 2 callersFunctionisAnyDefault
(ids ...string)
intra/dnsx/transport.go:1590
↓ 2 callersMethodisDNS
(addr netip.AddrPort)
intra/common.go:519
↓ 2 callersMethodisSplitStrat
()
intra/dialers/retrier.go:363
↓ 2 callersFunctionisWG
(id string)
intra/ipn/proxies.go:1523
↓ 2 callersFunctionjoinErr
must always return the interface "error" and not a *errMult, as client code checks for err == nil for a nil *errMult returned from here is always fals
intra/core/err.go:46
↓ 2 callersMethodkeepalive
keepalive sets tcp keepalive, if y is true. If y is false, it disables keepalive.
intra/core/connpool.go:429
↓ 2 callersMethodkeyToNames
(list []string)
intra/dnsx/rethinkdns.go:289
↓ 2 callersMethodkickstartLocked
(px ipn.ProxyProvider)
intra/bootstrap.go:213
↓ 2 callersFunctionl3l4
(pkt *stack.PacketBuffer, sz int64)
intra/netstack/icmp.go:558
↓ 2 callersFunctionl4l7
(pkt *stack.PacketBuffer, sz uint32)
intra/netstack/icmp.go:542
↓ 2 callersMethodlenLocked
()
intra/log/ring.go:98
↓ 2 callersFunctionlistKeys
listKeys calls GET WgConfigs/list_keys and returns the parsed response.
intra/ipn/rpn/yegor.go:2404
↓ 2 callersMethodlistenNet
(network string, port int)
intra/ipn/wg/wgconn2.go:234
↓ 2 callersMethodlistenNet
(network string, port int)
intra/ipn/wg/wgconn.go:279
↓ 2 callersFunctionload
(configjson string)
intra/dnsx/rethinkdns.go:398
↓ 2 callersFunctionloadMH
(mh *multihost.MH, v string)
intra/ipn/wgproxy.go:748
↓ 2 callersMethodloadOrStore
()
intra/core/weakref.go:62
↓ 2 callersMethodlogIfNeeded
(dir string, typ uint32, n int, newn int)
intra/ipn/wg/amnezia.go:241
↓ 2 callersFunctionlogedcond
(x bool)
intra/dialers/op.go:238
↓ 2 callersFunctionlogevif
(e bool)
intra/core/connpool.go:498
↓ 2 callersFunctionlogwd
(err error)
intra/dialers/cdial.go:195
↓ 2 callersFunctionmakeAnyAddrPort
(origipp netip.AddrPort)
intra/common.go:594
↓ 2 callersFunctionmakeGTCPConn
(who string, s *stack.Stack, req *tcp.ForwarderRequest, src, dst netip.AddrPort)
intra/netstack/tcp.go:150
↓ 2 callersFunctionmakeGUDPConn
ref: github.com/google/gvisor/blob/e89e736f1/pkg/tcpip/adapters/gonet/gonet_test.go#L373
intra/netstack/udp.go:62
↓ 2 callersMethodmakeIPSet
(hostname string, ipps []string, ogtyp IPSetType)
intra/protect/ipmap/ipmap.go:483
↓ 2 callersMethodmakeReceiveFn
(fd int, uc net.PacketConn)
intra/ipn/wg/wgconn.go:526
↓ 2 callersFunctionmakeWsWg
(h *http.Client, ent *WsEntitlement, ops x.RpnOps)
intra/ipn/rpn/yegor.go:2175
↓ 2 callersFunctionmakeWsWgFrom
(h *http.Client, existingConf *WsWgConfig, ops x.RpnOps, updating, mustRedo bool)
intra/ipn/rpn/yegor.go:2270
↓ 2 callersMethodmarshalPseudo
marshalPseudo serializes h into buf in the "pseudo-header" form required when calculating UDP checksums. The pseudo-header starts at buf[ip4PseudoHead
intra/core/wire/ip4.go:109
↓ 2 callersFunctionmaybeDup
copy so golang gc may not close orig fd
tunnel/tunnel.go:317
↓ 2 callersFunctionmaybeGlobalUnicast
returns true if addr is a global unicast address; and yn on error.
intra/protect/protect.go:73
← previousnext →1,001–1,100 of 3,609, ranked by callers