From owner-freebsd-security Wed Jul 26 12:20:56 2000 Delivered-To: freebsd-security@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 0959337BF4B for ; Wed, 26 Jul 2000 12:20:46 -0700 (PDT) (envelope-from Gerhard.Sittig@gmx.net) Received: (qmail 17934 invoked by uid 0); 26 Jul 2000 19:20:43 -0000 Received: from pc19f5d7b.dip.t-dialin.net (HELO speedy.gsinet) (193.159.93.123) by mail.gmx.net with SMTP; 26 Jul 2000 19:20:43 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id TAA27431 for freebsd-security@FreeBSD.ORG; Wed, 26 Jul 2000 19:11:13 +0200 Date: Wed, 26 Jul 2000 19:11:13 +0200 From: Gerhard Sittig To: freebsd-security@FreeBSD.ORG Subject: Re: ipf or ipfw (was: log with dynamic firewall rules) Message-ID: <20000726191113.I24476@speedy.gsinet> Mail-Followup-To: freebsd-security@FreeBSD.ORG References: <200007260239.MAA02404@cairo.anu.edu.au> <397E5342.16736F51@math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <397E5342.16736F51@math.missouri.edu>; from stephen@math.missouri.edu on Tue, Jul 25, 2000 at 09:56:02PM -0500 Organization: System Defenestrators Inc. Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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