Lucas, if you are using rtpproxy the DSCP field of all media packets is set to 0xb8 (decimal 46, behavior EF) automatically. If mediaproxy is used, the argument --tos= of mediaproxy.py can be usefull.
Now you can use tcindex in your tc filters or marks through iptables.
Regards Ezequiel Colombo
----- Original Message ----- From: "Lucas Aimaretto" lucas@cyneric.com To: serusers@lists.iptel.org Sent: Wednesday, May 11, 2005 3:48 PM Subject: [Serusers] QoS with rtp
| Hi all, | | I've used for long time the QoS capabilities of linux for | shaping/prioritizing traffic. Now, i'm willing to prioritize rtp packets | in my lan, over the rest ot packets. I've used the u32 filters, but I | did not really found a nice way of "matching" a rtp packet. I read the | rfc so as to look at the rtp-header and found that the only field wich | does not change its value along time is the version-field. It is located | at the 29th byte ( with byte 0 at the IP heder first byte ). But it is a | really poor way of doing it, because there may be many other packets | wich will "get caugth" by this rule ... | | any ideas ? any experience in the subject ... | | Regards, | | Lucas | | -- | No virus found in this outgoing message. | Checked by AVG Anti-Virus. | Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10/05/2005 | | | _______________________________________________ | Serusers mailing list | serusers@lists.iptel.org | http://lists.iptel.org/mailman/listinfo/serusers |