- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FTP logging --- ftpd
Operating System - HP-UX
1752806
Members
5704
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО08-31-2007 02:31 AM
тАО08-31-2007 02:31 AM
FTP logging --- ftpd
I added the ftpd options of -l -i -o to /etc/inetd.conf and restarted the service
after checking the /var/adm/syslog/xferlog, I see transfers logged for both inbound and outbound files
THE QUESTION: ftp logging seems to only log transfers that are initiated from another server to the server that is logging activity;
Is there a way to log transfers of sessions that are initiated on the server that's logging?
after checking the /var/adm/syslog/xferlog, I see transfers logged for both inbound and outbound files
THE QUESTION: ftp logging seems to only log transfers that are initiated from another server to the server that is logging activity;
Is there a way to log transfers of sessions that are initiated on the server that's logging?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2007 02:44 AM
тАО08-31-2007 02:44 AM
Re: FTP logging --- ftpd
It would not be nearly as straightforward to log ftp connections initiated on the server via the ftp executable.
You are not seeing these connections logged because they do NOT use the FTPD daemon. FTPD is ONLY listening for incoming connections and only those are logged.
When you FTP from this machine this is completely separated from FTPD that is defined in /etc/inetd.conf.
There is no easy way that I know of to log info from ftp connections initiated on the server that is logging.
You are not seeing these connections logged because they do NOT use the FTPD daemon. FTPD is ONLY listening for incoming connections and only those are logged.
When you FTP from this machine this is completely separated from FTPD that is defined in /etc/inetd.conf.
There is no easy way that I know of to log info from ftp connections initiated on the server that is logging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2007 02:50 AM
тАО08-31-2007 02:50 AM
Re: FTP logging --- ftpd
Thank you Patrick, After seeing the content of the log and doing some testing, I concluded that the sessions are not using ftpd. I wanted to be sure about my conclusion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2007 02:56 AM
тАО08-31-2007 02:56 AM
Re: FTP logging --- ftpd
You are now confusing the role of the ftp server daemon (ftpd) with that of the client, ftp. It would be the task of the foreign ftp server to log those transfers.
What you could do is download the source for one of the ftp clients found on the Porting and Archive Centre and modify it to do whatever logging you wish. Bear in mind that this would only capture FTP traffic and would not capture transfers via email, ssh, rcp, ... or physical media transfers. There would still be a "hole" in FTP client use because any program could make use of the FTP protocol (e.g. a Perl script using the Net::FTP module) and those transfers would be completely hidden from "your" ftp.
You could also create a wrapper script for the "real" ftp command that would at least log who and when an ftp client was started but wouldn't know anything about transfers.
What you could do is download the source for one of the ftp clients found on the Porting and Archive Centre and modify it to do whatever logging you wish. Bear in mind that this would only capture FTP traffic and would not capture transfers via email, ssh, rcp, ... or physical media transfers. There would still be a "hole" in FTP client use because any program could make use of the FTP protocol (e.g. a Perl script using the Net::FTP module) and those transfers would be completely hidden from "your" ftp.
You could also create a wrapper script for the "real" ftp command that would at least log who and when an ftp client was started but wouldn't know anything about transfers.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP