Skip to contentSkip to conversation

Getting the IMQ target to work.

LARTC Edward Smith 2 participants 2 messages Jul 3, 2005

lore
Share & tools
lore
#0 lore raw

Sorry to bug the list with this, but I can't get past it.

littlebear ~ # /usr/local/sbin/iptables -A PREROUTING -t mangle -o eth0 -j IMQ --todev 0
iptables v1.3.1-20050701: Unknown arg `--todev'
Try `iptables -h' or 'iptables --help' for more information.

I've tried every combination of patching and recompiling that I can come up with, although this is my first time manually applying patches. I'm on gentoo (2.6.11-gentoo-r9) which claims to support IMQ when using the +extensions USE keyword (which I am). I also hand patched and compiled iptables which didn't work either. Can anyone point me in the right direction or maybe to a step by step patching/compiling guide?

Thanks,

Edward
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

One important thing is that the two files

extensions/.IMQ-test6
extensions/.IMQ-test

which are created when you are patching iptables source, must be executable. Only when the iptables make
script can run these IMQ-test files, they will be included in the build process. So a simple chmod can help you.

Cheers,
Andreas

Quoted 16 lines · Edward Smith

Sorry to bug the list with this, but I can't get past it.

littlebear ~ # /usr/local/sbin/iptables -A PREROUTING -t mangle -o eth0 -j IMQ --todev 0
iptables v1.3.1-20050701: Unknown arg `--todev'
Try `iptables -h' or 'iptables --help' for more information.

I've tried every combination of patching and recompiling that I can come up with, although this is my first time manually applying patches. I'm on gentoo (2.6.11-gentoo-r9) which claims to support IMQ when using the +extensions USE keyword (which I am). I also hand patched and compiled iptables which didn't work either. Can anyone point me in the right direction or maybe to a step by step patching/compiling guide?

Quoted 10 lines

Thanks,

Edward
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc