PDA

View Full Version : Need VSFTPD Logging Config Help & Strange Problem with FTP always on


spongebob1
2005-04-06, 03:39 AM CDT
Hi Everyone,

I moved from RedHat 7.3 to a FC3 box, got everything running, and started setting up FTP access. I was able through vsftp to setup chrooting for security and all that seems to work great. The thing I can't do is get it to log the login as well as failed login attempts to wtmp, like in RH7.x.

If you typed in last under RH7.x you would get something like so:
ftp ftpd17175 adsl-2-220-243.m Sun Apr 3 22:34 - 22:34 (00:00)
ftp ftpd17174 adsl-2-220-243.m Sun Apr 3 22:34 - 22:34 (00:00)

Allowing you to see both good & bad logins, but under FC3 I don't see that anywhere.
I looked through the docs, and configs and can't find how to do this.

The other STRANGE thing, is I stopped vsftpd with
/etc/rc.d/init.d/vsftpd stop

Then ran /etc/rc.d/init.d/vsftpd status to see that it said vsftpd is stopped, B U T

I can still FTP to the box without issue, and /etc/rc.d/init.d/vsftpd status still says its stopped. The other thing is I modified /etc/vsftpd.conf to insure that the welcome message said something different so that I can see if maybe some other FTP client was running, but when I log into the server I get the message I configured in vsftpd.conf, again with the server being stopped. Any Ideas are appreciated.

Thanks !!! Bob

james_in_denver
2005-04-06, 12:36 PM CDT
vsftpd is "forked" by the "inetd" socket listener in most configurations (though you CAN change that if you want).

See section "11.5.7. Logging Options" about halfway down the page, in the VSFTPD documentation here:
http://squidward.mit.edu/rhel-doc/RH-DOCS/rhel-rg-en-3/s1-ftp-vsftpd-conf.html

spongebob1
2005-04-06, 02:05 PM CDT
I think I am not seeing in that documentation anything related to login attempts.
It looks like thats all about the transferlog etc.... Am I missing something?

Also any ideas about still being able to FTP to the box?

Thanks!