$ cd /usr/src $ tar xzvf linux-rat-2.6.10.tar.gz $ cd linux-rat-2.6.10 $ make menuconfig $ make $ make install $ make modules_install $ mkinitrd -o /boot/initrd.img-2.6.10 /lib/modules/2.6.10 $ cp System.map /boot/System.map-2.6.10 $ cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.10
Now you have to configure your boot loader to load the new kernel. After that, enable IP forwarding and reboot:
$ sysctl -w net.ipv4.ip_forward=1 $ reboot
You have to choose the new kernel at boot time. If everything go well, at this moment your machine will mark every packet with an Generalized Bloom Filter integrated into packet header just before forwarding. If you need help, more information is available at:
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html.