asterisk/channels
David Vossel 5f476b6085 Merged revisions 181340 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r181340 | dvossel | 2009-03-11 12:25:31 -0500 (Wed, 11 Mar 2009) | 11 lines
  
  encrypted IAX2 during packet loss causes decryption to fail on retransmitted frames
  
  If an iax channel is encrypted, and a retransmit frame is sent, that packet's iseqno is updated while it is encrypted.  This causes the entire frame to be corrupted.  When the corrupted frame is sent, the other side decrypts it and sends a VNAK back because the decrypted frame doesn't make any sense.  When we get the VNAK, we look through the sent queue and send the same corrupted frame causing a loop.  To fix this, encrypted frames requiring retransmission are decrypted, updated, then re-encrypted.  Since key-rotation may change the key held by the pvt struct, the keys used for encryption/decryption are held within the iax_frame to guarantee they remain correct.
  
  (closes issue #14607)
  Reported by: stevenla
  Tested by: dvossel
  
  Review: http://reviewboard.digium.com/r/192/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@181371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-11 17:34:57 +00:00
..
h323 Fix malloc debug macros to work properly with h323. 2009-03-11 04:06:44 +00:00
misdn Merged revisions 168622 via svnmerge from 2009-01-14 21:51:06 +00:00
xpmr Merged revisions 159025 via svnmerge from 2008-11-25 05:02:11 +00:00
chan_agent.c Merged revisions 171689 via svnmerge from 2009-01-27 21:58:39 +00:00
chan_alsa.c Merged revisions 167095 via svnmerge from 2009-01-12 23:45:51 +00:00
chan_bridge.c Merge phase 1 support for the new bridging architecture. 2009-03-05 18:18:27 +00:00
chan_console.c This is basically a complete rollback of r155401, as it was determined that 2008-11-25 01:01:49 +00:00
chan_dahdi.c Can't set debug level 2 (intense debugging) unless the syntax matches 2009-02-16 17:44:51 +00:00
chan_gtalk.c Issue a warning message if our candidate's IP is the loopback address. 2009-02-12 14:25:03 +00:00
chan_h323.c Add basic (passthrough, playback, record) support for ITU G.722.1 and G.722.1C (also known as Siren7 and Siren14) 2009-02-13 13:35:24 +00:00
chan_iax2.c Merged revisions 181340 via svnmerge from 2009-03-11 17:34:57 +00:00
chan_jingle.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
chan_local.c Prior to masquerade, move the group definitions to the channel performing the 2009-02-17 21:14:18 +00:00
chan_mgcp.c This commit does two things: 2008-11-12 06:46:04 +00:00
chan_misdn.c Merge a large set of updates to the Asterisk indications API. 2009-02-17 20:41:24 +00:00
chan_nbs.c one more place I forgot 2008-05-22 17:50:40 +00:00
chan_oss.c Merged revisions 171187 via svnmerge from 2009-01-25 23:58:00 +00:00
chan_phone.c Silence a build warning. (chan_phone.c:810: warning: value computed is not used) 2008-12-01 23:18:48 +00:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_sip.c Merged revisions 181328 via svnmerge from 2009-03-11 17:26:40 +00:00
chan_skinny.c Add reload support to chan_skinny. 2009-02-27 20:34:00 +00:00
chan_unistim.c Merge a large set of updates to the Asterisk indications API. 2009-02-17 20:41:24 +00:00
chan_usbradio.c Janitor, use ARRAY_LEN() when possible. 2008-12-05 10:31:25 +00:00
chan_vpb.cc incorporates r159808 from branches/1.4: 2008-11-29 17:57:39 +00:00
console_board.c import the recent additions for video console into trunk, 2008-06-29 21:17:14 +00:00
console_gui.c (closes issue #13557) 2008-10-09 14:17:33 +00:00
console_video.c (closes issue #13557) 2008-10-09 14:17:33 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Merge ast_str_opaque branch (discontinue usage of ast_str internals) 2008-12-13 08:36:35 +00:00
iax2-parser.h Merged revisions 181340 via svnmerge from 2009-03-11 17:34:57 +00:00
iax2-provision.c - iax2-provision was not freeing iax_templates structure when unloading the chan_iax2.so module. 2008-12-03 19:25:30 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Fixed iax2 key rotation backwards compatibility 2009-02-13 20:11:55 +00:00
Makefile There is a troublesome assert() in the alsa/control.h header that causes 2008-11-02 04:14:20 +00:00
misdn_config.c Merged revisions 166772 via svnmerge from 2008-12-28 15:15:14 +00:00
vcodecs.c (closes issue #13557) 2008-10-09 14:17:33 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00