[asterisk-bugs] [Asterisk 0005413]: [patch] Secure RTP (SRTP)

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Sep 13 09:48:41 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=5413 
====================================================================== 
Reported By:                mikma
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   5413
Category:                   Core/RTP
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): trunk 
SVN Revision (number only!): 48491 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             10-09-2005 10:36 CDT
Last Modified:              09-13-2007 09:48 CDT
====================================================================== 
Summary:                    [patch] Secure RTP (SRTP)
Description: 
This patch adds initial support for secure RTP using libsrt[1]. It can
be used in for example an implementation of the sdecriptions draft[2].

[1] http://srtp.sourceforge.net/srtp.html
[2]
http://www.ietf.org/internet-drafts/draft-ietf-mmusic-sdescriptions-12.txt

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010129 Module SRTP can't loaded
====================================================================== 

---------------------------------------------------------------------- 
 kennethZeng - 09-13-07 09:48  
---------------------------------------------------------------------- 
Thank you mikma. 
I try to run ./bootstrap on the unpatched version

[root at localhost asterisk-trunk]# ./bootstrap.sh 
Generating the configure script ...
configure.ac:14: /usr/bin/m4: Warning: sub-expression 1 not present
autom4te: /usr/bin/m4 failed with exit status: 1
configure.ac:14: /usr/bin/m4: Warning: sub-expression 1 not present
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1

Then I try to patch this, and continue to run "./bootstrap" that. The
following are the outputs.

[root at localhost asterisk-trunk]# patch -p1 <
ast_srtp_r81432_mikey_r3412.patch patching file
build_tools/menuselect-deps.in
patching file channels/chan_sip.c
patching file channels/Makefile
patching file channels/sdp_crypto.c
patching file channels/sdp_crypto.h
patching file channels/sdp_mikey.c
patching file channels/sdp_mikey.h
patching file channels/sip_srtp.c
patching file channels/sip_srtp.h
patching file configure.ac
patching file CREDITS
patching file include/asterisk/aes_internal.h
patching file include/asterisk/autoconfig.h.in
patching file include/asterisk/mikey.h
patching file include/asterisk/rtp.h
patching file main/cryptostub.c
patching file main/rtp.c
patching file makeopts.in
patching file res/Makefile
patching file res/mikey.cc
patching file res/mikey.h
patching file res/res_mikey.c
patching file res/res_srtp.c

[root at localhost asterisk-trunk]# ./bootstrap.sh 
Generating the configure script ...
configure.ac:14: /usr/bin/m4: Warning: sub-expression 1 not present
autom4te: /usr/bin/m4 failed with exit status: 1
configure.ac:14: /usr/bin/m4: Warning: sub-expression 1 not present
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1

It seems that the outputs are the same.

ps the whole steps I use. Do I miss something? thanks for your answering.

1.install LIBSRTP
2.install MINISIP Lib 
  #svn co -r3412 svn://svn.minisip.org/minisip/trunk minisip-trunk
  #cd /usr/src/minisip-trunk
  #cd libmutil; ./bootstrap; ./configure --prefix=/usr; make; make
install; 
   cd ..
  #cd libmnetutil; ./bootstrap; ./configure --prefix=/usr; make; make
install;      
   cd ..
  #cd libmcrypto; ./bootstrap; ./configure --prefix=/usr; make; make
install; 
   cd ..
  #cd libmikey; ./bootstrap; ./configure --prefix=/usr; make; make
install; cd ..
3.install Asterisk
  #svn co -81432 http://svn.digium.com/svn/asterisk/trunk asterisk-trunk
  #cd asterisk-trunk
  #wget "http://bugs.digium.com/file_download.php?file_id=15384&type=bug"
  #patch -p1 < ast_srtp_r81432_mikey_r3412.patch
  #./bootstrap 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-13-07 09:48  kennethZeng    Note Added: 0070482                          
======================================================================




More information about the asterisk-bugs mailing list