<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: interpreting vsftpd logs in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304662#M34422</link>
    <description>Scroll down and you will the answers without membership.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
    <pubDate>Wed, 12 Nov 2008 08:12:04 GMT</pubDate>
    <dc:creator>Ivan Krastev</dc:creator>
    <dc:date>2008-11-12T08:12:04Z</dc:date>
    <item>
      <title>interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304659#M34419</link>
      <description>Hi , I would like to understand how to interpret the vsftpd logs (red hat)--&amp;gt;&lt;BR /&gt;&lt;BR /&gt;a _ i r  ftp 0 * c&lt;BR /&gt;&lt;BR /&gt;b _ o r  ftp 0 * c</description>
      <pubDate>Wed, 12 Nov 2008 07:08:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304659#M34419</guid>
      <dc:creator>nanoux</dc:creator>
      <dc:date>2008-11-12T07:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304660#M34420</link>
      <description>See the answers here - &lt;A href="http://www.experts-exchange.com/OS/Linux/Q_23054941.html" target="_blank"&gt;http://www.experts-exchange.com/OS/Linux/Q_23054941.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 12 Nov 2008 07:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304660#M34420</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-11-12T07:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304661#M34421</link>
      <description>thanks. will try the link though its having membership .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 08:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304661#M34421</guid>
      <dc:creator>nanoux</dc:creator>
      <dc:date>2008-11-12T08:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304662#M34422</link>
      <description>Scroll down and you will the answers without membership.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 12 Nov 2008 08:12:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304662#M34422</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-11-12T08:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304663#M34423</link>
      <description>Maybe it's browser-dependent or whatever, but I cannot see the solution on experts-exchange either.&lt;BR /&gt;&lt;BR /&gt;Anyway:&lt;BR /&gt;&lt;BR /&gt;According to vsftpd source code, the vsftpd can use the same log format as wuftpd... and the posted example looks like it. &lt;BR /&gt;&lt;BR /&gt;(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.)&lt;BR /&gt;&lt;BR /&gt;First letter: transfer mode&lt;BR /&gt;a = ascii&lt;BR /&gt;b = binary&lt;BR /&gt;&lt;BR /&gt;Underscore:&lt;BR /&gt;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".&lt;BR /&gt;&lt;BR /&gt;Second letter: transfer direction&lt;BR /&gt;i = input (= upload = FTP PUT)&lt;BR /&gt;o = output (FTP GET)&lt;BR /&gt;&lt;BR /&gt;Third letter: access mode&lt;BR /&gt;a = anonymous&lt;BR /&gt;g = guest user&lt;BR /&gt;r = regular user&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;"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.&lt;BR /&gt;&lt;BR /&gt;The last letter: completion status&lt;BR /&gt;c = completed&lt;BR /&gt;i = interrupted (transfer failed)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Source of this information:&lt;BR /&gt;&lt;A href="ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.7/logging.c" target="_blank"&gt;ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.7/logging.c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The relevant function vsf_log_do_log_wuftpd_format() begins on line 174.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 12 Nov 2008 11:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304663#M34423</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-11-12T11:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304664#M34424</link>
      <description>Thanks for all the replies.&lt;BR /&gt;&lt;BR /&gt;Now this is what I was looking for Matti ,such a vivid explanation.I have assigned points. &lt;BR /&gt;&lt;BR /&gt;Just one minor clarification on the second letter:transfer direction&lt;BR /&gt;&lt;BR /&gt;Are the i &amp;amp; O DIRECTIONS from my server to the target server?&lt;BR /&gt;i = input (= upload = FTP PUT)&lt;BR /&gt;o = output (FTP GET)&lt;BR /&gt;&lt;BR /&gt;meaning i= uploading to the target server.&lt;BR /&gt;and o= getting from the target server&lt;BR /&gt;&lt;BR /&gt;pls clarify&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Dec 2008 07:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304664#M34424</guid>
      <dc:creator>nanoux</dc:creator>
      <dc:date>2008-12-25T07:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304665#M34425</link>
      <description>The log is written from the viewpoint of your FTP server. Usually, the other endpoint is a client. The use of FXP (= using two parallel FTP command connections to make two servers transfer files directly between each other, without going through the client) is rather rare.&lt;BR /&gt;&lt;BR /&gt;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_.&lt;BR /&gt;&lt;BR /&gt;Correspondingly, "o" is output: this server is sending data _out_ to the other endpoint, to fulfill the client's FTP GET command. &lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 25 Dec 2008 11:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304665#M34425</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-12-25T11:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: interpreting vsftpd logs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304666#M34426</link>
      <description>Thanks again for the clarifications.</description>
      <pubDate>Thu, 25 Dec 2008 12:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/interpreting-vsftpd-logs/m-p/4304666#M34426</guid>
      <dc:creator>nanoux</dc:creator>
      <dc:date>2008-12-25T12:11:22Z</dc:date>
    </item>
  </channel>
</rss>

