hi,
i have installed ProFTPD 1.3.0rc2 on FreeBSD 6.0-RELEASE, for a LAN. Basically, it works...but if i try a little ip control, say :
<Limit LOGIN>
Allow 127.0.0.1 # this address is setup in /etc/hosts : 127.0.0.1 localhost
Deny All
</Limit>
then, i type the following line in the shell :
root@spoutnik# ftp localhost
and the answer is :
Connected to 127.0.0.1
421 Service not available, remote server has closed connection
ftp> exit
IT DOESN'T WORK !!!
to overcome that problem, i change one line in the profttpd.conf :
<Limit LOGIN>
Allow localhost # instead of "Allow 127.0.0.1" as bellow
Deny All
</Limit>
then, i type the following line :
root@spoutnik# ftp localhost
and the answer is :
Trying ::1...
Connected to localhost.
220 Server FTP ready
Name (localhost:root) : toto
331 Password required for toto.
Password:
230 Welcome to spoutnik
Remote system type is UNIX
ftp>
so, in this this case, IT WORKS
the question is :
why should i type a hostname instead of an ip address in the proftpd.conf to get a good ip login control ????
thanks a lot
Best regards