On Wed, Jul 06, 2011 at 10:45:01PM +0200, Tony Sarendal wrote:
> >> If there is anyone out there who disables fragment reassembly (enabled
> >> by default), you need to help testing this diff which folds
> >> pf_test_fragment() into pf_test_rule().
> >>
> > we use this feature in our OpenBSD routers. I'll test and get back to you.
> >
> Basic testing done. Looks ok.

Thanks for speaking up, and the quick response with test results.


> The only thing I noticed was that default wasn't actually default as I
> thought.  If I do "set reassemble no" and reload pf it works as
> expected, if I now remove or comment it out and reload I still have
> the "set reassemble no" behaviour.

I'll take a look at this. I think this is the case for some of the other
'set foo' options in pfctl... they should all be made consistent one way
or the other.


> Removing the ability to not reassemble seems a little extreme to me,
> in IP networks there is no guarantee that a router will see all fragments.

In such a situation fragments are unlikely to get handled properly
anyways unless you're filtering completely statelessly, because they
won't get matched against the states and things will get out of sync.

This could perhaps be improved by having pfsync make sure that fragment
caches are synchronized. (no, I'm not volunteering to code this)

Reply via email to