Added some data channel safety checks.
commit3858aa2e76afcb80d4b8776282de61a51a443980
authoretanol <etanol>
Thu, 28 Aug 2008 16:55:26 +0000 (28 18:55 +0200)
committeretanol <etanol>
Tue, 16 Sep 2008 15:29:41 +0000 (16 17:29 +0200)
tree0df2208f2545be84b7f7076197f97a1299c11eb2
parent06530dad88cbaa628d1e273100ffb6e7f4d1bcbf
Added some data channel safety checks.

Theoretically, the FTP protocol allows the control channel and the data channel
to be established with different peers.  However, this practice may introduce
some security issues.

Both publicfile and vsftpd implement it.
enable_passive.c
init_session.c
open_data_channel.c
parse_port_argument.c
uftps.c
uftps.h