Re: best firewall option for FreeBSD

From: Krzysztof Zaraska (kzaraska@student.uci.agh.edu.pl)
Date: 02/27/02


Date: Wed, 27 Feb 2002 17:15:35 +0100
From: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
To: "Bart Matthaei" <bart@dreamflow.nl>

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


Relevant Pages

  • Re: Ive thought better of Linux
    ... OTOH the ftp spec is a royal PITA. ... >> The FTP protocol specification does seem overly complex in today's ... Yes, that is a royal pain, but in context, the firewall and security ...
    (comp.lang.lisp)
  • RE: Winnt/Win2k Vuln ?
    ... specifying the underlying protocol, ... expect file system requests to be carried over the web. ... And you should need a separate client for FTP. ... A web BROWSER, also by definition, BROWSES the web. ...
    (Vuln-Dev)
  • Re: Does OpenSSH use RCP?
    ... It's not "if I want to", it's rtfrfc: show me separate protocol ... I didn't say FTP was ugly, I said lack of another layer between ... >> One connection - one application model doesn't work, ... Same as FTP: multiple connections per session. ...
    (comp.security.unix)
  • Re: Ive thought better of Linux
    ... >>> The FTP protocol specification does seem overly complex in today's ... >> We don't allow telnet, ftp or any of the r* tools to traverse the ... However, many of the windows ...
    (comp.lang.lisp)
  • Re: 224.0.0.1
    ... FTP is a protocol of TCPIP. ... | To remove and reinstall TCP/IP, I can't find the one for XP, but this ...
    (microsoft.public.win2000.dns)