Hello every body
we planning to use mastershaper in our university in order to control the internet traffic among our users, ispent last week trying to patch imq to the kernel using the following steps:
apt-get install libncurses5-dev kernel-package
apt-get build-dep iptables
apt-get source iptables linux-image-$(uname -r)
then downloading IMQ patches:
wget
http://www.linuximq.net/patches/patc...q-3.2.diff.bz2
wget
http://www.linuximq.net/patches/ipta...IMQ-test4.diff
cd /usr/src/linux-3.2.0
bunzip2 ../patch-imqmq-3.2.diff.bz2 | patch -p1 --dry-run
patch -p1 < ../patch-imqmq-3.2.diff
cd /usr/src/iptables-1.4.12
patch -p1 < ../iptables-1.4.12-IMQ-test4.dif
cd /usr/src/linux-3.2.0
make menuconfig:
# Device Drivers -> Network Device Support -> [M] IMQ .. support
# Networking Support -> Networking Options -> Network Packet ->Filtering Framework (Netfilter) -> Core Netfilter Configuration
-> [M] "IMQ" Target Suppor
then:
time fakeroot make-kpkg --initrd --append-to-version=-v-smart.pl kernel-image kernel-headers
then install the kernel and reboot
cd /usr/src
dpkg -i linux-*.deb
reboot
after rebooting compile and install iptables:
cd /usr/src/iptables-1.4.12
dpkg-buildpackage -rfakeroot -uc -b
cd /usr/src/
dpkg -i iptables_*.deb
after rebooting i can load the imq module but the iptables not accept -IMQ.
am using ubuntu 12.04(precise) kernel 3.2,
any advice will be most appreciated.