lartc.org : Linux Advanced Routing & Traffic Control
(Answer) (Category) lartc.org FAQ : (Category) IMQ device :
IMQ + iptables 1.2.7a
You can successfully run iptables 1.2.7a with patch from IMQ homepage.
The thing what you have to do is to replace strings contains: NETFILTER_VERSION to "1.2.7a" in libipt_IMQ.c and libip6t_IMQ.c . How to patch iptables and 2.4.xx kernel:
cd iptables-1.2.7a
patch -p1 < ./iptables-1.2.7a-imq.diff
chmod a+x extensions/.IMQ-test
chmod a+x extensions/.IMQ-test6

cd linux-2.4.20
patch -p1 < ./imq-2.4.19.diff

cd patch-o-matic-YYYYMMDD
patch -p1 < ./pom-imq.diff
export KERNEL_DIR=/usr/src/linux-2.4.20
./runme extra/IMQ.patch
You will have three new options:
  • Networking options ---> IP: Netfilter Configuration --->IMQ target support
  • Networking options ---> IPv6: Netfilter Configuration --->IMQ target support
  • Network device support --->IMQ (intermediate queueing device) support
Choose at least one of the targets and the device itself.
Netfilter debugging should be turned off, otherwise cou get lots of annoying messages.
stef.coene@docum.org
[Append to This Answer]
Previous: (Answer) NAT & IMQ
This document is: http://qos.dyndns.org:3389/cgi-bin/fom?file=61
[Search] [Appearance]
This is a Faq-O-Matic 2.719.