MCPcopy Create free account

hub / github.com/celzero/firestack / functions

Functions3,609 in github.com/celzero/firestack

↓ 1 callersMethodLog
Log implements Console.
intra/log/xlog_other.go:24
↓ 1 callersMethodLogFD
(readAfterDup int)
intra/backend/protect.go:17
↓ 1 callersMethodLogMemFD
LogMemFD hands off the shared-memory and that back the double-buffered log data. fd1 and fd2 can be mapped; but must be dup(2)'d before use. size is t
intra/backend/protect.go:24
↓ 1 callersFunctionLogPacket
LogPacket logs a packet to stdout.
intra/netstack/snooper.go:135
↓ 1 callersMethodLookup
(q []byte, _ string, _ ...string)
intra/dns53/dot_test.go:48
↓ 1 callersMethodLookup
Implements IPMapper.
intra/dns53/ipmapper.go:81
↓ 1 callersMethodLookup
Implements IPMapper.
intra/protect/ipmap/ipmap.go:243
↓ 1 callersMethodLookupContextHost
-------------------------------------------------------------------- dns dialer --------------------------------------------------------------------
intra/ipn/wgnet.go:53
↓ 1 callersMethodLookupFor
LookupFor resolves q over client-code preferred tid conveyed via DNSOpts returned from DNSListener.OnQuery. As a special case, UID may be protect.MyUi
intra/protect/ipmap/ipmap.go:93
↓ 1 callersMethodLookupFor
LookupFor performs resolution for uid.
intra/dnsx/rethinkdns.go:77
↓ 1 callersMethodLookupFor2
Lookup performs resolution on chosen Transport for uid.
intra/dnsx/rethinkdns.go:79
↓ 1 callersFunctionMakeNsICMPListener
(who string, c Controller)
intra/protect/protect.go:245
↓ 1 callersFunctionMakeNsICMPListenerExt
(who string, ctl Controller, ext []ControlFn)
intra/protect/protect.go:253
↓ 1 callersFunctionMakeNsListenConfigExt
Creates a listener that can bind to any active interface, with additional control fns.
intra/protect/protect.go:227
↓ 1 callersFunctionMakeNsListener
Creates a listener that can bind to any active interface.
intra/protect/protect.go:218
↓ 1 callersMethodMakeWsEntitlement
Did can be left empty if entitlementOrStateJson has one.
intra/ipn/rpn/yegor.go:2209
↓ 1 callersMethodMakeWsWg
(entitlement []byte, did string, ops x.RpnOps)
intra/ipn/rpn/yegor.go:2151
↓ 1 callersMethodMakeWsWgFrom
(entitlementOrWsConfigJson []byte, did string, ops x.RpnOps)
intra/ipn/rpn/yegor.go:2240
↓ 1 callersMethodMaybeRefresh
()
intra/ipn/multihost/map.go:204
↓ 1 callersFunctionMaybeToQuadA
MaybeToQuadA translates an A record to a AAAA record if the prefix is not nil. The ttl of the new record is the max of the original ttl and minttl. If
intra/xdns/dnsutil.go:1217
↓ 1 callersFunctionMemProfile
MemProfile triggers GC and writes a heap profile to outprofile. rate controls the memory profiling granularity: 1 is most detailed, 0 disables profili
intra/core/prof.go:97
↓ 1 callersFunctionMetrics
()
intra/core/runmet.go:81
↓ 1 callersFunctionMetrics
()
intra/log/log.go:274
↓ 1 callersMethodMetrics
()
intra/log/logger.go:72
↓ 1 callersMethodMtime
()
intra/ipn/multihost/multihost.go:85
↓ 1 callersMethodMtu
Mtu returns the current MTU of the tunnel (tun MTU).
tunnel/tunnel.go:57
↓ 1 callersFunctionNano2Sec
(ns uint64)
intra/core/fmtstr.go:36
↓ 1 callersFunctionNewAmnezia
(id string)
intra/ipn/wg/amnezia.go:46
↓ 1 callersFunctionNewAutoProxy
NewAutoProxy returns a new exit proxy.
intra/ipn/auto.go:46
↓ 1 callersFunctionNewBarrier
NewBarrier returns a new Barrier with the given time-to-live for completed Vs.
intra/core/barrier.go:108
↓ 1 callersFunctionNewBaseProxy
Base returns a base proxy.
intra/ipn/base.go:42
↓ 1 callersFunctionNewBasicProxy
(id string, ctx context.Context, c protect.Controller, px ProxyProvider)
intra/ipn/base.go:59
↓ 1 callersFunctionNewBigPrivateKey
NewBigPrivateKey creates a BigPrivateKey from a rsa.PrivateKey.
intra/core/brsa/keys.go:64
↓ 1 callersFunctionNewBuiltinDefaultDNS
NewBuiltinDefaultDNS creates a new DefaultDNS resolver of type dnsx.DNS53. It may either use OS provided or network provided DNS resolver, & will not
intra/bootstrap.go:94
↓ 1 callersFunctionNewClient
(v Variant, pk *rsa.PublicKey)
intra/core/brsa/brsa.go:75
↓ 1 callersFunctionNewClientQueryError
with http, for 4xx errors
intra/dnsx/queryerror.go:133
↓ 1 callersFunctionNewConnMap
(id string)
intra/core/connmap.go:73
↓ 1 callersFunctionNewConnPool
NewConnPool creates a new conn pool with preset capacity and ttl.
intra/core/connpool.go:208
↓ 1 callersFunctionNewDNSGateway
NewDNSGateway returns a DNS ALG, ready for use.
intra/dnsx/alg.go:1035
↓ 1 callersFunctionNewDNSOptions
NewDNSOptions returns a new DNSOpitons object.
intra/settings/dnsopts.go:53
↓ 1 callersFunctionNewDNSOptionsFromHostname
(idOrHostOrHostPort, ipOrIPPortCsv string)
intra/settings/dnsopts.go:80
↓ 1 callersFunctionNewDNSOptionsFromNetIp
(ipp netip.AddrPort)
intra/settings/dnsopts.go:70
↓ 1 callersFunctionNewEndpoint
TODO: get d, ep, f, rb through an Opts bag?
intra/ipn/wg/wgconn.go:176
↓ 1 callersFunctionNewEndpoint2
(ctx context.Context, id string, d connector, pm *atomic.Pointer[multihost.MHMap], f rwobserver, a *atomic.Poi
intra/ipn/wg/wgconn2.go:137
↓ 1 callersFunctionNewErrorerTransport
NewErrorerTransport returns a DNS transport that always errors out on queries.
intra/dns53/errorer.go:31
↓ 1 callersFunctionNewExit64Proxy
NewExit64Proxy returns a new exit64 proxy.
intra/ipn/exit64.go:53
↓ 1 callersFunctionNewExitProxy
NewExitProxy returns a new exit proxy.
intra/ipn/exit.go:47
↓ 1 callersFunctionNewExitProxyWithID
(id, addr string, ctx context.Context, c protect.Controller)
intra/ipn/exit.go:51
↓ 1 callersFunctionNewExtClient
(d protect.RDialer)
intra/ipn/rpn/cfg.go:165
↓ 1 callersFunctionNewFilebased
NewFilebased sets a pipe-backed console and returns reader and writer. Caller is expected to hand off the read fd and read until EOF. Caller owns the
intra/log/log.go:120
↓ 1 callersFunctionNewFlowFor
(ctx context.Context, v *Volatile[T])
intra/core/volatileflow.go:59
↓ 1 callersFunctionNewGConnHandler
(addrs []netip.Prefix, tcp GTCPConnHandler, udp GUDPConnHandler, icmp GICMPHandler)
intra/netstack/hdl.go:74
↓ 1 callersFunctionNewGroundProxy
NewGroundProxy returns a new ground proxy.
intra/ipn/ground.go:29
↓ 1 callersFunctionNewGroundedTransport
NewGroundedTransport returns a DNS transport that blocks all DNS queries.
intra/dns53/grounded.go:30
↓ 1 callersFunctionNewHTTPProxy
(id string, ctx context.Context, c protect.Controller, px ProxyProvider, po *settings.ProxyOptions)
intra/ipn/http1.go:42
↓ 1 callersFunctionNewHangover
()
intra/core/hangover.go:20
↓ 1 callersFunctionNewICMPHandler
(pctx context.Context, resolver dnsx.Resolver, prox ipn.ProxyProvider, listener Listener)
intra/icmp.go:31
↓ 1 callersFunctionNewLogger
NewLogger creates a new Logger with the given tag.
intra/log/logger.go:294
↓ 1 callersFunctionNewMDNSTransport
NewMDNSTransport returns a DNS transport that sends all DNS queries to mDNS endpoint.
intra/dns53/mdns.go:60
↓ 1 callersFunctionNewNetstack
also: github.com/google/gvisor/blob/adbdac747/runsc/boot/loader.go#L1132 github.com/FlowerWrong/tun2socks/blob/1045a49618/cmd/netstack/main.go github.
intra/netstack/netstack.go:219
↓ 1 callersFunctionNewNoResponseQueryError
(err error)
intra/dnsx/queryerror.go:111
↓ 1 callersFunctionNewOdohTransport
NewTransport returns a POST-only Oblivious DoH transport. `id` identifies this transport. `endpoint` is the ODoH proxy that liaisons with the target.
intra/doh/doh.go:130
↓ 1 callersFunctionNewP2QuantileEstimator
NewP90Estimator returns a new estimator with percentile p.
intra/core/p2est.go:53
↓ 1 callersFunctionNewPausedQueryError
()
intra/dnsx/queryerror.go:137
↓ 1 callersFunctionNewPipMsgWith
(tok *PipToken)
intra/backend/ipn_pipkeygen.go:109
↓ 1 callersFunctionNewPipProxy
(ctx context.Context, ctl protect.Controller, px ProxyProvider, po *settings.ProxyOptions)
intra/ipn/piph2.go:178
↓ 1 callersFunctionNewPipWsProxy
NewPipWsProxy creates a new pipws proxy with the given id, controller, and proxy options. The proxy options must contain a valid URL, and the URL must
intra/ipn/pipws.go:175
↓ 1 callersFunctionNewPlusTransport
(ctx context.Context, r TransportProviderInternal, ts ...Transport)
intra/dnsx/plus.go:57
↓ 1 callersFunctionNewProcNetCache
()
intra/netstat/procfs.go:81
↓ 1 callersFunctionNewReverseGConnHandler
(pctx context.Context, to *stack.Stack, of tcpip.NICID, ep SeamlessEndpoint, via GConnHandler)
intra/netstack/rev.go:60
↓ 1 callersFunctionNewServices
(pctx context.Context, proxies ipn.Proxies, ctl protect.Controller, listener ServerListener)
intra/rnet/servers.go:71
↓ 1 callersFunctionNewSieve2K
NewSieve2K returns a new Sieve2K with keys expiring after lifetime.
intra/core/expiringsieve.go:32
↓ 1 callersFunctionNewTCPHandler
NewTCPHandler returns a TCP forwarder with Intra-style behavior. Connections to `fakedns` are redirected to DOH. All other traffic is forwarded using
intra/tcp.go:107
↓ 1 callersFunctionNewTransportFrom
NewTransportFrom returns a DNS53 transport serving from ipp, ready for use.
intra/dns53/upstream.go:140
↓ 1 callersFunctionNewTunnel
(fd, tunmtu int, ifaddrs, fakedns string, dtr DefaultDNS, bdg Bridge)
intra/tunnel.go:155
↓ 1 callersFunctionNewUDPHandler
NewUDPHandler makes a UDP handler with Intra-style DNS redirection: All packets are routed directly to their destination. `timeout` controls the effec
intra/udp.go:77
↓ 1 callersFunctionNewWeakRef
refs to pointers to interfaces: go.dev/play/p/QWjdHVrg_84 unsafe type conversion: github.com/golang/go/issues/71583
intra/core/weakref.go:31
↓ 1 callersFunctionNewWgPrivateKey
()
intra/backend/ipn_wgkeygen.go:79
↓ 1 callersMethodNote
()
intra/core/hangover.go:30
↓ 1 callersMethodOnClose
()
intra/log/log.go:64
↓ 1 callersMethodOnDNSRemoved
OnDNSRemoved is called when a DNS transport with id is removed, except when the transport is stopped, then OnDNSStopped is called instead.
intra/backend/dnsx.go:171
↓ 1 callersMethodOnDNSStopped
OnDNSStopped is called when all DNS transports are stopped. Note: OnDNSRemoved is not called for each transport even if they are being removed and not
intra/backend/dnsx.go:175
↓ 1 callersMethodOnProxyRemoved
OnProxyRemoved is called when a proxy is removed except when all proxies are stopped, in which case OnProxiesStopped is called.
intra/backend/ipn_proxies.go:378
↓ 1 callersMethodOnProxyStopped
OnProxyStopped is called when a proxy is stopped instead of being removed (that is, this callback is not called in all proxy stop scenarios). A stoppe
intra/backend/ipn_proxies.go:385
↓ 1 callersMethodOnQuery
OnQuery is called when a DNS query is received. The listener can return a DNSOpts to specify how the query should be handled.
intra/backend/dnsx_listener.go:130
↓ 1 callersMethodOnUpstreamAnswer
OnUpstreamAnswer is called before an upstream DNS answer (not blocked by firestack) is sent to the OS. The listener may return DNSOpts to specify if a
intra/backend/dnsx_listener.go:135
↓ 1 callersMethodOneIPOnly
()
intra/protect/ipmap/ipmap.go:781
↓ 1 callersMethodOpaque
Opaque returns the client id part of the PipMsg as hex string.
intra/backend/ipn_pipkeygen.go:163
↓ 1 callersFunctionOutboundICMP
github.com/google/gvisor/blob/738e1d995f/pkg/tcpip/network/ipv4/icmp.go github.com/google/gvisor/blob/738e1d995f/pkg/tcpip/network/ipv6/icmp.go
intra/netstack/icmp.go:34
↓ 1 callersFunctionParseProcNet
ParseProcNet scans /proc/net/* returns a list of entries, one entry per line scanned
intra/netstat/procfs.go:267
↓ 1 callersMethodPayload
Payload returns the payload of the IP subprotocol section. This is a read-only view; that is, q retains the ownership of the buffer.
intra/core/wire/parsed.go:481
↓ 1 callersFunctionPcap2File
(y bool)
intra/netstack/seamless.go:129
↓ 1 callersFunctionPcap2Stdout
(y bool)
intra/netstack/seamless.go:119
↓ 1 callersFunctionPcapModes
PCAP logging modes: - stdout: packets are logged to stdout - file: packets are logged to a file - none: no packets are logged
intra/netstack/seamless.go:143
↓ 1 callersFunctionPeriodic
(id string, pctx context.Context, d time.Duration, f func())
intra/core/async.go:293
↓ 1 callersMethodPerma
Perma reports whether permanent WG credentials should be used in Conf().
intra/backend/ipn_proxies.go:164
↓ 1 callersMethodPiif
(at int, msg string, args ...any)
intra/log/logger.go:63
↓ 1 callersMethodPing
Ping implements Proxy As backpressure, pings are sent once in a 5s period.
intra/ipn/wgproxy.go:277
↓ 1 callersMethodPreferredAddrs
PreferredAddrs returns the list of IPs per the dialer's preference.
intra/ipn/multihost/multihost.go:148
↓ 1 callersMethodPreflow
Preflow is called before a new connection is established; return owner "uid", which is later used by dnsx.Resolver to determine the DNS transport to u
intra/listener.go:52
← previousnext →1,401–1,500 of 3,609, ranked by callers