• networking

    Force udev to reassign ethX identifiers in Ubuntu 8.04

    by  • November 20, 2009 • linux, networking • 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 →

    Creating a Netfilter kernel module which filters UDP packets

    by  • November 2, 2009 • kernel module, linux, netfilter, networking • 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 →