[asterisk-dev] [Code Review] Randomize IAX2 encryption padding
Russell Bryant
russell at digium.com
Fri Mar 13 14:37:10 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/193/#review544
-----------------------------------------------------------
Ship it!
- Russell
On 2009-03-13 14:34:57, David Vossel wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/193/
> -----------------------------------------------------------
>
> (Updated 2009-03-13 14:34:57)
>
>
> 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 182114
>
> 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