[14386] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Update: Extending the FTP "ALG" vulnerability to any FTP

daemon@ATHENA.MIT.EDU (Paul Cardon)
Wed Mar 22 17:36:11 2000

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id:  <38D79C91.54DD80C8@moquijo.com>
Date:         Tue, 21 Mar 2000 11:00:18 -0500
Reply-To: paul@MOQUIJO.COM
From: Paul Cardon <paul@MOQUIJO.COM>
X-To:         Lars.Troen@MERKANTILDATA.NO
To: BUGTRAQ@SECURITYFOCUS.COM

Lars.Troen@MERKANTILDATA.NO wrote:
>
> With Firewall-1 all ports defined in the /etc/services file will be denied
> connections to during an ftp session. This is defined in the file base.def
> as follows:
> // ports which are dangerous to connect to
> #define NOTSERVER_TCP_PORT(p) {
>       (not
>           (
>              ( p in tcp_services, set sr10 RCODE_TCP_SERV, set sr11 0,
>               set sr12 p, set sr1 0, log bad_conn)

Actually, the /etc/services file has nothing to do with it.  All
services of type TCP _defined_within_FW-1_ are added to the tcp_services
table used in the macro listed above.  A default FW-1 install will
include a certain number of these but the list changes with the addition
or removal of TCP service definitions in the rule base.  The behavior of
the inspect code can also be modified to make it as strict or open as
desired.

-paul

home help back first fref pref prev next nref lref last post