Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: connection limit per ip
Date: Tue, 20 Jul 2004 09:53:38 +0100	[thread overview]
Message-ID: <200407200953.40058.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20040720055237.12274.qmail@web40702.mail.yahoo.com>

On Tuesday 20 July 2004 6:52 am, Mohammad Shakir wrote:

> I have red hat linux 7.3 with normail dialup and i have 15 clients which
> are connected with my linux box.
>
> I am using simple MASQUERADING for internet sharing, now i want to put
> limit of 1kb limit for each user.

Try the "dstlimit" match in current versions of netfilter.

Quoting from the man page: "This module allows you to  limit  the  packet  per  
second (pps) rate on a per destination IP or per destination port base.  As 
opposed to the `limit' match, every  destination ip / destination port has 
it's own limit."

Regards,

Antony.

-- 
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".

                                                     Please reply to the list;
                                                           please don't CC me.



      reply	other threads:[~2004-07-20  8:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20  5:52 connection limit per ip Mohammad Shakir
2004-07-20  8:53 ` Antony Stone [this message]

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=200407200953.40058.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox