Distribution: Fedora Core 2.
Service: proftpd compiled by myself:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --enable-shadow \
--with-modules=mod_tls:mod_ratio:mod_readme:mod_quotatab:mod_quotatab_file:mod_ifsession:mod_wrap && \
make && \
I run proftpd by xinetd:
disable = no
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/sbin/proftpd
log_on_success = HOST PID
log_on_failure = HOST
My proftpd.conf file:
ServerName "ProFTPD Default Installation"
UserAlias anonymous ftp
I create also ftp home directory with rights:
# ls -l /var |grep ftp
drwxr-xr-x 2 root ftp 4096 Dec 12 12:10 ftp
There is no iptables on this machine.
And now... the problem is...
When I try to log on anonymous account from the same machine and try to do simple ls command:
# ncftp localhost
NcFTP 3.1.7 (Jan 07, 2004) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 127.0.0.1...
ProFTPD 1.2.10 Server (ProFTPD Default Installation) [127.0.0.1]
Anonymous access granted, restrictions apply.
Logged in to localhost.
ncftp / > ls
Remote host has closed the connection.
But when I try to login from another host on network everything is OK. I can list files from anonymous account.
If I make a addition user account and try to log on it from localhost everything is ok also. I have only problem with login as anonymous from the same machine.
What it could be?