[asterisk-dev] [Code Review] Randomize IAX2 encryption padding
David Vossel
dvossel at digium.com
Fri Mar 13 11:24:21 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/193/
-----------------------------------------------------------
Review request for Asterisk Developers and Russell Bryant.
Summary
-------
The 16-32 byte random padding at the beginning of an encrypted IAX2 frame turns out to not be all that random at all. This patch calls ast_random to fill the padding buffer with random data. The padding is randomized at the beginning of every encrypted call and for every encrypted retransmit frame.
Diffs
-----
/trunk/channels/chan_iax2.c 181963
Diff: http://reviewboard.digium.com/r/193/diff
Testing
-------
ran an encrypted call, everything worked as expected.
Thanks,
David
More information about the asterisk-dev
mailing list