- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- interpreting vsftpd logs
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
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
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
тАО11-11-2008 11:08 PM
тАО11-11-2008 11:08 PM
a _ i r ftp 0 * c
b _ o r ftp 0 * c
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 11:24 PM
тАО11-11-2008 11:24 PM
Re: interpreting vsftpd logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 12:01 AM
тАО11-12-2008 12:01 AM
Re: interpreting vsftpd logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 12:12 AM
тАО11-12-2008 12:12 AM
Re: interpreting vsftpd logs
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 03:12 AM
тАО11-12-2008 03:12 AM
SolutionAnyway:
According to vsftpd source code, the vsftpd can use the same log format as wuftpd... and the posted example looks like it.
(If vsftpd is configured to use its own log format, the log will be much clearer, but more voluminous, which may be a problem in a high-traffic FTP server. Also, you may prefer wuftpd log format if you already have tools designed to process that format.)
First letter: transfer mode
a = ascii
b = binary
Underscore:
A letter in this position would indicate any special operations, like gzipping or tarring the data on-the-fly. vsftpd never does that, so this is always "_", meaning "no special operation".
Second letter: transfer direction
i = input (= upload = FTP PUT)
o = output (FTP GET)
Third letter: access mode
a = anonymous
g = guest user
r = regular user
After this letter, there should be the username (or if the connection is anonymous, whatever the user specified to the password prompt). I assume that nanoux has already identified this part and omitted it from his example.
"ftp 0 *": service name, authentication method and authentication user id (if applicable). These are not configurable in vsftpd, so this is a constant string that carries no useful information. It is there only to match wuftpd log format.
The last letter: completion status
c = completed
i = interrupted (transfer failed)
Source of this information:
ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.7/logging.c
The relevant function vsf_log_do_log_wuftpd_format() begins on line 174.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2008 11:47 PM
тАО12-24-2008 11:47 PM
Re: interpreting vsftpd logs
Now this is what I was looking for Matti ,such a vivid explanation.I have assigned points.
Just one minor clarification on the second letter:transfer direction
Are the i & O DIRECTIONS from my server to the target server?
i = input (= upload = FTP PUT)
o = output (FTP GET)
meaning i= uploading to the target server.
and o= getting from the target server
pls clarify
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2008 03:39 AM
тАО12-25-2008 03:39 AM
Re: interpreting vsftpd logs
So "i" means the client is running a FTP PUT command to send data to you, and your server is receiving the data (=input). The data might be coming from the client or from another FTP server (if FXP is enabled and used); the log just documents the fact that data is coming _in_.
Correspondingly, "o" is output: this server is sending data _out_ to the other endpoint, to fulfill the client's FTP GET command.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2008 04:11 AM
тАО12-25-2008 04:11 AM