All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Limiting incoming and outgoing traffic
Date: Tue, 04 Nov 2003 18:17:23 +0000	[thread overview]
Message-ID: <marc-lartc-106797223026434@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106795577202182@msgid-missing>

On Tuesday 04 November 2003 15:02, Luciano Lima wrote:
> Hi,
>
> I've read the wondershaper.htb script and realise that it only uses one
> device: ppp.
>
> I have no experience with htb, but I thought that we could only shape
> outgoing traffic for an interface.
> How could the script be written to limit incoming and outgoing traffic
> for the same interface ?
You said it right.  You can only shape outgoing traffic, but you can limit 
incoming and outgoing traffic.  So limiting is not shaping.

For instance, you can limit the incoming traffic from 1 hosts.  Only limiting.  
You can not say (at least not easy), "if there is other bandwidth left, the 
host can use all of it, but it has throttle down to 40% if there is other 
traffc.".  The latter is shaping and can only be done on outgoing traffic.

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2003-11-04 18:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04 14:02 [LARTC] Limiting incoming and outgoing traffic Luciano Lima
2003-11-04 18:17 ` Stef Coene [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=marc-lartc-106797223026434@msgid-missing \
    --to=stef.coene@docum.org \
    --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 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.