From owner-freebsd-security Fri Nov 19 17: 1:42 1999 Delivered-To: freebsd-security@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 5403D1513D for ; Fri, 19 Nov 1999 17:01:29 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from localhost.hell.gr (patr530-a063.otenet.gr [195.167.115.63]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id DAA03867 for ; Sat, 20 Nov 1999 03:01:27 +0200 (EET) Received: (qmail 15138 invoked by uid 1001); 19 Nov 1999 03:41:08 -0000 To: freebsd-security@freebsd.org Subject: Re: ipfw and ifconfig References: <199911181112.MAA00778@CoDe.hu> From: Giorgos Keramidas Date: 19 Nov 1999 05:41:07 +0200 In-Reply-To: Zahemszky Gabor's message of "Thu, 18 Nov 1999 12:12:00 +0100 (CET)" Message-ID: <86zowbywq4.fsf@localhost.hell.gr> Lines: 22 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Zahemszky Gabor writes: > Hi! > > Somebody asked, and I cannot answered: > > Why in FreeBSD, there is ifconfig _before_ ipfw? I think it is because the default setup of the kernel (that is if you don't enable the IPFIREWALL_DEFAULT_TO_ACCEPT option when building your kernel) will explicitly deny all packets with a rule of: 65535 deny ip from any to any Seems ok to me. On the other hand, if you change this to `allow' then you're probably accepting more things than you would like to, and it doesn't really matter if ifconfig is the first or the last thing in your rc-scripts anyway. -- Giorgos Keramidas, "What we have to learn to do, we learn by doing." [Aristotle] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message