From 6ff3049c2bc1e702c554617560b25d50d76e2444 Mon Sep 17 00:00:00 2001 Message-Id: <6ff3049c2bc1e702c554617560b25d50d76e2444.1717493329.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 13 Jul 2013 16:34:40 +0100 Subject: [PATCH] etc/hosts: Replacing IPv6 host routes with /112 networks. Organization: Straylight/Edgeware From: Mark Wooding 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. --- etc/hosts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- [mdw]