ProFtpd refused connection to users
after commenting this line inside /etc/proftpd.conf and restart proftpd, it works again:
no services or ip were included inside /etc/hosts.allow and /etc/hosts.deny.
It seems an error when TCP.Wrappers option for proftpd are active in the file configuration while both hosts. files don't have restrictions.
Code:
# grep -C3 mod_wrap /var/log/messages
Mar 26 16:12:10 host proftpd: 2021-03-26 16:12:10,562 srv.myserver.com proftpd[10187] 7.8.9.0 (1.2.3.4[1.2.3.4]): FTP session opened.
Mar 26 16:12:10 host proftpd: 2021-03-26 16:12:10,887 srv.myserver.com proftpd[10187] 7.8.9.0 (1.2.3.4[1.2.3.4]): mod_wrap/1.2.4: using access files: /etc/hosts.allow, /etc/hosts.deny
Mar 26 16:12:10 host proftpd: 2021-03-26 16:12:10,889 srv.myserver.com proftpd[10187] 7.8.9.0 (1.2.3.4[1.2.3.4]): mod_wrap/1.2.4: refused connection from 1.2.3.4
Mar 26 16:12:10 host proftpd: 2021-03-26 16:12:10,949 srv.myserver.com proftpd[10187] 7.8.9.0 (1.2.3.4[1.2.3.4]): FTP session closed.
after commenting this line inside /etc/proftpd.conf and restart proftpd, it works again:
Code:
#TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
It seems an error when TCP.Wrappers option for proftpd are active in the file configuration while both hosts. files don't have restrictions.