All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc filter question.
@ 2003-06-30 14:42 Σταμάτης Κεκές
  2003-06-30 14:50 ` Ethy H. Brito
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Σταμάτης Κεκές @ 2003-06-30 14:42 UTC (permalink / raw)
  To: lartc

Well so far I've used tc with htb with success, installed on a machine 
with two ethernet interfaces acting as a bridge. On eth0 I applied the 
ougoing policy and on eth1 the incomming.
 My users ussualy they use lot of protocols ( IRC, KAZAA and many more ) 
the IRC protocol by itself is from port 6667 up to 7000. So as you 
understand I have to write 300 and more lines for filtering the IRC 
traffic to feed it in a class that I've made up for the minimal 
bandwidth allocation.
 My problem is on how to make a filter to accept sport 6667-7000. I've 
searched but I didn't found anything usefull in the list archives.
 Is there any way to do that or I have to make one filter per port ?

 Best regards
  Stamatis

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [LARTC] tc filter question
@ 2003-02-14 10:19 philipp.berndt
  2003-02-14 15:09 ` Bartek Krajnik
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: philipp.berndt @ 2003-02-14 10:19 UTC (permalink / raw)
  To: lartc

Hello.

I tried this:

$ ./tc qdisc add dev ppp0 root handle 1:0 htb default 12
$ ./tc class add dev ppp0 parent 1:0 classid 1:1 htb rate 125kbit ceil 125kbit
$ ./tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 10kbit ceil 125kbit 
prio 0

$ iptables .... -j MARK --set-mark 11

$ ./tc filter add dev ppp0 parent 1:0 prio 0 protocol ip handle 10 fw flowid 
1:10
RTNETLINK answers: Invalid argument

Can anybody tell me what's wrong with the last line?

I tried it with tc from
http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz
and from iproute2-2.4.7-340.rpm (SuSE 8.1).

Do I need some other kernel module?

Regards,
Philipp
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-10-29  5:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-30 14:42 [LARTC] tc filter question Σταμάτης Κεκές
2003-06-30 14:50 ` Ethy H. Brito
2003-06-30 15:05 ` ???????? ?????
2003-06-30 15:23 ` Ethy H. Brito
2003-07-01  6:00 ` ???????? ?????
  -- strict thread matches above, loose matches on Subject: below --
2003-02-14 10:19 philipp.berndt
2003-02-14 15:09 ` Bartek Krajnik
2003-02-14 16:15 ` Philipp Berndt
2007-10-28 17:48 ` Daniel
2007-10-28 18:55 ` Peter V. Saveliev
2007-10-28 18:56 ` Andreas Mueller
2007-10-29  5:32 ` Michal Soltys

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.