[asterisk-dev] [Code Review] SIP: peer matching TCP/TLS 1.6.0

Russell Bryant russell at digium.com
Thu Sep 10 15:50:05 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/355/#review1063
-----------------------------------------------------------

Ship it!


- Russell


On 2009-09-04 17:05:07, David Vossel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/355/
> -----------------------------------------------------------
> 
> (Updated 2009-09-04 17:05:07)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Using both the ip address and port number to peer match a connection coming in over tcp does not work.  A work around for this issue was committed a few months ago which used the contact header to peer match tcp connections. This is incorrect.  Instead, peer matching for tcp connections should be done by ip address only.
> 
> This patch removes the contact header matching logic and adds logic to match all tcp/tls connections by ip only.
> 
> 
> Diffs
> -----
> 
>   /branches/1.6.0/channels/chan_sip.c 216600 
> 
> Diff: https://reviewboard.asterisk.org/r/355/diff
> 
> 
> Testing
> -------
> 
> made calls via tcp and udp, verified peer matching worked as expected.
> 
> 
> Thanks,
> 
> David
> 
>




More information about the asterisk-dev mailing list