1834462 Members
3266 Online
110067 Solutions
New Discussion

Tracking outgoing FTP

 
dictum9
Super Advisor

Tracking outgoing FTP

What's the best way to track outgoing ftp accounts?

Same question for wu-ftp. Is there an option for wu-ftp?


6 REPLIES 6
Sanjay_6
Honored Contributor

Re: Tracking outgoing FTP

I do not think, there is one,

You can probably think of writing a wrapper to the ftp command. That is a possibility. Else tracking outgoing ftp will be a difficult thing.

Hope this helps.

regds
James R. Ferguson
Acclaimed Contributor

Re: Tracking outgoing FTP

Hi:

The Washington University version of 'ftp' is standard on current HP-UX versions.

Logging (out and in) is done to '/var/adm/syslog/xferlog'. To decipher this log's fields, see:

# man 5 xferlog

Regards!

...JRF...
DCE
Honored Contributor

Re: Tracking outgoing FTP

you can modify the command in /etc/inetd.conf with the -i and -o options to track incoming and outgoing ftp's

Dave
Sanjay_6
Honored Contributor

Re: Tracking outgoing FTP

Hi,

xferlog will log any incomin ftp activity. similarly you can log incoming activity, but not the outgoing one.

Hope this helps.

regds
James R. Ferguson
Acclaimed Contributor

Re: Tracking outgoing FTP

Hi:

Incoming as well as outgoing FTP transfers can most certainly be logged.

See the man pages for 'ftpd(1M)', 'ftpaccess(4)' and 'xferlog(5)' for configuration options.

Regards!

...JRF...
Muthukumar_5
Honored Contributor

Re: Tracking outgoing FTP

Do you want to track down file transfer information or user names which they are using for ftp?

First can be done with xferlog setting. Second one you have to write down a wrapper to capture ftp execution with tee or script commands.

-Muthu
Easy to suggest when don't know about the problem!