Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Dmytro O. Redchuk" <dor@ldc.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] pps limit ?
Date: Thu, 31 Aug 2006 06:06:56 +0000	[thread overview]
Message-ID: <20060831060656.GC24152@ldc.net> (raw)
In-Reply-To: <20060830140726.GA24152@ldc.net>

On Wed, Aug 30, 2006 at 05:22:27PM +0200, Kajetan Staszkiewicz wrote:
> Dnia ?roda, 30 sierpnia 2006 16:07, Dmytro O. Redchuk napisa?(a): 
> > Hello, list members,
> >
> >   can i limit pps rate with linux? How?
> >
> >   -m limit does not fit, as i understood: it can help with low rates only
> >   (is that true? any suggestions?)
> 
> Maybe hashlimit?
May be. I should try. Thanks.

> What do you exactly need to do?
Limit a host's traffic to, let's say, 8.5kpps, drop any "exceeded" packet.

I guess, dstlimit will not help me too :-(

Limiting such a rates on firewalls seems to be too expensive and i don't
mention a firewall (iptables) as a tool for doing that.


No, surely, i am asking for help :-) Is there any tools, which can handle
and limit such pps rates?


-m limit, if i can remember, accepts limits up to 10k, but it seems to be
*terribly* wrong on limiting that... I wish i would be incorrect...


> $IPT -t mangle -I FORWARD -i eth1 -j LIMITPAK
[...]

Thanks, anyway.

> -- 
> | pozdrawiam / greetings | powered by Trustix, Gentoo and FreeBSD   |
> |  Kajetan Staszkiewicz  | jabber,email,www: vegeta()tuxpowered net |
> |        Vegeta          | IMQ devnames: http://www.tuxpowered.net  |
> `------------------------^------------------------------------------'
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2006-08-31  6:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 14:07 [LARTC] pps limit ? Dmytro O. Redchuk
2006-08-30 15:22 ` Kajetan Staszkiewicz
2006-08-31  6:06 ` Dmytro O. Redchuk [this message]
2006-08-31 10:35 ` Roy-Magne Mo
2006-08-31 11:03 ` Dmytro O. Redchuk

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=20060831060656.GC24152@ldc.net \
    --to=dor@ldc.net \
    --cc=lartc@vger.kernel.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