Skip to contentSkip to conversation

-m iplimit

DISCUSSION Manuel Schmitz 2 participants 2 messages Mar 23, 2005 – Mar 24, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I would like to limit the number of connections an IP is allowed to open. (My server is a woody router box.)

# iptables -A FORWARD -s 192.168.0.203 -m iplimit --iplimit-above 100 -j
DROP

The result is always:
# iptables: No chain/target/match by that name

I can't load the module iplimit:

# modprobe ipt_iplimit
# modprobe: Can't locate module ipt_iplimit

while

# modprobe ipt_limit
works fine. 

I found the libipt_iplimit.so module in the same place as lipipt_limit.so. So, why doesn't it work?

--Manuel

Signature · 2 lines
"Happy ProMail" bis 24. März: http://www.gmx.net/de/go/promail
Zum 6. Geburtstag gibt's GMX ProMail jetzt 66 Tage kostenlos!
#1 lore raw
Quoted 6 lines · Manuel Schmitz

I can't load the module iplimit:

# modprobe ipt_iplimit
modprobe: Can't locate module ipt_iplimit

I found the libipt_iplimit.so module in the same place as lipipt_limit.so. So, why doesn't it work?

/lib/iptables/libipt_iplimit.so is a module for /sbin/iptables

/lib/modules/.../ipt_iplimit.* are modules for netfilter itself.

Thus my impression is that your /sbin/iptables supports this extension while your kernel does not.

Make sure you have applied the patch correctly.

Toby