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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 22 16:22:07 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=5413 
====================================================================== 
Reported By:                mikma
Assigned To:                otherwiseguy
====================================================================== 
Project:                    Asterisk
Issue ID:                   5413
Category:                   Channels/chan_sip/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 48491 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             2005-10-09 10:36 CDT
Last Modified:              2008-12-22 16:21 CST
====================================================================== 
Summary:                    [branch] 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


Update (17/12/2008): Branch against trunk is located here
http://svn.digium.com/svn/asterisk/team/group/srtp
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010129 Module SRTP can't loaded
====================================================================== 

---------------------------------------------------------------------- 
 (0096852) notthematrix (reporter) - 2008-12-22 16:21
 http://bugs.digium.com/view.php?id=5413#c96852 
---------------------------------------------------------------------- 
here the requested debug info!

[Thread 0x40991950 (LWP 20555) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x418b4950 (LWP 20550)]
0x0000000000000000 in ?? ()
(gdb) bt
http://bugs.digium.com/view.php?id=0  0x0000000000000000 in ?? ()
http://bugs.digium.com/view.php?id=1  0x0000000000453bf8 in ?? ()
http://bugs.digium.com/view.php?id=2  0x0000000002540c30 in ?? ()
http://bugs.digium.com/view.php?id=3  0x7fffffff02540c30 in ?? ()
http://bugs.digium.com/view.php?id=4  0x0000000002540c30 in ?? ()
http://bugs.digium.com/view.php?id=5  0x000000000251cc80 in ?? ()
http://bugs.digium.com/view.php?id=6  0x000000000253ce00 in ?? ()
http://bugs.digium.com/view.php?id=7  0x0000000002533ab0 in ?? ()
http://bugs.digium.com/view.php?id=8  0x00000000418a4b80 in ?? ()
http://bugs.digium.com/view.php?id=9  0x00007f267d8f29d8 in dial_exec_full
(chan=0x7f2690c65cbb,
data=0x5790a4, peerflags=0x5790a2, continue_exec=0x418a3880) at
app_dial.c:1754
Backtrace stopped: frame did not save the PC
(gdb) bt full
http://bugs.digium.com/view.php?id=0  0x0000000000000000 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=1  0x0000000000453bf8 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=2  0x0000000002540c30 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=3  0x7fffffff02540c30 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=4  0x0000000002540c30 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=5  0x000000000251cc80 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=6  0x000000000253ce00 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=7  0x0000000002533ab0 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=8  0x00000000418a4b80 in ?? ()
No symbol table info available.
http://bugs.digium.com/view.php?id=9  0x00007f267d8f29d8 in dial_exec_full
(chan=0x7f2690c65cbb,
data=0x5790a4, peerflags=0x5790a2, continue_exec=0x418a3880) at
app_dial.c:1754
	tmp = (struct chanlist *) 0x2538250
	interface = 0x418a34f0 "?5\212A"
	tech = 0x1 <Address 0x1 out of bounds>
	tc = (struct ast_channel *) 0x7f2691787040
	number = 0x460e79 "H\213E?H\211E?H\213E???UH\211?H\203?\020H\211}?H\203}
	di = (struct ast_dialed_interface *) 0x56234c
	callee_features = (struct ast_dial_features *) 0x2f418a34e0
	dialed_interfaces = (struct {...} *) 0x562357
	res = 32550
	rest = 0x2540e68 ""
	cur = 0x7f267b030d0c "SIPCALLID"
	outgoing = (struct chanlist *) 0x7f267b030b5c
	peer = (struct ast_channel *) 0x7b0c70
	to = 2063386692
	num = {chan = 0x5790a1, busy = 5738617, congestion = 0, nochan = 0}
	cause = 0
	numsubst = "
<\212A\004\000\000\000\000??\220&\177\000\000?<\212A\000\000\000\000'\000\000\000\000\000\000\000@?\001\000\000\000\000\000\000??\220&\177\000\000?<\212A\000\000\000\000(\000\000\000\000\000\000\000@?\001\000\000\000\000\000?\025T\002\000\000\000\000\000??\220&\177\000\000O??\220&\177\000\000\000??\220&\177\000\0002?Q\002\000\000\000\000?<\212A\000\000\000\000\000?\003\000\000\000\000\000 at px\221&\177\000\000PI\213A\000\000\000\000\200c\001A\000\000\000\000Y?Q\000\000\000\000\000\200c\001A\000\000\000\000Y?Q\000\000\000\000\000?<\212A\000\000\000\000\020TV\000\000\000\000\000\020TV\000\000\000\000\000"...
	cidname = "?!P\002\000\000\000\000\000?S\002", '\0' <repeats 12 times>, "
b+\215&\177\000\000?!P\002\000\000\000\000\000?S\002\000\000\000\000P=\212A\000\000\000\000?;E\000\000\000\000\0000\fT\002\000\000\000\0000\fT\002???\177"
	config = {features_caller = {flags = 5709190}, features_callee = {flags =
0}, start_time = {tv_sec = 5703151, tv_usec = 0}, 
  feature_timer = 1099576904, timelimit = 124554051585, play_warning = 0,
warning_freq = 1099577320, warning_sound = 0x418a3808 "", 
  end_sound = 0x418a37b0 "??Q\002", start_sound = 0x418a3800 "", firstpass
= 0, flags = 0, end_bridge_callback = 0, end_bridge_callback_data = 0x0, 
  end_bridge_callback_data_fixup = 0x418a31df}
	calldurationlimit = {tv_sec = 1099575968, tv_usec = 0}
---Type <return> to continue, or q <return> to quit---
	dtmfcalled = 0x418a35a0 "\200?%{&\177"
	dtmfcalling = 0x51f546 "H\211E?H\203}
	pa = {sentringing = 39042274, privdb_val = 0, 
  privcid =
"\000\000\000\000\000\000\000\000d\v\003{&\177\000\000?;\212A\000\000\000\000\000\220S\002&\177\000\000\200c\001A\000\000\000\000@?S\002\000\000\000\000\032\021?\220&\177\000\0000\fT\002\000\000\000\000?|${&\177\000\000@?S\002\000\000\000\000@?S\002\000\000\000\000?5\212A\000\000\000\000n?S\002\001\000\000\000\030\000\000\0000\000\000\000P:\212A\000\000\000\000\2209\212A\000\000\000\000?;\212A",
'\0' <repeats 12 times>,
"\b\220S\002\000\000\000\000\030\000\000\0000\000\000\000\200:\212A\000\000\000\000?9\212A\000\000\000\000\020G?\002\000\000\000\000\006\000\000\000\000\000\000\000\024\000\000\000\000\000\000\000xz"...,

  privintro =
"?\035J\220&\177\000\000\000\000\000\000\000\000\000\000X\fG\002\000\000\000\000\000?v\221&\177\000\000P7\212A\000\000\000\000?:\212A\000\000\000\000?:\212A\000\000\000\000?:\212A\000\000\000\000P7\212A\000\000\000\000G\000\000\000\000\000\000\000\2007\212A\000\000\000\000;?Q\002\000\000\000\000??Q\002\000\000\000\000;?Q\002\000\000\000\000\2007\212A\000\000\000\000l\000\000\000\000\000\000\000\0209\212A\000\000\000\000?\005W\000\000\000\000\000\200c\001A\000\000\000\000;?Q\002\000\000\000\000\032\021?\220&\177\000\000\001\200??\000\000\000\000;?Q\002\000\000\000\000;?Q\002\000\000\000\000;?Q\002\000\000\000\000"...,

  status = "\030`@", '\0' <repeats 22 times>,
"Px\221&\177\000\000\017?\216}&\177\000\0008\017A\000\000\000\000\000\030\232\216}&\177\000\000\000\000\000\000\005\000\000\000?\005\000\000\001\000\000\000-\000\000\000\000\000\000\000()E\002\000\000\000\000?<\212A\000\000\000\000}\220\f?\000\000\000\000p<\212A",
'\0' <repeats 12 times>, "\210<\212A\000\000\000\000\236\"W\221&\177", '\0'
<repeats 18 times>, "\005", '\0' <repeats 15 times>,
"P\000\000\000\000\000\000\000?;\212A\000\000\000\000`\000\000\000\000\000\000\000?;\212A\000\000\000\000(\000\000\000\000\000\000\000?;\212A\003\000\000\000,\000\000\000\000\000\000\000()E"...}
	sentringing = 1099577728
	moh = 32550
	outbound_group = 0x418a35b0 "\2009\212A"
	result = 2063387576
	parse = 0x0
	opermode = 0
	args = {argc = 0, argv = 0x418a31f8, peers = 0x418a33f8 "\220?Q\002",
timeout = 0x3000000018 <Address 0x3000000018 out of bounds>, 
  options = 0xd1 <Address 0xd1 out of bounds>, url = 0x0}
	opts = {flags = 139803626074176}
	opt_args = {0x418a3120 "\206\035W", 0x418a3360 "\001", 0x730000d1
<Address 0x730000d1 out of bounds>, 0x418a3a10 "", 
  0x579070 "Channel: %s\r\nVariable: %s\r\nValue: %s\r\nUniqueid: %s\r\n",
0x5705ed "\r\n", 0x0, 0x418a33f8 "\220?Q\002", 
  0xe418a32d0 <Address 0xe418a32d0 out of bounds>, 0xfffffff40051fee2
<Address 0xfffffff40051fee2 out of bounds>, 0x51fe7e
"H\211\225\030???H\215\2050????"}
	datastore = (struct ast_datastore *) 0x2540c30
	ds_caller_features = (struct ast_datastore *) 0x7f267b030d0c
	ds_callee_features = (struct ast_datastore *) 0x253bd40
	caller_features = (struct ast_dial_features *) 0x2533651
	fulldial = 1099577728
	num_dialed = 0
	__PRETTY_FUNCTION__ = "dial_exec_full"
Backtrace stopped: frame did not save the PC
(gdb) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-22 16:21 notthematrix   Note Added: 0096852                          
======================================================================




More information about the asterisk-bugs mailing list