ftpserver.pl: three new custom FTP server commands to disable data channel
authorYang Tse <yangsita@gmail.com>
Thu, 27 Oct 2011 19:46:24 +0000 (21:46 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 27 Oct 2011 19:59:00 +0000 (21:59 +0200)
commitc761fcb055681fd25d6a211a9d10e67e497fd54d
tree794853857885088641153a5722962a3072e96d16
parentddeab4824534227611fe257485a8c22c896f07d7
ftpserver.pl: three new custom FTP server commands to disable data channel

NODATACONN421: applies only to active FTP mode, instructs server to not
establish data connection back to client and reply with FTP 421.

NODATACONN425: applies only to active FTP mode, instructs server to not
establish data connection back to client and reply with FTP 425.

NODATACONN: applies to both active and passive FTP modes, instructs server
to not establish nor accept a data channel and fool client into believing
that the data channel connection is possible.

Some polishing probably required.
tests/ftpserver.pl