GNU ZRTP for pjproject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

in an e-mail to this list (Nov 21) I described how to integrate
GNU ZRTP into pjproject and thus enable ZRTP for pjmedia / pjsua
based clients.

After some hacking and testing here a first working GNU ZRTP
implementation for pjproject. I tested the patch against the
official pjproject-1.8.5 release and it worked, the same patch
also works with SVN revision 3385.

Prerequisites to enable GNU ZRTP for pjproject:

Get the latest SVN for GNU ZRTP project and build GNU ZRTP. The
path is: http://svn.savannah.gnu.org/svn/ccrtp/trunk/
Then change to ccrtp/extensions/zrtp and perform the usual
configuration and make. GNU ZRTP provides autoconf and cmake
based configuration. To build GNU ZRTP without ccRTP support
(usually not needed if you use pjproject) apply the parameter
"--without-ccrtp" to configure script or use "-Ddisable-ccrtp"
if you use cmake to create the configuration.

If you don't disable ccrtp then the configuration checks for
GNU ccRTP and some other libs.

After you built GNU ZRTP install it using make install. By default
it installs in the /usr/local/ hierarchy. If you have GNU ccRTP
installed make sure to uninstall it and rebuild you GNU ccRTP based
clients if necessary.

The GNU ZRTP for pjproject requires an openSSL development
environment because it uses the bignum, SHA245, SHA384 and
AES cipher functions from libcrypto.

After you installed the latest GNU ZRTP (version 1.5.2) and you
applied the patches you can run the aconfigure script and proceed
as usual.

The patch creates a new sample program in pjsip-apps/src/samples
that shows how to enable ZRTP on the pjmedia RTP level.

Attached to this mail is a short, hacked version of the simple-pjsua
sample program that shows how to use ZRTP with the pjsua lib.

Please be aware that this is a first version and it may contain bugs
or other problems. However, the ZRTP protocol interoperability was
check against other implementations already and shall not give
problems :-).

The header files contain documentation which should be ready for
doxygen - however, I didn't test a doxygen run.

Have fun.

Best regards,
Werner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-in-first-version-of-GNU-ZRTP-for-pjproject.patch.gz
Type: application/x-gzip
Size: 40770 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101205/2d7e060c/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple_pjsua.zip
Type: application/zip
Size: 3743 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101205/2d7e060c/attachment-0001.zip>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux