<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Developer Oracles &#187; Core router</title>
	<atom:link href="http://devoracles.com/tag/core-router/feed" rel="self" type="application/rss+xml" />
	<link>http://devoracles.com</link>
	<description></description>
	<lastBuildDate>Sun, 21 Mar 2010 11:05:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is null routing and how to use it</title>
		<link>http://devoracles.com/what-is-null-routing-and-how-to-use-it/88</link>
		<comments>http://devoracles.com/what-is-null-routing-and-how-to-use-it/88#comments</comments>
		<pubDate>Sun, 31 Aug 2008 09:16:22 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Server Management]]></category>
		<category><![CDATA[Black hole (networking)]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[Computer networking]]></category>
		<category><![CDATA[Core router]]></category>
		<category><![CDATA[Denial-of-service attack]]></category>
		<category><![CDATA[Null route]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=88</guid>
		<description><![CDATA[There are times when a server admin has to re-route some of the traffic coming from specific IPs. This is called null routing.
OK, now simpler: say, 192.168.0.1 is trying to connect to your server. You know that this IP has bad intentions so you decide to block it. Creating an IPTables deny entry is one [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when a server admin has to re-route some of the traffic coming from specific IPs. This is called null routing.</p>
<p>OK, now simpler: say, 192.168.0.1 is trying to connect to your server. You know that this IP has bad intentions so you decide to block it. Creating an IPTables deny entry is one of the options, null routing is another (adding an entry in the routing tables), more effective one. Why? Because while IPTables is only a software, null routing happens on the server&#8217;s level, thus putting less strain on the hardware.<br />
Null routing means basically that you block the IP, but you can also re-route it. For example you can easily re-route it to the loopback address, 127.0.0.1, thus when the client tries to connect to the server, the server instantly redirects the connection to the client&#8217;s address. This is often called blackhole routing.</p>
<p>Null routing is the preferred option when a server is under DoS siege.</p>
<h3>How to create a null route.</h3>
<p>The offender&#8217;s IP address in my examples is 192.168.0.1, the gateway mask is 255.255.255.0 and the new route is 127.0.0.1 . Obviously, you replace these values with the offender&#8217;s IP and the preferred route.</p>
<p>on Linux, you log in as root, and type:<br />
<code>route add 192.168.0.1 gw 127.0.0.1 lo</code></p>
<p>On Windows based systems it seems re-routing is not really possible. You can specify a gateway to use to route a specific connection through, but my experience is that it&#8217;s just not working in the way I would like to. Even though Microsoft Support tells me the contrary.<br />
Anyway, the shell command you should use for rerouting on Windows based systems is the following:<br />
<code>route add 192.168.0.1 MASK 255.255.255.0 127.0.0.1</code></p>
<p>The problem is that this created for me a loop, but on the wrong side: on my side.</p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/what-is-null-routing-and-how-to-use-it/88/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
