From: "lartc@manchotnetworks.net" <lartc@manchotnetworks.net>
To: lartc@vger.kernel.org
Subject: [LARTC] tcng error
Date: Wed, 26 Nov 2003 17:33:23 +0000 [thread overview]
Message-ID: <marc-lartc-106987099130170@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102680457827380@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 2638 bytes --]
hi all,
below is my tcng configuration (based on wondershaper) which yields an
error that i do not understand ...
can't dump subexpression (if_u32.c, access expected)
[==]--[&.IPv6 address]--[==]--[access]-- (none)
| | | +-- 9
| | | `-- 8
| | `--[offset]--[access]-- (none)
| | | +-- 2
| | | `-- 16
| | `--[<<]--[&]--[access]-- (none)
| | | | +-- 0
| | | | `-- 8
| | | `-- 15
| | `-- 2
| `-- FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
`-- 80
can anyone comment on why this is happening?
additionally, any expressions getting active/passive ftp into $medium
would be greatly appreciated -- i would imagine that i have to mark in
netfilter??
thanks
charles
here comes the config ... :-)
#define DEVICE eth0
#define DOWNLINK 1024
#define UPLINK 512
#include "fields.tc"
#include "ports.tc"
dev DEVICE {
egress {
class (<$high>) if ip_proto == IPPROTO_ICMP ||
tcp_ACK ||
tcp_dport == 8080 ||
tcp_dport == 18082 ||
tcp_dport == 18083;
class (<$medium>) if ip_proto == tcp_dport == 80 ||
tcp_dport == 25 ;
class (<$low>) if 1;
htb () {
class (rate UPLINK kbps, burst 6kB) {
$high = class (prio 1, rate UPLINK kbps)
{ sfq (perturb 10 sec); };
$medium = class (prio 2, rate (0.9*UPLINK) kbps)
{ sfq (perturb 10 sec); };
$low = class (prio 3, rate (0.8*UPLINK) kbps)
{ sfq (perturb 10 sec); };
}
}
}
}
[-- Attachment #2: Type: text/html, Size: 9712 bytes --]
prev parent reply other threads:[~2003-11-26 17:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-16 7:40 [LARTC] Tcng error S Mohan
2002-07-16 7:52 ` Werner Almesberger
2002-07-16 16:20 ` Alfredo Giordano
2003-11-26 17:33 ` lartc [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-106987099130170@msgid-missing \
--to=lartc@manchotnetworks.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 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.