From owner-freebsd-security Wed Feb 27 9:30:44 2002 Delivered-To: freebsd-security@freebsd.org Received: from pa169.kurdwanowa.sdi.tpnet.pl (pa169.kurdwanowa.sdi.tpnet.pl [213.77.148.169]) by hub.freebsd.org (Postfix) with ESMTP id BABE237B405 for ; Wed, 27 Feb 2002 09:30:38 -0800 (PST) Received: from velvet.zaraska.dhs.org (velvet.zaraska.dhs.org [192.168.11.2]) by pa169.kurdwanowa.sdi.tpnet.pl (Postfix) with ESMTP id 832BF1E38; Wed, 27 Feb 2002 16:16:18 +0000 (GMT) Received: from velvet.zaraska.dhs.org (velvet.zaraska.dhs.org [127.0.0.1]) by velvet.zaraska.dhs.org (8.11.2/8.11.2) with SMTP id g1RGFZp16472; Wed, 27 Feb 2002 17:15:35 +0100 Date: Wed, 27 Feb 2002 17:15:35 +0100 From: Krzysztof Zaraska To: "Bart Matthaei" Cc: sumirati@yahoo.de, security@freebsd.org Subject: Re: best firewall option for FreeBSD Message-Id: <20020227171535.5a55cee3.kzaraska@student.uci.agh.edu.pl> In-Reply-To: <20020227144806.W62131@heresy.dreamflow.nl> References: <20020227132846.28405.qmail@web13305.mail.yahoo.com> <20020227144806.W62131@heresy.dreamflow.nl> Organization: University Of Mining And Metallurgy X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 27 Feb 2002 14:48:06 +0100 Bart Matthaei wrote: > On Wed, Feb 27, 2002 at 02:28:46PM +0100, m p wrote: > > To filter all but ssh, http, https, smtp and pop3 (aka mail (what you meant > > with outlook)) you can choose both. But ftp is a braindead (from a firewaller > > sight) protocol. You can not simple make a rule "allow tcp from internal > > network to external ftp-server" - because it will use more than one port. > > Agreed. > I know that linux has a fix for this issue. There's FTP > masquerading support in the kernel. BSD hasn't got such a thing as far > as i know. This can be done with IPFilter (ipf) using ipnat. I have a working firewall with that :) -- // Krzysztof Zaraska * kzaraska (at) student.uci.agh.edu.pl // Prelude IDS: http://www.prelude-ids.org/ // A dream will always triumph over reality, once it is given the chance. // -- Stanislaw Lem To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message