From: Mark Wooding Date: Sat, 13 Jul 2013 15:34:40 +0000 (+0100) Subject: etc/hosts: Replacing IPv6 host routes with /112 networks. X-Git-Url: https://git.distorted.org.uk/~mdw/ssh-ca/commitdiff_plain/6ff3049c2bc1e702c554617560b25d50d76e2444?hp=ad80122522ccfc888cd4655ca5f9e81c6d8593af etc/hosts: Replacing IPv6 host routes with /112 networks. Linux has a bug: it doesn't make route cache entries for remote hosts if there's already a host route, and it only attaches path-MTU information to cache entries. The result is that it doesn't handle ICMPv6 `packet too big' messages properly for destinations with host routes. I'm bodging this by replacing all of the host routes with tiny /112 networks. It's awful, but it seems to work. The convention is that the `host part' of the net is always zero. --- diff --git a/etc/hosts b/etc/hosts index 1ced894..e62aa6b 100644 --- a/etc/hosts +++ b/etc/hosts @@ -20,7 +20,7 @@ artist \ .unsafe 172.29.199.4 2001:470:9740:1::4 \ .untrusted 172.29.198.2 2001:470:9740:8001::2 orange \ - 172.29.199.131 2001:ba8:1d9:6000::3 + 172.29.199.131 2001:ba8:1d9:6000::3:0 fender \ .jump 212.13.198.69 2001:ba8:0:1d9::2 \ .colo 172.29.199.177 2001:ba8:1d9:2::1 @@ -54,7 +54,7 @@ invader ## Mobile devices. crybaby \ - 172.29.199.129 2001:ba8:1d9:6000::1 + 172.29.199.129 2001:ba8:1d9:6000::1:0 terror \ 172.29.199.130