vi /etc/proftpd/proftpd.conf
Следующую строку:
UseReverseDNS off
Перезапускаем демона:
/etc/init.d/proftpd restart
vi /etc/proftpd/proftpd.conf
UseReverseDNS off
/etc/init.d/proftpd restart
vi /etc/proftpd/proftpd.conf
# disable ipv6 support
UseIPv6 off
/etc/init.d/proftpd restart
netstat -lnpt | grep :21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 8384/proftpd: (acce
apt-get install proftpd -y --force-yes
# DefaultRoot ~
UseIPv6 off
RequireValidShell off
useradd ftpuser -s /bin/true
passwd ftpuser
apt-get install ftp -y --force-yes
ftp localhost
Connected to localhost.localdomain.
220 ProFTPD 1.3.1 Server (Debian) [127.0.0.1]
Name (localhost:root): ftpuser
331 Password required for ftpuser
Password:
230 User ftpuser logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxr-xr-x 2 root root 4096 Dec 5 12:45 .
drwxr-xr-x 2 root root 4096 Dec 5 12:45 ..
-rw-r--r-- 1 root root 45 Dec 5 12:32 index.html
-rw-r--r-- 1 root root 20 Dec 5 12:45 index.php
226 Transfer complete
ListOptions "-l"
ListOptions "-la"
/etc/init.d/proftpd restart
# A basic anonymous configuration, no upload directories.
User ftp
Group nogroup
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Cosmetic changes, all files belongs to ftp user
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
DenyAll
# Uncomment this if you're brave.
#
# Umask 022 is a good standard umask to prevent new files and dirs
# # (second parm) from being group and world writable.
# Umask 022 022
#
# DenyAll
#
#
# AllowAll
#
#
#
Перезапускаем:
/etc/init.d/proftpd restart