Connlimit problem
Hi list,
I try to configurate a transparent bridge with QoS
I have a pentium computer with two network cards, kernel 2.6.8 with IMQ,WRR,IPP2P and other more patched.
The problem is when i try to include the following rule:
iptables -A PREROUTING -t mangle -m connlimit --connlimit-above 100 -j DROP
If i tried in two steps, i confirm that the module connlimit is installed:
BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit
iptables v1.2.11: You must specify `--connlimit-above'
Try `iptables -h' or 'iptables --help' for more information. BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit --connlimit-above 12 -j DROP
iptables: No chain/target/match by that name
Any idea????Thanks in advange.
Regards
No effect, the same responsed.
# iptables -t filter -A FORWARD -m connlimit --connlimit-above 100 -j DROP iptables: No chain/target/match by that name
# iptables -t filter -A OUTPUT -m connlimit --connlimit-above 100 -j DROP iptables: No chain/target/match by that name
----- Original Message -----
From: "Samuel Díaz García" <[email protected]>
To: "Omar Garcia" <[email protected]>
Sent: Wednesday, January 26, 2005 3:57 PM
Subject: Re: Connlimit problem
Quoted 11 lines
It is working in "filter" table, not in mangle.
Try it, I think connlimit is only for filters.
Say us.
Quoted 4 lines · Omar Garcia
Hi list,
I try to configurate a transparent bridge with QoS
I have a pentium computer with two network cards, kernel 2.6.8 with
IMQ,WRR,IPP2P and other more patched.
Quoted 4 lines
Quoted 4 lines
The problem is when i try to include the following rule:
iptables -A PREROUTING -t mangle -m connlimit --connlimit-above 100 -j
DROP
Quoted 2 lines
Quoted 2 lines
If i tried in two steps, i confirm that the module connlimit is
installed:
Quoted 7 lines
Quoted 7 lines
BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit iptables v1.2.11: You must specify `--connlimit-above' Try `iptables -h' or 'iptables --help' for more information.BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m
connlimit --connlimit-above 12 -j DROP
Quoted 19 lines
Quoted 8 lines
iptables: No chain/target/match by that name
Any idea????Thanks in advange.
Regards
Signature · 8 lines
Samuel Díaz García Director Gerente ArcosCom Wireless, S.L.L. mailto:[email protected] http://www.arcoscom.com móvil: 651 93 72 48 tlfn/fax: 956 70 13 15
Quoted 1 line · Omar Garcia
Hi list,
Hi Omar!
Quoted 6 lines
[...]
If i tried in two steps, i confirm that the module connlimit is installed:BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit iptables v1.2.11: You must specify `--connlimit-above' Try `iptables -h' or 'iptables --help' for more information.
This doesn't confirm that it is. This only tests the iptables 'module' which I will call, an extension library.
Quoted 5 lines
BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit
--connlimit-above 12 -j DROP
iptables: No chain/target/match by that nameThis means the kernel module (called ipt_connlimit) is not loadable or compiled at all.
Quoted 1 line
Any idea????
Yes, patch your kernel or enable this module.
If unsure:
lsmod | grep ipt_connlimit
No result? Then 'modprobe ipt_connlimit'
It works ? Then make sure it properly registered against netfilter:
cat /proc/net/ip_tables_matches | grep connlimit
Quoted 5 lines
Thanks in advange.
Regards
HTH,
Samuel
Hi all!!
Thanks.!!
Now I know that the module isn´t compiled. (cat /proc/net/......) I had patched kernel source with POMng but for any reason the connlimit patch didn´t apply. I am recompiling a new kernel and patched it from zero.
Thanks, I`ll post my advances.
Regards.
----- Original Message -----
From: "Samuel Jean" <[email protected]>
To: "Omar Garcia" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 26, 2005 4:42 PM
Subject: Re: Connlimit problem
Quoted 7 lines · Omar Garcia
Quoted 1 line
Hi list,
Hi Omar!
Quoted 2 lines
[...]
If i tried in two steps, i confirm that the module connlimit is
installed:
Quoted 42 lines
Quoted 4 lines
BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit iptables v1.2.11: You must specify `--connlimit-above' Try `iptables -h' or 'iptables --help' for more information.This doesn't confirm that it is. This only tests the iptables 'module' which I will call, an extension library.
Quoted 5 lines
BridgeWall:/home/omar# iptables -A PREROUTING -t mangle -m connlimit --connlimit-above 12 -j DROP iptables: No chain/target/match by that nameThis means the kernel module (called
ipt_connlimit) is not loadable or compiled at all.Quoted 1 line
Any idea????
Yes, patch your kernel or enable this module.
If unsure:
lsmod | grep
ipt_connlimitNo result? Then 'modprobe
ipt_connlimit'It works ? Then make sure it properly registered against netfilter:
cat
/proc/net/ip_tables_matches| grep connlimitQuoted 5 lines
Thanks in advange.
Regards
HTH,
Samuel
Quoted 8 lines · Omar Garcia
No effect, the same responsed.
# iptables -t filter -A FORWARD -m connlimit --connlimit-above 100 -j DROP iptables: No chain/target/match by that name# iptables -t filter -A OUTPUT -m connlimit --connlimit-above 100 -j DROP iptables: No chain/target/match by that name
To add on my previous post, if you in-kernel compiled the connlimit code, then only :
cat /proc/net/ip_tables_matches
can tell you wheter it is properly loaded or not.
Quoted 14 lines
----- Original Message -----
From: "Samuel Díaz García" <[email protected]>
To: "Omar Garcia" <[email protected]>
Sent: Wednesday, January 26, 2005 3:57 PM
Subject: Re: Connlimit problemQuoted 5 lines
It is working in "filter" table, not in mangle.
Try it, I think connlimit is only for filters.
Say us.
Samuel:
A match type module is valid for any tables. Only the hook matters as some module can't filter some situation.
Exemple: mac match can't filter into OUTPUT or POSTROUTING chains.
What maybe made you confused is that a target type module cares about the table.
Quoted 11 lines
Quoted 11 lines
--
Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.mailto:[email protected]
http://www.arcoscom.com
móvil: 651 93 72 48
tlfn/fax: 956 70 13 15
I like your name 8)
HTH,
Samuel