From owner-freebsd-security@FreeBSD.ORG Sat Dec 18 13:06:30 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E2716A4CE for ; Sat, 18 Dec 2004 13:06:30 +0000 (GMT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22C6A43D2F for ; Sat, 18 Dec 2004 13:06:30 +0000 (GMT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from localhost (localhost [127.0.0.1]) by cactus.fi.uba.ar (8.12.11/8.12.11) with ESMTP id iBIDAXhn071676; Sat, 18 Dec 2004 10:10:33 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Sat, 18 Dec 2004 10:10:33 -0300 (ART) From: Fernando Gleiser To: wsx In-Reply-To: <200412181518.55782.security@noc.kstu-kai.ru> Message-ID: <20041218100553.K71541@cactus.fi.uba.ar> References: <200412181518.55782.security@noc.kstu-kai.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -3.7 () BAYES_00,J_CHICKENPOX_24,J_CHICKENPOX_26 X-Scanned-By: MIMEDefang 2.42 cc: freebsd-security@freebsd.org Subject: Re: Active ftp connection X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 13:06:31 -0000 On Sat, 18 Dec 2004, wsx wrote: > Hello dear friends... > > I have a trouble. My FTP server must have an active ftp connection. > It means what in ipfw rules I must allow outgoing connections(like ipfw add > allow tcp from me to any keep-state). > But I don't want use this rule. I want to restrict my outgoing connections. Is Active FTP-data goes from server IP:port 20 to client IP:random port. You don't need to open ALL ourgoing traffic, just those coming from port 20 on your ftp server. Fer