chiark / gitweb /
etc/hosts: Replacing IPv6 host routes with /112 networks.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 13 Jul 2013 15:34:40 +0000 (16:34 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 21 Apr 2014 16:27:13 +0000 (17:27 +0100)
commit6ff3049c2bc1e702c554617560b25d50d76e2444
treeda14595cfb1c5d0475a260650477435c1331945b
parentad80122522ccfc888cd4655ca5f9e81c6d8593af
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.
etc/hosts