From: "Michael P. Soulier" <michael_soulier@mitel.com>
To: lartc@vger.kernel.org
Subject: [LARTC] tcng and scheduling ssh
Date: Tue, 07 Sep 2004 21:22:38 +0000 [thread overview]
Message-ID: <20040907212238.GK14385@e-smith.com> (raw)
Hey people,
I have the following tcng configuration:
#include "fields.tc"
#include "ports.tc"
dev "eth0" {
egress {
// Voice traffic
class (<$voice>)
if udp_dport >= 20000 && udp_dport <= 23000;
// SSH connections
class (<$interactive>)
if tcp_dport = PORT_SSH;
// Everything else
class (<$other>)
if 1;
prio {
$voice = class { fifo; }
$interactive = class { fifo; }
$other = class { fifo; }
}
}
}
So, this should be a simple prio queue, with the above udp traffic
classified as voice, and getting the highest priority. Second, should be
ssh traffic, and then everything else.
The problem is that while the packet counts on the second band go up
initially after the ssh connection, the subsequent traffic, obviously
handled by iptables connection tracking, seems to all go to the third
band. Should it not all go to the second, as it's still tcp port 22?
Thanks,
Mike
--
Michael P. Soulier <michael_soulier@mitel.com>, 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2004-09-07 21:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 21:22 Michael P. Soulier [this message]
2004-09-08 14:31 ` [LARTC] tcng and scheduling ssh Michael P. Soulier
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=20040907212238.GK14385@e-smith.com \
--to=michael_soulier@mitel.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.