1821985 Members
3727 Online
109638 Solutions
New Discussion юеВ

xferlog

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

xferlog

Hi gurus,

I have tried to activate the xferlog. I have added -i and -o to inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -lvio
Then inetd -c, then I have copppied two files back and forth and look after xferlog in /var/adm/syslog/ but there was no xferlog there.
What else should I do?
If it weren't for STRESS I'd have no energy at all
4 REPLIES 4
Graham Cameron_1
Honored Contributor
Solution

Re: xferlog

A couple of things to try.
1. xferlog is overidden by /etc/ftpd/ftpaccess. See man ftpaccess.
2. Note that ftpd is active only on the server you are connecting to. ie FTP on the client box invokes FTPD on the server. Have you made your change at the right end ? (Do both ends if not sure)
-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Stefan Farrelly
Honored Contributor

Re: xferlog

yes, /etc/ftpd/ftpaccess is where you must add in the log option to enable logging to xferlog - see man ftpaccess.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Ionut Grigorescu_2
Super Advisor

Re: xferlog

Graham: sure, I was stupid, I had to activate xferlog on both machines, I have no ftpaccess,
Stefan: You don't have to have the ftpaccess file in order to activate xferlog.

I was a little bit dissapointed, is there something like an online tool to monitor the ftp access - I have to transfer the files from a HP UX box to a IPA2800 machine (is a weird thing from Nokia, the CPU Unit of a switch which has a ftpd running on it), I know that tcpdump or Ethereal will do the job, but I wanted something simplier - only for the ftp transfer - is there something like this?
If it weren't for STRESS I'd have no energy at all
paul haigh
New Member

Re: xferlog

I am having the same kind of issue.

I am using ftpaccess. Here is the entry in inetd.conf:

ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -a -v -i -l -o -P


Here is the entry in ftpaccess:
----------
log commands real
log transfers anonymous,real inbound,outbound
log xferlog

log security anonymous,real
------

I am unable to get xferlog to reflect any file transfer activity:

-rw-r--r-- 1 root root 29749 Apr 27 14:35 syslog.log
-rw-r--r-- 1 root root 0 Apr 25 18:32 xferlog

I am running 11.23:

B.11.23 U ia64 0016009358

Any advise would be appreciated.

Thanks!

-paul