* [LARTC] Tcng error
@ 2002-07-16 7:40 S Mohan
2002-07-16 7:52 ` Werner Almesberger
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: S Mohan @ 2002-07-16 7:40 UTC (permalink / raw)
To: lartc
I downloaded tcng and tried to run ./configure. I got the following
error.
---------screen output/ transcript-----------
bash-2.05a# ./configure
building tcsim: yes
/usr/src/linux: no kernel directory
bash-2.05a#
---------end transcript----------------------
Does tcng require recompilation of kernel? I'm using RH7.3. Is there an
rpm for RH? How do I get this going. All help welcome. TIA
Mohan
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [LARTC] Tcng error
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] tcng error lartc
2 siblings, 0 replies; 4+ messages in thread
From: Werner Almesberger @ 2002-07-16 7:52 UTC (permalink / raw)
To: lartc
S Mohan wrote:
> Does tcng require recompilation of kernel?
No, but it needs the kernel and iproute2 source if you want to build
tcsim too. If you don't want tcsim, just run ./configure -n
If you want tcsim, look at the README for instructions.
> I'm using RH7.3. Is there an rpm for RH?
I don't know of any, but it would be good if someone who regularly
builds RPMs for a reasonably large set of distributions/releases
could include tcng (and, of course, let people know). tcng already
supports building RPMs: make rpm and make tcsim-rpms
- Werner
--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] Tcng error
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] tcng error lartc
2 siblings, 0 replies; 4+ messages in thread
From: Alfredo Giordano @ 2002-07-16 16:20 UTC (permalink / raw)
To: lartc
try installing the kernel-source and the kernel-headers packages ;)
Alf
----- Original Message -----
From: "S Mohan" <smohan@vsnl.com>
To: <lartc@mailman.ds9a.nl>
Sent: Tuesday, July 16, 2002 2:28 AM
Subject: [LARTC] Tcng error
> I downloaded tcng and tried to run ./configure. I got the following
> error.
> ---------screen output/ transcript-----------
> bash-2.05a# ./configure
> building tcsim: yes
> /usr/src/linux: no kernel directory
> bash-2.05a#
> ---------end transcript----------------------
>
> Does tcng require recompilation of kernel? I'm using RH7.3. Is there an
> rpm for RH? How do I get this going. All help welcome. TIA
>
> Mohan
>
> _______________________________________________
> 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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LARTC] tcng error
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
2 siblings, 0 replies; 4+ messages in thread
From: lartc @ 2003-11-26 17:33 UTC (permalink / raw)
To: lartc
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-26 17:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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] tcng error lartc
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.