next up previous contents
Next: RATd Up: The RAT Software Previous: The DoS Attack Simulation   Contents

Linux-rat-2.6.10

Linux-rat-2.6.10 is a modified Linux kernel (version 2.6.10). This kernel is able to mark packets before forwarding. This procedure is done whenever the packet has a Generalized Bloom Filter integrated into the header. It must be installed in all network routers. After the download, to compile and install the Linux-rat-2.6.10 the user (as root) must type the following at the prompt:

$ 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.



Grupo de Teleinformática e Automação (GTA/UFRJ)