All of lore.kernel.org
 help / color / mirror / Atom feed
* connlimit
@ 2006-08-13 23:14 php0t
  2006-08-13 23:40 ` connlimit Phil Oester
  2006-08-14 12:54 ` connlimit Patrick McHardy
  0 siblings, 2 replies; 17+ messages in thread
From: php0t @ 2006-08-13 23:14 UTC (permalink / raw)
  To: netfilter-devel; +Cc: ole


  Dear developers,

I've had a nice time trying to limit connections. The kernel is
2.6.17.8.
Apart from the first couple of annoyances (such as the patch being
renamed from iplimit to connlimit, patch-o-matic not being able to apply
it to the current kernel etc), I've managed to patch manually, compile
it as a module and load it.

  However, when I try to add an according test rule, I get the 'Invalid
argument' error, and dmesg says:
ip_tables: connlimit match: invalid size 0 != 16

I also tried going to the site mentioned in the latest pom-ng's
source.list:

# ipp2p, time, IPMARK and connlimit maintained by Krzysztof Oledzki
<ole@ans.pl>
http://people.netfilter.org/ole/pom/

But all I get is a smiley :)

When I google for my current problem, most suggest that connlimit is
out-of-date, nobody cares about it any more, etc.

As I'm no C coder, my two questions are,
1) what could I do  to make this work ? Are there any similar modules
available that are stable?
2) could it be possible to stabilize this patch and have it added to the
kernel source? There are so many iptables extensions and modules by
default that are probably rarely used, why is this (IMHO very basic)
feature excluded?

  Thanks for reading and any replies
P.

^ permalink raw reply	[flat|nested] 17+ messages in thread
* connlimit
@ 2011-03-07 11:53 benjamin fernandis
  2011-03-07 12:04 ` connlimit Jan Engelhardt
  0 siblings, 1 reply; 17+ messages in thread
From: benjamin fernandis @ 2011-03-07 11:53 UTC (permalink / raw)
  To: netfilter

Hi,

I have a mail server with web server which have 500 customers site and
mail account.Since couple of days i m suffering with so many
connections.

So please guide me to configure ratelimit for that.I need to confiugre
connlimit for http , imap , imaps, pop, smtp.

and also suggest me connlimit value which is ideal for my setup.

OS REDHAT 5.5

Thanks,
Benjo

^ permalink raw reply	[flat|nested] 17+ messages in thread
* connlimit
@ 2007-01-10 14:16 Carlos Miranda
  2007-01-10 15:01 ` connlimit Martin Schiøtz
  2007-01-10 16:05 ` connlimit ArcosCom Linux User
  0 siblings, 2 replies; 17+ messages in thread
From: Carlos Miranda @ 2007-01-10 14:16 UTC (permalink / raw)
  To: netfilter


After downloading patch-o-matic-20031219.tar.bz2 and running "# KERNEL_DIR=/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i586 ./runme pending", I could not see CONNLIMIT module to path the kernel.

anyone to tell with patch need to be installed to have connlimit working?

Thank you,
Carlos

_________________________________________________________________
Ligue para os seus amigos grátis. Faça chamadas de PC-para-PC pelo messenger-- GRÁTIS
http://get.live.com/messenger/overview

^ permalink raw reply	[flat|nested] 17+ messages in thread
* connlimit
@ 2007-01-10 12:01 Martin Schiøtz
  0 siblings, 0 replies; 17+ messages in thread
From: Martin Schiøtz @ 2007-01-10 12:01 UTC (permalink / raw)
  To: netfilter

Hi

Just installed Fedora Core 6 with:
  kernel-2.6.18-1.2869.fc6
  iptables-1.3.5-1.2.1

I want to use connlimit on a bridge (eth0 and eth1) but it gives me this error:
iptables: Unknown error 4294967295

It looks like connlimit is included in iptables
(/lib/iptables/libipt_connlimit.so) but as remember I also need
'ipt_connlimt.ko' module in the kernel. In older days I think I
compiled the kernel with:
CONFIG_IP_NF_MATCH_LIMIT=m

But when I look at the kernel config for kernel-2.6.18-1.2869.fc6 I
see something like:
CONFIG_NETFILTER_XT_MATCH_LIMIT=m

This is something about xtables - what is xtables?

Which module(s) do I need if I want to use 'connlimit'?

Do I need to patch with patch-o-matic?

:-)
Martin


^ permalink raw reply	[flat|nested] 17+ messages in thread
* CONNLIMIT
@ 2005-04-06 20:50 Luiz C. Spies
  2005-04-07  9:29 ` CONNLIMIT Rio Martin.
  0 siblings, 1 reply; 17+ messages in thread
From: Luiz C. Spies @ 2005-04-06 20:50 UTC (permalink / raw)
  To: netfilter

Hi to all, i try many time limit my port 25 to 2 connection, but i have no
achieve success yet!!!

I tried this rulez!
iptables -A INPUT -p tcp --syn --dport 25 -m connlimit --connlimit-above
2 --connlimit-mask 32 -j REJECT --reject-with tcp-reset
iptables -A INPUT -p tcp --syn --dport 25 -m connlimit --connlimit-above
2 -j REJECT
iptables -p tcp --syn --dport 25 -m connlimit --connlimit-above 2 -j REJECT
iptables -p tcp --syn --dport 25 -m connlimit ! --connlimit-above 2 -j
ACCEPT

Anyone has idea!!!???


Greeting's to all!

PS: Sorry about my english!


Luiz C. Spies

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.


^ permalink raw reply	[flat|nested] 17+ messages in thread
* CONNLIMIT
@ 2005-03-30 16:35 Luiz C. Spies
  0 siblings, 0 replies; 17+ messages in thread
From: Luiz C. Spies @ 2005-03-30 16:35 UTC (permalink / raw)
  To: netfilter

Hi to all, i try many time limit my port 25 to 2 connection, but i have no
achieve success yet!!!

I tried this rulez!
iptables -A INPUT -p tcp --syn --dport 25 -m connlimit --connlimit-above
2 --connlimit-mask 32 -j REJECT --reject-with tcp-reset
iptables -A INPUT -p tcp --syn --dport 25 -m connlimit --connlimit-above
2 -j REJECT
iptables -p tcp --syn --dport 25 -m connlimit --connlimit-above 2 -j REJECT
iptables -p tcp --syn --dport 25 -m connlimit ! --connlimit-above 2 -j
ACCEPT

Anyone has idea!!!???


Greeting's to all!

PS: Sorry about my english!


Luiz C. Spies

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Connlimit
@ 2004-02-25 14:33 Michał Margula
  2004-02-25 22:01 ` Connlimit Michał Margula
  0 siblings, 1 reply; 17+ messages in thread
From: Michał Margula @ 2004-02-25 14:33 UTC (permalink / raw)
  To: netfilter-devel

Hello!

	Using latest patch-o-matic and 2.4.25 i have following problem when 'make 
modules':

ipt_connlimit.c: In function `init':
ipt_connlimit.c:219: `ip_conntrack_module' undeclared (first use in this 
function)
ipt_connlimit.c:219: (Each undeclared identifier is reported only once
ipt_connlimit.c:219: for each function it appears in.)
ipt_connlimit.c:220: warning: value computed is not used
ipt_connlimit.c: In function `fini':
ipt_connlimit.c:227: `ip_conntrack_module' undeclared (first use in this 
function)
ipt_connlimit.c:228: warning: value computed is not used
make[2]: *** [ipt_connlimit.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.25/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.25/net'
make: *** [_mod_net] Error 2

It is caused when I choose connlimit as a module. Whats wrong?

-- 
Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]

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

end of thread, other threads:[~2011-03-07 13:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-13 23:14 connlimit php0t
2006-08-13 23:40 ` connlimit Phil Oester
2006-08-14 12:54 ` connlimit Patrick McHardy
2006-08-14 18:18   ` connlimit Krzysztof Oledzki
  -- strict thread matches above, loose matches on Subject: below --
2011-03-07 11:53 connlimit benjamin fernandis
2011-03-07 12:04 ` connlimit Jan Engelhardt
2011-03-07 12:31   ` connlimit benjamin fernandis
2011-03-07 13:18     ` connlimit Jan Engelhardt
2007-01-10 14:16 connlimit Carlos Miranda
2007-01-10 15:01 ` connlimit Martin Schiøtz
2007-01-10 16:05 ` connlimit ArcosCom Linux User
2007-01-10 12:01 connlimit Martin Schiøtz
2005-04-06 20:50 CONNLIMIT Luiz C. Spies
2005-04-07  9:29 ` CONNLIMIT Rio Martin.
2005-03-30 16:35 CONNLIMIT Luiz C. Spies
2004-02-25 14:33 Connlimit Michał Margula
2004-02-25 22:01 ` Connlimit Michał Margula

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.