<?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; ipv6</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/ipv6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 21 Sep 2011 19:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.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>Enable/Disable IP Forwarding in Solaris 10 without reboot</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/enabledisable-ip-forwarding-in-solaris-10-without-reboot/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=enabledisable-ip-forwarding-in-solaris-10-without-reboot</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/enabledisable-ip-forwarding-in-solaris-10-without-reboot/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 17:00:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[ifconfig]]></category>
		<category><![CDATA[IP-Forwarding]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[routeadm]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/enabledisable-ip-forwarding-in-solaris-10-without-reboot/</guid>
		<description><![CDATA[IP packet forwarding is the process of routing packets between network interfaces on one system. A packet arriving on one network interface and addressed to a host on a different network is forwarded to the appropriate interface. In Solaris 10, IP Forwarding can be enabled or disabled using the routeadm &#38; ifconfig commands as against <a href='http://www.sunsolarisadmin.com/solaris-10/enabledisable-ip-forwarding-in-solaris-10-without-reboot/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><br />
IP packet forwarding is the process of routing packets between network interfaces on one system. A packet arriving on one network interface and addressed to a host on a different network is forwarded to the appropriate interface.</p>
<p>In Solaris 10, IP Forwarding can be enabled or disabled using the routeadm &amp; ifconfig commands as against the ndd commands in Solaris 9 and earlier. The advantage is the change dynamic and real-time and the change persist across reboot unlike the ndd command.</p>
<p><span id="more-46"></span></p>
<p><strong><u>Enable/Disable IP Forwarding globally</u></strong> </p>
<p>To globally enable IP Forwarding in Solaris 10 use the routeadm command as follows:</p>
<p><strong>In IPv4</strong></p>
<blockquote><p><strong>solaris10# routeadm -e ipv4-forwarding</strong></p></blockquote>
<p><strong>In IPv6</strong></p>
<blockquote><p><strong>solaris10# routeadm -e ipv6-forwarding</strong></p></blockquote>
<p>The switches &#8220;-e&#8221; enables IP Forwarding.</p>
<p><strong>To disable IP Forwarding</strong></p>
<p>In IPv4</p>
<blockquote><p><strong>solaris10# routeadm -d ipv4-forwarding</strong></p></blockquote>
<p>In IPv6</p>
<blockquote><p><strong>solaris10# routeadm -d ipv6-forwarding</strong></p></blockquote>
<p>The switches &#8220;-d&#8221; enables IP Forwarding.</p>
<p>After the change run the following command for the changes to take effect.</p>
<blockquote>
<blockquote><p><strong>solaris10# routeadm -u</strong></p></blockquote>
</blockquote>
<p><strong><u>Enable/Disable IP Forwarding per interface</u></strong> </p>
<p>To enable IP Forwarding on a specific interface (say ce0) using the ifconfig command</p>
<p>In IPv4</p>
<blockquote><p><strong>solaris10# ifconfig ce0 router</strong></p></blockquote>
<p>In IPv6</p>
<blockquote><p><strong>solaris10# ifconfig ce0 inet6 router</strong></p></blockquote>
<p>To disable IP Forwarding for an interface (say ce0)</p>
<p>In IPv4</p>
<blockquote><p><strong>solaris10# ifconfig ce0 -router</strong></p></blockquote>
<p>In IPv6</p>
<blockquote><p><strong>solaris10# ifconfig ce0 inet6 -router</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/enabledisable-ip-forwarding-in-solaris-10-without-reboot/feed/</wfw:commentRss>
		<slash:comments>3</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/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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 <a href='http://www.sunsolarisadmin.com/security/disable-icmp-redirect-in-sun-solaris-for-security/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></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>

