Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2000 19:11:13 +0200
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        freebsd-security@FreeBSD.ORG
Subject:   Re: ipf or ipfw (was: log with dynamic firewall rules)
Message-ID:  <20000726191113.I24476@speedy.gsinet>
In-Reply-To: <397E5342.16736F51@math.missouri.edu>; from stephen@math.missouri.edu on Tue, Jul 25, 2000 at 09:56:02PM -0500
References:  <200007260239.MAA02404@cairo.anu.edu.au> <397E5342.16736F51@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 25, 2000 at 21:56 -0500, Stephen Montgomery-Smith wrote:
> 
> Ah, well this shows my patchy knowledge.  I didn't even know
> about ipf until I read your post.  I'll go read the man pages.

I suggest you read the HowTo at http://www.obfuscation.org/ipf/,
this and the "man 5 ipf; man 8 ipf" pages should be all you need.
If ipf(5) is "too dry" for your taste, you can glimpse over the
/usr/src/contrib/ipfilter/rules/ examples.

> Would running both ipfw and ipf be considered over the top?

I was never sure whether they collide or not.  But having ipf
running I don't see a point in using ipfw.  Make sure you have 

  options         IPFILTER
  options         IPFILTER_LOG
  options         IPFILTER_DEFAULT_BLOCK

in your kernel config and remove the IPFIREWALL* stuff.  This
will choose _one_ of these alternatives clearly and leave no
"window in time" when booting with packets potentially slipping
through.

BTW:  This reminds me that I wanted to file a PR worded "I wish
rc.network would be expanded to load ipfilter as an alternative
to ipfw" -- till then see the thread with
<20000626220852.M9883@speedy.gsinet> in it (although my patch was
rejected due to its dirty nature and inconsistency with current
rc style -- so take it with the necessary caution).


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000726191113.I24476>