All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables IMQ command problem
@ 2005-11-24 12:32 Diego Cabrero
  2005-11-28 18:12 ` Controling Inbound and Outbound traffic simultaneusly Diego Cabrero
  0 siblings, 1 reply; 3+ messages in thread
From: Diego Cabrero @ 2005-11-24 12:32 UTC (permalink / raw)
  To: netfilter-devel, netfilter

Hi everybody,
Here is my situation:
First of all, i need control over the downlink bandwith, so i patched 
kernel (2.4.28), iptables (1.2.11) so that i get IMQ support (imq0 and 
imq1), but when i run the traffic control script i've got an error on 
this line:

iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0

The error report is:
iptables v1.2.11: Unknown arg `--todev'
Try `iptables -h' or 'iptables --help' for more information.
RTNETLINK answers: Invalid argument
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory

I've tried a lot of things like change the file's ".IMQ-test" mode , 
check if todev variable exist (it does), don't know what could be next, 
i'd appreciate some help.

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: iptables IMQ command problem
@ 2005-11-24 15:17 Diego Cabrero
  0 siblings, 0 replies; 3+ messages in thread
From: Diego Cabrero @ 2005-11-24 15:17 UTC (permalink / raw)
  To: Artur Szczurzynski, netfilter-devel, netfilter

Is it not supposed to be installed since imq0 and imq1 are working?

Also i compiled kernel choosing IMQ device module option. Insmod the 
imq.o driver as well, but still does not work. There must be something else.

Here is the list of modules loaded while i execute the command.


Module                  Size  Used by    Not tainted
------------------------------------------------
ipt_IMQ                  824   0  (unused)
imq                        1140   0  (unused)
cls_fw                    2520   1  (autoclean)
ipt_MARK              760   2  (autoclean)
sch_htb                20928   3  (autoclean)
8139too               13768   1
mii                          2464   0  [8139too]
crc32                      2912   0  [8139too]
e100                     49972   1
keybdev                  2084   0  (unused)
mousedev                4148   0  (unused)
hid                         21188   0  (unused)
input                        3488   0  [keybdev mousedev hid]
ehci-hcd                 18412   0  (unused)
usb-uhci                  23184   0  (unused)
usbcore                   62988   1  [hid ehci-hcd usb-uhci]


Is it not supposed to be installed since imq0 and imq1 are working?

Also i compiled kernel choosing IMQ device module option.




Artur Szczurzynski wrote:

>
> Hi,
>
> You need to load IMQ Device (imq) module in /etc/modules
> __________________________ *
> initiative** *· · · · ·
> Artur Szczurzynski/
> Network Administrator/*
> T  *+48 22 57 23 389 *
> F  *+48 22 57 23 301*
> C  *+48 505 129 241*
> E  *artur.szczurzynski@pl.initiative.com
>
Hi everybody,
Here is my situation:
First of all, i need control over the downlink bandwith, so i patched 
kernel (2.4.28), iptables (1.2.11) so that i get IMQ support (imq0 and 
imq1), but when i run the traffic control script i've got an error on 
this line:

iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0

The error report is:
iptables v1.2.11: Unknown arg `--todev'
Try `iptables -h' or 'iptables --help' for more information.
RTNETLINK answers: Invalid argument
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory

I've tried a lot of things like change the file's ".IMQ-test" mode , 
check if todev variable exist (it does), don't know what could be next, 
i'd appreciate some help.

Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-28 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-24 12:32 iptables IMQ command problem Diego Cabrero
2005-11-28 18:12 ` Controling Inbound and Outbound traffic simultaneusly Diego Cabrero
  -- strict thread matches above, loose matches on Subject: below --
2005-11-24 15:17 iptables IMQ command problem Diego Cabrero

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.