<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for tech.sweetnam.eu</title>
	<atom:link href="http://tech.sweetnam.eu/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.sweetnam.eu</link>
	<description>Random tech stuff</description>
	<lastBuildDate>Wed, 18 Jan 2012 08:00:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Robert</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-3581</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 18 Jan 2012 08:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-3581</guid>
		<description>The only think I can think of Rob is the X-forwarded for isn&#039;t working correctly. 

Seems that while the correct IP address is appearing in the Apache log the originating IP may be that of the proxy so that&#039;s why it might not be blocked.

You could block that IP address on the reverse proxy though.</description>
		<content:encoded><![CDATA[<p>The only think I can think of Rob is the X-forwarded for isn&#8217;t working correctly. </p>
<p>Seems that while the correct IP address is appearing in the Apache log the originating IP may be that of the proxy so that&#8217;s why it might not be blocked.</p>
<p>You could block that IP address on the reverse proxy though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Rob</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-3580</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 18 Jan 2012 07:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-3580</guid>
		<description>Hi,

this is working great however one thing i used is the .htaccess and in there 

deny from x.x.x.x

Now looking at the Squid access.log i see the original IP number and in the Apache2 access.log I see the same original IP number. This would mean :

in both access logs I see x.x.x.x and in .htaccess I deny x.x.x.x however this isn&#039;t giving a 403 access denied page anymore.

When I go around the Squid server the 403 page is shown correctly based on the x.x.x.x deny 

Any ideas why the .htaccess isn&#039;t acting on the deny anymore?

Thanks
Rob</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>this is working great however one thing i used is the .htaccess and in there </p>
<p>deny from x.x.x.x</p>
<p>Now looking at the Squid access.log i see the original IP number and in the Apache2 access.log I see the same original IP number. This would mean :</p>
<p>in both access logs I see x.x.x.x and in .htaccess I deny x.x.x.x however this isn&#8217;t giving a 403 access denied page anymore.</p>
<p>When I go around the Squid server the 403 page is shown correctly based on the x.x.x.x deny </p>
<p>Any ideas why the .htaccess isn&#8217;t acting on the deny anymore?</p>
<p>Thanks<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Firestats WordPress Exploit by IPFraudReporter.com</title>
		<link>http://tech.sweetnam.eu/2009/06/firestats-wordpress-exploit/comment-page-1/#comment-2160</link>
		<dc:creator>IPFraudReporter.com</dc:creator>
		<pubDate>Mon, 02 May 2011 11:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/?p=135#comment-2160</guid>
		<description>Hi Robert, though with 2 years delay, I should note the vulnerability you&#039;re describing (following a RFI into a server) and therefore via a hacker server, is actually a hack attack. The second script (that with &quot;0sirys was here...&quot;) is actually dangeours!

There&#039;s an explanation added http://www.ipfraudreporter.com/217-26-112-1-ip-address#comment-635

Best regards!</description>
		<content:encoded><![CDATA[<p>Hi Robert, though with 2 years delay, I should note the vulnerability you&#8217;re describing (following a RFI into a server) and therefore via a hacker server, is actually a hack attack. The second script (that with &#8220;0sirys was here&#8230;&#8221;) is actually dangeours!</p>
<p>There&#8217;s an explanation added <a href="http://www.ipfraudreporter.com/217-26-112-1-ip-address#comment-635" rel="nofollow">http://www.ipfraudreporter.com/217-26-112-1-ip-address#comment-635</a></p>
<p>Best regards!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Robert</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-2123</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 12 Apr 2011 18:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-2123</guid>
		<description>&lt;a href=&quot;#comment-2121&quot; rel=&quot;nofollow&quot;&gt;@Morgan &lt;/a&gt; 
Hi Morgan,

Unfortunately the backend server will always need to be alive. The cache will not act as a failover. 

The reason it needs to be alive is that the cache makes a quick check to see if the data on the backend server is more recent than the one in cache. If it is then the cache will pull from the backend server.

Note that it doesn&#039;t pull the actual content from the backend server unless it is needed it usually checks the http headers I think.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2121" rel="nofollow">@Morgan </a><br />
Hi Morgan,</p>
<p>Unfortunately the backend server will always need to be alive. The cache will not act as a failover. </p>
<p>The reason it needs to be alive is that the cache makes a quick check to see if the data on the backend server is more recent than the one in cache. If it is then the cache will pull from the backend server.</p>
<p>Note that it doesn&#8217;t pull the actual content from the backend server unless it is needed it usually checks the http headers I think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Morgan</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-2121</link>
		<dc:creator>Morgan</dc:creator>
		<pubDate>Mon, 11 Apr 2011 11:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-2121</guid>
		<description>I have been playing with squid 2.7 stable 8 in front of an IIS box, I want it to cache the sites on the IIS box in case it goes down, but in this lab if I stop IIS squid doesn&#039;t serve from cache.

If I wget the index on the webserver
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Cache-Control: public, max-age=5,stale-while-revalidate=600,
stale-if-error=36000
Set-Cookie: ASP.NET_SessionId=fdlkjayuf98dsfgnkjdsl7; path=/; HttpOnly
Cache-Control: private

I have tried this via the suggestion here,
http://support.microsoft.com/kb/247404 which edits the IIS metabase to
add the CacheControlCustom entry, but this doesn&#039;t seem to change the
headers. So I added a custom header to the site which is what gives
the dual cache-control entries in the header.
Any ideas?</description>
		<content:encoded><![CDATA[<p>I have been playing with squid 2.7 stable 8 in front of an IIS box, I want it to cache the sites on the IIS box in case it goes down, but in this lab if I stop IIS squid doesn&#8217;t serve from cache.</p>
<p>If I wget the index on the webserver<br />
Server: Microsoft-IIS/6.0<br />
X-Powered-By: ASP.NET<br />
Cache-Control: public, max-age=5,stale-while-revalidate=600,<br />
stale-if-error=36000<br />
Set-Cookie: ASP.NET_SessionId=fdlkjayuf98dsfgnkjdsl7; path=/; HttpOnly<br />
Cache-Control: private</p>
<p>I have tried this via the suggestion here,<br />
<a href="http://support.microsoft.com/kb/247404" rel="nofollow">http://support.microsoft.com/kb/247404</a> which edits the IIS metabase to<br />
add the CacheControlCustom entry, but this doesn&#8217;t seem to change the<br />
headers. So I added a custom header to the site which is what gives<br />
the dual cache-control entries in the header.<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Robert</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-2072</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sun, 06 Feb 2011 11:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-2072</guid>
		<description>&lt;a href=&quot;#comment-2045&quot; rel=&quot;nofollow&quot;&gt;@Colin &lt;/a&gt; 

Colin, 

I have no idea why there is a need for two ACLs. It doesn&#039;t work with just one. 

Thanks for spotting the typo!</description>
		<content:encoded><![CDATA[<p><a href="#comment-2045" rel="nofollow">@Colin </a> </p>
<p>Colin, </p>
<p>I have no idea why there is a need for two ACLs. It doesn&#8217;t work with just one. </p>
<p>Thanks for spotting the typo!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Robert</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-2071</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sun, 06 Feb 2011 11:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-2071</guid>
		<description>&lt;a href=&quot;#comment-2044&quot; rel=&quot;nofollow&quot;&gt;@Roy Tan &lt;/a&gt; 

Hi Roy, Squid&#039;s original purpose is to do just that. For accelerating http on a LAN it&#039;s perfect.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2044" rel="nofollow">@Roy Tan </a> </p>
<p>Hi Roy, Squid&#8217;s original purpose is to do just that. For accelerating http on a LAN it&#8217;s perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Colin</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-2045</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Thu, 27 Jan 2011 17:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-2045</guid>
		<description>&lt;a href=&quot;#comment-943&quot; rel=&quot;nofollow&quot;&gt;@Robert &lt;/a&gt; 
Thanks for this, you totally saved my bacon. I&#039;m very confident I would never have worked this out myself within a meaningful timeframe.

I am curious though, why is there a need to define the domains in two different ACLs? I would have thought you could just use the same one (ie: you have acl sites_apache and also acl our_sites which appear to be the same).

Oh, I&#039;ve got another typo for you: There is a space missing between the referrer and User-Agent quotes, ie: should be:
LogFormat “%{X-Forwarded-For}i %v %u %t \”%r\” %&gt;s %b \”%{Referer}i\” \”%{User-Agent}i\”&quot; cached

INSTEAD OF:

LogFormat “%{X-Forwarded-For}i %v %u %t \”%r\” %&gt;s %b \”%{Referer}i\”\”%{User-Agent}i\”&quot; cached


Thanks again for an awesome post!

Colin</description>
		<content:encoded><![CDATA[<p><a href="#comment-943" rel="nofollow">@Robert </a><br />
Thanks for this, you totally saved my bacon. I&#8217;m very confident I would never have worked this out myself within a meaningful timeframe.</p>
<p>I am curious though, why is there a need to define the domains in two different ACLs? I would have thought you could just use the same one (ie: you have acl sites_apache and also acl our_sites which appear to be the same).</p>
<p>Oh, I&#8217;ve got another typo for you: There is a space missing between the referrer and User-Agent quotes, ie: should be:<br />
LogFormat “%{X-Forwarded-For}i %v %u %t \”%r\” %&gt;s %b \”%{Referer}i\” \”%{User-Agent}i\”&#8221; cached</p>
<p>INSTEAD OF:</p>
<p>LogFormat “%{X-Forwarded-For}i %v %u %t \”%r\” %&gt;s %b \”%{Referer}i\”\”%{User-Agent}i\”&#8221; cached</p>
<p>Thanks again for an awesome post!</p>
<p>Colin</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Roy Tan</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-2044</link>
		<dc:creator>Roy Tan</dc:creator>
		<pubDate>Thu, 27 Jan 2011 06:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-2044</guid>
		<description>Can Squid server setup to be accelerate all http/ftp of all PCs in a Local area network??</description>
		<content:encoded><![CDATA[<p>Can Squid server setup to be accelerate all http/ftp of all PCs in a Local area network??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse Proxy: Making the most of one IP address by Robert</title>
		<link>http://tech.sweetnam.eu/2008/01/reverse-proxy-making-the-most-of-one-ip-address/comment-page-1/#comment-1202</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sun, 07 Nov 2010 19:32:40 +0000</pubDate>
		<guid isPermaLink="false">http://tech.sweetnam.eu/post.aspx?id=c3be5709-7bfa-4fb1-af43-0f9edef19dd8#comment-1202</guid>
		<description>&lt;a href=&quot;#comment-1200&quot; rel=&quot;nofollow&quot;&gt;@Miguel Perez &lt;/a&gt; 

Hi Miguel, I will take a look and contact you shortly.</description>
		<content:encoded><![CDATA[<p><a href="#comment-1200" rel="nofollow">@Miguel Perez </a> </p>
<p>Hi Miguel, I will take a look and contact you shortly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

