<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx</link><description>Some time ago I had a discussion with a friend. He disagreed with my recommendations on how to configure a border router and the firewall behind it. I claimed that in the border router between you and your ISP, configure the six rules to block most denial</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441046</link><pubDate>Tue, 11 Jul 2006 04:11:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441046</guid><dc:creator>Mike</dc:creator><description>Excellent post! You should also consider limiting 127.0.0.0/8 both inbound and outbound as well as broadcasts inbound/outbound, depending of course on your particular site requirements.</description></item><item><title>Interesting Finds: July 10, 2007</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441056</link><pubDate>Tue, 11 Jul 2006 06:47:48 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441056</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441057</link><pubDate>Tue, 11 Jul 2006 06:58:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441057</guid><dc:creator>Steve Riley</dc:creator><description>Thanks!&lt;br&gt;&lt;br&gt;However, it isn't necessary to add 127.0.0.0/8 to the list. The entire 127 network is the localhost, not just 127.0.0.1. All IP stacks behave this way; traffic with a destination anywhere in 127.0.0.0/8 will never leave a computer.&lt;br&gt;&lt;br&gt;How do you figure that broadcast traffic creates a security issue?&lt;br&gt;</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441141</link><pubDate>Tue, 11 Jul 2006 19:51:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441141</guid><dc:creator>ram</dc:creator><description>I have one question for which I do not know the correct answer. &lt;br&gt;If the MTU is larger than what you want to accept, fragmentation is needed, even when using Path MTU discovery,ICMP should be allowed. Administrator worry about ICMP leaving the network, Is there any way to still keep ICMP inside, the DF on and let the user know that his MTU needs to be adjusted.&lt;br&gt;&lt;br&gt;I bring this question, because, I had to adjust my Linksys SOHO router's MTU to work. I have no idea why it was set to anything larger than 1500?</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441218</link><pubDate>Wed, 12 Jul 2006 07:48:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441218</guid><dc:creator>Mike</dc:creator><description>Years ago wasn't there a DOS attack (Smurf?) that utilized IP directed broadcasts? I don't see why I would want broadcast traffic from another network entering mine.&lt;br&gt;&lt;br&gt;As for not blocking the localhost addresses, I realize that all IP stacks aren't supposed to pass along that traffic, but my thinking was that somehow someday there might be something that uses the localhost range as part of an exploit. So it didn't seem like a bad idea to me to block that traffic just in case, even though it should never show up.&lt;br&gt;&lt;br&gt;However, I'm probably not the best barometer for this as I'm quite paranoid. :)</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441380</link><pubDate>Thu, 13 Jul 2006 03:25:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441380</guid><dc:creator>Steve Riley</dc:creator><description>MIKE&amp;gt; Right, smurf (and it's variants) relied on directed broadcasts. I had forgotten about that! It's a good sixth rule to add to the list, which I'll put in now.&lt;br&gt;&lt;br&gt;I've never seen an IP implementation that mishandled 127.0.0.0/8. So I guess in the name of simplicity, I'd not add that rule to my router. But if you want to, then absolutely that's ok.&lt;br&gt;&lt;br&gt;&lt;br&gt;RAM&amp;gt; If you need to allow the ICMP message for fragmentation needed, then you should permit only ICMP type 3 code 4. Don't allow anything else. Messages indicating &amp;quot;unreachable&amp;quot; are especially dangerous: they're very useful for reconnaisance.&lt;br&gt;</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441521</link><pubDate>Thu, 13 Jul 2006 17:14:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441521</guid><dc:creator>Xavier Ashe</dc:creator><description>Interesting followup to you article. &amp;nbsp;CSO just posted &amp;quot;Consortium Builds Super Firewall to Stop DDOS&amp;quot;&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://www2.csoonline.com/blog_view.html?CID=22945"&gt;http://www2.csoonline.com/blog_view.html?CID=22945&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;quot;The project, which started in 2004, was budgeted at €3 million (US$3.8 million) and received funding in part from the Information Society Technologies, a European Union organization that coordinates IT programs. It has been extended for three more months, Carle said.&amp;quot;&lt;br&gt;&lt;br&gt;You need to call them up and offer $2 Million...</description></item><item><title>re: Defense in depth</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#441600</link><pubDate>Thu, 13 Jul 2006 22:37:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:441600</guid><dc:creator>ryanheff</dc:creator><description>“This struck me as disingenuous: ‘Why do the same work twice?’ I asked. ‘It's defense in depth,’ came the expected reply. ‘If a bad guy gets through the router, maybe the firewall will stop him.’&lt;br&gt;&lt;br&gt;No, it isn't defense in depth. Defense in depth is about doing the correct things at all layers, and only things that are appropriate for each layer. When defense in depth degenerates into duplication of effort, the resulting security posture becomes more brittle and, arguably, less secure.”&lt;br&gt;&lt;br&gt;I think the notion of “defense in depth” is too vague, and the security community should abandon it because it confuses people. Like you, I’ve seen many people duplicate efforts and make unsound choices under the guise of defense in depth. &lt;br&gt;&lt;br&gt;Instead of defense in depth, we should talk about “fault tolerant security”. Fault tolerance is a more precise term because it’s specific to individual faults. If the security community spoke in terms of fault tolerance, your friend probably would have immediately understood that although duplicating the rules between router and firewall does introduces some additional fault tolerance, the faults it does protect against are extremely rare ones, and thus not worth trading much for. With our current language, I wouldn’t be surprised if your friend still sticks to his guns in spite of your explanation. &lt;br&gt;&lt;br&gt;</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#442364</link><pubDate>Tue, 18 Jul 2006 18:22:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:442364</guid><dc:creator>Alun Jones</dc:creator><description>&amp;quot;However, it isn't necessary to add 127.0.0.0/8 to the list. The entire 127 network is the localhost, not just 127.0.0.1. All IP stacks behave this way; &amp;quot;&lt;br&gt;&lt;br&gt;You'd /think/ that, wouldn't you? &amp;nbsp;Certainly, that's the way the RFC puts it.&lt;br&gt;&lt;br&gt;But a few years ago (less than ten), a customer called me to complain that he couldn't get WFTPD to work in his network - although it started up and was listening, it refused to respond to connections from other machines on his network.&lt;br&gt;&lt;br&gt;I don't even remember how we got it figured out, but he had a network of about a dozen machines (he swore they were Suns) all with IP addresses starting with &amp;quot;127.&amp;quot;. &amp;nbsp;These machines were all communicating with one another, he assured me.&lt;br&gt;&lt;br&gt;Since this was all over the telephone, it's a bit of an unreliable story, as I definitely didn't have the ability to verify it with my own eyes - but as with the RFC 1918 addresses, why not actually enforce the rules that such traffic will never appear on your network?&lt;br&gt;&lt;br&gt;It'd be a piece of relative child's play to forge a packet that had 127.* as its source address, and place it on the wire. &amp;nbsp;Once on the wire, what stops it from being routed? &amp;nbsp;What stops it from being responded to?&lt;br&gt;&lt;br&gt;I'm trying to remember the details of an attack on a server where you use a loopback-sourced packet to cause the server to connect back on itself, and create massive feedback. &amp;nbsp;A search reveals nothing, but my memory of such things is usually reliable.</description></item><item><title>Defence in death</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#442504</link><pubDate>Wed, 19 Jul 2006 18:16:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:442504</guid><dc:creator>Tales from the Crypto</dc:creator><description>&amp;amp;quot;Defence in depth&amp;amp;quot; (or &amp;amp;quot;defense in depth&amp;amp;quot;, if you're American) is a frequently misunderstood term in...</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#455108</link><pubDate>Sun, 10 Sep 2006 10:52:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455108</guid><dc:creator>Fred Pullen</dc:creator><description>Is there a need to block 0.0.0.0/8 or any of the other special-use IP ranges addressed in RFC3330? &amp;nbsp;(&lt;a rel="nofollow" target="_new" href="http://www.faqs.org/rfcs/rfc3330.html"&gt;http://www.faqs.org/rfcs/rfc3330.html&lt;/a&gt;) AFAIK it's never been an issue, but then again 127.* hasn't either--for most of us. &amp;nbsp;:-) &amp;nbsp;&lt;br&gt;&lt;br&gt;BTW, RFC1918 doesn't cover APIPA.</description></item><item><title>re: Configure your router to block DOS attempts</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#455207</link><pubDate>Mon, 11 Sep 2006 00:04:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:455207</guid><dc:creator>Steve Riley</dc:creator><description>Interesting. Maybe blocking 0.0.0.0/8 could be useful. I suppose, as Alun said about 127.*, that malware could create traffic with a 0.* source address. According to RFC 1700, 0.* addresses can only be used as source addresses. I really don't know what happens if you try to use a 0.* as a destination address.&lt;br&gt;&lt;br&gt;Blocking the other address ranges in RFC 3330 isn't a good idea, since (other than the RFC 1918 and link local blocks) they are addresses that are in legitmate use.&lt;br&gt;&lt;br&gt;And yes, I know that 169.254 (the link local block used for APIPA) isn't part of RFC 1918, but it's useful to mention them together.&lt;br&gt;</description></item><item><title>Directly connect to your corpnet with IPsec and IPv6</title><link>http://blogs.technet.com/steriley/archive/2006/07/10/Configure-your-router-to-block-DOS-attempts.aspx#3078071</link><pubDate>Wed, 25 Jun 2008 23:56:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3078071</guid><dc:creator>Steve Riley on Security</dc:creator><description>&lt;p&gt;Contrary to popular belief, the rumors of my demise have been greatly exaggerated. Well, ok, no actual&lt;/p&gt;
</description></item></channel></rss>