<?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>A bit of this, a bit of that</title>
	<atom:link href="http://gael.enix.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://gael.enix.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 24 Aug 2009 17:11:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone app: London Bus</title>
		<link>http://gael.enix.org/2009/08/19/iphone-app-london-bus/</link>
		<comments>http://gael.enix.org/2009/08/19/iphone-app-london-bus/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 21:23:15 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[A bit of this]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://gael.enix.org/?p=42</guid>
		<description><![CDATA[I want to share with you this really cool app on iPhone to manage your travels in London]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-56" title="LondonBus" src="http://gael.enix.org/wp-content/uploads/2009/08/LondonBus.jpg" alt="LondonBus" width="131" height="131" />For people living in London, public transport is compulsory!</p>
<p>In other words, you cannot do anything without it. To find the best route, you can use TFL website but when you are on the go, or in the street, you want something that tells you how to get from wherever you are to your home, especially when it is 4 am and your only idea in mind is: &#8220;I want my bed!&#8221;.</p>
<p>And here comes London Bus and its different options:</p>
<h1>Plan<img class="size-medium wp-image-79 alignright" title="PlanYourJourney" src="http://gael.enix.org/wp-content/uploads/2009/08/PlanYourJourney-200x300.jpg" alt="PlanYourJourney" width="113" height="170" /></h1>
<p>You define where you want to go from (you can use &#8220;Locate Me&#8221;, Find a station or use your favorite) and where you want to go, when you want to leave and how, here you can choose between all the available transport in London.<br />
Basically, it provides you with the same options as TFL except that this time you have everything  in your pocket!</p>
<p>Once you have launched the search, your  journey plans displays the several routes suggested, with departure time, when you will arrive and how long it  takes. It displays as well the different option to go from here to there.</p>
<p style="text-align: center;"><img class="size-full wp-image-67 aligncenter" title="Journey Plans London Bus" src="http://gael.enix.org/wp-content/uploads/2009/08/JourneyPlans.jpg" alt="Journey Plans London Bus" width="113" height="170" /></p>
<h1>History</h1>
<p>On top of that, you have a <strong>history</strong>. So it is easy to retrieve a journey you did a month ago without the need to fill in all the fields again.</p>
<h1>Routes</h1>
<h1><img class="alignright size-medium wp-image-81" title="RouteBus" src="http://gael.enix.org/wp-content/uploads/2009/08/RouteBus-200x300.jpg" alt="RouteBus" width="113" height="168" /></h1>
<p><strong>Routes</strong> lets you select any bus route in London. Once selected, you will see all the bus stops on this route. And the option, I really enjoy, is the &#8220;Track Me&#8221; option that tells you exactly at which bus stop you are! I just love it.<br />
The only thing I tried but did not really work is when I am on the bus, I never managed to have it updating my position quickly enough&#8230;</p>
<p>The other interesting bit of the <strong>routes </strong>is that you are able to see the timetables of the bus, use a bus stop as your &#8220;Plan</p>
<p>From&#8221; or &#8220;Plan To&#8221;, adding it to your &#8220;Favourites&#8221;.</p>
<h1><img class="size-full wp-image-76 aligncenter" title="Route" src="http://gael.enix.org/wp-content/uploads/2009/08/Route.jpg" alt="Route" width="113" height="170" /></h1>
<h1>Favourites<img class="alignright size-medium wp-image-82" title="Favourites" src="http://gael.enix.org/wp-content/uploads/2009/08/Favourites-200x300.jpg" alt="Favourites" width="113" height="170" /></h1>
<p>You can define <strong>favourite </strong>bus stops, the one you are using the most often. It is only taking bus stops which is logical as the app is called &#8220;London Bus&#8221;.<br />
I reckon that being able to save Tube stations as your favourites would have been a nice feature.</p>
<h1>Locate</h1>
<p>You can <strong>locate </strong>yourself. Once located, the app will give you all the bus stops around you. Once you have selected the one you want, you can:</p>
<p>Check where the bus stop is on google map, use it to plan your journey, define it as a favourite, check the timetable or having the route  details.</p>
<p>Using google map is great, especially when you are in a place you&#8217;ve never been. With this option, you can head directly towards the correct bus stop, saving you all the walking from bus stop to bus stop, in order to find the stop  &#8220;M&#8221;&#8230;</p>
<h1>What to improve?</h1>
<p>I would be happy to see the Track Me, tracking me when I am in the bus, that  would be cool, but it is not the main purpose of the app I reckon.</p>
<p>Or being able to add a tube station as a favourite.</p>
<h1>App details</h1>
<ul>
<li>App Name: London Bus</li>
<li>Version tested: 1.2.1</li>
<li>Its author: Malcolm Barclay</li>
<li>Its price: £0.59</li>
<li>Update rate: the author is releasing updates on regular basis, which is a good thing considering you are paying for the app.</li>
</ul>
<p>If you have this app, either you love it or hate it, share you experience!</p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2009/08/19/iphone-app-london-bus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Just adding the digg button</title>
		<link>http://gael.enix.org/2009/08/18/just-adding-the-digg-button/</link>
		<comments>http://gael.enix.org/2009/08/18/just-adding-the-digg-button/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 20:56:20 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[A bit of this]]></category>

		<guid isPermaLink="false">http://gael.enix.org/2009/08/18/just-adding-the-digg-button/</guid>
		<description><![CDATA[I am using the  &#8220;Digg This Button&#8221; plugin.
What are you using for Digg? I am interested to know!
]]></description>
			<content:encoded><![CDATA[<p>I am using the  &#8220;Digg This Button&#8221; plugin.</p>
<p>What are you using for Digg? I am interested to know!</p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2009/08/18/just-adding-the-digg-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impressed by WordPress!</title>
		<link>http://gael.enix.org/2009/08/17/impressed-by-wordpress/</link>
		<comments>http://gael.enix.org/2009/08/17/impressed-by-wordpress/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 11:46:57 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[A bit of this]]></category>

		<guid isPermaLink="false">http://gael.enix.org/?p=33</guid>
		<description><![CDATA[I have just finished migrating from Dot Clear to WordPress, following the advice of my friend Nat and I want to thank her! The latest version of WordPress is really nice!
First of all, I had some bad views about WordPress as I used to use it 3 years ago when I was in Cambodia. Back [...]]]></description>
			<content:encoded><![CDATA[<p>I have just finished migrating from Dot Clear to WordPress, following the advice of my friend Nat and I want to thank her! The latest version of WordPress is really nice!</p>
<p>First of all, I had some bad views about <strong>WordPress</strong> as I used to use it 3 years ago when I was in Cambodia. Back in those days, the admin panel was less user friendly.<br />
I remember that adding themes or plug in was not a piece of cake, you had to log to the web server, download the theme or plug in, unzip it, adding it to the web interface, then activating it and configuring it. Whereas now, the search is included  in the admin panel, then you can preview it and install it by the click of the mouse!</p>
<p>How awesome is that?</p>
<p>On top of that, I find editing posts easier than it is in <strong>DotClear</strong>. There is more space to edit your post, and I prefer the look and feel of WordPress!</p>
<p>So Yes, this is great!</p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2009/08/17/impressed-by-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just playing</title>
		<link>http://gael.enix.org/2009/08/16/test-test/</link>
		<comments>http://gael.enix.org/2009/08/16/test-test/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 22:21:28 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[A bit of this]]></category>

		<guid isPermaLink="false">http://gael.enix.org/wordpress/?p=3</guid>
		<description><![CDATA[I am moving from DotClear to WordPress, I am playing with modules and themes &#8230;
]]></description>
			<content:encoded><![CDATA[<p>I am moving from DotClear to WordPress, I am playing with modules and themes &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2009/08/16/test-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fail2ban &#8211; Security tool</title>
		<link>http://gael.enix.org/2009/05/23/fail2ban-security-tool/</link>
		<comments>http://gael.enix.org/2009/05/23/fail2ban-security-tool/#comments</comments>
		<pubDate>Sat, 23 May 2009 22:35:41 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://gael.enix.org/wordpress/?p=20</guid>
		<description><![CDATA[A great tool to enhance your firewalling.
You probably all have a firewall such as IPTables on your server in order to restrict the access to some services like SSH, FTP or HTTP.
But what about the threat like scripts trying to enter your FTP with dumb login and password in order to access your server?
Would not [...]]]></description>
			<content:encoded><![CDATA[<p>A great tool to enhance your firewalling.</p>
<p>You probably all have a firewall such as IPTables on your server in order to restrict the access to some services like SSH, FTP or HTTP.</p>
<p>But what about the threat like scripts trying to enter your FTP with dumb login and password in order to access your server?</p>
<p>Would not it be nice to have a tool that read the secure log file, detect the failed attempts then adds a rule to your firewall for 5 minutes in order to ban all the traffic from this source?</p>
<p>This tool exists and is called <strong>Fail2Ban</strong>!</p>
<h3>How Fail2Ban work?</h3>
<p>Every time anyone tries to access your server through services like SSH or FTP, an entry is logged in the  log files</p>
<p>In the background Fail2Ban is monitoring this log file and when it detects too many password failures, it adds a DROP rule in IPTables for a defined amount of time to reject that IP address. After the 10 minutes, the rule is removed from the firewall automatically. And on top of that, it sends an email to the operation team.</p>
<p>Last but not least, as the script that launched the attack cannot access the service on your server as it is banned, it moves to another server. Basically an easier target to attack.</p>
<p>This tool is written in python, by a French guy: <a title="Fail2Ban website" href="http://www.fail2ban.org/" target="_blank">http://www.fail2ban.org</a></p>
<h3>Installation and configuration</h3>
<p>The installation is really simple as Fail2Ban is part of the rpmforge repository.</p>
<pre>yum install fail2ban</pre>
<p>Then, you need to update the configuration  The configuration file is located here: /etc/fail2ban/jail.conf</p>
<p>In this file, you will find several settings, the most important options are:</p>
<pre>ignoreip: you have to specify the IP from your network that fail2ban will never ban as they are part of the trusted network.

bantime: how long you want the attacker to be banned</pre>
<p>Then you will define the rule that inspect the log file.</p>
<pre>[ssh-iptables]

enabled  = true
filter   = sshd
action   = iptables[name=SSH, port=ssh, protocol=tcp]
           sendmail-whois[name=SSH, dest=ops@my.company.com, sender=fail2ban-my.server@my.company.com]
# logpath  = /var/log/messages
logpath = /var/log/secure
maxretry = 5</pre>
<p>Some comments about those configuration options.</p>
<ul>
<li>ssh-iptables defines  the beginning of a configuration block. The rule will be named: fail2ban-SSH</li>
<li>enabled defines if the rule will be loaded when Fail2Ban starts</li>
<li>filter: that  is the search filter for the secure log file</li>
<li>action: it defines the action to take if a condition is true.</li>
<li>logpath: it defines the log file to read in order to ban attackers</li>
<li>maxretry: it defines the number of time an attacker fails to enter the system.</li>
</ul>
<p>Once you are done with the configuration, you can start the service</p>
<pre>/etc/init.d/iptables start</pre>
<p>And add it to the service which start when the server boots.</p>
<pre>chkconfig fail2ban on</pre>
<p>Now you are all done, you have a server configured to block SSH attempts and it will survive a reboot as it will start automatically. I am really interesting in reading your feed back about the article. So do not hesitate to leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2009/05/23/fail2ban-security-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuild a RAID5 array on CentOS 5.2 with mdadm</title>
		<link>http://gael.enix.org/2008/12/08/rebuild-a-raid5-array-on-centos-5-2-with-mdadm/</link>
		<comments>http://gael.enix.org/2008/12/08/rebuild-a-raid5-array-on-centos-5-2-with-mdadm/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 22:24:32 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://gael.enix.org/wordpress/?p=14</guid>
		<description><![CDATA[My RAID 5 array on a CentOS 5.2 machine just crashed due to a faulty disk so I had to rebuild the array manually. I first thought it would have been the worse time in my life as I do not like too much messing around with my hardware but finally it went pretty smoothly.
So [...]]]></description>
			<content:encoded><![CDATA[<p>My RAID 5 array on a CentOS 5.2 machine just crashed due to a faulty disk so I had to rebuild the array manually. I first thought it would have been the worse time in my life as I do not like too much messing around with my hardware but finally it went pretty smoothly.<br />
So here is how I did to rebuild the RAID, just follow those steps&#8230;</p>
<p>First of all you have to look at the problem on md2:</p>
<pre>
<pre>[root@bacchus ~]# cat /proc/mdstat</pre>
<pre>Personalities : [raid1] [raid6] [raid5] [raid4]</pre>
<pre>md0 : active raid1 hdb1[1] hda1[0]</pre>
<pre>      152512 blocks [2/2] [UU]</pre>
<pre>md2 : active raid5 sda1[0] sdb1[1]</pre>
<pre>      625137152 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]</pre>
<pre>md1 : active raid1 hdb2[1] hda2[0]</pre>
<pre>      117065536 blocks [2/2] [UU]</pre>
</pre>
<p>The faulty device was located on hdc, and on the partition hdc1.  So first of all, you have to recreate the partition with the <code>Linux raid autodetect</code> type and write the changes to this partition:</p>
<pre>[root@bacchus ~]# fdisk /dev/sdc
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-38913, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-38913, default 38913):
Using default value 38913

Command (m for help): p

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       38913   312568641   83  Linux

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): fd
Changed system type of partition 1 to fd (Linux raid autodetect)

Command (m for help): p

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       38913   312568641   fd  Linux raid autodetect
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
[root@bacchus ~]#</pre>
<p>Once the partition is created, you have to add the partition to the RAID array with the following command line:</p>
<pre>mdadm /dev/md2 -a /dev/sdc1</pre>
<p>Once this is done, you just have to monitor the rebuild from time to time with this command:</p>
<pre>[gael@bacchus ~]$ cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md0 : active raid1 hdb1[1] hda1[0]
      152512 blocks [2/2] [UU]

md2 : active raid5 sdc1[3] sda1[0] sdb1[1]
      625137152 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]
      [========&gt;............]  recovery = 43.9% (137368104/312568576) finish=85.7min speed=34061K/sec

md1 : active raid1 hdb2[1] hda2[0]
      117065536 blocks [2/2] [UU]

unused devices:</pre>
<p>Et voila!, now you just have to wait for you RAID partition to be rebuilt and then you will be an happy bunny <img src='http://gael.enix.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2008/12/08/rebuild-a-raid5-array-on-centos-5-2-with-mdadm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The funny video of the day!</title>
		<link>http://gael.enix.org/2008/10/07/the-funny-video-of-the-day/</link>
		<comments>http://gael.enix.org/2008/10/07/the-funny-video-of-the-day/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 22:23:44 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[A bit of this]]></category>

		<guid isPermaLink="false">http://gael.enix.org/wordpress/?p=12</guid>
		<description><![CDATA[Enjoy!
http://www.break.com/index/it-guy-vs-dumb-employees.html
]]></description>
			<content:encoded><![CDATA[<p>Enjoy!</p>
<p><a href="http://www.break.com/index/it-guy-vs-dumb-employees.html">http://www.break.com/index/it-guy-vs-dumb-employees.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2008/10/07/the-funny-video-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good bye Multimap &#8230; Welcome MS &#8230;</title>
		<link>http://gael.enix.org/2008/04/23/6/</link>
		<comments>http://gael.enix.org/2008/04/23/6/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 22:11:40 +0000</pubDate>
		<dc:creator>Gael</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Multimap]]></category>

		<guid isPermaLink="false">http://gael.enix.org/wordpress/?p=6</guid>
		<description><![CDATA[Today, it was the day when the Multimap network went down &#8230;
And MS migrates us to corpnet&#8230; They gave us new laptop and new bags. Well the laptop has great specs but it is too heavy and the bottom line, I think it is crap.
But the bags are really nice! These are courier bags &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Today, it was the day when the Multimap network went down &#8230;</p>
<p>And MS migrates us to corpnet&#8230; They gave us new laptop and new bags. Well the laptop has great specs but it is too heavy and the bottom line, I think it is crap.</p>
<p>But the bags are really nice! These are courier bags &#8211; Timbuk2 &#8211; and really nice! Imagine a crumpler but nicer!</p>
<p>So the laptop is not so nice but the bag is!</p>
<p>We had nice cards with our face on it to access the office as MS loves security &#8230;</p>
<p>And that&#8217;s pretty much it!</p>
]]></content:encoded>
			<wfw:commentRss>http://gael.enix.org/2008/04/23/6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
