chiark / gitweb /
hosts.lisp: 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>
Sat, 19 Apr 2014 12:51:52 +0000 (13:51 +0100)
commit8b28f72f423d32b90a08537d2c013a22228795d3
treee6be2c39d3f1b4996922e3bda27e227490faee16
parent37caef7396cd0f59eb2c5f0fdd8d3728eee620c9
hosts.lisp: 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.
hosts.lisp