<?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 on: Slowloris DoS Tool: It Can Bring Down Apache 1.x/2.x</title> <atom:link href="http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: ano</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149245</link> <dc:creator>ano</dc:creator> <pubDate>Tue, 30 Jun 2009 22:39:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149245</guid> <description>@Vivek, @Solaris
Vivek wrote:
&gt;Even so, when a big DDoS flood comes (Gigabytes/second) there is not much you can do
You missed the point. This particular attack is about  taking down apache with a tiny DDos flood. Low bandwidth-, cpu and memory footprint. A 486 on the cheapest dsl link brings down apache.
Against this kind of attacks there is much you can do... but apache doesn&#039;t...</description> <content:encoded><![CDATA[<p>@Vivek, @Solaris</p><p>Vivek wrote:<br
/> &gt;Even so, when a big DDoS flood comes (Gigabytes/second) there is not much you can do</p><p>You missed the point. This particular attack is about  taking down apache with a tiny DDos flood. Low bandwidth-, cpu and memory footprint. A 486 on the cheapest dsl link brings down apache.</p><p>Against this kind of attacks there is much you can do&#8230; but apache doesn&#8217;t&#8230;</p> ]]></content:encoded> </item> <item><title>By: Tod DoD</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149150</link> <dc:creator>Tod DoD</dc:creator> <pubDate>Fri, 26 Jun 2009 18:04:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149150</guid> <description>For limiting incoming SYN packets under netfilter:
&lt;code&gt;iptables -A INPUT -i eth0 -p tcp --syn -m limit --limit 5/second -j ACCEPT&lt;/code&gt;</description> <content:encoded><![CDATA[<p>For limiting incoming SYN packets under netfilter:<br
/> <code>iptables -A INPUT -i eth0 -p tcp --syn -m limit --limit 5/second -j ACCEPT</code></p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149105</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Tue, 23 Jun 2009 20:40:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149105</guid> <description>@Solaris,
I agree with you; your average server cannot fight if a large DDoS  launched against you. You need something like Cisco guard or TopLayer mitigation appliances. Another option is to use anti-DDoS proxy service. All these options costs good amount of money.</description> <content:encoded><![CDATA[<p>@Solaris,</p><p>I agree with you; your average server cannot fight if a large DDoS  launched against you. You need something like Cisco guard or TopLayer mitigation appliances. Another option is to use anti-DDoS proxy service. All these options costs good amount of money.</p> ]]></content:encoded> </item> <item><title>By: Solaris</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149103</link> <dc:creator>Solaris</dc:creator> <pubDate>Tue, 23 Jun 2009 20:31:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149103</guid> <description>Serious protection comes with a high price. And I mean layered detection modules
like dedicated hardware IDS/firewall and fine-grained monitoring.
Even so, when a big DDoS flood comes (Gigabytes/second) there is not much you can do
to the hosting level, maybe change the routing tables at ISP core routers but I have seen
a rare 30 GB/sec DDoS that brought down an entire ISP for a while.. so we are talking
micro protections here.</description> <content:encoded><![CDATA[<p>Serious protection comes with a high price. And I mean layered detection modules<br
/> like dedicated hardware IDS/firewall and fine-grained monitoring.</p><p>Even so, when a big DDoS flood comes (Gigabytes/second) there is not much you can do<br
/> to the hosting level, maybe change the routing tables at ISP core routers but I have seen<br
/> a rare 30 GB/sec DDoS that brought down an entire ISP for a while.. so we are talking<br
/> micro protections here.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149068</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 22 Jun 2009 01:07:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149068</guid> <description>@ceres,
I&#039;ve edited your post with pre html tags.</description> <content:encoded><![CDATA[<p>@ceres,</p><p>I&#8217;ve edited your post with pre html tags.</p> ]]></content:encoded> </item> <item><title>By: ceres</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149067</link> <dc:creator>ceres</dc:creator> <pubDate>Mon, 22 Jun 2009 01:03:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149067</guid> <description>Here is what I did under FreeBSD to mitigate the risk. Updated httpd.conf:
&lt;pre&gt;KeepAliveTimeout 5
Timeout 30&lt;/pre&gt;
Load kernel modules (add to /boot/loader.conf):
&lt;pre&gt;kldload accf_data
kldload accf_http&lt;/pre&gt;
Updated pf settings (1.2.3.4 apache server ip):
&lt;pre&gt;table  &lt;slowloris&gt; persist
block in quick on $ext_if from &lt;slowloris&gt;   to 1.2.3.4
pass in on $ext_if proto tcp to 1.2.3.4 port www flags S/SA synproxy state (max-src-conn 60, max-src-conn-rate 20/5, overload &lt;slowloris&gt;  flush)&lt;/pre&gt;
List / delete and add attacking ip manually:
&lt;pre&gt;pfctl -t slowloris -T show
pfctl -t slowloris -T delete 2.3.4.5
pfctl -t slowloris -T add 9.2.3.4&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Here is what I did under FreeBSD to mitigate the risk. Updated httpd.conf:</p><pre>KeepAliveTimeout 5
Timeout 30</pre><p>Load kernel modules (add to /boot/loader.conf):</p><pre>kldload accf_data
kldload accf_http</pre><p>Updated pf settings (1.2.3.4 apache server ip):</p><pre>table  &lt;slowloris&gt; persist
block in quick on $ext_if from &lt;slowloris&gt;   to 1.2.3.4
pass in on $ext_if proto tcp to 1.2.3.4 port www flags S/SA synproxy state (max-src-conn 60, max-src-conn-rate 20/5, overload &lt;slowloris&gt;  flush)</pre><p>List / delete and add attacking ip manually:</p><pre>pfctl -t slowloris -T show
pfctl -t slowloris -T delete 2.3.4.5
pfctl -t slowloris -T add 9.2.3.4</pre>]]></content:encoded> </item> <item><title>By: Cagri Ersen</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149063</link> <dc:creator>Cagri Ersen</dc:creator> <pubDate>Sun, 21 Jun 2009 14:17:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149063</guid> <description>accf_httpd mitigate the risk for me.
When i try the tool against an apache server ( with &quot;very&quot; default configuration) server is going down quickly.  And then i loaded accf_httpd module and start it again. At this time server is still up after 50K~ packets sent.</description> <content:encoded><![CDATA[<p>accf_httpd mitigate the risk for me.<br
/> When i try the tool against an apache server ( with &#8220;very&#8221; default configuration) server is going down quickly.  And then i loaded accf_httpd module and start it again. At this time server is still up after 50K~ packets sent.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149037</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 20 Jun 2009 13:58:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149037</guid> <description>Varnish is really good project. I&#039;ve used this one in past it worked like a charm. Each web server must configured with limited resources to get rid of problems like this. Default time out is 5 minutes and it must be set to something like 20-30.  These ensure that TIME_WAIT ports either get reused or closed fast.
&lt;pre&gt;sysctl  net.ipv4.tcp_fin_timeout = 1
sysctl  net.ipv4.tcp_tw_recycle = 1&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Varnish is really good project. I&#8217;ve used this one in past it worked like a charm. Each web server must configured with limited resources to get rid of problems like this. Default time out is 5 minutes and it must be set to something like 20-30.  These ensure that TIME_WAIT ports either get reused or closed fast.</p><pre>sysctl  net.ipv4.tcp_fin_timeout = 1
sysctl  net.ipv4.tcp_tw_recycle = 1</pre>]]></content:encoded> </item> <item><title>By: Julius Beckmann</title><link>http://www.cyberciti.biz/tips/apache-http-dos-tool-released.html#comment-149036</link> <dc:creator>Julius Beckmann</dc:creator> <pubDate>Sat, 20 Jun 2009 09:50:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=5138#comment-149036</guid> <description>Instead of using Lighttpd as proxy there is another way to do this. Varnish is a http accelerator that can be used to prevent this type of attack and can improve performance.
http://varnish.projects.linpro.no/
But lighty is also a good way for a simple solution.
What about using Apache Worker instead of Prefork? Worker should not be affected by this attack and in combination with fastcgi also a powerful setup.</description> <content:encoded><![CDATA[<p>Instead of using Lighttpd as proxy there is another way to do this. Varnish is a http accelerator that can be used to prevent this type of attack and can improve performance.<br
/> <a
href="http://varnish.projects.linpro.no/" rel="nofollow">http://varnish.projects.linpro.no/</a><br
/> But lighty is also a good way for a simple solution.</p><p>What about using Apache Worker instead of Prefork? Worker should not be affected by this attack and in combination with fastcgi also a powerful setup.</p> ]]></content:encoded> </item> </channel> </rss>
