<?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>ItsyourIP.com &#187; Ubuntu</title>
	<atom:link href="http://www.itsyourip.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsyourip.com</link>
	<description>Your gateway to Internet</description>
	<lastBuildDate>Sat, 24 Jan 2009 16:48:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
<link>http://www.itsyourip.com</link>
<url>http://www.itsyourip.com/wp-content/mbp-favicon/Internet-Alt.ico</url>
<title>ItsyourIP.com</title>
</image>
		<item>
		<title>Dnsmasq &#8211; Opensource DNS Server Forwarder &amp; DHCP Server</title>
		<link>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dnsmasq-opensource-dns-server-forwarder-dhcp-server</link>
		<comments>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 16:41:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dns-forwarder]]></category>
		<category><![CDATA[dnsmasq]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[routers]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/</guid>
		<description><![CDATA[Dnsmasq is an opensource light-weight,easy to configure and administer DNS and a DHCP Server. Dnsmasq is ideally suitable for smaller networks like Small Office and Home Office networks (SOHO) and branch office networks. Dnsmasq can be run on old PC and is very easy to configure and administer. Dnsmasq is seen to support upto 1000 [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>Dnsmasq is an opensource light-weight,easy to configure and administer DNS and a DHCP Server. Dnsmasq is ideally suitable for smaller networks like Small Office and Home Office networks (SOHO) and branch office networks. Dnsmasq can be run on old PC and is very easy to configure and administer. Dnsmasq is seen to support upto 1000 nodes on a network.</p>
<p><span id="more-129"></span></p>
<p>In essence, Dnsmasq is a Caching nameserver and a DNS forwarder with DHCP enabled on it. Dnsmasq can provide nameservice for local hosts while forwarding the queries for global public resources to a Public DNS Server (like an ISP DNS server). So, small networks which are behind a DSL/ADSL router or even a modem link and share a single internet connection can make the best use of Dnsmasq.</p>
<p>Dnsmasq is included in most of the opensource firewalls and opensource router firmware and in the most common Linux distributions. Some of them include:</p>
<p><strong>Opensource Firewalls:</strong></p>
<p><em>IPCop / Smoothwall / floppyfw / Firebox / LEAF / m0n0wall / PfSense / Endian Firewall / ClarkConnect</em></p>
<p><strong>Opensource router firmware:</strong></p>
<p><em>dd-wrt / openwrt / stock firmware / fli4l</em></p>
<p><strong>Linux Distributions:</strong></p>
<p><em>Debian / Gentoo / Slackware / Suse / Fedora / Coyote Linux</em></p>
<p><strong>*BSD</strong></p>
<p><em>FreeBSD / OpenBSD / NetBSD</em></p>
<p>Some of the highlighting features of Dnsmasq are as follows:</p>
<ul>
<li>Automatically update the Public DNS Servers through PPP or DHCP connections. So, change in a Public DNS server of an ISP that the network is connected to will be picked up by Dnsmasq</li>
<li>Caching Nameserver to reduce network traffic and improve performance</li>
<li>Forwarding to Private DNS servers for specific Domains can be configured</li>
<li>Nameservice for the localhosts using the /etc/hosts file and for DHCP Client hosts</li>
<li>Static and Dynamic client leases on DHCP</li>
<li>Multiple Network and IP Ranges on the DHCP server</li>
<li>BOOTP support for network booting using a secure read-only TFTP server</li>
<li>Simple global configuration using the /etc/dnsmasq.conf file</li>
<li>Supports BOOTP and DHCP Relays</li>
<li>Caches A records for IPv4 and AAAA records for IPv6 and PTR records</li>
<li>Supports IPv4 and IPv6 protocols and even can act as a IPv4 toIPv6 and IPv6 to IPv4 forwarder</li>
<li>Support MX records and SRV records for local machines</li>
<li>Block DNS redirect websites (like some websites which forward to a link for a website that doesn&#39;t exist)</li>
</ul>
<p>Dnsmasq does the name lookup from its /etc/hosts file and hence its all about maintaining a /etc/hosts file on one computer as against multiple PCs on the LAN. If the host is a DHCP client then even if there isn&#39;t an entry for the host in the &quot;hosts&quot; file it can still provide name resolution for the host.</p>
<p>Effectively, all hosts in the LAN will have the dnsmasq server as the nameserver in /etc/resolv.conf file (In windows under network connection) and you dont have to worry about the &quot;hosts&quot; file on the local system.</p>
<p>The /etc/hosts file on the Dnsmasq server can have only the hostname without the domain name (example: host1 instead of host1.mynetwork.com) as the domain name can be appended globally using configurations in the /etc/dnsmasq.conf file.</p>
<p>It&#39;s got .deb and rpm packages for Debian, Fedora and other distributions and also can be built from the Source files. For more information and download, <a href="http://thekelleys.org.uk/dnsmasq/doc.html" target="_blank" title="DNSMASQ - DNS Forwarder DHCP DNS BOOTP server">click here</a> for dnsmasq home page.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2Fdns%2Fdnsmasq-opensource-dns-server-forwarder-dhcp-server%2F';
  addthis_title  = 'Dnsmasq+%26%238211%3B+Opensource+DNS+Server+Forwarder+%26%23038%3B+DHCP+Server';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/dns/dnsmasq-opensource-dns-server-forwarder-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Disable ICMP Redirects in Linux for security (Redhat,Debian,Ubuntu,SuSe tested)</title>
		<link>http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested</link>
		<comments>http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 19:38:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ICMP-redirects]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/</guid>
		<description><![CDATA[ICMP Redirects Send and Accept are by default enabled on most of the linux flavours including Debian, Ubuntu, Redhat Enterprise Linux, Suse Linux. While ICMP Redirects are not the very efficient way to update a hosts Routing table of an optimal route to a target destination, it can cause serious security concerns where a hacker [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><!--adsense#content_336_280-->
<p>ICMP Redirects Send and Accept are by default enabled on most of the linux flavours including Debian, Ubuntu, Redhat Enterprise Linux, Suse Linux.</p>
<p><span id="more-128"></span></p>
<p>While ICMP Redirects are not the very efficient way to update a hosts Routing table of an optimal route to a target destination, it can cause serious security concerns where a hacker or attacker can send malicously crafted ICMP redirect messages and cause a Denial of Service attack on the network.</p>
<p>If ICMP Redirects are not used in the network for route updates and if the server is not acting as a Router or a Gateway (ICMP Redirect send only) then ICMP Redirect send and accepts should be disabled on the server.</p>
<p>In most of the Linux flavors (tested on Debian,Ubuntu,Redhat Enterprise linux,Suse) ICMP Redirects can be dynamically disabled on the host by using</p>
<p><strong><u><font color="#009900">1. /sbin/sysctl utility which can modify Kernel paramters at runtime</font></u></strong></p>
<p>Login as root and run the following command to disable ICMP Redirects Send and Accept</p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv4.conf.all.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv4.conf.all.send_redirects = 0</font></p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv6.conf.all.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv6.conf.all.send_redirects = 0</font></p>
<p>The above disables ICMP Redirects globally on the server. However, if you want to disable on a per interface basis then in the above command, instead of using &quot;all&quot; use the inerface name (say &quot;eth0&quot;)</p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv4.conf.eth0.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv4.conf.eth0.send_redirects = 0</font></p>
<p><font color="#009999">Server# /sbin/sysctl -w net.ipv6.conf.eth0.accept_redirects = 0<br /> Server# /sbin/sysctl -w net.ipv6.conf.eth0.send_redirects = 0</font></p>
<p>This will disable ICMP Redirects immediatly.</p>
<p>or even a simpler option would be to</p>
<p><strong><u><font color="#009900">2. Passing appropriate value (0 or 1) to the above kernel variables as follows:</font></u></strong></p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv4/conf/all/accept_redirects [for IPv4]<br /> Server# echo 0 &gt; /proc/sys/net/ipv4/conf/all/send_redirects [for IPv4]</font></p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv6/conf/all/accept_redirects [for IPv6]<br /> Server# echo 0 &gt; /proc/sys/net/ipv6/conf/all/send_redirects [for IPv6]</font></p>
<p>Again this can be used on a per interface basis as</p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv4/conf/eth0/accept_redirects [for IPv4]<br /> Server# echo 0 &gt; /proc/sys/net/ipv4/conf/eth0/send_redirects [for IPv4]</font></p>
<p><font color="#009999">Server# echo 0 &gt; /proc/sys/net/ipv6/conf/eth0/accept_redirects [for IPv6]<br /> Server# echo 0 &gt; /proc/sys/net/ipv6/conf/eth0/send_redirects [for IPv6]</font></p>
<p>However, these kernel changes made at runtime will be lost when the system reboots. So it is important that these are applied at boot time as well to ensure that the server is secure.</p>
<p><strong><u><font color="#009900">ICMP REDIRECT DISABLE AT BOOT TIME</font></u></strong></p>
<p>In order to disable ICMP Redirects at boot time,</p>
<p><strong><u><font color="#009900">1. Edit the /etc/sysctl.conf file</font></u></strong></p>
<p>Edit the /etc/sysctl.conf file and add the following lines:</p>
<p><font>In Debian and Ubuntu Linux:</font></p>
<p><font color="#009999">net/ipv4/conf/all/accept_redirects = 0 [for IPv4]<br /> net/ipv4/conf/all/send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net/ipv6/conf/all/accept_redirects = 0 [for IPv6]<br /> net/ipv6/conf/all/send_redirects = 0 [for IPv6]<br /> </font>&nbsp;<br /> Again, if you want to control ICMP redirects on a per interface basis then add the following lines (say for eth0):</p>
<p><font color="#009999">net/ipv4/conf/eth0/accept_redirects = 0 [for IPv4]<br /> net/ipv4/conf/eth0/send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net/ipv6/conf/eth0/accept_redirects = 0 [for IPv6]<br /> net/ipv6/conf/eth0/send_redirects = 0 [for IPv6]</font></p>
<p><font>In Redhat Enterprise Linux and Suse:</font></p>
<p><font color="#009999">net.ipv4.conf.all.accept_redirects = 0 [for IPv4]<br /> net.ipv4.conf.all.send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net.ipv6.conf.all.accept_redirects = 0 [for IPv6]<br /> net.ipv6.conf.all.send_redirects = 0 [for IPv6]</font><br /> &nbsp;<br /> Again, if you want to control ICMP redirects on a per interface basis then add the following lines (say for eth0):</p>
<p><font color="#009999">net.ipv4.conf.eth0.accept_redirects = 0 [for IPv4]<br /> net.ipv4.conf.eth0.send_redirects = 0 [for IPv4]</font></p>
<p><font color="#009999">net.ipv6.conf.eth0.accept_redirects = 0 [for IPv6]<br /> net.ipv6.conf.eth0.send_redirects = 0 [for IPv6]</font></p>
<p>This will allow the /etc/sysctl.conf be read by the /sbin/sysctl utility at the startup.</p>
<p><em>NOTE: In Debian and Ubuntu, this will be overiden by any options set in /etc/network/options as the /etc/init.d/networking script which sets the /etc/network/options file kernel paramters at boot time runs after the /etc/init.d/procps script which sets the kernel variable values specified in /etc/sysctl.conf file. It is advisable to make all change to /etc/sysctl.conf file instead of /etc/network/options file as this is being depreciated.</em></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.itsyourip.com%2FSecurity%2Fhow-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested%2F';
  addthis_title  = 'How+to+Disable+ICMP+Redirects+in+Linux+for+security+%28Redhat%2CDebian%2CUbuntu%2CSuSe+tested%29';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</div><!-- KonaBody -->]]></content:encoded>
			<wfw:commentRss>http://www.itsyourip.com/Security/how-to-disable-icmp-redirects-in-linux-for-security-redhatdebianubuntususe-tested/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
