Jim Sandoz wrote:
nathan,

your ipfilter ruleset is lacking in several areas, and in
particular the following line:

block return-rst in log quick on fxp0 proto tcp from any to any
is going to cause you many problems when out-of-order tcp
packets arrive at your external interface.

see the IPF FAQ at:
http://home.earthlink.net/~jaymzh666/ipf/index.html
specifically:
http://home.earthlink.net/~jaymzh666/ipf/IPFprob.html#9
for additional info on "keep state" with tcp:
http://home.earthlink.net/~jaymzh666/ipf/IPFprob.html#1
My site quoted in three places. I love it.

Anyway, Jim is definitely correct about the return-rst rule...

But I want to add a comment:

moreover, you are keeping state in too many places, without
proper flags, and not setting up state correctly in others.
Jim here mentions more than one problem, and he's right, but *one* of the problems I believe he is addressing is adding "flags S" to keep tcp state rules. I've been hearing more and more reports that this isn't necessary in the most recent versions of IPF. And while, if you have no reason *NOT* to use it, it's probably a good idea anyway, if youhave reasons to use it (like you want connections picked up in the middle provided they come from inside) it *should* be possible these days to go without the flags S on those rules. BUT they ARE (afaik?




--
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759


Reply via email to