<?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: How do I Drop or block attackers IP with null routes?</title> <atom:link href="http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.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: Piet</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-170547</link> <dc:creator>Piet</dc:creator> <pubDate>Sun, 10 Apr 2011 07:30:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-170547</guid> <description>I use this entry in a script.
route add -net 85.90.162.0 netmask 255.255.255.0 reject
But how can I drop this entry without booting my machine?</description> <content:encoded><![CDATA[<p>I use this entry in a script.<br
/> route add -net 85.90.162.0 netmask 255.255.255.0 reject</p><p>But how can I drop this entry without booting my machine?</p> ]]></content:encoded> </item> <item><title>By: Mr.Hien</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-170441</link> <dc:creator>Mr.Hien</dc:creator> <pubDate>Sat, 02 Apr 2011 14:58:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-170441</guid> <description>Using routing policy database (RPDB) maybe work same!
Try it:
&lt;blockquote&gt;ip rule add blackhole to 65.21.34.4&lt;/blockquote&gt;</description> <content:encoded><![CDATA[<p>Using routing policy database (RPDB) maybe work same!<br
/> Try it:</p><blockquote><p>ip rule add blackhole to 65.21.34.4</p></blockquote> ]]></content:encoded> </item> <item><title>By: Benny</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-168690</link> <dc:creator>Benny</dc:creator> <pubDate>Thu, 10 Feb 2011 16:42:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-168690</guid> <description>Take a look at ifroute.</description> <content:encoded><![CDATA[<p>Take a look at ifroute.</p> ]]></content:encoded> </item> <item><title>By: Jackie</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-160350</link> <dc:creator>Jackie</dc:creator> <pubDate>Fri, 22 Oct 2010 09:23:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-160350</guid> <description>Awesome tutorial! But when you reboot routes are erased.</description> <content:encoded><![CDATA[<p>Awesome tutorial! But when you reboot routes are erased.</p> ]]></content:encoded> </item> <item><title>By: Ian</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-155523</link> <dc:creator>Ian</dc:creator> <pubDate>Mon, 03 May 2010 22:32:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-155523</guid> <description>the reject is not more elegant, it&#039;s better to black hole them certainly for discouraging attackers as they have to wait for a timeout for a response</description> <content:encoded><![CDATA[<p>the reject is not more elegant, it&#8217;s better to black hole them certainly for discouraging attackers as they have to wait for a timeout for a response</p> ]]></content:encoded> </item> <item><title>By: Haji</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-150413</link> <dc:creator>Haji</dc:creator> <pubDate>Sat, 29 Aug 2009 10:35:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-150413</guid> <description>Please give me the iptables usage for that.</description> <content:encoded><![CDATA[<p>Please give me the iptables usage for that.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-150409</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 29 Aug 2009 06:07:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-150409</guid> <description>Use iptables.</description> <content:encoded><![CDATA[<p>Use iptables.</p> ]]></content:encoded> </item> <item><title>By: Haji</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-150405</link> <dc:creator>Haji</dc:creator> <pubDate>Fri, 28 Aug 2009 17:49:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-150405</guid> <description>Hi,
I want to Block inetnum range IP like 58.208.0.0 - 58.223.255.255 via route add -net command. which command must we use?</description> <content:encoded><![CDATA[<p>Hi,<br
/> I want to Block inetnum range IP like 58.208.0.0 &#8211; 58.223.255.255 via route add -net command. which command must we use?</p> ]]></content:encoded> </item> <item><title>By: Damien Jorgensen</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-149821</link> <dc:creator>Damien Jorgensen</dc:creator> <pubDate>Sat, 01 Aug 2009 20:08:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-149821</guid> <description>Its sad how easy it is to forget simple commands like this when you dont use them everyday
Thanks for the blog, saved me a lot of hassle and now null routing works a treat
Damien</description> <content:encoded><![CDATA[<p>Its sad how easy it is to forget simple commands like this when you dont use them everyday</p><p>Thanks for the blog, saved me a lot of hassle and now null routing works a treat</p><p>Damien</p> ]]></content:encoded> </item> <item><title>By: chika</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-148640</link> <dc:creator>chika</dc:creator> <pubDate>Wed, 20 May 2009 21:42:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-148640</guid> <description>drop entire subnet
# route add -net 192.67.16.0/24 gw 127.0.0.1 lo
how to enable again?</description> <content:encoded><![CDATA[<p>drop entire subnet<br
/> # route add -net 192.67.16.0/24 gw 127.0.0.1 lo</p><p>how to enable again?</p> ]]></content:encoded> </item> <item><title>By: zsentient</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147937</link> <dc:creator>zsentient</dc:creator> <pubDate>Wed, 01 Apr 2009 18:51:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147937</guid> <description>Thanks Vivek, not the answer I was looking for, but I am sure that would work:)</description> <content:encoded><![CDATA[<p>Thanks Vivek, not the answer I was looking for, but I am sure that would work:)</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147936</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Wed, 01 Apr 2009 18:20:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147936</guid> <description>Add commands to /etc/rc.local file.</description> <content:encoded><![CDATA[<p>Add commands to /etc/rc.local file.</p> ]]></content:encoded> </item> <item><title>By: zsentient</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147935</link> <dc:creator>zsentient</dc:creator> <pubDate>Wed, 01 Apr 2009 18:01:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147935</guid> <description>So to make this persistent across reboots, what is the syntax for the /etc/sysconfig/network/routes file?</description> <content:encoded><![CDATA[<p>So to make this persistent across reboots, what is the syntax for the /etc/sysconfig/network/routes file?</p> ]]></content:encoded> </item> <item><title>By: Adam</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147868</link> <dc:creator>Adam</dc:creator> <pubDate>Thu, 26 Mar 2009 18:11:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-147868</guid> <description>I liked the command used by SeBas to remove the block....
It worked for me:
route del -host 10.0.0.19 reject
got something to learn</description> <content:encoded><![CDATA[<p>I liked the command used by SeBas to remove the block&#8230;.</p><p>It worked for me:<br
/> route del -host 10.0.0.19 reject</p><p>got something to learn</p> ]]></content:encoded> </item> <item><title>By: SeBas</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-146858</link> <dc:creator>SeBas</dc:creator> <pubDate>Fri, 23 Jan 2009 17:17:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-146858</guid> <description>I could not delete the rejected ip with the command given in the tutorial. I&#039;m running Debian.
# route delete 10.0.0.19
SIOCDELRT: No such process
But I was able to delete the rejected ip route with this command:
# route del -host 10.0.0.19 reject
Cheers,</description> <content:encoded><![CDATA[<p>I could not delete the rejected ip with the command given in the tutorial. I&#8217;m running Debian.<br
/> # route delete 10.0.0.19<br
/> SIOCDELRT: No such process</p><p>But I was able to delete the rejected ip route with this command:<br
/> # route del -host 10.0.0.19 reject</p><p>Cheers,</p> ]]></content:encoded> </item> <item><title>By: Kirrus</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-144996</link> <dc:creator>Kirrus</dc:creator> <pubDate>Sat, 13 Sep 2008 19:47:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-144996</guid> <description>Carlos: Blackhole is better.</description> <content:encoded><![CDATA[<p>Carlos: Blackhole is better.</p> ]]></content:encoded> </item> <item><title>By: carlos</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143980</link> <dc:creator>carlos</dc:creator> <pubDate>Thu, 05 Jun 2008 23:37:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143980</guid> <description>thanks.. Vivek.
this is important to me, because I have to decide between this two commands.
..say... What would be more adecuate to a hacker?
receive a message saying &quot;network is unreachable&quot; or no message at all?
maybe &quot;network is unreachable&quot;?
or... no message...
I am thinking. Any suggestion?</description> <content:encoded><![CDATA[<p>thanks.. Vivek.<br
/> this is important to me, because I have to decide between this two commands.</p><p>..say&#8230; What would be more adecuate to a hacker?</p><p>receive a message saying &#8220;network is unreachable&#8221; or no message at all?</p><p>maybe &#8220;network is unreachable&#8221;?</p><p>or&#8230; no message&#8230;</p><p>I am thinking. Any suggestion?</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143979</link> <dc:creator>vivek</dc:creator> <pubDate>Thu, 05 Jun 2008 22:36:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143979</guid> <description>reject - send &quot;Network is unreachable&quot; message back to client.
blackhole - No message sent back to client</description> <content:encoded><![CDATA[<p>reject &#8211; send &#8220;Network is unreachable&#8221; message back to client.</p><p>blackhole &#8211; No message sent back to client</p> ]]></content:encoded> </item> <item><title>By: carlos</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143976</link> <dc:creator>carlos</dc:creator> <pubDate>Thu, 05 Jun 2008 21:50:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143976</guid> <description>by the way ...
Does somebody know what is the difference between the use of reject and the use of .... 127.0.0.1 blackhole?
thanks.</description> <content:encoded><![CDATA[<p>by the way &#8230;</p><p>Does somebody know what is the difference between the use of reject and the use of &#8230;. 127.0.0.1 blackhole?</p><p>thanks.</p> ]]></content:encoded> </item> <item><title>By: carlos</title><link>http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143975</link> <dc:creator>carlos</dc:creator> <pubDate>Thu, 05 Jun 2008 21:47:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html#comment-143975</guid> <description>please note that syntaxis is different for the route command from linux to windows, but using the right syntaxis surely it must work.
I think that all we know that this kind of measures are when we are in a hurry, not a definitive solution.
Even though they can be a lifesaver on occasions.
thanks for your work.</description> <content:encoded><![CDATA[<p>please note that syntaxis is different for the route command from linux to windows, but using the right syntaxis surely it must work.</p><p>I think that all we know that this kind of measures are when we are in a hurry, not a definitive solution.</p><p>Even though they can be a lifesaver on occasions.</p><p>thanks for your work.</p> ]]></content:encoded> </item> </channel> </rss>
