<?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>Linux and Unix technical recipes &#187; Unix</title>
	<atom:link href="http://www.howtonix.com/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.howtonix.com</link>
	<description>Linux Tutorial and Guide</description>
	<lastBuildDate>Thu, 30 Sep 2010 23:41:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Squid Proxy Server Mac Address based filtering</title>
		<link>http://www.howtonix.com/squid-proxy-server-mac-address-based-filtering/</link>
		<comments>http://www.howtonix.com/squid-proxy-server-mac-address-based-filtering/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 21:44:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Squid Proxy server Mac Filtering]]></category>

		<guid isPermaLink="false">http://www.howtonix.com/?p=158</guid>
		<description><![CDATA[google_ad_client = "pub-4492234592142803"; /* 468x60, created 9/1/10 howtonix */ google_ad_slot = "5691725759"; google_ad_width = 468; google_ad_height = 60; To set up ACL&#8217;s based on MAC address: Open squid.conf: # vi /etc/squid/squid.conf Local acl, section and append ACL as follows: acl macf1 arp mac-address acl macf2 arp 00:11:22:33:44:55 http_access allow macf1 http_access allow macf2 http_access deny [...]]]></description>
			<content:encoded><![CDATA[
<!-- Quick Adsense WordPress Plugin: http://techmilieu.com/quick-adsense -->
<div style="float:none;margin:10px 0 10px 0;text-align:center;">
<script type="text/javascript">

google_ad_client = "pub-4492234592142803";
/* 468x60, created 9/1/10 howtonix */
google_ad_slot = "5691725759";
google_ad_width = 468;
google_ad_height = 60;


</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h2>To set up ACL&#8217;s based on MAC address:</h2>
<p>Open squid.conf:</p>
<blockquote>
<p># vi /etc/squid/squid.conf</p></blockquote>
<p>Local acl, section and append ACL as follows:</p>
<blockquote><p>acl macf1 arp mac-address<br />
acl macf2 arp 00:11:22:33:44:55<br />
http_access allow macf1<br />
http_access allow macf2<br />
http_access deny all
</p></blockquote>
<p>Save and close the file. Restart squid server:</p>
<blockquote><p># /etc/init.d/squid restart</p></blockquote>

<div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div>]]></content:encoded>
			<wfw:commentRss>http://www.howtonix.com/squid-proxy-server-mac-address-based-filtering/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Freebsd: Install wget Utility To Download Files From The Internet</title>
		<link>http://www.howtonix.com/freebsd-install-wget-utility-download-files-internet/</link>
		<comments>http://www.howtonix.com/freebsd-install-wget-utility-download-files-internet/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 18:08:17 +0000</pubDate>
		<dc:creator>emran</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[wget freebsd]]></category>

		<guid isPermaLink="false">http://www.howtonix.com/?p=139</guid>
		<description><![CDATA[Install wget Using FreeBSD Ports Collection Type the following command as root user to upgrade ports tree, enter: # portsnap fetch update Now, install the wget, enter: # cd /usr/ports/ftp/wget # make install clean # rehash]]></description>
			<content:encoded><![CDATA[<p><strong>Install wget Using FreeBSD Ports Collection</strong></p>
<p>Type the following command as root user to upgrade ports tree, enter:</p>
<blockquote><p># portsnap fetch update</p></blockquote>
<p>Now, install the wget, enter:</p>
<blockquote><p># cd /usr/ports/ftp/wget<br />
# make install clean<br />
# rehash</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.howtonix.com/freebsd-install-wget-utility-download-files-internet/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>OpenSIPS Externel Perl Script Run</title>
		<link>http://www.howtonix.com/opensips-externel-perl-script-run/</link>
		<comments>http://www.howtonix.com/opensips-externel-perl-script-run/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 17:15:43 +0000</pubDate>
		<dc:creator>emran</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Kamailio]]></category>
		<category><![CDATA[OpenSIPS]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Perl Opensips SIPS Redirect Kamailio]]></category>

		<guid isPermaLink="false">http://www.howtonix.com/?p=133</guid>
		<description><![CDATA[You can easily redirect any sip uri based on opensips exec.so module on perl script. you need to load loadmodule &#8220;exec.so&#8221; In the route section you have to exec perl script with paramter $tu (To username) and $fu (from Username). route { if(method == &#8220;INVITE&#8221;) { exec_dset(&#8220;/usr/local/bin/route.pl $fU $tU&#8221;); sl_send_reply(&#8220;302&#8243;,&#8221;LCR Redirect&#8221;); } else { route(1); [...]]]></description>
			<content:encoded><![CDATA[<p>You can easily redirect any sip uri based on opensips exec.so module on perl script. you need to load</p>
<blockquote><p>loadmodule &#8220;exec.so&#8221;</p></blockquote>
<p>In the route section you have to exec perl script with paramter $tu (To username) and $fu (from Username).</p>
<blockquote><p>route {</p>
<p>if(method == &#8220;INVITE&#8221;) {<br />
exec_dset(&#8220;/usr/local/bin/route.pl $fU $tU&#8221;);<br />
sl_send_reply(&#8220;302&#8243;,&#8221;LCR Redirect&#8221;);<br />
} else {<br />
route(1);<br />
}</p>
<p>}</p></blockquote>
<p>In the perl script just write the follow code:</p>
<blockquote><p>#!/bin/sh<br />
echo sip:+121242415112@howtonix.com</p></blockquote>
<p><strong>NOTE: To get this to work correctly with Asterisk you need to add &#8220;promiscredir=yes&#8221; to the general section of your sip.conf<br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.howtonix.com/opensips-externel-perl-script-run/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FreeBSD Install Lighttpd Web Server</title>
		<link>http://www.howtonix.com/freebsd-install-lighttpd-web-server/</link>
		<comments>http://www.howtonix.com/freebsd-install-lighttpd-web-server/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 11:52:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Lighttpd Web Server FreeBSD]]></category>

		<guid isPermaLink="false">http://www.howtonix.com/?p=121</guid>
		<description><![CDATA[Lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Lighttpd on FreeBSD: First update your port tree by typing following commands: # portsnap fetch # portsnap update Install lighttpd web server under [...]]]></description>
			<content:encoded><![CDATA[<p>Lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load.</p>
<h3>Lighttpd on FreeBSD:</h3>
<p>First update your port tree by typing following commands:</p>
<blockquote><p><code>#  portsnap fetch<br />
#  portsnap update</code></p></blockquote>
<h3>Install lighttpd web server under FreeBSD</h3>
<p>Lighttpd port is located under /usr/ports/www/lighttpd:</p>
<blockquote style="text-align: left;"><p><code># cd /usr/ports/www/lighttpd</code></p></blockquote>
<p>Install lighttpd:</p>
<blockquote><p><code># make<br />
# make install<br />
# make clean</code></p></blockquote>
<h3>Start Lighttpd Server Under FreeBSD</h3>
<p>To start Lighttpd server, enter:</p>
<blockquote><p>
<code># /usr/local/etc/rc.d/lighttpd start</code></p></blockquote>
<p>Verify that lighttpd is running:</p>
<blockquote><p>
<code>#  netstat -nat</code></p></blockquote>
<h3>Auto start lighttpd service</h3>
<p>You need to enable both services. Open /etc/rc.conf:</p>
<blockquote><p>
<code># vi  /etc/rc.conf</code></p></blockquote>
<p>Append following two lines:</p>
<blockquote><p>
<code>lighttpd_enable="YES"</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.howtonix.com/freebsd-install-lighttpd-web-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>List of TCP and UDP port numbers</title>
		<link>http://www.howtonix.com/list-of-tcp-and-udp-port-numbers/</link>
		<comments>http://www.howtonix.com/list-of-tcp-and-udp-port-numbers/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 19:46:22 +0000</pubDate>
		<dc:creator>emran</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Mandrake]]></category>
		<category><![CDATA[NetBSD]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[SuSE]]></category>

		<guid isPermaLink="false">http://www.howtonix.com/?p=76</guid>
		<description><![CDATA[The following link contains list of TCP and UDP ports: http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers]]></description>
			<content:encoded><![CDATA[<p>The following link contains list of TCP and UDP ports:</p>
<p><a href="http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers">http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.howtonix.com/list-of-tcp-and-udp-port-numbers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adding custom route on Debian network script</title>
		<link>http://www.howtonix.com/adding-custom-route-on-debian-network-script/</link>
		<comments>http://www.howtonix.com/adding-custom-route-on-debian-network-script/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 04:48:12 +0000</pubDate>
		<dc:creator>emran</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.howtonix.com/?p=37</guid>
		<description><![CDATA[Add the following line on /etc/network/interfaces up route add -net 172.22.0.0 netmask 255.255.254.0 gw 192.168.15.101 dev eth0 (The connected Hardware interface.) Now restart the network service by #/etc/init.d/networking restart]]></description>
			<content:encoded><![CDATA[<p>Add the following line on /etc/network/interfaces</p>
<p>up route add -net <a href="http://172.22.0.0/" target="_blank">172.22.0.0</a> netmask <a href="http://255.255.254.0/" target="_blank">255.255.254.0</a> gw <a href="http://192.168.15.101/" target="_blank">192.168.15.101</a> dev eth0 (The connected Hardware interface.)</p>
<p>Now restart the network service by</p>
<p>#/etc/init.d/networking restart</p>
]]></content:encoded>
			<wfw:commentRss>http://www.howtonix.com/adding-custom-route-on-debian-network-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

