<?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>Tuts4Tech &#187; Duffy</title>
	<atom:link href="http://tuts4tech.net/author/Duffy/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Sun, 18 Jul 2010 01:41:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>IPv6 Tunnel on pfSense</title>
		<link>http://tuts4tech.net/2010/07/18/ipv6-tunnel-on-pfsense/</link>
		<comments>http://tuts4tech.net/2010/07/18/ipv6-tunnel-on-pfsense/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 01:32:58 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[6in4]]></category>
		<category><![CDATA[connectivity]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[he.net]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[pfsense]]></category>
		<category><![CDATA[rules]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[tunnelbroker]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=732</guid>
		<description><![CDATA[Hi, in this tutorial I will be showing you how to setup IPv6 connectivity for your network using he.net and pfsense. Pop on over to he.net and create an account Create a regular tunnel and you should be given a page of details like the following Download the following script Open the script with your [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, in this tutorial I will be showing you how to setup IPv6 connectivity for your network using he.net and pfsense.</p>
<ol>
<li>Pop on over to <a href="http://tunnelbroker.net/">he.net</a> and create an account</li>
<li>Create a regular tunnel and you should be given a  page of details like the following<br /><img class="aligncenter size-full wp-image-520" title="details" src="http://tuts4tech.net/tutorials/ipv6/he.net%20details.jpg" alt="details" width="500" height="278" /></li>
<li>Download <a href="http://tuts4tech.net/files/config-ipv6.sh">the following script</a><br />
Open the script with your favorite text editor and set the variables at the top as required</p>
<pre class="brush: plain;">IFIN=&quot;re1&quot;</pre>
<p>This is your LAN interface.</p>
<pre class="brush: plain;">IPv6Router=&quot;2001:470:1f09:3cd::1&quot;
IPv6Server=&quot;2001:470:1f08:3cd::1&quot;
IPv6Client=&quot;2001:470:1f08:3cd::2&quot;</pre>
<p>IPv6 Router is the first address from your routed /64 range given on the he.net details panel<br />
IPv6 Server is simply your IPv6 server address given on the he.net details panel<br />
and IPv6 Client is also just your IPv6 client address given on the he.net details panel.</p>
<pre class="brush: plain;">IPv4Server=&quot;216.66.80.26&quot;
IPv4Client=&quot;88.151.87.116&quot;</pre>
<p>IPv4 Server is simply the IPv4 server address given on the he.net details panel<br />
and IPv4 client is your WAN IP address.</li>
<li>We also need to create a configuration file for rtadvd copy and paste the following
<pre class="brush: plain;">re1:\
   :addrs#1:addr=&quot;2001:470:1f09:3cd::&quot;:prefixlen#64:tc=ether:</pre>
<p>Where re1 is your LAN interface and where 2001:470:1f09:3cd:: is your /64 route. Save the following as rtadvd.conf</li>
<li>Using sftp upload rtadvd.conf to /etc and config-ipv6.sh to /usr/local/etc/rc.d on your pfsense box. Set the permissions for config-ipv6.sh as executable.</li>
<li>Reboot your pfsense box and the script should auto start and bring up your IPv6 tunnel</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2010/07/18/ipv6-tunnel-on-pfsense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to spoof your speedtest.net results</title>
		<link>http://tuts4tech.net/2010/04/30/how-to-spoof-your-speedtest-net-results/</link>
		<comments>http://tuts4tech.net/2010/04/30/how-to-spoof-your-speedtest-net-results/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 11:19:53 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[100mb]]></category>
		<category><![CDATA[fake]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[fiber]]></category>
		<category><![CDATA[high]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[results]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[speeds]]></category>
		<category><![CDATA[speedtest]]></category>
		<category><![CDATA[spoof]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=698</guid>
		<description><![CDATA[In this tutorial we will be showing you how to spoof your speedtest.net results. You will require a httpd server to do this, in this tutorial I used lighttpd running on debian. To install lighttpd on debian just simply run apt-get install lighttpd php5-cgi php5-mhash and edit your php.ini to change cgi.force_redirect to 0 nano [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will be showing you how to spoof your speedtest.net results. You will require a httpd server to do this, in this tutorial I used lighttpd running on debian.</p>
<p><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' width='500' height='345'><param name='movie' value='http://screenr.com/Content/assets/screenr_1116090935.swf' ></param><param name='flashvars' value='i=66454' ></param><param name='allowFullScreen' value='true' ></param><embed src='http://screenr.com/Content/assets/screenr_1116090935.swf' flashvars='i=66454' allowFullScreen='true' width='500' height='345' pluginspage='http://www.macromedia.com/go/getflashplayer' ></embed></object></p>
<p>To install lighttpd on debian just simply run</p>
<pre class="brush: plain;">apt-get install lighttpd php5-cgi php5-mhash</pre>
<p>and edit your php.ini to change cgi.force_redirect to 0</p>
<pre class="brush: plain;">nano /etc/php5/cgi/php.ini</pre>
<p>Come down and you'll find ;cgi.force_redirect = 1 and change it to cgi.force_redirect = 0<br />
replace your lighttpd.conf</p>
<pre class="brush: plain;">mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.bak</pre>
<p>download and move in my lighttpd config</p>
<pre class="brush: plain;">
wget http://tuts4tech.net/files/lighttpd.speed.conf
mv lighttpd.speed.conf /etc/lighttpd/lighttpd.conf
</pre>
<p>and then finally restart your httpd</p>
<pre class="brush: plain;">/etc/init.d/lighttpd restart</pre>
<p>To spoof your speedtest.net result you'll need to grab speedtest.net mini you can download this from their website at http://speedtest.net/mini.php or you can just use wget to download it straight onto your server like I did in the tutorial</p>
<pre class="brush: plain;">wget http://files.speedtest.ookla.com/releases/mini.zip</pre>
<p>Extract mini.zip to your html dir, by default this is /var/www</p>
<pre class="brush: plain;">mv mini.zip /var/www;cd /var/www; unzip mini.zip</pre>
<p>Find out the IP address of the speedtest.net server to do this just simply run a speedtest and you will see it say something like Transferring data from host<br />
for me the host was speedtest.airwire.ie and to get the IP address we just ping the host. After finding the IP address you need to add a virtual interface on your httpd server with this IP to do so run the following, where xxx.xxx.xxx.xxx is the IP of the speedtest.net server</p>
<pre class="brush: plain;">ifconfig eth0:0 xxx.xxx.xxx.xxx netmask 255.255.255.0</pre>
<p>Then lastly we need to add a secondary IP address on your windows workstation so it can access the httpd server to do so go into your network connections right click on your networking interface click on properties select internet protocol version 4 and press properties click advanced and under IP addresses click add. Add an IP address that is in the same range as the speedtest.net server.</p>
<p>You should now be able to go to speedtest.net select the server you spoofed and get high speeds.</p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2010/04/30/how-to-spoof-your-speedtest-net-results/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Set Preference for IPv4 over IPv6 on Windows 7</title>
		<link>http://tuts4tech.net/2010/04/05/set-preference-for-ipv4-over-ipv6-on-windows-7/</link>
		<comments>http://tuts4tech.net/2010/04/05/set-preference-for-ipv4-over-ipv6-on-windows-7/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 02:58:53 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[6to4]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[prefer]]></category>
		<category><![CDATA[tcp/ip]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[tunnelbroker]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=687</guid>
		<description><![CDATA[By default on Windows 7 IPv6 is preferred over IPv4, this is a nuisance when your IPv6 connectivity is supplied via a 6 to 4 tunnel. This tutorial will show you how to set preference for IPv4 Open regedit Start -> Search -> regedit Navigate to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip6\Parameters\ Create a DWORD value [...]]]></description>
			<content:encoded><![CDATA[<p>By default on Windows 7 IPv6 is preferred over IPv4, this is a nuisance when your IPv6 connectivity is supplied via a 6 to 4 tunnel. This tutorial will show you how to set preference for IPv4</p>
<ol>
<li>Open regedit Start -> Search -> regedit</li>
<li>Navigate to the following registry key:<br />
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip6\Parameters\</li>
<li>Create a DWORD value named DisabledComponents, please note this is case-sensitive</li>
<li>Edit the DisabledComponents value and set it to 20
<p><img src="http://tuts4tech.net/tutorials/ipv4preference/dword.PNG" alt="dword" title="dword" width="369" height="242" class="aligncenter size-full" /></li>
<p></p>
<li>Restart the computer for changes to take effect.</li>
</ol>
<p>An alternative way off doing this would be to just to import a .reg file containing the following</p>
<pre class="brush: plain;">Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
&quot;DisabledComponents&quot;=dword:00000020</pre>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2010/04/05/set-preference-for-ipv4-over-ipv6-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows 7 from USB</title>
		<link>http://tuts4tech.net/2010/04/03/installing-windows-7-from-usb/</link>
		<comments>http://tuts4tech.net/2010/04/03/installing-windows-7-from-usb/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 02:45:23 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[winpe]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=610</guid>
		<description><![CDATA[You've had your netbook for sometime now, Windows has gotten slow and clunky, Your feeling the need to reformat but don't have a CD-ROM what to do? Simple, create a USB Flash Drive that can boot into the windows installer. You will need the following USB Flash Drive Windows 7 CD or ISO A Computer [...]]]></description>
			<content:encoded><![CDATA[<p>You've had your netbook for sometime now, Windows has gotten slow and clunky, Your feeling the need to reformat but don't have a CD-ROM what to do? Simple, create a USB Flash Drive that can boot into the windows installer.</p>
<p>You will need the following</p>
<ul>
<li>USB Flash Drive</li>
<li>Windows 7 CD or ISO</li>
<li>A Computer with a CD-ROM copy the installation files of the CD</li>
</ul>
<ol>
<li>Connect your USB flash drive</li>
<li>Open Computer, right click on your flash drive and select format. Proceed to format the drive using the settings below
<p><img src="http://tuts4tech.net/tutorials/usbwin7/format.PNG" alt="formatbox" title="formatbox" width="241" height="397" class="aligncenter size-full" /></li>
<p></p>
<li>Copy all the files from your Windows 7 CD or ISO onto the flash drive</li>
<li>Lastly, we need to install a bootsector on the flash drive to do so go to Start -> Search -> CMD. The command prompt window shall pop up, Change to the directory of your flash drive by typing its assigned letter e.g F:<br />
Run the following command, where f: is the letter of your flash drive</p>
<pre class="brush: plain;">boot\bootsect /nt60 f:</pre>
</li>
<li>Your now finished, If you boot from the flash drive it will boot into the Windows 7 installation as normal</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2010/04/03/installing-windows-7-from-usb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Understanding and Preventing Fork Bombs</title>
		<link>http://tuts4tech.net/2009/10/07/understanding-and-preventing-fork-bombs/</link>
		<comments>http://tuts4tech.net/2009/10/07/understanding-and-preventing-fork-bombs/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 16:26:57 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Bomb]]></category>
		<category><![CDATA[Fork]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[Reboot]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[System admin]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=595</guid>
		<description><![CDATA[A fork bomb is just a bash function that gets called recursively. Once a fork bomb is active on a machine it may not be able to preform normally until a reboot is made, as the only solution to the fork bomb is to kill all its processes. Bash Functions A fork bomb is really [...]]]></description>
			<content:encoded><![CDATA[<p>A fork bomb is just a bash function that gets called recursively. Once a fork bomb is active on a machine it may not be able to preform normally until a reboot is made, as the only solution to the fork bomb is to kill all its processes.</p>
<h3>Bash Functions</h3>
<p>A fork bomb is really just a bash function, below is an example of a bash function</p>
<pre class="brush: plain;">helloworld() {
echo hello world
};</pre>
<p>A fork bomb would be</p>
<pre class="brush: plain;">:(){
 :|:&amp;
};:</pre>
<p>Now to explain.<br />
:(){ - Creates the function<br />
:|: - Next it call itself using recursion and pipes the output to another call of the function<br />
&#038; - Puts the function call in the background so child cannot die<br />
}; - Terminate the function<br />
: - Call (run) the function</p>
<p>If you would like a more human readable fork bomb it would be as follows</p>
<pre class="brush: plain;">forkbomb(){
forkbomb | forkbomb &amp;
}; forkbomb</pre>
<h3>Preventing Fork Bombs</h3>
<p>We can prevent users from running fork bombs by limiting the amount of processes they are allowed to run.<br />
We can achive this using /etc/security/limits.conf</p>
<p>To get started open /etc/security/limits.conf</p>
<pre class="brush: plain;">nano /etc/security/limits.conf</pre>
<p>In my example I want to limit the user john to 300 processes and any users in the group of students to 250 processes. For this I would put the following into my config file</p>
<pre class="brush: plain;">john hard nproc 300
@students hard nproc 250</pre>
<p>Please keep in mind that KDE and Gnome desktop system can lanuch many processes.</p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/10/07/understanding-and-preventing-fork-bombs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
