From owner-cvs-libexec Sun Aug 4 15:40:46 1996 Return-Path: owner-cvs-libexec Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA29847 for cvs-libexec-outgoing; Sun, 4 Aug 1996 15:40:46 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA29819; Sun, 4 Aug 1996 15:40:37 -0700 (PDT) Date: Sun, 4 Aug 1996 15:40:37 -0700 (PDT) From: Paul Traina Message-Id: <199608042240.PAA29819@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/ftpd Makefile extern.h ftpcmd.y ftpd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/08/04 15:40:37 Modified: libexec/ftpd Makefile extern.h ftpcmd.y ftpd.c Log: If PARANOID is set, do not allow PORT commands to remote ports less than 1024 or addresses other than the requestor's address. This violates the FTP protocol (hmm...as I write this, I'm going to change this to a run-time var.) Require login before PASV and RNTO commands. Close unused PASV ports so they don't hang around forever. Do not allow file overwrites via rename or STOR when anonymous (suspenders). Clean up buffer utilization. My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out by Mike Prettejohn and Kit Knox. Revision Changes Path 1.15 +1 -1 src/libexec/ftpd/Makefile 1.3 +4 -0 src/libexec/ftpd/extern.h 1.6 +36 -17 src/libexec/ftpd/ftpcmd.y 1.18 +33 -32 src/libexec/ftpd/ftpd.c