Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:19 AM
07-23-2003 01:19 AM
FTP log
Apart from syslog.log, does anyone know that there is any log recorded the unsuccessful and successful ftp login which can show the IP and username.
Regards,
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:29 AM
07-23-2003 01:29 AM
Re: FTP log
# last |grep ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:40 AM
07-23-2003 01:40 AM
Re: FTP log
The only other possibility is if someone has modified /etc/syslog.conf to redirect ftp logs to a different file than syslog, eg;
local5.info;mail.none /var/adm/syslog/ftp.log
In this case ftp messages dont go to syslog but to ftp.log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:44 AM
07-23-2003 01:44 AM
Re: FTP log
Yes, there is.
If you configure your inetd in /etc/inetd.conf.
You should find a line starting with ftp.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022 -i -o -B8
-l means logging into /var/adm/syslog/syslog.log.
-u gives you the umask for the creation of a file by ftp
-i writes transfers to /var/adm/syslog/xferlog.
This file contains all successfully transfered files.
-B size
Sets the buffer size of the data socket to size
blocks of 1024 bytes. The valid range for size is from 1 to 64.
If you change your ftp line like this, you should have your problem solved. But keep an eye on this file.
It may grow fast.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:46 AM
07-23-2003 01:46 AM
Re: FTP log
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:48 AM
07-23-2003 01:48 AM
Re: FTP log
That means I cannot know the IP of the user that has unsuccessful FTP login.
Is it correct??
Regards,
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:54 AM
07-23-2003 01:54 AM
Re: FTP log
You can see the ftp logins in /var/adm/syslog/syslog.log .
Only the successful jobs will be logged in /var/adm/syslog/xferlog.
syslog.log :
Jul 23 09:03:29 hpnss-01 ftpd[3815]: FTP LOGIN FROM densswks0035.win.europe.ups.com [10.131.245.57], root
xferlog :
Wed Jul 23 09:05:16 2003 0.880501 densswks0035.win.europe.ups.com 1082794 /opt/cfg2html/hpnss-01.txt b _ o r root ftp 0 * 1058943916 0.000000
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 01:58 AM
07-23-2003 01:58 AM
Re: FTP log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 02:11 AM
07-23-2003 02:11 AM
Re: FTP log
you should work on your reputation in assigning points.
;-)
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 04:25 AM
07-23-2003 04:25 AM
Re: FTP log
Yes, for successful ftp login, you may issue "last |grep ftp". And you may see syslog.log for details.
As i know that no log records unsuccessful ftp login information.
regards
twang