All of lore.kernel.org
 help / color / mirror / Atom feed
From: Walter Haidinger <walter.haidinger@gmx.at>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] why dont packets go where i want?
Date: Thu, 17 Oct 2002 11:01:48 +0000	[thread overview]
Message-ID: <marc-lartc-103485275402787@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103484229426470@msgid-missing>

On Thu, 17 Oct 2002, Kertész Viktor wrote:

> Here you are: (i made ssh,ping,ftp traffic)
> class htb 1:101 parent 1:100 leaf 101: prio 0 rate 10Kbit ceil 30Kbit burst
> 1611b cburst 1637b
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>  lended: 0 borrowed: 0 giants: 0
>  tokens: 1031680 ctokens: 349439
>
> class htb 1:1 root prio 0 rate 300Kbit ceil 300Kbit burst 1983b cburst 1983b
>  Sent 472615 bytes 401 pkts (dropped 0, overlimits 0)
>  rate 5005bps 4pps
>  lended: 401 borrowed: 0 giants: 0
>  tokens: 40788 ctokens: 40788
[--cut--]

You have neither dropped or overlimit packets too. Was traffic really
limited to the specified rate?

> >
> > For passive mode uploads, packets are coming from a private port
> > (>1024) and going to port 21.
> I see. Checked it out with tcpdump.

Small typo though: replace "private" with "public".


> > You cannot shape traffic for downloads with HTB, you'll need ingress
> > instead. I'm not 100% (but quite!) sure there (just into traffic shaping a
> > few days), so would somebody please correct me if I'm wrong here.

> You make me very disappointed. Wondershaper told me that it is possible. I
> just wanted to add a level in the class-tree. I think I have to think about
> it once more. :)

I also had a look at wondershaper.  Wondershaper uses an ingress qdisc for
inbound traffic. Where does it tell you that you can shape _incoming_
traffic with htb?

Walter

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

  parent reply	other threads:[~2002-10-17 11:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17  8:09 [LARTC] why dont packets go where i want? Kertész Viktor
2002-10-17  8:36 ` Francois Dessart
2002-10-17  8:38 ` Francois Dessart
2002-10-17  9:01 ` Kertész Viktor
2002-10-17  9:09 ` Walter Haidinger
2002-10-17  9:29 ` Kertész Viktor
2002-10-17  9:44 ` Francois Dessart
2002-10-17 10:02 ` Walter Haidinger
2002-10-17 10:26 ` Kertész Viktor
2002-10-17 10:44 ` Stef Coene
2002-10-17 11:01 ` Walter Haidinger [this message]
2002-10-17 12:16 ` Kertész Viktor
2002-10-17 13:20 ` Walter Haidinger
2002-10-17 13:25 ` Michael T. Babcock
2002-10-17 16:00 ` James Sneeringer
2002-10-17 20:04 ` Walter Haidinger
2002-10-18  6:21 ` Francois Dessart
2002-10-18  6:41 ` Stef Coene
2002-10-18 17:42 ` James Sneeringer

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-103485275402787@msgid-missing \
    --to=walter.haidinger@gmx.at \
    --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.