All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Francois Dessart" <fdessart2@ibelgique.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] why dont packets go where i want?
Date: Thu, 17 Oct 2002 08:38:53 +0000	[thread overview]
Message-ID: <marc-lartc-103484411827784@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103484229426470@msgid-missing>


Small mistake, here is the correct answer:

The problem is with your FTP filter:
FTP data are transferred on a dynamic, autonegociated port.
With your filter,  only FTP _control-traffic_ from FTP server would go
to 1:103.

Francois.


> Hello,
>
> The problem is with your FTP filter:
> FTP data are transferred on a dynamic, autonegociated port.
> With your filter,  only FTP control-traffic from _your_  FTP server
> would go to 1:103.
>
>
> Francois.
>
> ----- Original Message -----
> From: "Kertész Viktor" <kviktor@i-trade.hu>
> To: "lartc lista" <LARTC@mailman.ds9a.nl>
> Sent: Thursday, October 17, 2002 10:09 AM
> Subject: [LARTC] why dont packets go where i want?
>
>
> > Dear All!
> >
> > I reach the point that I must ask you what I have to do. I am
beginner
> at
> > traffic shaping and I'm very confused with it. :)
> > Here's my script that doesn't do what I want to do with it:
> > tc qdisc del dev eth1 root
> > tc qdisc add dev eth1 root handle 1 htb default 2 r2q 10
> >
> > tc class add dev eth1 parent 1: classid 1:1 htb rate 300kbit
> > tc class add dev eth1 parent 1: classid 1:100 htb rate 300kbit
> > tc class add dev eth1 parent 1:100 classid 1:101 htb rate 10kbit
ceil
> 30kbit
> > tc class add dev eth1 parent 1:100 classid 1:102 htb rate 10kbit
ceil
> 20kbit
> > tc class add dev eth1 parent 1:100 classid 1:103 htb rate 10kbit
ceil
> 15kbit
> >
> > tc class add dev eth1 parent 1: classid 1:2 htb rate 700kbit burst
15k
> >
> > tc qdisc add dev eth1 parent 1:101 handle 101: sfq perturb 10
> > tc qdisc add dev eth1 parent 1:102 handle 102: sfq perturb 10
> > tc qdisc add dev eth1 parent 1:103 handle 103: sfq perturb 10
> >
> > tc filter add dev eth1 parent 1: protocol ip u32 match ip dst
> 192.168.1.0/24
> > flowid 1:1
> >
> > tc filter add dev eth1 parent 1:1 protocol ip u32 match ip dst
> 192.168.1.2
> > flowid 1:100
> >
> > tc filter add dev eth1 parent 1:100 protocol ip u32 match ip tos
0x10
> 0xff
> > flowid 1:101
> > tc filter add dev eth1 parent 1:100 protocol ip u32 match ip
protocol
> 1 0xff
> > flowid 1:101
> > tc filter add dev eth1 parent 1:100 protocol ip u32 match ip sport
21
> 0xffff
> > flowid 1:103
> >
> > Packets do not go to 1:103 when I download from ftp site. The last 3
> filter
> > doesn't work at all. All packets go to 1:1. I think this
class-system
> > doesn't work the way I think. Do you have any idea where did I make
> the
> > mistake? (of course I want to add much more classes later but it's
> just the
> > test phase) Thank you in advance!
> >
> > Kertész Viktor
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://lartc.org/
>

_______________________________________________
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  8:38 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 [this message]
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
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-103484411827784@msgid-missing \
    --to=fdessart2@ibelgique.com \
    --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.