<?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>Andy Dixon &#187; Uncategorized</title>
	<atom:link href="http://www.andydixon.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andydixon.com</link>
	<description>Do the Oblivious</description>
	<lastBuildDate>Wed, 08 Feb 2012 00:24:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dealing with Hangovers</title>
		<link>http://www.andydixon.com/2012/02/08/dealing-with-hangovers/</link>
		<comments>http://www.andydixon.com/2012/02/08/dealing-with-hangovers/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 00:24:39 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[hangover]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://www.andydixon.com/?p=874</guid>
		<description><![CDATA[A hangover is something that just about all of us have experienced at some point in time. After spending a night out drinking, you may wake up in the morning with your head feeling heavy and your stomach in knots. At that moment, you probably decided that you would quit drinking, to prevent this awful [...]]]></description>
			<content:encoded><![CDATA[<p>A hangover is something that just about all of us have experienced at some point in time. After spending a night out drinking, you may wake up in the morning with your head feeling heavy and your stomach in knots. At that moment, you probably decided that you would quit drinking, to prevent this awful feeling from happening again. No matter how hard you may have tried though, chances are that it happened again.</p>
<p>Even though we all know that alcohol can lead to hangovers, the cause of a hangover is something we dont know. Alcohol does have some positive effects on the body, although it can also lead to negative effects such as hangovers. Some doctors will actually recommend it, while others will tell you never to drink it. Even though drinking is good, moderation is the key. The easiest way to avoid hangovers is to drink in moderation &#8211; and never get drunk.</p>
<p>As many of us already know, whisky, bourbon, and wine can result in a much harder hangover than vodka or beer. For many people, chemicals in wines or yeast found in unfiltered beers can result in headaches. Beer, wine, and liquor can be fun and relaxing to drink, although if you arent careful you can easily get a headache or a hangover.</p>
<p>Even though the cause for hangovers is unknown, it has been proven that the headaches associated with hangovers stem from dehydration. With alcohol being a diuretic, it will make you urinate quite often. Therefore, if you drink alcohol or beer on a daily basis, your body will remain dehydrated. When you wake up in the morning with a bad headache and turn to coffee, which is also a diuretic, the process of dehydration actually gets worse.</p>
<p>Youll also need to do something with the alcohol that has been left in your body. Even though a hangover can make you want to stay in bed, the secret to getting yourself back on track is movement. To rid your body of the alcohol, you&#8217;ll need sweat. Sweating gets the toxins out of your body, and helps you feel better. You can exercise or have sex to get over a hangover, as the heat your body emits will be too much for alcohol toxins to handle.</p>
<p>Although a hangover can be a bit of a pain, it can be prevented. The first rule of drinking any type of alcoholic beverage is to never drink on an empty stomach. If you eat a good meal before you start drinking, you&#8217;ll find that the food can help you digest the alcohol much better. When the alcohol starts to attack your stomach, you should consider eating foods that are high in fat, such as cheese. You can also sip some olive oil or drink some water. The secret to making sure that you don&#8217;t get a hangover when drinking is to drink in moderation and never let yourself get too drunk.</p>
<p>Beer is digested very fast by your body, which is why you should always drink beer first if you plan to mix drinks. Beer is digested the fastest, and will also help your body to absorb any other drinks you have faster. You should always keep in mind that when you drink alcohol, your body will get dehydrated. Any type of alcohol that you consume is a diuretic, therefore you should always drink water with your alcohol. Alcohol can dehydrate your body very fast &#8211; which is why youll need water to ensure that you stay hydrated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andydixon.com/2012/02/08/dealing-with-hangovers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow..!</title>
		<link>http://www.andydixon.com/2012/02/04/snow/</link>
		<comments>http://www.andydixon.com/2012/02/04/snow/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 19:40:39 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.andydixon.com/?p=911</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div id="attachment_912" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.andydixon.com/wp-content/uploads/2012/02/photo.jpg" rel="lightbox[911]"><img class="size-medium wp-image-912" title="Snow in Malvern" src="http://www.andydixon.com/wp-content/uploads/2012/02/photo-300x224.jpg" alt="Snow in Malvern" width="300" height="224" /></a><p class="wp-caption-text">Snow in Malvern</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.andydixon.com/2012/02/04/snow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recommended tweaks for Ubuntu</title>
		<link>http://www.andydixon.com/2012/01/17/recommended-tweaks-for-ubuntu/</link>
		<comments>http://www.andydixon.com/2012/01/17/recommended-tweaks-for-ubuntu/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 17:05:49 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.andydixon.com/?p=832</guid>
		<description><![CDATA[If you want to grab some extra stuff for Ubuntu, I would recommend that you add some extra repositories. Here are a couple: Medibuntu Medibuntu is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons, usually it is down to patent issues, geographical patent issues or they are just [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to grab some extra stuff for Ubuntu, I would recommend that you add some extra repositories. Here are a couple:</p>
<p><span style="text-decoration: underline;"><strong>Medibuntu</strong></span></p>
<p>Medibuntu is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons, usually it is down to patent issues, geographical patent issues or they are just perverted (there is an app which shows a woman in various states of undress depending on system load).</p>
<p>To install:<br />
<code>sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list<br />
sudo apt-get --quiet update<br />
sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring<br />
sudo apt-get --quiet update<br />
sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu</code></p>
<p><strong><span style="text-decoration: underline;">TorProject</span></strong><br />
One of my favourite applications, Tor can be installed through Apt. In this example I am using Oneiric.</p>
<p>Add the following line to <strong>/etc/apt/sources.list</strong>:<br />
(If you dont know how, open a terminal window, <code>sudo nano /etc/apt/sources.list</code>)</p>
<p><code>deb http://deb.torproject.org/torproject.org oneiric main</code></p>
<p>Then add the gpg key used to sign the packages and update apt by running the following commands at your command prompt:</p>
<p><code>gpg --keyserver keys.gnupg.net --recv 886DDD89<br />
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -<br />
apt-get update<br />
apt-get install tor tor-geoipdb </code></p>
<p>&nbsp;</p>
<p>There are many, many more repositories. If you are feeling brave, take a look here:</p>
<p><a href="http://repogen.simplylinux.ch/" target="_blank">http://repogen.simplylinux.ch/</a></p>
<p>This site will generate a bespoke sources.list file for any Ubuntu distribution. Keep a backup of your original config just in case&#8230;!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andydixon.com/2012/01/17/recommended-tweaks-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preventing DoS on Apache and other Services with Ubuntu</title>
		<link>http://www.andydixon.com/2012/01/07/preventing-dos-on-apache-and-other-services-with-ubuntu/</link>
		<comments>http://www.andydixon.com/2012/01/07/preventing-dos-on-apache-and-other-services-with-ubuntu/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 17:50:50 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.andydixon.com/?p=812</guid>
		<description><![CDATA[A denial-of-service attack (DoS attack) or distributed denial-of-service attack (DDoS attack) is an attempt to make a computer or network resource unavailable to its intended users. While no way is 100% perfect for preventing it, here are a few things that can be done to help keep services running: &#160; IPTables A simple IPTables rule [...]]]></description>
			<content:encoded><![CDATA[<p>A denial-of-service attack (DoS attack) or distributed denial-of-service attack (DDoS attack) is an attempt to make a computer or network resource unavailable to its intended users. While no way is 100% perfect for preventing it, here are a few things that can be done to help keep services running:</p>
<p>&nbsp;</p>
<p><strong>IPTables</strong></p>
<p><strong></strong>A simple IPTables rule is this, replacing **PORT** with the port you wish to protect. Replace the 15 for the maximum numbrer of connections per IP:</p>
<p><code>iptables -A INPUT -p tcp â€“syn â€“dport **PORT** -m connlimit â€“connlimit-above 15 â€“connlimit-mask 32 -j REJECT â€“reject-with tcp-reset</code></p>
<p><strong>Apache</strong><br />
Apache can be set up with <strong>mod_evasive</strong>, which will help limit connections to hosts in which it believes are attempting a DoS attack.</p>
<p>To install:<br />
<code>aptitude install libapache2-mod-evasive</code></p>
<p>Once its installed, try this:<br />
<code>a2enmod mod-evasive</code><br />
You should then see:<br />
<code>Module mod-evasive already enabled</code></p>
<p>Next thing to do, is add this either to a vhost file for each site you want to protect, or into the httpd.conf file found in <strong>/etc/apache2/conf/</strong><br />
<code><br />
&lt;IfModule mod_evasive20.c&gt;<br />
DOSHashTableSize 3097<br />
DOSPageCount 2<br />
DOSSiteCount 50<br />
DOSPageInterval 1<br />
DOSSiteInterval 1<br />
DOSBlockingPeriod 10<br />
&lt;/ifModule&gt;<br />
</code></p>
<p>These can be tweaked:<br />
<strong>DOSHashTableSize</strong><br />
Size of the hash table. The greater this setting, the more memory is required for the look up table, but also the faster the look ups are processed. This option will automatically round up to the nearest prime number.</p>
<p><strong>DOSPageCount</strong><br />
Number of requests for the same page within the &#8216;DOSPageInterval&#8217; interval that will get an IP address added to the blocking list.</p>
<p><strong>DOSSiteCount</strong><br />
Same as &#8216;DOSPageCount&#8217;, but corresponds to the number of requests for a given site, and uses the &#8216;DOSSiteInterval&#8217; interval.</p>
<p><strong>DOSPageInterval</strong><br />
Interval for the &#8216;DOSPageCount&#8217; threshold in second intervals.</p>
<p><strong>DOSSiteInterval</strong><br />
Interval for the &#8216;DOSSiteCount&#8217; threshold in second intervals.</p>
<p><strong>DOSBlockingPeriod</strong><br />
Blocking period in seconds if any of the thresholds are met. The user will recieve a 403 (Forbidden) when blocked, and the timer will be reset each time the site gets hit when the user is still blocked.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andydixon.com/2012/01/07/preventing-dos-on-apache-and-other-services-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

