> Send LARTC mailing list submissions to > lartc@mailman.ds9a.nl > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > or, via email, send a message with subject or body ''help'' to > lartc-request@mailman.ds9a.nl > > You can reach the person managing the list at > lartc-owner@mailman.ds9a.nl > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of LARTC digest..." > > > Today''s Topics: > > 1. Re: Sip Traffic (sophana) > 2. Re: Sip Traffic (Suresh Babu) > 3. Usubscribe (corey@core-techweb.com) > 4. Re: Sip Traffic (sophana) > 5. HTB - Rate errors (Luke McConnell) > 6. Re: Sip Traffic (Marius Corici) > 7. Re: HTB - Rate errors (Luciano Ruete) > 8. trying to get time control working (William Bohannan) > 9. trying to get time working - had error in first email > (William Bohannan) > 10. how to change classful netem loss probability? (George Nychis) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 26 Apr 2006 16:26:27 +0200 > From: sophana <sophana@zizi.ath.cx> > Subject: Re: [LARTC] Sip Traffic > To: lartc@mailman.ds9a.nl > Message-ID: <444F8313.7020703@zizi.ath.cx> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > what about using a sip proxy? > I''m not sure, but the rtp traffic goes though the sip proxy does it? > then you can prioritize traffic with the sip proxy process user id > (assuming that you can have a proxy on your router) > > I have a much more basic question: > I installed a qos script based on wondershaper, which is htb based. > With voip, the result is not correct (I''ve lot of bandwidth with max prio) > How can I mix absolute priority (for voip) with htb? > > Thanks > > LinuXKiD wrote: > >>Hi. >> >>there is a way to MARK udp VOIP (SIP) traffic, >>in order to put in a highest prio class ? >> >>Traffic flow seems start on udp 5060 port, but >>next both server and client seems jump to a >>random(?) port. >> >>I can''t use CONNMARK because is udp traffic. >> >>I only see a pattern for L7 patch in order to >>SIP traffic identification , but I run 2.4 >>kernel series . >> >>When you patch 2.4 kernel with L7 patch, >>later, Connmark (patch o matic ) can''t apply. >>(conflicts) >> >>thank you. >>-- >>Andres >>_______________________________________________ >>LARTC mailing list >>LARTC@mailman.ds9a.nl >>http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc >> >> >> > > > > ------------------------------ > > Message: 2 > Date: Wed, 26 Apr 2006 20:25:58 +0530 > From: "Suresh Babu" <jv.suri@gmail.com> > Subject: Re: [LARTC] Sip Traffic > To: lartc@mailman.ds9a.nl > Message-ID: > <35a277ac0604260755j4a9d3cf7xcecda5580b1c88d6@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I think RTP traffic doesn`t flow through SIP proxy. Only SIP packets flows > through SIP proxy and RTP traffic flows end to end. > > correct me if i`m not. > > Regards, > Suresh Babu > > > On 4/26/06, sophana <sophana@zizi.ath.cx> wrote: >> >> what about using a sip proxy? >> I''m not sure, but the rtp traffic goes though the sip proxy does it? >> then you can prioritize traffic with the sip proxy process user id >> (assuming that you can have a proxy on your router) >> >> I have a much more basic question: >> I installed a qos script based on wondershaper, which is htb based. >> With voip, the result is not correct (I''ve lot of bandwidth with max >> prio) >> How can I mix absolute priority (for voip) with htb? >> >> Thanks >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.ds9a.nl/pipermail/lartc/attachments/20060426/2cd53d4f/attachment-0001.htm > > ------------------------------ > > Message: 3 > Date: Wed, 26 Apr 2006 09:43:45 -0600 (MDT) > From: corey@core-techweb.com > Subject: [LARTC] Usubscribe > To: lartc@mailman.ds9a.nl > Message-ID: > <60598.68.148.151.1.1146066225.squirrel@webmail.hosting-thenet.com> > Content-Type: text/plain;charset=iso-8859-1 > > > > > > ------------------------------ > > Message: 4 > Date: Wed, 26 Apr 2006 18:01:17 +0200 > From: sophana <sophana@zizi.ath.cx> > Subject: Re: [LARTC] Sip Traffic > To: lartc@mailman.ds9a.nl > Message-ID: <444F994D.8030105@zizi.ath.cx> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Suresh Babu wrote: > >> I think RTP traffic doesn`t flow through SIP proxy. Only SIP packets >> flows through SIP proxy and RTP traffic flows end to end. >> >> correct me if i`m not. >> > would it depend on the kind of sip proxy? > I thought that one of the sip proxy functions was to resolve rtp NAT > problems. > >> >> I have a much more basic question: >> I installed a qos script based on wondershaper, which is htb based. >> With voip, the result is not correct (I''ve lot of bandwidth with >> max prio) >> How can I mix absolute priority (for voip) with htb? >> >> Thanks >> > can someone please answer that (surely basic) question? > What structure should I have? > prio on top? > > > > ------------------------------ > > Message: 5 > Date: Wed, 26 Apr 2006 17:00:38 +0100 > From: "Luke McConnell" <lmcconnell@devonshire.co.uk> > Subject: [LARTC] HTB - Rate errors > To: <lartc@mailman.ds9a.nl> > Message-ID: > <12421721E1085D499E852084C41F9A28378960@OTLONEXCH1.london.officetiger.com> > > Content-Type: text/plain; charset="us-ascii" > > Hi, > > I''m trying to get HTB working correctly on Centos4 (RHEL-based) with > kernel 2.6.9-34.EL. I have two gigabit network interfaces bridged > together and I have created the following: > > tc qdisc add dev eth2 root handle 1: htb default 1 r2q 8000 > tc class add dev eth2 parent 1: classid 1:1 htb rate 100Mbit burst 24k > cburst 24k > > (I have been trying different parameters). > > The network is passing ~80MBits of traffic but HTB is not seeing the > rate correctly (which obviously causes problems when I try to shape a > sub-set of the traffic). These are approx 1 second apart: > > [root@ ~]# tc -s -d class sh dev eth2 > class htb 1:1 root prio 0 quantum 1562 rate 100Mbit ceil 100Mbit burst > 24Kb/8 mpu 0b overhead 0b cburst 24Kb/8 mpu 0b overhead 0b level 0 > Sent 654872932 bytes 830973 pkts (dropped 0, overlimits 0 requeues 0) > rate 7827086bit 9941pps > lended: 830973 borrowed: 0 giants: 0 > tokens: 1479 ctokens: 1479 > > [root@ ~]# tc -s -d class sh dev eth2 > class htb 1:1 root prio 0 quantum 1562 rate 100Mbit ceil 100Mbit burst > 24Kb/8 mpu 0b overhead 0b cburst 24Kb/8 mpu 0b overhead 0b level 0 > Sent 663902498 bytes 842747 pkts (dropped 0, overlimits 0 requeues 0) > rate 7827086bit 9941pps > lended: 842747 borrowed: 0 giants: 0 > tokens: 1527 ctokens: 1527 > > That''s a transfer of around 9MBytes, yet HTB is only reporting just > under 8Mbits/sec. Has anyone got any suggestions for me to try? > > Many thanks, > > Luke > > > > > > ------------------------------ > > Message: 6 > Date: Wed, 26 Apr 2006 18:27:05 +0200 > From: "Marius Corici" <coricim@gmail.com> > Subject: Re: [LARTC] Sip Traffic > To: sophana <sophana@zizi.ath.cx> > Cc: lartc@mailman.ds9a.nl > Message-ID: > <2abc33350604260927kc4abb08n2adf5a7249f61564@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > the RTP traffic does not go through the SIP Proxy. Some solutions to > control > the voice traffic exist. > One is RTP Proxy which communicates with a SER (SIP Express Router) or > OpenSER and does as stated in the name, proxying for RTP. As a side efect > the outbound ports are known. > SIP Proxies do more then nat traversal (in fact this is one of the weak > points in the SIP Protocol). For more info read RFC 3261. > > Marius > > On 4/26/06, sophana <sophana@zizi.ath.cx> wrote: >> >> Suresh Babu wrote: >> >> > I think RTP traffic doesn`t flow through SIP proxy. Only SIP packets >> > flows through SIP proxy and RTP traffic flows end to end. >> > >> > correct me if i`m not. >> > >> would it depend on the kind of sip proxy? >> I thought that one of the sip proxy functions was to resolve rtp NAT >> problems. >> >> > >> > I have a much more basic question: >> > I installed a qos script based on wondershaper, which is htb >> based. >> > With voip, the result is not correct (I''ve lot of bandwidth with >> > max prio) >> > How can I mix absolute priority (for voip) with htb? >> > >> > Thanks >> > >> can someone please answer that (surely basic) question? >> What structure should I have? >> prio on top? >> >> _______________________________________________ >> LARTC mailing list >> LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.ds9a.nl/pipermail/lartc/attachments/20060426/2a4af07e/attachment-0001.html > > ------------------------------ > > Message: 7 > Date: Wed, 26 Apr 2006 13:54:50 -0300 > From: Luciano Ruete <luciano@lugmen.org.ar> > Subject: Re: [LARTC] HTB - Rate errors > To: lartc@mailman.ds9a.nl > Message-ID: <200604261354.51359.luciano@lugmen.org.ar> > Content-Type: text/plain; charset="iso-8859-1" > > El Wednesday 26 April 2006 13:00, Luke McConnell escribi?: >> Hi, >> >> I''m trying to get HTB working correctly on Centos4 (RHEL-based) with >> kernel 2.6.9-34.EL. I have two gigabit network interfaces bridged >> together and I have created the following: >> >> tc qdisc add dev eth2 root handle 1: htb default 1 r2q 8000 >> tc class add dev eth2 parent 1: classid 1:1 htb rate 100Mbit burst 24k >> cburst 24k >> >> (I have been trying different parameters). >> >> The network is passing ~80MBits of traffic but HTB is not seeing the >> rate correctly (which obviously causes problems when I try to shape a >> sub-set of the traffic). These are approx 1 second apart: >> >> [root@ ~]# tc -s -d class sh dev eth2 >> class htb 1:1 root prio 0 quantum 1562 rate 100Mbit ceil 100Mbit burst >> 24Kb/8 mpu 0b overhead 0b cburst 24Kb/8 mpu 0b overhead 0b level 0 >> Sent 654872932 bytes 830973 pkts (dropped 0, overlimits 0 requeues 0) >> rate 7827086bit 9941pps >> lended: 830973 borrowed: 0 giants: 0 >> tokens: 1479 ctokens: 1479 >> >> [root@ ~]# tc -s -d class sh dev eth2 >> class htb 1:1 root prio 0 quantum 1562 rate 100Mbit ceil 100Mbit burst >> 24Kb/8 mpu 0b overhead 0b cburst 24Kb/8 mpu 0b overhead 0b level 0 >> Sent 663902498 bytes 842747 pkts (dropped 0, overlimits 0 requeues 0) >> rate 7827086bit 9941pps >> lended: 842747 borrowed: 0 giants: 0 >> tokens: 1527 ctokens: 1527 >> >> That''s a transfer of around 9MBytes, yet HTB is only reporting just >> under 8Mbits/sec. Has anyone got any suggestions for me to try? > > CentOS''s tc version(iproute2-ss040831) is known to have buggy rates(at > least > for htb). You have to multiply by 8 the rate value. > > You can use htb-stats[1] script made bye jjo ciarlante, it is bery usefull > to > see real-time htb class rates, this script has a (soft)fix for the bug in > CentOS and display htb rates correctly. > > [1] http://freshmeat.net/projects/htb-stats/ > -- > Luciano > > > ------------------------------ > > Message: 8 > Date: Wed, 26 Apr 2006 17:55:03 -0000 > From: "William Bohannan" <william.bohannan@spidersat.net> > Subject: [LARTC] trying to get time control working > To: <lartc@mailman.ds9a.nl> > Message-ID: <003d01c6695a$9220e400$043bdcc1@ACCSSWILLIAM> > Content-Type: text/plain; charset="us-ascii" > > Hi > > I am currently trying to get time control working but come up with an > error.. > > /sbin/iptables -t mangle -A ms-chain-eth0-1:11 -m time --datestart > 2006:01:26:17:00:00 --datestop 2006:12:26:18:00:00 -j CLASSIFY --set-class > 1:111 > > iptables: Unknown error 4294967295 > > iptables -m tos -help > > displays the help for it > > > I am using Debian with kernel 2.6.15-2, iproute2-2.6.16-060323, iptables > 1.3.5, patch-o-matic-ng-20060330. > > Any help would be most greatful > > > Regards, > > William > > > > ------------------------------ > > Message: 9 > Date: Wed, 26 Apr 2006 17:58:56 -0000 > From: "William Bohannan" <william.bohannan@spidersat.net> > Subject: [LARTC] trying to get time working - had error in first email > To: <lartc@mailman.ds9a.nl> > Message-ID: <004301c6695b$1ce555d0$043bdcc1@ACCSSWILLIAM> > Content-Type: text/plain; charset="us-ascii" > > Hi > > I am currently trying to get time control working but come up with an > error.. > > /sbin/iptables -t mangle -A ms-chain-eth0-1:11 -m time --datestart > 2006:01:26:17:00:00 --datestop 2006:12:26:18:00:00 -j CLASSIFY --set-class > 1:111 > > iptables: Unknown error 4294967295 > > iptables -m time -help > > displays the help for it > > > I am using Debian with kernel 2.6.15-2, iproute2-2.6.16-060323, iptables > 1.3.5, patch-o-matic-ng-20060330. > > Any help would be most greatful > > > Regards, > > William > > > > ------------------------------ > > Message: 10 > Date: Wed, 26 Apr 2006 18:46:30 -0400 > From: George Nychis <gnychis@cmu.edu> > Subject: [LARTC] how to change classful netem loss probability? > To: LARTC@mailman.ds9a.nl, netdev@vger.kernel.org > Message-ID: <444FF846.7050600@cmu.edu> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > I am using netem to add loss and then adding another qdisc within netem > according to the wiki. Then i want to change the netem drop probability > without having to delete the qdisc and recreate it. I try it but I get > invalid argument: > > thorium-ini hedpe # tc qdisc add dev ath0 root handle 1:0 netem drop 1% > thorium-ini hedpe # tc qdisc add dev ath0 parent 1:1 handle 10: xcp > capacity 54Mbit limit 500 > thorium-ini hedpe # tc -s qdisc ls dev ath0 > qdisc netem 1: limit 1000 loss 1% > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > qdisc xcp 10: parent 1:1 capacity 52734Kbit limit 500p > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > thorium-ini hedpe # tc qdisc change dev ath0 root handle 1:0 netem drop 1% > RTNETLINK answers: Invalid argument > thorium-ini hedpe # tc qdisc change dev ath0 root netem drop 1% > RTNETLINK answers: Invalid argument > > any ideas? > > Thanks! > George > > > ------------------------------ > > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > > End of LARTC Digest, Vol 14, Issue 42 > ************************************* >