You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Brad Fitzpatrick 3ae701f0eb net/tsaddr, wgengine/netstack: add IPv6 range that forwards to site-relative IPv4
This defines a new magic IPv6 prefix, fd7a:115c:a1e0:b1a::/64, a
subset of our existing /48, where the final 32 bits are an IPv4
address, and the middle 32 bits are a user-chosen "site ID". (which
must currently be 0000:00xx; the top 3 bytes must be zero for now)

e.g., I can say my home LAN's "site ID" is "0000:00bb" and then
advertise its 10.2.0.0/16 IPv4 range via IPv6, like:

    tailscale up --advertise-routes=fd7a:115c:a1e0:b1a::bb:10.2.0.0/112

(112 being /128 minuse the /96 v6 prefix length)

Then people in my tailnet can:

     $ curl '[fd7a:115c:a1e0:b1a::bb:10.2.0.230]'
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ....

Updates #3616, etc

RELNOTE=initial support for TS IPv6 addresses to route v4 "via" specific nodes

Change-Id: I9b49b6ad10410a24b5866b9fbc69d3cae1f600ef
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
ipnlocal net/tsaddr, wgengine/netstack: add IPv6 range that forwards to site-relative IPv4 4 years ago
ipnserver all: use any instead of interface{} 4 years ago
ipnstate ipn/ipnstate: put SSH Host Keys in ipnstate.PeerStatus 4 years ago
localapi ipn/localapi: add endpoint to request id token 4 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 4 years ago
store ipn/store: [TestNewStore] do not use an empty file 4 years ago
backend.go ipn: use key.NodePublic instead of tailcfg.NodeKey 4 years ago
doc.go Move Linux client & common packages into a public repo. 6 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 5 years ago
handle.go ipn: another controlplane synonym 5 years ago
message.go ipn: don't log IPN messages that may contain an authkey. 4 years ago
message_test.go all: use any instead of interface{} 4 years ago
prefs.go all: use any instead of interface{} 4 years ago
prefs_clone.go wgengine/netstack: add an SSH server experiment 4 years ago
prefs_test.go cmd/tailscale/cli, ipn: move exit node IP parsing and validation from cli into prefs. 4 years ago
store.go ipn/store: add common package for instantiating ipn.StateStores 4 years ago