HomeFreeBSD

MFC r316810, r316814, r316816, r316991:

Description

MFC r316810, r316814, r316816, r316991:

Keep state incorrectly assumes keep frags. This is counter to the
ipfilter man pages. This also currently restricts keep frags to only when
keep state is used, which is redundant because keep state currently
assumes keep frags. This commit fixes this.

To the user this change means that to maintain the current behaviour
one must add keep frags to any ipfilter keep state rule (as documented
in the man pages).

This patch also allows the flexability to specify and use keep frags
separate from keep state, as documented in an example in ipf.conf.5,
instead of the currently broken behaviour.

MFC suggested by: rgrimes
Relnotes: yes

Details

Provenance
cyAuthored on
Parents
rS317433: [net80211] [wlanwds] allow logging to stderr as well as syslog.
Branches
Unknown
Tags
Unknown