Hi, when rtpproxy is running as non root user, it gives this error for each request (anyway it doesn't fail):
ERR:create_twinlistener: unable to set TOS to 184: Operation not permitted
I've not checked it running as root however. How could I avoid this error? I don't see options in rtpproxy to dissable the TOS modification.
2009/5/29 Iñaki Baz Castillo ibc@aliax.net:
Hi, when rtpproxy is running as non root user, it gives this error for each request (anyway it doesn't fail):
ERR:create_twinlistener: unable to set TOS to 184: Operation not permitted
I've not checked it running as root however. How could I avoid this error? I don't see options in rtpproxy to dissable the TOS modification.
Ops, running rtpproxy with non root user, I just get the above erro (about TOS) in a server, while in other similar server I don't see it. What could it depend on? something related to the network interface?
Iñaki Baz Castillo wrote:
2009/5/29 Iñaki Baz Castillo ibc@aliax.net:
Hi, when rtpproxy is running as non root user, it gives this error for each request (anyway it doesn't fail):
ERR:create_twinlistener: unable to set TOS to 184: Operation not permitted
I've not checked it running as root however. How could I avoid this error? I don't see options in rtpproxy to dissable the TOS modification.
Ops, running rtpproxy with non root user, I just get the above erro (about TOS) in a server, while in other similar server I don't see it. What could it depend on? something related to the network interface?
Hmm, no idea. Probably it's easier to just comment setsockopt() call out in the rtpp_command.c. I will add option to disable TOS modification.
Regards,
2009/5/29 Maxim Sobolev sobomax@sippysoft.com:
Hmm, no idea. Probably it's easier to just comment setsockopt() call out in the rtpp_command.c. I will add option to disable TOS modification.
Thanks, it would be great.
Iñaki Baz Castillo wrote:
2009/5/29 Maxim Sobolev sobomax@sippysoft.com:
Hmm, no idea. Probably it's easier to just comment setsockopt() call out in the rtpp_command.c. I will add option to disable TOS modification.
Thanks, it would be great.
Check this:
-------- Original Message -------- To: serdev@lists.iptel.org From: Maxim Sobolev sobomax@sippysoft.com Date: Sat, 30 May 2009 02:50:13 +0200 (CEST) Cc: devel@rtpproxy.org Subject: [RTPproxy Devel] CVS:commitlog: rtpproxy main.c manpage.xml rtpp_command.c sobomax 2009/05/30 02:50:13 CEST
SER CVS Repository
Modified files: . main.c manpage.xml rtpp_command.c Log: Allow IP ToS (type of service) setting be disabled by specifying `-t -1' on command line.
Suggested by: Inaki Baz Castillo
While I am here, validabe used-supplied ToS value and throw error if it's too large.
Revision Changes Path 1.90 +3 -1 rtpproxy/main.c http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/main.c.diff?r1=1.89&a... 1.11 +4 -2 rtpproxy/manpage.xml http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/manpage.xml.diff?r1=1... 1.27 +2 -2 rtpproxy/rtpp_command.c http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/rtpp_command.c.diff?r...
Regards,
El Sábado, 30 de Mayo de 2009, Maxim Sobolev escribió:
Iñaki Baz Castillo wrote:
2009/5/29 Maxim Sobolev sobomax@sippysoft.com:
Hmm, no idea. Probably it's easier to just comment setsockopt() call out in the rtpp_command.c. I will add option to disable TOS modification.
Thanks, it would be great.
Check this:
Great, thanks a lot, I'll test it on next week.
-------- Original Message -------- To: serdev@lists.iptel.org From: Maxim Sobolev sobomax@sippysoft.com Date: Sat, 30 May 2009 02:50:13 +0200 (CEST) Cc: devel@rtpproxy.org Subject: [RTPproxy Devel] CVS:commitlog: rtpproxy main.c manpage.xml rtpp_command.c sobomax 2009/05/30 02:50:13 CEST
SER CVS Repository
Modified files: . main.c manpage.xml rtpp_command.c Log: Allow IP ToS (type of service) setting be disabled by specifying `-t -1' on command line.
Suggested by: Inaki Baz Castillo
While I am here, validabe used-supplied ToS value and throw error if it's too large.
Revision Changes Path 1.90 +3 -1 rtpproxy/main.c http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/main.c.diff?r1=1.89&a... r2=1.90 1.11 +4 -2 rtpproxy/manpage.xml http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/manpage.xml.diff?r1= 1.10&r2=1.11 1.27 +2 -2 rtpproxy/rtpp_command.c http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/rtpproxy/rtpp_command.c.diff? r1=1.26&r2=1.27
Regards,
El Sábado, 30 de Mayo de 2009, Iñaki Baz Castillo escribió:
Hmm, no idea. Probably it's easier to just comment setsockopt() call out in the rtpp_command.c. I will add option to disable TOS modification.
Thanks, it would be great.
Check this:
Great, thanks a lot, I'll test it on next week.
Adding "-t -1" in the command line works great (TOS is not modified).
Thanks.