shunpike

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: BSD-3-Clause

README

Shunpike

Shunpike provides a neutral Go engine package with three explicit probes: local UDP socket capabilities, STUN-based NAT observations, and router port-mapping discovery. Its coordination packages define the wire protocol, with a revision constant, and a server for device registration, netmaps and signaling. Capability probing sends no packets. Network probes run only when called, and every entry point disables Tailscale network namespace binding.

Using shunpike

Shunpike builds against patched forks of quic-go and Tailscale. A consumer module must add the same two replace lines to its own go.mod. Go ignores replace directives in a dependency's go.mod, so the lines here do not reach the consumer.

replace github.com/quic-go/quic-go => github.com/darthShadow/quic-go v0.64.1-shunpike.1

replace tailscale.com => github.com/darthShadow/tailscale v1.104.2-shunpike.1

License

Shunpike is licensed under BSD-3-Clause. See LICENSE.

Directories

Path Synopsis
coordination
protocol
Package protocol defines neutral coordination messages and their validation.
Package protocol defines neutral coordination messages and their validation.
server
Package server provides coordination storage, enrollment and peer discovery.
Package server provides coordination storage, enrollment and peer discovery.
server/storetest
Package storetest supplies a clock-independent Store conformance suite.
Package storetest supplies a clock-independent Store conformance suite.
Package engine provides local socket capabilities and explicit network probes.
Package engine provides local socket capabilities and explicit network probes.
cmd/n4peer command
Command n4peer runs a server or a timed client over a static peer graph.
Command n4peer runs a server or a timed client over a static peer graph.
coordclient
Package coordclient keeps an engine's registration and peer set current against a coordination service.
Package coordclient keeps an engine's registration and peer set current against a coordination service.
n4
Package n4 serves HTTP/3 over an engine's admitted peer graph.
Package n4 serves HTTP/3 over an engine's admitted peer graph.
internal
testcoord
Package testcoord serves the coordination operations over HTTP for module tests.
Package testcoord serves the coordination operations over HTTP for module tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL