1751961 Members
4783 Online
108783 Solutions
New Discussion

Re: ftp logging

 
bangu00
Advisor

ftp logging

Dear All

I have a HP-UX 11.23

I want to get ftp logging (Example : put, get....) on the server.

so, i tried to modify syslog.conf as belows

#>vi /etc/syslog.conf

local5.info             /var/adm/syslog/ftplog.log

#>/sbin/init.d/syslogd stop && /sbin/init.d/syslogd start

 

But there were no any get or put into the ftplog.log

I just see the log as like

#>cat /var/adm/syslog/ftplog.log

Sep 24 17:22:26 unib2b01 ftpd[20956]: FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34698) Fri Nov 10 10:21:03 GMT 2006) ready.
Sep 24 17:22:26 unib2b01 ftpd[20956]: FTP LOGIN FROM 10.50.93.174 [10.50.93.174], xmark
Sep 24 17:22:27 unib2b01 ftpd[20956]: FTP session closed
Sep 24 17:22:29 unib2b01 ftpd[20960]: Data port : 20
Sep 24 17:22:29 unib2b01 ftpd[20960]: FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34698) Fri Nov 10 10:21:03 GMT 2006) ready.
Sep 24 17:22:29 unib2b01 ftpd[20960]: FTP LOGIN FROM 10.50.93.238 [10.50.93.238], xmark
Sep 24 17:22:29 unib2b01 ftpd[20960]: FTP session closed
Sep 24 17:22:30 unib2b01 ftpd[20966]: Data port : 20
Sep 24 17:22:30 unib2b01 ftpd[20966]: FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34698) Fri Nov 10 10:21:03 GMT 2006) ready.
Sep 24 17:22:30 unib2b01 ftpd[20966]: FTP LOGIN FROM 10.50.92.150 [10.50.92.150], xmark
Sep 24 17:22:30 unib2b01 ftpd[20966]: FTP session closed
Sep 24 17:22:31 unib2b01 ftpd[20968]: Data port : 20
Sep 24 17:22:31 unib2b01 ftpd[20968]: FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34698) Fri Nov 10 10:21:03 GMT 2006) ready.
Sep 24 17:22:31 unib2b01 ftpd[20968]: FTP LOGIN FROM 10.50.92.150 [10.50.92.150], xmark
Sep 24 17:22:32 unib2b01 ftpd[20972]: Data port : 20
Sep 24 17:22:32 unib2b01 ftpd[20972]: FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_34698) Fri Nov 10 10:21:03 GMT 2006) ready.
Sep 24 17:22:32 unib2b01 ftpd[20972]: FTP LOGIN FROM 10.50.81.114 [10.50.81.114], roos
Sep 24 17:22:32 unib2b01 ftpd[20972]: FTP session closed
Sep 24 17:22:32 unib2b01 ftpd[20968]: FTP session closed

 

 

How can i get put and get log from ftpd.

anybody help me.

 

Thanks a lot.

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking.
-HP Forum Moderator

1 REPLY 1
Laurent Menase
Honored Contributor

Re: ftp logging

add -i -o to ftpd line in /etc/inetd.conf

file xfer will be logged to /var/adm/syslog/xferlog

 

for more info man xferlog or ftpaccess