All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislav Kruchinin <stas@crypt.org.ru>
To: netfilter@lists.netfilter.org
Subject: problems with connlimit extension
Date: Tue, 17 Jul 2007 21:36:29 +0400	[thread overview]
Message-ID: <469CFE1D.6080006@crypt.org.ru> (raw)

Hello.

I have problems with connlimit module. I've got properly configured, 
patched and compiled kernel 2.6.21.5 and iptables 1.3.8. 
patch-o-matic-ng-20070713 was used.

The module ipt_connlimit is loaded properly, but iptables still can't 
create any rules with it.

# modprobe ipt_connlimit

# lsmod | grep connlimit
ipt_connlimit           4352  0
nf_conntrack           59656  5 
iptable_nat,nf_nat,xt_state,ipt_connlimit,nf_conntrack_ipv4
x_tables               15620  10 
ipt_set,xt_tcpudp,iptable_nat,xt_pkttype,xt_state,xt_multiport,
xt_limit,ipt_REJECT,ipt_connlimit,ip_tables

# iptables -A FORWARD -i eth1 -p tcp --syn \
-m connlimit --connlimit-above 64 -j DROP
iptables: No chain/target/match by that name


Some output from "strace iptables ...":

open("/usr/local/lib/iptables/libipt_connlimit.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\5\0"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=7722, ...}) = 0
mmap2(NULL, 7412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 
= 0x40019000
mmap2(0x4001a000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x4001a000
close(3)                                = 0
open("/usr/local/lib/iptables/libipt_standard.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\4\0"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=6355, ...}) = 0
mmap2(NULL, 6260, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) 
= 0x4001b000
mmap2(0x4001c000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x4001c000
close(3)                                = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */, 
"filter\0\300\3\0\0\0\225\r\346\7\n\0\376d\n\0\376\5\0\0"..., [84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 
"filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [10480]) = 0
setsockopt(3, SOL_IP, 0x40 /* IP_??? */, 
"filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 10732) = -1 
ENOENT (No such file or directory)
write(2, "iptables: No chain/target/match "..., 45iptables: No 
chain/target/match by that name
) = 45
exit_group(1)                           = ?
Process 20418 detached


             reply	other threads:[~2007-07-17 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17 17:36 Stanislav Kruchinin [this message]
2007-07-17 18:20 ` problems with connlimit extension Stanislav Kruchinin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=469CFE1D.6080006@crypt.org.ru \
    --to=stas@crypt.org.ru \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.