Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My question: Can a verbose log be produced with vsFTP and How?
(Mandrake 9.1.4 w/ vsFTPd 1.02-02)
I've been tooling around the Internet for days looking for a way to make vsFTP produce any kind of verbose log file.
Personally, i dont care if i have to sort through an individual session echo, but i need much more logging than is being produced now (single upload/download entires).
If logging is not available through vsFTP directly, can it be consolidated from other system logs?
Here's what i need, let me know if vsFTP can do it, or if I need to go to another ftp daemon:
1) Logging by user: LogIn/Out time, Uploaded filename with path and size info.
2) Successful/Failed uploads/downloads with time requested and time ended (failed).
3) IP address of user (standard)
Please recommend the most secure ftp daemon that will supply verbose enough logging to obtain this information (I can use PERL or another logging parser to get the desired records, but Legal dept wants this capability installed ASAP )
John, i would very much like to know more about this issue also. Currently my vsftp logs only tell me file uploads and downloads, i want more detailed info.
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/users/vsftp_nobody/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=NO
#The log_ftp_protocol=YES will log every FTP protocol transaction between the client and the server (this is the most detailed log you can get).
log_ftp_protocol=YES
Hope this helps others who are having this issue (took me nearly a week to find this on google and the help/man files ).
log_ftp_protocol
When enabled, all FTP requests and responses are logged, providing the option xferlog_std_format is not enabled. Useful for debugging.
Tried that on my Mandrake9 and the only change was the formatting of the (successful) upload/download entries (doesnt log anything more than the original, just logs it differently).
Then again, I got the logging working back in early march04, so i havent realy played much with it. (once it works, clients wont usually pay for 'inquiring minds" to roam).
right now the "debugging" level logging works fine (and provides C.Y.A. in blame-game situations)... I just use a webpage-based pearl script to parse out the reports that people want from the log file.
Anyway, hope this helped you get the logging you were looking for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.