3782e8c314
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.
15 lines
304 B
Makefile
15 lines
304 B
Makefile
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
|
|
|
PROG= ftpd
|
|
MAN8= ftpd.8
|
|
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
|
|
|
|
CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS -DPARANOID
|
|
|
|
LDADD= -lskey -lmd -lcrypt -lutil
|
|
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
|
|
|
CLEANFILES+=ftpcmd.c y.tab.h
|
|
|
|
.include <bsd.prog.mk>
|