Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where does Pure-FTPd Keep Logs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Fri Dec 24, 2004 1:50 am    Post subject: Where does Pure-FTPd Keep Logs? Reply with quote

Does Pure-FTPd keep logs of who transferred what, and when? I'm interested in reviewing last night's activity, if it actually recorded anything. Where should I look? I did nothing special on startup, nor do I see anything about logging in the Pure-FTPd config file. Any ideas?

Happy Holidays!
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
underrun
n00b
n00b


Joined: 24 Dec 2004
Posts: 3

PostPosted: Fri Dec 24, 2004 2:42 am    Post subject: Reply with quote

I pretty sure the uderguide @ www.proftdp.org will tell you what you need to hear.

Merry Christmas
_________________
____________
underrun
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Fri Dec 24, 2004 2:46 am    Post subject: Reply with quote

underrun, thanks, but I think pure-ftpd is different than proftpd?
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
yain
n00b
n00b


Joined: 15 Dec 2004
Posts: 16

PostPosted: Fri Dec 24, 2004 4:01 am    Post subject: Reply with quote

default location is
/var/log/ftpd/
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Fri Dec 24, 2004 5:42 am    Post subject: Reply with quote

yain wrote:
default location is
/var/log/ftpd/


Hm, no directory there. I don't see anything related to FTP in /var/log/. Is it something I have to manually enable?

Edit: Okay, so man pure-ftpd says that the syslog facility defaults to "ftp" if the -f option is not passed at runtime (which it wasn't). So, ftp facility, where do I find that?


...back to reading man pages. :-)
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Fri Dec 24, 2004 6:03 am    Post subject: Reply with quote

Alright, so apparently the Pure-FTPd default is to log to the "ftp" facility, per the man page. I use sysklogd, whose configuration file doesn't mention the "ftp" facility, so does that mean it gets ignored?

Is there a catch-all for unknown/unexpected facilities?
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
Apache4857
n00b
n00b


Joined: 23 Jun 2004
Posts: 20

PostPosted: Fri Dec 24, 2004 4:23 pm    Post subject: check general log Reply with quote

I'd check in /var/log/messages or /var/log/syslog. My pure-ftpd server logs to one or the other, I can't remember which right now. You can grep for ftp in the log file.
Back to top
View user's profile Send private message
Parasietje
Apprentice
Apprentice


Joined: 25 Jan 2004
Posts: 194

PostPosted: Sat Dec 25, 2004 2:43 pm    Post subject: Reply with quote

/var/log/xferlog is the standard logfile for ftp-transfers. When using sysklogd, you could look into /etc/syslog.conf. There, ftp facility logs are discarded, but this can easily be changed.
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Sun Dec 26, 2004 1:37 am    Post subject: Reply with quote

There it is! Found it in /var/log/messages, as well as syslog, which appears to be the same thing. Ok, so to split the FTP-related stuff in the future to a separate file, I'd add:
Code:
ftp.*        -/var/log/ftp.log


...to the /etc/syslog.conf file? As far as I can tell, that should take any ftp-related stuff and put it in ftp.log, which will be created if necessary, yes?


Thanks everybody!
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
davidsb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2002
Posts: 146
Location: Lisbon, Portugal

PostPosted: Sun May 01, 2005 11:54 am    Post subject: Reply with quote

I tried that but with no success, can't see any log information in /var/log/ftp :(
_________________
http://recycler.homelinux.org/~wolfshade/bootlegs/
Back to top
View user's profile Send private message
davidsb
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2002
Posts: 146
Location: Lisbon, Portugal

PostPosted: Sun May 01, 2005 1:02 pm    Post subject: Reply with quote

My error, its working now.
_________________
http://recycler.homelinux.org/~wolfshade/bootlegs/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum