Displaying 20 results from an estimated 100000 matches similar to: "TCNG Port Range"
2005 Jan 02
0
Performance Loss with HTB/tcng?
Hi,
I try to shape my incoming traffic. I have 2MBit/s DSL bandwith and
the following ruleset (on the internal interface):
$INT="eth1";
$INT_NET=192.168.1.0;
$MAX_IN=2Mbps;
dev $INT {
egress {
class (<$int>) if ip_src:24 == $INT_NET;
class (<$ssh>) if tcp_sport == PORT_SSH;
class (<$smtp>) if tcp_sport == PORT_SMTP;
class (<$http>) if
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
Thank you for your help.
It generates this script :
tc qdisc add dev eth0 handle 1:0 root htb default 2
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 75000bps ceil \
75000bps
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 125000bps
tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 \
0xa000001 0xffffffff at 12 classid 1:1
But I thought it was necessary to
2004 Jul 14
1
tcng/tc setup
Hi all,
Can someone please help with a tcng setup? I have played with tc and tcng in
the past, and now would like to get some serious rules in place. However, I
have a difficulty in setting them up.
My setup is as follows:
One machine working as a firewall:
eth0 is the interface connected to a 512K DSL line
eth1 is connected to a LAN
eth2 is connected to another LAN, a bit like a DMZ
eth1 and
2002 Dec 31
3
[tcng] More complex example?
Hi
I''m completely stuck with the tcng language - I assume there must be
some way to arrange queues hierachically like
eth1
|
TBF
|
PRIO
/ \
class class
but my attempt (below) produces a "inferno.tc:8: qdisc "tbf" has no
classes near "prio"" when run through tcc.
dev eth1 {
egress {
tbf (rate 128kbps, burst 64kb,
2004 Oct 23
0
error making htb example
Newbie here...
tcng version 10b
I''m just learning about htb and using tcng. I am trying to make the
example in
Martin A. Brown''s Traffic Control with tcng and HTB HOWTO v0.5
example 2
/*
* Simply commented example of a tcng traffic control file.
*
* Martin A. Brown <mabrown@securepipe.com>
*
* Example: Using class selection path.
*
* (If you are reading the
2004 Apr 16
1
tcng and ip_len
I can''t seem to match packets less than 512 bytes:
class( <$bulk> )
if tcp_dport == 81 && !( ip_len & 0xfe00 )
;
or
if tcp_dport == 81 && ip_len < 512
Both rules match any packet I send to port 81, even when the total IP length
is much greater than 512 bytes:
class htb 2:4 parent 2:1 leaf 5: prio 1 rate 8000bps ceil 24000bps burst 6Kb
cburst 1839b
Sent
2004 May 24
1
Newbie STILL trying to limit bandwidth - is this script wrong?
My previous message
(http://mailman.ds9a.nl/pipermail/lartc/2004q2/012285.html) didn''t generate
any replies, so I thought I''d try posting what I''ve done trying to solve my
own problem, in hopes that someone will take pity and show me if/where I''m
going wrong.
Just to recap, I''m trying to accomplish this on my server, which streams
RealAudio files
2004 May 05
3
Simple HTB setup with tcng
Hello all,
I am trying to set up a simple htb based system, where packets with
source ip 10.0.0.1 should have their own class.
I plan to use tcng to set it up easier.
Is there something wrong in my tcng file ?
~/tcng$ cat htb
/*
*/
#include "fields.tc"
#include "ports.tc"
dev eth0 {
htb ( ) {
class ( rate 600kbps, ceil 600kbps )
{
2006 Jun 23
2
TCNG question
Hey all, i have a class.
class ( <$call1> ) if ip_dst == 10.100.1.6 && tcp_dport == 22
if ip_src == 10.100.1.4 && tcp_sport == 22
;
Now when i apply this traffic TO 6 on port 22 is indeed limited to the speed
i specify BUT it doesn''t seem to take the src into account at all. If i
change the src to anything, even an address that
2003 Mar 16
0
Subject: [tcng] X:Y to tcng corespondence !
> Message: 8
> Date: Fri, 14 Mar 2003 21:49:49 +0200
> From: raptor <raptor@tvskat.net>
> To: lartc@mailman.ds9a.nl
> Subject: [LARTC] [tcng] X:Y to tcng corespondence !
>
> Is there a easy way that I to get class-id<----->tcng-class-path conversation.... and vs. versa..
>
> --__--__--
There are couple files can be created by tcc:
# cat a.tc
dev
2003 Apr 18
1
ANN: Traffic-Control-tcng-HTB-HOWTO on TLDP
Hello all,
This is just a self-aggrandizing note to inform you all that my rather
brief introduction to traffic control using tcng and HTB is available now
on TLDP.
http://tldp.org/HOWTO/Traffic-Control-tcng-HTB-HOWTO/
I welcome any criticism.
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list /
2004 Sep 21
1
TCNG compilation/translation bug/question
Hi all,
The following ingress statement:
....
$host2 = SLB(cbs 1024kb, cir 2048kbps);
class(<>) if ip_dst == 81.175.84.2 && SLB_else_drop($host2);
....
is compiled by TCNG into the folling tc command:
...
tc filter add dev eth0 parent ffff:0 protocol all prio 1 u32 match u32 0x51af5402 0xffffffff at 16 classid ffff:0 police index 505 rate 256000bps burst 131072 mpu 0 action
2004 Sep 18
1
TCNG on a Linux NAT router question
Hi all,
I want to apply traffic control using TCNG 1.30 on a NAT router. Can I use the IP addresses on my LAN to shape the traffic on the outgoing interface, with other words, does the address translation take place before or after traffic control? (Or does it depend and if so, on what?)
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
2004 Mar 22
2
tcng TCP ACK match
Hello.
I have been trying to duplicate these u32 matching rules using TCNG, but
without much success:
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32\
match ip protocol 6 0xff \
match u8 0x05 0x0f at 0 \
match u16 0x0000 0xffc0 at 2 \
match u8 0x10 0xff at 33 \
flowid 1:10
Wondershaper 1.1a implements this and if I run it things seem to be shaped as
expected. But this TCNG
2004 Oct 04
0
building module with tcng
hi all,
i''m having problems building a module from my tcng configuration file.
could someone verify the syntax for building a kernel module?
i did it as shown below ... module gets built but i cannot load it.
thanks
charles
ps -- sorry, don''t know c++ :-)
[root]# cat /etc/tcng.test
#define LAN "eth0"
#define LAN_INGRESS 750000
#define LAN_EGRESS 750000
dev
2005 Jan 31
1
Problem with tcng
Hi folks,
first of all, sorry for my bad English ^^ and for the fact that I am a Linux
N00b.
I have a little Problem installing TCng on my Debian System. At the make
install command the following error occured:
tar: lib/tcng/include/klib/kernel/include: Cannot stat: no such file or
directory
tar: Error exit delayed from previous errors
Can somebody help me ?
greets
Marcus
--
GMX im TV
2004 Mar 24
1
is dynamic traffic shaping possible by tcng?
I am working on traffic shaping using the nextenso proxy platform(a product of
alcatel)on linux platform, I wish to do dynamic traffic shaping means on a
fly,
is that possible with TCNG??
With Warm Regards,
Aruna Baghel
"Gratitude can transform common days into thanksgivings, turn routine jobs
into
joy, and change ordinary opportunities into blessings."
2004 Jul 21
1
tc script stopped working
I''ve used tc in the past for shaping, upon learning of tcng, I redid my
config, and load it using tcc.
I thought this was great, as the new script is much easier to maintain,
and is so much simpler.
The new script was working for about a week, then it stopped working.
I now get this error:
can''t dump subexpression (if_u32.c, unsupported offset sequence - please
try to reorder
2004 Sep 07
1
tcng and scheduling ssh
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;
//
2002 Oct 08
1
[tcng] tcc specify device
hi,
i was looking tcc --help, there seems to be no way to tell tcc to generate output only for specified device i.e.
tcc -device eth0
m''I mistaken ?
thanx
raptor
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/