• Recursively remove .svn folders from checked out projects in Subversion

    by  • December 3, 2009 • 0 Comments

    Thought I would post this as I find I need it regularly. This is thanks to a great blog post over at http://perezj.blogspot.com/2008/10/delete-svn-folders-files-recursive.html which details how to write a batch file which recursively removes .svn folders from a checked out folder from Subversion. It boils down to the following: 1. Create a batch file in […]

    Read more →

    Force udev to reassign ethX identifiers in Ubuntu 8.04

    by  • November 20, 2009 • 0 Comments

    Quick tip: If you have replaced your network cards in Ubuntu 8.04, or in my case imaged a Ubuntu install across many PC’s, and would like udev to redetect network cards and reassign ethX identifiers beginning with eth0, run the following command. sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old Then reboot the machine, and udev will recreate 70-persistent-net.rules, […]

    Read more →

    Some resources for fixing IE6 WordPress site rendering

    by  • November 8, 2009 • 1 Comment

    I’m in the process of deploying a website which has recently been rebuilt in WordPress to take advantage of the CMS back end and easy administration. Though the site before WordPress was originally working fine in IE6/7/8, Firefox, Safari, Opera and Chrome I’m now looking for any cross-browser issues that have snuck in during development. […]

    Read more →

    Creating a Netfilter kernel module which filters UDP packets

    by  • November 2, 2009 • 18 Comments

    Last time we created a Netfilter kernel module which simply dropped all packets which gave the structure and functions that need to be implemented for a Netfilter module to work. This time, we’ll extend the functionality to poke into the IP header, specifically the protocol field, in order to perform functionality specific to a packet […]

    Read more →

    Dock window shortcut keys in Windows 7

    by  • October 8, 2009 • 1 Comment

    I’m a huge fan of the docking feature in Windows 7 that allows you to dock windows to the left or right half of the screen, or to fill the screen, by simply moving the window to the left edge, right edge, or top edge respectively. What I didn’t know until I stumbled on it […]

    Read more →

    Creating a simple ‘hello world’ Netfilter module

    by  • October 7, 2009 • 12 Comments

    This is the second part of the series in creating a NetFilter module for Ubuntu 8.04 (running linux kernel 2.6.24-23). In it I’ll write a simple Netfilter module as a kernel module that simply drops all packets and logs dropped packets to /var/log/messages. In order to implement this we take the code for the kernel […]

    Read more →

    Creating a “hello world” kernel module in linux

    by  • October 4, 2009 • 6 Comments

    This is part one of my series on creating a Netfilter module in order to implement a routing protocol in Linux. I’ve broken down the challenge into three steps. Write a simple kernel module (this article) Add Netfilter hooks to kernel module Access packet headers within Netfilter hook Abstract routing daemon to a user space […]

    Read more →