Setup IMQ on kernel 2.4.20
Hi,
does someone have setup IMQ succesfully on kernel 2.4.20? If so, how did you do that.
I only see the diff for kernel 2.4.19. Can I use that?
Thanks,
Martijn
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Yes, no problem.
Just take a look to the attached files.
Regards
Remus
----- Original Message -----
From: "Koot, M." <[email protected]>
To: "List LARTC" <[email protected]>
Sent: Thursday, January 09, 2003 8:02 AM
Subject: [LARTC] Setup IMQ on kernel 2.4.20
Quoted 7 lines
Hi,
does someone have setup IMQ succesfully on kernel 2.4.20? If so, how did you do that.
I only see the diff for kernel 2.4.19. Can I use that?
Quoted 9 lines
Thanks,
Martijn
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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 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.