-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtpproxy-ng on Centos 5.9 #41
Comments
I'm not aware of any reason why it shouldn't work on CentOS 5.9, but I haven't tried it myself and I also don't recall hearing from anyone who ever did. I would suggest to just try to build it, see what happens and then go from there. Iptables 1.3.5 should be fine, but again there might be some bumps ahead. I see 1.3.6 is hardcoded into the source, so you might have to change that. Again, just give it a go and then we can try to make it work. |
Hi Richard, Thanks for the reply. Ok cool, I am just trying to make the daemon and Im getting; make rtpengine Any ideas which spring to mind? I will of course look to troubleshoot now. Thanks Jon |
That would be from glib... Which version of glib do you have installed? Also make sure you have all the necessary devel packages installed. |
Hi Richard, Ok will check devel packages. In terms of glib; glib.x86_64 1:1.2.10-20.el5 installed Thanks Jon |
Ah yes, that might be a problem. GHashTableIter doesn't exist until glib 2.16. It only affects the "list" command, so I think it's easiest to just take it out if the glib version is too low. I'll commit a fix shortly. |
Try again with 19e0281 installed |
Thank you, I have installed latest version, and fixs the first problem, I now see; Entering directory Sorry to be pain! Thanks Jon |
Looks like your OpenSSL is too old and doesn't support DTLS/SRTP. Do you need this feature? |
I certainly need to implemented SRTP, as have it running well on another Centos Server, where Im interworking RTP to SRTP. This server has openssl-0.9.8e-26.el5_9.1.x86_64. |
According to the changelog, the lowest version to support DTLS/SRTP is 1.0.1 from March 2012. Recommended is at least 1.0.1j as a lot of bugs have been fixed in the meantime. Note that this affects only DTLS/SRTP, not SRTP per se (which theoretically could still be used through the now obsolete SDES). |
Ok cool thank you leave it with me will update shortly. |
Hi Richard, I have been looking at this, and as openssl is a core package, my fear is this will impact many other packages related to it. I assume you have to yum remove the old version, before looking to install the new version? Are there any repo's you know of that can be used for this? If not possible I will look to move the service to a centos 6.5 box like the rest of my servers. Thanks Jon |
I really don't have much (any) experience with Red Hat/CentOS, so I can't help you with that. One possibility that always exists is to do a manual install: download the OpenSSL source package, compile it yourself and then either don't install it at all, or install it somewhere privately, out of the way. Then when compiling rtpengine, tell it not to use the system's OpenSSL but rather the one you've compiled (possibly statically linked in). |
Yes thats an idea about installing it out of the way. so the final question Richard (and sorry for having so many) is where in the rtpengine install script should I repoint it to my new OpenSSL ? Thanks Jon |
You'd have to modify the makefile. The makefile pulls in the necessary compiler and linker flags through pkg-config:
You'd need to take these out and replace them with appropriate compiler and linker flags to pull the library files from whatever other location you've installed them to, e.g. As a final complication, it's possible that some of the other libraries also link against OpenSSL. The xmlrpc library is a candidate for that. If that is so, then a different static version of the same library may or may not work. If it doesn't, you can try with a dynamic library and use the LD_LIBRARY_PATH variable when starting the final binary to make it find the new file. This should work as long as there aren't any compatibility issues between the versions. Alternatively, you can also build a new xmlrpc library which links against the new OpenSSL, same procedure. Or remove the xmlrpc dependency altogether and disable those parts of the code. Either way, prepare for a bumpy road ahead. |
Thanks Richard, I have aborted mission and moved to another new Centos 6 box. Thank you for your input as ever. Jon |
Hi Guys,
Just trying to install rtpengine on a server running Centos 5.9, and I can see iptables v1.3.5 is in place.
First question, will rtpengine work on Centos 5.9 (as I normally use 6.5 and it works great), and then also I believe I have to upgrade iptables to minimum version 1.4.3.
Is that correct?
Many thanks
Jon
The text was updated successfully, but these errors were encountered: