MCPcopy Create free account

hub / github.com/celzero/firestack / functions

Functions3,609 in github.com/celzero/firestack

↓ 6 callersFunctionfullAddrFrom
-------------------------------------------------------------------- tcp and udp dialers -------------------------------------------------------------
intra/ipn/wgnet.go:179
↓ 6 callersMethodget
(serverid string)
intra/x64/dns64.go:412
↓ 6 callersFunctionhex2byte
hex2byte returns the byte slice represented by the hex string s.
intra/backend/ipn_pipkeygen.go:600
↓ 6 callersFunctionifbind
Binds a socket to a particular network interface.
intra/protect/protect.go:83
↓ 6 callersMethodinternalCtx
()
intra/tunnel.go:76
↓ 6 callersMethodinternalProxies
Get the internal proxies.
intra/tunnel.go:85
↓ 6 callersFunctionisNil
Cannot import pkg core here. from: intra/core/typ.go:isNil
intra/log/logger.go:1074
↓ 6 callersFunctionlidx
(i uint32)
intra/log/logpool.go:125
↓ 6 callersMethodlistener
(op wg.PktDir, err error)
intra/ipn/wgproxy.go:1680
↓ 6 callersMethodmainRpnProxyOf
mainRpnProxyFor returns the main (default) RPN proxy from this multi-transport.
intra/ipn/proxies.go:204
↓ 6 callersFunctionmakeTestRoundTripper
()
intra/doh/doh_test.go:237
↓ 6 callersMethodok
()
intra/netstack/fds.go:110
↓ 6 callersFunctionqtype
(msg *dns.Msg)
intra/dnsx/transport.go:1695
↓ 6 callersMethodrealipsFor
realipsFor returns all live primary ips for a given tid+uid pair
intra/dnsx/alg.go:380
↓ 6 callersFunctiontoHex
(b64 string)
intra/ipn/rpn/regional.go:61
↓ 6 callersFunctiontr2csv2
(ts []Transport)
intra/dnsx/transport.go:1710
↓ 6 callersMethodtrack
track marks a name as being tracked by this client; name is NOT normalized.
intra/dns53/mdns.go:613
↓ 6 callersFunctiontrackmap
trackmap registers snap under id for use in Snapshot(). Returns a deregister function that removes it from the registry.
intra/core/runmet.go:505
↓ 6 callersFunctionwsErr
(res *http.Response, op string)
intra/ipn/rpn/yegor.go:1430
↓ 5 callersFunctionAlloc16
Alloc16 returns a truncated byte slice of size 16384
intra/core/buf.go:61
↓ 5 callersMethodBase64
Base64 returns the key as a base64-encoded string.
intra/backend/ipn_wgkeygen.go:44
↓ 5 callersMethodClient
Client returns a client that uses this proxy.
intra/backend/ipn_proxies.go:228
↓ 5 callersMethodClose
Close closes the connection and the read and write flags.
intra/dialers/retrier.go:871
↓ 5 callersMethodCond
Cond returns true if the signal has been fired.
intra/core/sigcond.go:41
↓ 5 callersMethodConfirm
Confirm marks ip as the confirmed address. No-op if current confirmed IP is the same as ip. No-op if s is of type Protected and ip isn't in seed addrs
intra/protect/ipmap/ipmap.go:794
↓ 5 callersMethodDoIt
DoIt is like Do but return type is same as func once.
intra/core/barrier.go:224
↓ 5 callersMethodGetAny
Returns the value of the longest prefix of k in the trie or "".
intra/backend/core_radixtree.go:30
↓ 5 callersFunctionHasAQuadAQuestion
whether the given msg (ans/query) has a a/aaaa question section
intra/xdns/dnsutil.go:1144
↓ 5 callersMethodHasAny
Returns true if any route matches cidr.
intra/backend/core_iptree.go:42
↓ 5 callersFunctionHasRcodeSuccess
(msg *dns.Msg)
intra/xdns/dnsutil.go:745
↓ 5 callersMethodICMPHeaderString
()
intra/core/wire/parsed.go:431
↓ 5 callersFunctionIP2Cidr
(ippOrCidr string)
intra/core/ip.go:72
↓ 5 callersMethodIPPorts
IPPorts returns all ip:ports of this server.
intra/dnsx/transport.go:139
↓ 5 callersFunctionIsDNSSECAnswerAuthenticated
IsDNSSECAnswerAuthenticated checks if the DNSSEC authenticated bit is set in the DNS answer.
intra/xdns/dnsutil.go:576
↓ 5 callersFunctionNet2ProxyID
Net2ProxyID splits network string into proto and pid; proto is the network protocol and pid is the proxy ID. May return empty strings.
intra/xdns/common.go:125
↓ 5 callersFunctionNewInternalQueryError
(err error)
intra/dnsx/queryerror.go:115
↓ 5 callersFunctionNewZeroVolatile
NewVolatile returns a new uninitialized Volatile.
intra/core/volatile.go:25
↓ 5 callersFunctionPipe
Pipe reads data from src to dst, and returns the number of bytes copied. Prefers src.WriteTo(dst) and dst.ReadFrom(src) if available. Otherwise, it us
intra/core/cp.go:25
↓ 5 callersMethodPrintf
(msg string, args ...any)
intra/log/logger.go:59
↓ 5 callersMethodProbe
Probe listens on the local address for ICMP packets sent over UDP. Network must be "udp" or "udp4" or "udp6".
intra/protect/xdial.go:60
↓ 5 callersMethodPush
Push adds an element to the ring buffer
intra/log/ring.go:48
↓ 5 callersFunctionQType
(msg *dns.Msg)
intra/xdns/dnsutil.go:164
↓ 5 callersFunctionRace
Race runs all the functions in fs concurrently and returns the first non-error result. Returned values are the result, the index of the function that
intra/core/async.go:191
↓ 5 callersFunctionRand64
Rand64 returns a random 64-bit hex string (16 chars long).
intra/core/typ.go:39
↓ 5 callersMethodRefreshProto
RefreshProto broadcasts proto change to all active proxies. l3 if left empty, will use last recorded value; same for mtu <= 0.
intra/ipn/proxies.go:227
↓ 5 callersFunctionRegisterAddrs
RegisterAddrs registers IP ports with all dialers for a given hostname. If id is dnsx.Bootstrap, the hostname is "protected" from re-resolutions. host
intra/dnsx/transport.go:1492
↓ 5 callersMethodReset
()
intra/core/byt.go:76
↓ 5 callersFunctionResolve
Resolve resolves hostname to IP addresses, bypassing cache. If resolution fails, entries from the cache are returned, if any.
intra/dialers/dns.go:29
↓ 5 callersMethodSetKeepAlive
(bool)
intra/core/proto.go:102
↓ 5 callersMethodSignal
Signal sets the condition to true and wakes all waiters, if any.
intra/core/sigcond.go:70
↓ 5 callersMethodSize
Size returns the size of the public key.
intra/core/brsa/keys.go:35
↓ 5 callersMethodStack
(at int, msg string, scratch []byte)
intra/log/logger.go:69
↓ 5 callersFunctionStream
Stream reads data from src in to dst until error, and returns the no. of bytes read. Internally, it bypasses io.ReaderFrom and io.WriterTo but uses io
intra/core/cp.go:54
↓ 5 callersMethodValuesLike
Returns csv of all routes with values like v for cidr.
intra/backend/core_iptree.go:48
↓ 5 callersMethodWait
Wait implements stack.LinkEndpoint.Wait. It waits for the endpoint to stop reading from its FD.
intra/netstack/fdbased.go:412
↓ 5 callersMethodadd
add one or more IP addresses to the set. The hostname can be a domain name or an IP address.
intra/protect/ipmap/ipmap.go:641
↓ 5 callersMethodaddLocked
Adds an IP to the set if it is not present. Must be called under Lock.
intra/protect/ipmap/ipmap.go:595
↓ 5 callersMethodallips
(t xaddrtyp, s xaddrstatus)
intra/dnsx/alg.go:321
↓ 5 callersFunctionaquery
(d string)
intra/dns53/dot_test.go:753
↓ 5 callersMethodcheckNoSplit
()
intra/dialers/retrier_test.go:183
↓ 5 callersFunctioncommondial2
(d D, network, laddr, raddr string, connect dialFn[D, C])
intra/dialers/cdial.go:62
↓ 5 callersMethodemitStack
emitStack sends stacktrace to console or log. Empty msgs are ignored. Log level (ex: "F ") is prepend to each log line when sent to console.
intra/log/logger.go:496
↓ 5 callersFunctionfillSummary
fillSummary copies non-zero values into out.
intra/dnsx/cacher.go:562
↓ 5 callersMethodforward
(network string, q *dns.Msg, outSmm *x.DNSSummary, all ...Transport)
intra/dnsx/plus.go:220
↓ 5 callersFunctionfulladdr
(addr string)
tunnel/dialer.go:130
↓ 5 callersMethodget
(cidr string)
intra/backend/core_iptree.go:259
↓ 5 callersFunctionhdlstr
(p Proxy)
intra/ipn/exit.go:219
↓ 5 callersFunctionid64
(tid string)
intra/x64/natpt.go:185
↓ 5 callersFunctioninfcsv
(ts ...Transport)
intra/dnsx/alg.go:2602
↓ 5 callersFunctionisPlus
(id string)
intra/dnsx/transport.go:1786
↓ 5 callersFunctionisTransportID
Also accounts for prefixes such as CT+ID
intra/dnsx/transport.go:1557
↓ 5 callersFunctionkey
(name string, typ string, oth ...string)
intra/dns53/ipmapper.go:387
↓ 5 callersFunctionlogei
(cond bool)
intra/netstack/rev.go:224
↓ 5 callersFunctionlogeor
(e error, d log.LogFn)
intra/dialers/op.go:231
↓ 5 callersFunctionlogev
(err error)
intra/common.go:887
↓ 5 callersFunctionlogev
(err error)
intra/core/connpool.go:494
↓ 5 callersFunctionlogwif
(cond bool)
intra/dns53/upstream.go:438
↓ 5 callersFunctionlogwv
(cond bool)
intra/netstack/rev.go:231
↓ 5 callersMethodmaybeReplaceDest
maybeReplaceDest replaces the target AddrPort with the IP in res, if res.IP is set and valid.
intra/common.go:778
↓ 5 callersFunctionmustUnpack
(q []byte)
intra/doh/doh_test.go:85
↓ 5 callersFunctionnewCertificateRequestInfo
()
intra/doh/client_auth_test.go:166
↓ 5 callersFunctionnewClientAuthWrapper
(signer ClientAuth)
intra/doh/client_auth.go:114
↓ 5 callersFunctionnewToBeSigned
(message []byte)
intra/doh/client_auth_test.go:172
↓ 5 callersMethodonFlow
onFlow calls listener.Flow to determine egress rules and routes; thread-safe.
intra/common.go:148
↓ 5 callersMethodplus
()
intra/dnsx/transport.go:425
↓ 5 callersMethods
()
intra/log/logger.go:189
↓ 5 callersMethodset
(cidr string, v string)
intra/backend/core_iptree.go:128
↓ 5 callersMethodsizes
()
intra/dnsx/alg.go:142
↓ 5 callersMethodstopIfExistsLocked
stopIfExistsLocked stops the transport if it exists, then deletes it from the map.
intra/dnsx/transport.go:303
↓ 5 callersMethodswapBuffersLocked
swapBuffersLocked stamps the count header of the active buffer, sets its draining flag, flips active to the other buffer, and returns the Drain call p
intra/log/memconsole.go:360
↓ 4 callersFunctionAQuadAForQueryTTL
(q *dns.Msg, ttl uint32, ips ...netip.Addr)
intra/xdns/dnsutil.go:685
↓ 4 callersMethodAdd
Adds k to the trie. Returns true if k was not already in the trie.
intra/backend/core_radixtree.go:20
↓ 4 callersFunctionAutoAlwaysRemote
backend.Auto must use remote proxies and never use local (ex: ipn.Exit) ones.
intra/settings/proxyopts.go:154
↓ 4 callersFunctionChangeBufferSizesSockOpt
(who string, c MinConn, rsz, wsz int)
intra/core/sockopt.go:180
↓ 4 callersMethodClose
()
intra/netstack/waitgroup_test.go:178
↓ 4 callersMethodDel
Deletes cidr route. Returns true if cidr was found.
intra/backend/core_iptree.go:30
↓ 4 callersMethodDialContext
-------------------------------------------------------------------- generic dialer ------------------------------------------------------------------
intra/ipn/wgnet.go:83
↓ 4 callersMethodDisconfirm
Disconfirm sets the confirmed address to zeroaddr if the current confirmed address is the provided ip.
intra/protect/ipmap/ipmap.go:863
↓ 4 callersMethodDispose
Dispose closes all existing FDs.
intra/netstack/seamless.go:27
↓ 4 callersMethodE
()
intra/core/barrier.go:64
← previousnext →301–400 of 3,609, ranked by callers