All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@lists.netfilter.org>
Subject: Re: max number of connection
Date: Mon, 08 Jan 2007 21:02:27 -0600	[thread overview]
Message-ID: <45A305C3.2020809@riverviewtech.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0701082143060.23737@yvahk01.tjqt.qr>

On 01/08/07 14:43, Jan Engelhardt wrote:
> -m connlimit


Not to be a stickler, but does connlimit have a way to control the total 
number of combined in AND out bound connections a host has?  I.e. if you 
were to run this on a gateway where you wanted to limit a computer 
behind it to a grand total of 10 connections?  Wouldn't connlimit 
usually be applied in such a way as to watch traffic in one direction 
and another rule to watch the traffic in the other direction?  I.e. 10 
outbound connections in addition to 3 inbound connections thus totaling 
13 connections?  Or does connlimit take care of this internally?

I think an answer that I have seen to this in the past has used bridging 
where you would watch for packets entering the bridge and leaving the 
bridge at the same time.  This way, one rule would catch all inbound AND 
outbound traffic.

Thoughts / comments / opinions / suggestions are welcomed.



Grant. . . .


  reply	other threads:[~2007-01-09  3:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-08 13:19 max number of connection Carlos Eduardo R. L. de Miranda
2007-01-08 13:19 ` Carlos Eduardo R. L. de Miranda
2007-01-08 20:43   ` Jan Engelhardt
2007-01-09  3:02     ` Grant Taylor [this message]
2007-01-09 15:01       ` Jan Engelhardt

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=45A305C3.2020809@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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.