<?xml version="1.0"?>
<rss version="2.0.">
  <channel>
    <title>Advogato blog for revoquer</title>
    <link>http://www.advogato.org/person/revoquer/</link>
    <description>Advogato blog for revoquer</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Wed, 9 Jul 2008 06:14:55 GMT</pubDate>
    <item>
      <pubDate>Sat, 6 Jul 2002 14:22:09 GMT</pubDate>
      <title>6 Jul 2002</title>
      <link>http://www.advogato.org/person/revoquer/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/revoquer/diary.html?start=2</guid>
      <description>Today. Today was a day full of a lot of freeciv. I did however get a bit of auditing on the ftpd done. Didn't find anything of extraordinary importance, just went through and came up with a few possibilities of what shouldn't happen but could happen. Tomorrow, I'll try them out and look through the main processing loop of the program. See if there is anyway to tighten it up any. I kept glancing through a few secure coding articles to try to come up with ways it could break.(Including Securing programming howto by d.wheeler)&lt;br&gt;&lt;br&gt;
Ahh..well..I will find out how to break it. Can't wait. 
&lt;br&gt;
&lt;br&gt;
Laters
</description>
    </item>
    <item>
      <pubDate>Thu, 4 Jul 2002 15:05:49 GMT</pubDate>
      <title>4 Jul 2002</title>
      <link>http://www.advogato.org/person/revoquer/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/revoquer/diary.html?start=1</guid>
      <description>Ahhh! After 5 months of &lt;b&gt;Stress&lt;/b&gt;, it's finished. I've been working with a sports-drink company developing an application to deal with their customers, orders and manufacturing.&lt;p&gt;

&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; Now, maybe I'll have some time to relax and code this ftp server. Got a few good books that I might read. &lt;p&gt;

&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; The ftp server has been on the side-lines for those 5 months and so now it needs to be audited and tested. I've run it with a few different clients. Opera, netscape, mozilla, internet explorer, windows explorer, and gftp. Out of all those, mozilla was a pain in the ass. Nothing extradionary but it's not particulary good at ftping. For instance, when opening a connection it calls out RETR / &lt;br&gt;
What ftp client needs to download the root directory?!
Obviously, that command fails and mozilla completes a login. Anyway, that's been the only glitch outside of having to rewrite some of the ls/dir/listing code.&lt;br&gt;
I'm yet to really attack the server outside of normal high-connection stress testing. It hasn't been tested with perverted usage yet. &lt;br&gt;
On my celeron 533/192MB box, I'm getting ~300 connections per second and that is with the benchmarking tool running at the same time. Which is around 25 million connections per day. Not too bad for something that I'm yet to really try to optimise.&lt;br&gt;
Due to the poll implementation, it probably will only be able to handle 1000-3000 users concurrently. I've looked into io signal events in linux for handling the sockets but its quite poor. Because in a heavy loaded server, you have to fall back on poll to fix up the queue when it overruns.(This happens regularly)&lt;br&gt;
You are trying to get away from poll() because of lack of scalability but under the current methods you have to use it when the machine's load is at its worst.

&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; Anyway, laters..</description>
    </item>
    <item>
      <pubDate>Fri, 17 May 2002 14:51:36 GMT</pubDate>
      <title>17 May 2002</title>
      <link>http://www.advogato.org/person/revoquer/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/revoquer/diary.html?start=0</guid>
      <description>Getting frustrated with poll(), dkftpbench, and some elusive bugs?!&lt;br&gt;
I looked at using RT signals for my server but the whole,
falling back&lt;br&gt; on poll in an overloaded state, it's crap. &lt;br&gt;
Guess I'll have to wait for /dev/poll/epoll to hit mainstream kernels or&lt;br&gt; a kqueue/kevent setup to be implemented in linux. &lt;p&gt;
Seriously, looking at writing some documentation for the FOX toolkit.&lt;br&gt;</description>
    </item>
  </channel>
</rss>
