Hi all,
I have installed and configured the ftpd correctly. It starts on rc.conf like this:
Everything works fine, the chroot of my users, etc.
After installation, I read that /etc/syslog.conf reads about services and create its logs. I have this:
But when I try to see my FTPd logs, there are random (and old) logs:
How can I have normal logs like "Users logging in FTP, Users login out from FTP, Users uploading some file, etc"?
Is there a way to control whats happening on the FTP server?
I have installed and configured the ftpd correctly. It starts on rc.conf like this:
Code:
ftpd_enable="YES"
Everything works fine, the chroot of my users, etc.
After installation, I read that /etc/syslog.conf reads about services and create its logs. I have this:
Code:
ftp.info /var/log/xferlog
But when I try to see my FTPd logs, there are random (and old) logs:
Code:
[joan@benicassim /var/log]$ doas tail -f /var/log/xferlog
Password:
Apr 22 21:23:45 benicassim ftpd[45521]: control setsockopt (TCP_NODELAY): Connection reset by peer
Apr 23 18:28:56 benicassim ftpd[850]: accept: Software caused connection abort
May 20 13:44:20 benicassim ftpd[22884]: control setsockopt (TCP_NODELAY): Connection reset by peer
May 24 10:44:13 benicassim ftpd[14388]: control setsockopt (TCP_NODELAY): Connection reset by peer
May 26 14:36:21 benicassim ftpd[853]: accept: Software caused connection abort
Jun 24 07:09:11 benicassim ftpd[4070]: control setsockopt (TCP_NODELAY): Connection reset by peer
Jul 7 11:54:13 benicassim ftpd[853]: accept: Software caused connection abort
Jul 7 21:05:43 benicassim ftpd[20769]: repeated login failures from 185-157-162-19.pool.ovpn.com
Jul 18 18:47:27 benicassim ftpd[14829]: control setsockopt (TCP_NODELAY): Connection reset by peer
Jul 18 20:12:39 benicassim ftpd[851]: accept: Software caused connection abort
How can I have normal logs like "Users logging in FTP, Users login out from FTP, Users uploading some file, etc"?
Is there a way to control whats happening on the FTP server?