<?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>Sun Solaris System Admin &#187; routing-table</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/routing-table/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>Increase/Decrease route flushing time period in Solaris</title>
		<link>http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 19:08:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[ARP]]></category>
		<category><![CDATA[ndd]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[routing-table]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/</guid>
		<description><![CDATA[Just as we saw modifying the caching time for ARP entries in the ARP table here. We can modify the default time that a sun Solaris system can hold the routing entries. The default time for which a dynamically learnt Route entry in the routing table is 20mins (1200000ms) To Display current Route holding time [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Just as we saw modifying the caching time for ARP entries in the ARP table <a title="Reduce ARP Caching time in Sun Solaris" href="http://www.sunsolarisadmin.com/security/reduce-arp-caching-time-in-sun-solaris-using-ndd/" target="_blank">here</a>. We can modify the default time that a sun Solaris system can hold the routing entries.</p>
<p>The default time for which a dynamically learnt Route entry in the routing table is 20mins (1200000ms)</p>
<p><span id="more-50"></span></p>
<p><strong><span style="text-decoration: underline;">To Display current Route holding time</span></strong></p>
<p>To display the current time interval to hold a route entry</p>
<p><strong>In Solaris 8/9/10</strong></p>
<blockquote><p><strong>sunsolaris# ndd -get /dev/ip ip_ire_arp_interval<br />
</strong>1200000</p></blockquote>
<p><strong>In earlier versions to Solaris 8</strong></p>
<blockquote><p><strong>sunsolaris# ndd -get /dev/ip ip_ire_flush_interval</strong></p></blockquote>
<p><strong><span style="text-decoration: underline;">To modify the Route holding time</span></strong> </p>
<p><!--adsense#AD2-->This can be modified or reduced to a lower level. To modify the default time to say 15 mins</p>
<p><strong>In Solaris 8/9/10</strong></p>
<blockquote><p><strong>sunsolaris# ndd -set /dev/ip ip_ire_arp_interval 900000</strong></p></blockquote>
<p>In earlier versions to Solaris 8</p>
<blockquote><p><strong>sunsolaris# ndd -set /dev/ip ip_ire_flush_interval 900000</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/networking/increasedecrease-route-flushing-time-period-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable ICMP Redirect in Sun Solaris for Security</title>
		<link>http://www.sunsolarisadmin.com/security/disable-icmp-redirect-in-sun-solaris-for-security/</link>
		<comments>http://www.sunsolarisadmin.com/security/disable-icmp-redirect-in-sun-solaris-for-security/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:48:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[icmp-redirect]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[nddconfig]]></category>
		<category><![CDATA[routing-table]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun-solaris]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/security/disable-icmp-redirect-in-sun-solaris-for-security/</guid>
		<description><![CDATA[Solaris Operating Environment by default is configured to both accept and send  the ICMP Redirect messages. According to RFCs, only a router or a gateway device should send an ICMP Redirect message and any other hosts should only be able to receive the ICMP Redirects. If the Solaris server is not acting as a Router [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>Solaris Operating Environment by default is configured to both accept and send  the ICMP Redirect messages. According to RFCs, only a router or a gateway device should send an ICMP Redirect message and any other hosts should only be able to receive the ICMP Redirects. If the Solaris server is not acting as a Router or a Gateway then sending ICMP Redirect message should be disabled. The same applies to accepting ICMP Redirect messages if the solaris server is not required to receive ICMP Redirect messages (say a single Router/Gateway network/subnets scenario) as a malicous hacker could send fake ICMP redirect messages to modify the routing table on the host and potentialy cause a Denial of Service attack.</p>
<p><span id="more-35"></span></p>
<p><strong><u>Show and Disable ICMP Redirect message accept option</u></strong></p>
<p>To see if accepting ICMP Redirects are enabled in Solaris,</p>
<p>In <em>IPv4</em></p>
<p><strong>root@solaris# ndd -get /dev/ip ip_ignore_redirect<br />
0</strong></p>
<p>In <em>IPv6</em> then</p>
<p><strong>root@solaris# ndd -get /dev/ip ip6_ignore_redirect<br />
0</strong></p>
<p>The &#8220;0&#8243; indicates that the host is configured to accept ICMP Redirect messages and &#8220;1&#8243; indicates it is being disabled</p>
<p>To disable the ICMP Redirect accept option,</p>
<p><strong>In IPv4</strong></p>
<p><strong>root@solaris# ndd -set /dev/ip ip_ignore_redirect 1</strong></p>
<p>In <strong>IPv6</strong></p>
<p><strong>root@solaris# ndd -set /dev/ip ip6_ignore_redirect 1</strong></p>
<p><strong><u>Show and Disable ICMP Redirect message send option</u></strong></p>
<p>To see if sending ICMP Redirects are enabled in Solaris,</p>
<p>If you are using IPv4</p>
<p><strong>root@solaris# ndd -get /dev/ip ip_send_redirects<br />
1</strong></p>
<p>If you are using <strong>IPv6</strong> then</p>
<p><strong>root@solaris# ndd -get /dev/ip ip6_send_redirects<br />
1</strong></p>
<p>The &#8220;1&#8243; indicates that the host is configured to send ICMP Redirect messages and &#8220;0&#8243; indicates it is being disabled</p>
<p>To disable the option,</p>
<p><strong>In IPv4</strong></p>
<p><strong>root@solaris# ndd -set /dev/ip ip_send_redirects 0</strong></p>
<p>In IPv6</p>
<p><strong>root@solaris</strong><strong># ndd -set /dev/ip ip6_send_redirects 0</strong></p>
<p>The above ndd -set commands dynamically update the ICMP Redirect send/receive options on the host. However, to ensure that the settings are applied at the boot time (say the next time when the server reboots) then edit the startup script /etc/rc2.d/S69inet and modify values accordingly.</p>
<p>Alternatively, you can download the nddconfig script and install on your server. This script can be used to adjust most of the ndd parameters for security purpose.</p>
<p>The script can be downloaded here (need an Sunsolve account)</p>
<p><a href="http://www.sun.com/blueprints/tools/">http://www.sun.com/blueprints/tools/</a></p>
<p>To install the nddconfig script</p>
<p>Untar the downloaded nddconfig.tar file</p>
<p><strong>root@solaris# tar -xvf nddconfig.tar</strong></p>
<p>Copy the nddconfig file to /etc/init.d/ directory</p>
<p><strong>root@solaris# cp nddconfig /etc/init.d/nddconfig</strong></p>
<p>Change the file permissions to 744</p>
<p><strong>root@solaris</strong><strong># chmod 744 /etc/init.d/nddconfig</strong></p>
<p>Change the file ownership to root(user) and sys (grooup)</p>
<p><strong>root@solaris# chown root:sys /etc/init.d/nddconfig</strong></p>
<p>Create a hard link as follows:</p>
<p><strong>root@solaris</strong><strong># ln /etc/init.d/nddconfig /etc/rc2.d/S70nddconfig</strong></p>
<p>This should help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/security/disable-icmp-redirect-in-sun-solaris-for-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
