Overhaul address classification for link-local and non-unicast addresses.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 11 Mar 2012 23:58:09 +0000 (23:58 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 12 Mar 2012 00:13:28 +0000 (00:13 +0000)
The previous attempts just weren't working.  Intead, assign them their
own classes, and work things using the forwarding masks.  There's a
minor wrinkle, that we must handle forwarded packets differently from
inbound ones if they involve link-local addresses, but this is handled
with a fixup in the mangle INPUT chain.

The other significant change here is that the mangle table is now
responsible for selecting packets with bogus destination addresses for
rejection -- though it can't do the rejection itself because of a
kernel restriction.


No differences found