<?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; networking</title>
	<atom:link href="http://tuts4tech.net/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Tue, 04 May 2010 20:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<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 and edit your php.ini to change cgi.force_redirect to 0 Come down and you'll find ;cgi.force_redirect [...]]]></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; title: ; notranslate">apt-get install lighttpd php5-cgi php5-ldap php5-mhash</pre>
<p>and edit your php.ini to change cgi.force_redirect to 0</p>
<pre class="brush: plain; title: ; notranslate">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 />
Now we need to edit lighttpd.conf</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/lighttpd/lighttpd.conf</pre>
<p>Add the following lines</p>
<pre class="brush: plain; title: ; notranslate">fastcgi.server = ( &quot;.php&quot; =&gt;
                        (
                                (
                                        &quot;bin-path&quot; =&gt; &quot;/usr/bin/php-cgi&quot;,
                                        &quot;socket&quot; =&gt; &quot;/tmp/php.socket&quot;,
                                        &quot;max-procs&quot; =&gt; 20,
                                        &quot;bin-environment&quot; =&gt;
                                        (
                                                &quot;PHP_FCGI_CHILDREN&quot; =&gt; &quot;2&quot;,
                                                &quot;PHP_FCGI_MAX_REQUESTS&quot; =&gt; &quot;10000&quot;
                                        ),

                                )
                        ),
                    &quot;.phps&quot; =&gt;
                        (
                                (
                                        &quot;bin-path&quot; =&gt; &quot;/usr/bin/php-cgi --syntax-highlight&quot;,
                                        &quot;socket&quot; =&gt; &quot;/tmp/phps.socket&quot;,
                                        &quot;max-procs&quot; =&gt; 1,
					&quot;check-local&quot;       =&gt; &quot;disable&quot;
                                )
                        )

                 )
</pre>
<p>and then under server.modules = ( add mod_fastcgi<br />
and then finally restart your httpd</p>
<pre class="brush: plain; title: ; notranslate">/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; title: ; notranslate">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; title: ; notranslate">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; title: ; notranslate">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>33</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; title: ; notranslate">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>IPTables and Bashrc Aliases</title>
		<link>http://tuts4tech.net/2009/08/30/iptables-and-bashrc-aliases/</link>
		<comments>http://tuts4tech.net/2009/08/30/iptables-and-bashrc-aliases/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 10:59:07 +0000</pubDate>
		<dc:creator>RCP</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[netfilter]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[protection]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=571</guid>
		<description><![CDATA[We all know IPTables can be difficult. By adding the following lines to your ~/.bashrc you can simplify the tasks of blocking packets from a certian ip. First your going to need to install IPTables: Gentoo: emerge iptables   (Must be  Root to use/install iptables) Ubuntu/Debian: sudo apt-get install iptables Then edit your .bashrc file and [...]]]></description>
			<content:encoded><![CDATA[<p>We all know IPTables can be difficult. By adding the following lines to your ~/.bashrc you can simplify the tasks of blocking packets from a certian ip.</p>
<p>First your going to need to install IPTables:<br />
Gentoo: emerge iptables   (Must be  Root to use/install iptables)<br />
Ubuntu/Debian: sudo apt-get install iptables</p>
<p>Then edit your .bashrc file and add the following</p>
<pre class="brush: bash; title: ; notranslate">alias blockedips=&quot;iptables -L&quot;
alias blockip=&quot;iptables -I INPUT -j DROP -s &quot;
alias unblockip=&quot;iptables -D INPUT -j DROP -s &quot;</pre>
<p>Reload your .bashrc by running source .bashrc and you should then be able to run the commands below</p>
<pre class="brush: bash; title: ; notranslate">blockedips - Will Show all Blocked hosts
blockip IP-HERE - Will Block that ip
unblockip IP-HERE - Unblocks that ip</pre>
<p><img class="alignnone size-full wp-image-572" src="http://tuts4tech.net/wp-content/uploads/2009/08/screenshot-rootredfire.png" alt="screenshot-rootredfire" width="403" height="461" /></p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/08/30/iptables-and-bashrc-aliases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling IPV6 on Debian</title>
		<link>http://tuts4tech.net/2009/07/07/disabling-ipv6-on-debian/</link>
		<comments>http://tuts4tech.net/2009/07/07/disabling-ipv6-on-debian/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:50:48 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=458</guid>
		<description><![CDATA[If you don't use ivp6 for anything and your ISP doesn't support it theres not much of a need to have it enabled. To disable it we need to edit /etc/modprobe.d/aliases By default you will have the following line Replace it with the following You can now remove all the ipv6 stuff from /etc/hosts and [...]]]></description>
			<content:encoded><![CDATA[<p>If you don't use ivp6 for anything and your ISP doesn't support it theres not much of a need to have it enabled. To disable it we need to edit /etc/modprobe.d/aliases
<pre class="brush: bash; title: ; notranslate">nano /etc/modprobe.d/aliases</pre>
<p>By default you will have the following line
<pre class="brush: plain; title: ; notranslate">alias net-pf-10 ipv6</pre>
<p>Replace it with the following
<pre class="brush: plain; title: ; notranslate">alias net-pf-10 off
alias ipv6 off</pre>
<p>You can now remove all the ipv6 stuff from /etc/hosts and once you reboot ipv6 will be disabled</p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/07/07/disabling-ipv6-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a DNS Server for your LAN Network</title>
		<link>http://tuts4tech.net/2009/05/08/setting-up-a-dns-server-for-your-lan-network/</link>
		<comments>http://tuts4tech.net/2009/05/08/setting-up-a-dns-server-for-your-lan-network/#comments</comments>
		<pubDate>Fri, 08 May 2009 10:49:58 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[resolve]]></category>

		<guid isPermaLink="false">http://tuts4tech.co.cc/?p=186</guid>
		<description><![CDATA[This tutorial will show you how to configure bind9 on debian to be a dns server for your LAN network. Install bind9 and some DNS utilities Set your systems hostname then edit /etc/hosts so it looks like this change you DNS servers by editing /etc/resolv.conf it should look something like this: Creating a Zone The [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will show you how to configure bind9 on debian to be a dns server for your LAN network.</p>
<ol>
<li>Install bind9 and some DNS utilities
<pre class="brush: plain; title: ; notranslate">apt-get install bind9 dnsutils</pre>
</li>
<li>Set your systems hostname
<pre class="brush: plain; title: ; notranslate">echo &quot;server.home.local&quot; &gt; /etc/hostname </pre>
<p>then edit /etc/hosts so it looks like this
<pre class="brush: plain; title: ; notranslate">127.0.0.1       localhost.localdomain   localhost
192.168.1.2    server.home.local        server
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts</pre>
</li>
<li>change you DNS servers by editing /etc/resolv.conf
<pre class="brush: plain; title: ; notranslate">nano /etc/resolv.conf</pre>
<p>it should look something like this:
<pre class="brush: plain; title: ; notranslate">
search home.local
nameserver 192.168.1.2</pre>
</li>
<li>
<h4>Creating a Zone</h4>
</li>
</ol>
<p><span id="more-186"></span>
<ol>
<li>The zone files are the most important part of the BIND system. They hold all the information as to what hostname goes to an IP. to get started edit /etc/bind/named.conf.local
<pre class="brush: plain; title: ; notranslate">nano /etc/bind/named.conf.local</pre>
<p>and then add the following:
<pre class="brush: plain; title: ; notranslate">zone &quot;home.local&quot; {
        type master;
        file &quot;home.local&quot;;
};

zone &quot;1.168.192.in-addr.arpa&quot; {
        type master;
        file &quot;192.168.1&quot;;
};</pre>
</li>
<li>Now we need to create the zone file in /var/cache/bind/home.local
<pre class="brush: plain; title: ; notranslate">nano /var/cache/bind/home.local</pre>
<p> and add the following:
<pre class="brush: plain; title: ; notranslate">$TTL 604800
@ IN SOA server.home.local. sysadmin.home.local. (
                2008080101      ;serial
                04800           ;refresh
                86400           ;retry
                2419200         ;expire
                604800          ;negative cache TTL
                )
@       IN      NS      server.home.local.
@       IN      A       192.168.1.2
@       IN      MX      10      server.home.local.
server  IN      A       192.168.1.2
www     IN      CNAME   server
desktop	IN	A	192.168.1.3
printer	IN	A	192.168.2.4
laptop	IN	A	192.168.2.5</pre>
</li>
<p>Now we need to create the reverse DNS zone file to do so we need to create /var/cache/bind/192.168.1
<pre class="brush: plain; title: ; notranslate">nano /var/cache/bind/192.168.1</pre>
<p> and add the following:
<pre class="brush: plain; title: ; notranslate">$TTL 604800
@ IN SOA server.home.local. sysadmin.home.local. (
                2008080101      ;serial
                604800          ;refresh
                86400           ;retry
                2419200         ;expire
                604800          ;negative cache TTL
                )
@       IN      NS      server.home.local.
@       IN      A       192.168.1.2
2	IN	PTR	server.home.local.
3	IN	PTR	desktop.home.local.
4	IN	PTR	printer.home.local.
5	IN	PTR	laptop.home.local.</pre>
</ol>
<li>We now need to set DNS servers to forward to so edit /etc/bind/named.conf.options
<pre class="brush: plain; title: ; notranslate">nano /etc/bind/named.conf.options</pre>
<p>and add the following
<pre class="brush: plain; title: ; notranslate">forwarders {
                208.67.222.222; // your isps dns server
                208.67.220.220; // your isps dns server
        };</pre>
</li>
<li>Now we need to restart bind9 and test it
<pre class="brush: plain; title: ; notranslate">/etc/init.d/bind9 restart</pre>
<p>
<pre class="brush: plain; title: ; notranslate">dig home.local</pre>
<p>you should see the following
<pre class="brush: plain; title: ; notranslate">; &lt; &lt;&gt;&gt; DiG 9.3.4 &lt; &lt;&gt;&gt; home.local
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt; &lt;- opcode: QUERY, status: NOERROR, id: 54950
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;home.local.                    IN      A

;; ANSWER SECTION:
home.local.             64800   IN      A       192.168.1.2

;; AUTHORITY SECTION:
home.local.             64800   IN      NS      server.home.local.

;; ADDITIONAL SECTION:
server.home.local.        64800   IN      A       192.168.1.2

;; Query time: 1 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Tue Aug  5 09:33:40 2008
;; MSG SIZE  rcvd: 79</pre>
</pre>
</li>
<li>Configure all computers in your network to use 192.168.1.2 as there dns server and you should be good to go</li>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/05/08/setting-up-a-dns-server-for-your-lan-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

