functions.m4, local.m4: Handle fragments in a useful way.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 15 Apr 2010 14:49:49 +0000 (15:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 15 Apr 2010 14:49:49 +0000 (15:49 +0100)
commitecdca1312d3214c5039e7f783330a90bbfeae2db
treeaf46752b575d6688c2305e94e88a931e0aa7bfc1
parent20106bbbbe547861538c865ff88a9af0fbe68ad4
functions.m4, local.m4: Handle fragments in a useful way.

Add a function for defining standard rules on a chain: currently it only
provides fragment-handling policy.

The fragment policy is to pass fragments unmolested, except for TCP.  An
IP stack which can't reassemble fragments safely needs more protection
than we can provide here.

Note that this only affects `inbound' chains.  The forwarding rules
don't usually work at the level of individual ports, so this is OK; the
ones that do have been nobbled to refuse IP fragments.
functions.m4
local.m4