From owner-cvs-all@FreeBSD.ORG Fri Jul 30 16:58:24 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5436016A4CE; Fri, 30 Jul 2004 16:58:24 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 330DA43D4C; Fri, 30 Jul 2004 16:58:24 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6UGvg1F090744; Fri, 30 Jul 2004 16:57:42 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6UGvgL5090743; Fri, 30 Jul 2004 16:57:42 GMT (envelope-from yar) Message-Id: <200407301657.i6UGvgL5090743@repoman.freebsd.org> From: Yar Tikhiy Date: Fri, 30 Jul 2004 16:57:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd ftpd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 16:58:24 -0000 yar 2004-07-30 16:57:42 UTC FreeBSD src repository Modified files: libexec/ftpd ftpd.c Log: Open a socket for a data transfer in active mode using euid of the current user, not root. This will allow neat things like matching anonymous FTP data traffic with a single ipfw(8) rule: ipfw add ... tcp from any to any uid ftp Note that the control connection socket still belongs to the user ftpd(8) was started from, usually root. PR: bin/65928 Submitted by: Eugene Grosbein MFC after: 1 month Revision Changes Path 1.156 +1 -1 src/libexec/ftpd/ftpd.c