Bird’s memory usage with 8 BGP sessions (6 of which full BGP tables):

root@sfgw:~# birdc show memory
BIRD 1.5.0 ready.
BIRD memory usage
Routing tables: 160 MB
Route attributes: 136 MB
ROA tables: 112 B
Protocols: 68 kB
Total: [...]

Posted by HackMan
Dated: 23rd February 2016
Filled Under: Networking, Technology, Uncategorized
Comments: Post the 1st one!

I finally decided to request full BGP tables from all of my ISPs, so I can easily change the preferred path to certain destinations.
However this meant that now I have to monitor both the state of the BGP sessions, but also the amount of routes that I receive from my neighbors.
Before my days with full [...]

Posted by HackMan
Dated: 19th February 2016
Filled Under: Linux General, Networking, Technology, Uncategorized
Comments: Post the 1st one!

Since I’m a long user of Xchat I decided to upgrade it and found that it does not compile with the recent glib library.
The problem is that the new versions of the glib library introduced one limitation for includes. Now you only have to include glib.h and every more specific inclusion breaks the builds.
Even thou [...]

Posted by HackMan
Dated: 18th February 2016
Filled Under: Linux General, Technology
Comments: Post the 1st one!

Very often I login on machines with older mii-tool that reports 1Gbit/s cards as if they are connected on 100Mbit/s. This is normal as mii-tool is depricated. But a lot of old timers like me are used to its output. So I wrote a very simple awk script which can convert the ethtool output to [...]

Posted by HackMan
Dated: 7th December 2015
Filled Under: Linux General, Technology
Comments: Post the 1st one!

Recently I wanted to check if I have reached the limit of my network connection. However I constatly had to login on my router and check the traffic on each interface… and I had to watch it continiously.
.
So I decided that I’ll write a tool which will collect the information and regulary update a DB, [...]

Posted by HackMan
Dated: 15th October 2015
Filled Under: Technology
Comments: Post the 1st one!

Today I decided to join my co-located server to pool.ntp.org.
It was surprisingly easy and now I have my machine contributing to the big effort that is pool.ntp.org.
Statistics for it can be found here: http://www.pool.ntp.org/user/hackman

Posted by HackMan
Dated: 15th September 2014
Filled Under: Technology
Comments: Post the 1st one!

Since I started using Linux::Unshare after I created my Linux::Setns I found that unshare was missing a few tests.
I added them and sent a patch to the current maintainer Boris Sukholitko. However a few days later he wrote to me that he is no longer maintaining the module and proposed that I should take over [...]

Posted by HackMan
Dated: 28th July 2014
Filled Under: Technology, Uncategorized
Comments: Post the 1st one!

I’m preparing a talk for YAPC::EU. The talk will be about managing Linux containers in Perl and for doing that I needed some functionality that was currently missing
So I created a new Perl Module - Linux::Setns.
This is my first attempt at building and supporting modules on CPAN… but I hope I’ll add a few [...]

Posted by HackMan
Dated: 28th July 2014
Filled Under: Technology, getClouder
Comments: Post the 1st one!

Requirements:

wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.24.tar.xz
wget http://hydra.azilian.net/3.12.24-config
cp 3.12.24-config .config
tar xfj linux-3.12.24.tar.xz
cd linux-3.12.24
git init
git add .
git commit -a -m ‘initial’

Tasks:

Patch /proc/cpuinfo, so when you are not in the main CGroup, it will show you only the CPU cores you are allowed to use.
[...]

Posted by HackMan
Dated: 21st July 2014
Filled Under: Teaching, Technology
Comments: Post the 1st one!

I needed an easy way to download videos I streamed to Twitch.tv, so I created this small script which downloads all parts of the video, converts them to mpegts and then combines them into a single mpeg flv video, ready for upload to YouTube.

#!/bin/bash

video_dir=~/twitch

if [ $# -ne 1 ]; then
[...]

Posted by HackMan
Dated: 10th October 2013
Filled Under: Teaching, Technology
Comments: Post the 1st one!