Solved

Logfiles and ftpd verbose logentires

Posted on 1997-07-23
2
376 Views
Last Modified: 2013-12-23
I have wu ftpd install on a solaris system 2.5

I've modified the /etc/inetd.conf file with the following:
-----
ftp  stream  tcp  nowait  root  /usr/sbin/tcpd in.ftpd -lll
-----

Now, my question is : where are the log's of ftp logins and transfers of files taken place...  

if they are in the
/var/log/wtmp or /var/log/wtmpx files , how do I view the entires properly.

The 'last' command doesn't give me enough information.

My aim is to get a log entiry of user, time and what particular files were download or uploaded that session.

Is there a ftp.log somewhere, or how can I create it?

THankx.
Mark
0
Comment
Question by:mng
2 Comments
 

Expert Comment

by:vkg063097
ID: 1582218
if wu ftp is using syslogd for logging then you may have
to configure /etc/syslog.conf. In syslog.conf you can
specify the log file name.

vinay

0
 
LVL 5

Accepted Solution

by:
n0thing earned 100 total points
ID: 1582219
Hi,

   All ftp transfers are logged in the default xferlog file. It
should be in /var/adm/xferlog or try to do a "find / -name xferlog -print", tcpd also logs login/logout connections, however, it does not log all the files transfered.

   One last way is to recompile your wu-ftpd and set in the config.h whatever directory & file you want the logs go to.
   By the way ... in your inetd.conf ... ftpd -l is enough,
you don't need the ttwo extra "ll"

Regards,
Minh Lai
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dns issues 4 47
DNS Server 7 57
How to simulate latency? 5 40
Changing Lease Duration for DHCP clients 34 27
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question