Skip to contentSkip to conversation

ftp logging

DISCUSSION urgrue 2 participants 2 messages Apr 2, 2003

lore
Share & tools
lore

urgrue

author
#0 lore raw

my ftp daemon logs all commands done via ftp, which is great. only thing is, it logs them to the log file only after the command has completed. so, for example, someone starts downloading some 200 meg file, i cant see (in the log files) what he is downloading, until its finished.
so, any ideas how i can see what he's doing?
lsof | grep -i <make some guesses>
is what i'm using now. needless to say its a bit clumsy, especially if several users are downloading at the same time, because i cant tell them apart.

i'm using vsftpd.

#1 lore raw

ncftpd has ncftpd_spy that lets you see what users are doing.

Quoted 12 lines · urgrue

my ftp daemon logs all commands done via ftp, which is great. only thing is, it logs them to the log file only after the command has completed. so, for example, someone starts downloading some 200 meg file, i cant see (in the log files) what he is downloading, until its finished. so, any ideas how i can see what he's doing?
lsof | grep -i <make some guesses>
is what i'm using now. needless to say its a bit clumsy, especially if several users are downloading at the same time, because i cant tell them apart.

i'm using vsftpd.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Jeff Largent                   ImageLinks, Inc.
Sr System Admin                Melbourne, Fl 32935
(321) 253-0011                 fax: (321) 253-5559