diff options
author | pst <pst@FreeBSD.org> | 1996-08-04 22:40:35 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-08-04 22:40:35 +0000 |
commit | 3782e8c3140bc2d6c5eda6eb914031cc34a10aac (patch) | |
tree | bde4d9e34ad3fdece4e0e3d55f3c74a42b3711fa /libexec/ftpd/Makefile | |
parent | 41c12ade3ba2741d066abbbff26fc6a274335b21 (diff) | |
download | FreeBSD-src-3782e8c3140bc2d6c5eda6eb914031cc34a10aac.zip FreeBSD-src-3782e8c3140bc2d6c5eda6eb914031cc34a10aac.tar.gz |
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.
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r-- | libexec/ftpd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index a3065e7..0780113 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -4,7 +4,7 @@ PROG= ftpd MAN8= ftpd.8 SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c -CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS +CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS -DPARANOID LDADD= -lskey -lmd -lcrypt -lutil DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL} |