2 Commits
Author SHA1 Message Date
w3cjandClaude Opus 5.5 99f57d4003 fix(proxy): 6to4 judged by its IPv4 address, and more special ranges internal
A 6to4 address (2002::/16) passed the floor as public even when the IPv4
address in it was private, and Teredo, IPv6's documentation, discard-only,
benchmarking, ORCHID, SRv6 and IPv4-translated ranges, and IPv4's
documentation ranges and 192.88.99.0/24, counted as the internet.

- withIPv4 (was nat64): the IPv6 ranges that carry an IPv4 address,
  NAT64's and 6to4's, each with its site's prefix length (6to4's /48);
  embeddedIPv4 (was nat64IPv4) reads either.
- hostAddrs.internal: the host's own address first, then the 6to4 site of
  any of its own addresses (its LAN's), then the embedded IPv4 address;
  hostAddrs.own, the address map, replaces has.
- rule.matchAddr: a 6to4 address matches as its IPv4 address for a deny
  alone, as 6to4 goes through relays anyone may run; NAT64 still matches
  for both.
- notPublic gains 2001::/32, 2001:db8::/32, 3fff::/20, 100::/64,
  2001:2::/48, 2001:10::/28, 2001:20::/28, 5f00::/16, ::ffff:0:0:0/96,
  192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 and 192.88.99.0/24.
- Tests: TestInternal's rows, TestInternalOwn6to4, TestSixToFourAllowsNot,
  TestResolveSixToFourName, a 6to4 deny in TestAddressDenyAppliesToNames;
  the learning tests' public address is 93.184.215.14 now, as
  203.0.113.5 is documentation's.
- The structure test's table name, the proxy's README, network.md's range
  list (with Teredo under a broad IPv6 allow), attack-vectors and
  safety/network, and a CHANGELOG Fixed entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-12 20:42:43 -07:00
w3cjandClaude Opus 5.5 2865158e02 feat(network): learn the hosts a new VM needs, then lock it to them (#22)
--network learn runs a VM on the internet tier while it records the hosts
it reaches beyond its allowlist, shown as internet (learning). devvm
network lock picks which of them go into the VM's own rules, ticking only
reviewed registries on 443 and listing risky hosts apart, then gives the
VM the allowlist tier at once. learn is per VM only. The lock command
names its docs page in its about.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 10:05:59 -07:00