From: Buddy wu <ejournal4me@gmail.com>
To: Rob Sterenborg <rob@sterenborg.info>
Cc: netfilter@lists.netfilter.org
Subject: Re: why can't use connlimit ??
Date: Fri, 28 Oct 2005 15:27:57 +0800 [thread overview]
Message-ID: <43a0cdcb0510280027x6236afeco@mail.gmail.com> (raw)
In-Reply-To: <64005.193.173.147.3.1130483580.squirrel@webmail.sterenborg.info>
In the System It has libipt_connlimit.so file. but don't have
ipt_connlimit.ko or .o file. Is this the reason why can't load the
connlimit module?
If it's the reason , then need I recombile the kernel?
I have done so, but When I patch the kernel with the latest patch
of POM, and comblie the kernel. errors occured. Just like I have said
-----------------------------------------------------------------
CC net/ipv4/netfilter/ipt_connlimit.o
net/ipv4/netfilter/ipt_connlimit.c: In function `count_them':
net/ipv4/netfilter/ipt_connlimit.c:68: error: structure has no member
named `proto'
net/ipv4/netfilter/ipt_connlimit.c:94: error: structure has no member
named `infos'
net/ipv4/netfilter/ipt_connlimit.c:101: error: structure has no member
named `infos'
make[3]: *** [net/ipv4/netfilter/ipt_connlimit.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
----------------------------------------------------------
I don't know what's wrong with it . version conflict? or GCC version
not right? or other reason? I don't know why, can you help me?
thanks
2005/10/28, Rob Sterenborg <rob@sterenborg.info>:
> On Fri, October 28, 2005 08:19, Buddy wu wrote:
> > I want to use connlimit to set the connections of each person to a
> > certain number, but when I add a rule using iptables, error occured
> > like these:
> >
> > [root@server1 linux]# /sbin/iptables -A INPUT -m connlimit
> > --connlimit-above 6 -j DROP
> > iptables: No chain/target/match by that name
> >
> > I have searched for this problem, someone said it maybe need to
> > load the ipt_connlimit module. I tried it, but it can not work. I
> > doubted that I have the wrong command.
> > first I use '/sbin/modprobe ipt_connlimit' command ,and then I
> > reaceive the error 'FATAL: Module ipt_connlimit not found.'
> > second, I use '/sbin/modprobe /lib/iptables/libipt_connlimit.so'
> > and then error comes again 'FATAL: Module
> > /lib/iptables/libipt_connlimit.so not found.'
>
> Do you *have* ipt_connlimit ? (Try : "locate ipt_connlimit")
>
> Also, AFAIK such module would be in
> "/lib/modules/<kernel-version>/kernel/net/ipv4/netfilter".
>
>
> Gr,
> Rob
>
>
>
>
next prev parent reply other threads:[~2005-10-28 7:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 6:19 why can't use connlimit ?? Buddy wu
2005-10-28 7:13 ` Rob Sterenborg
2005-10-28 7:27 ` Buddy wu [this message]
2005-10-28 7:45 ` Rob Sterenborg
2005-10-28 7:51 ` Buddy wu
2005-10-28 9:02 ` Rob Sterenborg
2005-10-28 10:23 ` Buddy wu
2005-10-28 16:33 ` /dev/rob0
2005-10-28 17:15 ` Rob Sterenborg
2005-10-29 4:06 ` Buddy wu
2005-10-29 16:57 ` Jozsef Kadlecsik
2005-10-29 4:00 ` Buddy wu
2005-10-29 8:11 ` Rob Sterenborg
2005-10-31 1:49 ` Buddy wu
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=43a0cdcb0510280027x6236afeco@mail.gmail.com \
--to=ejournal4me@gmail.com \
--cc=netfilter@lists.netfilter.org \
--cc=rob@sterenborg.info \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox