Linux Netfilter discussions
 help / color / mirror / Atom feed
* CONNLIMIT
@ 2005-03-30 16:35 Luiz C. Spies
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread
* CONNLIMIT
@ 2005-04-06 20:50 Luiz C. Spies
  2005-04-07  9:29 ` CONNLIMIT Rio Martin.
  0 siblings, 1 reply; 11+ 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] 11+ messages in thread
* connlimit
@ 2007-01-10 12:01 Martin Schiøtz
  0 siblings, 0 replies; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread
* connlimit
@ 2011-03-07 11:53 benjamin fernandis
  2011-03-07 12:04 ` connlimit Jan Engelhardt
  0 siblings, 1 reply; 11+ 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] 11+ messages in thread

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 16:35 CONNLIMIT Luiz C. Spies
  -- strict thread matches above, loose matches on Subject: below --
2005-04-06 20:50 CONNLIMIT Luiz C. Spies
2005-04-07  9:29 ` CONNLIMIT Rio Martin.
2007-01-10 12:01 connlimit Martin Schiøtz
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox