[asterisk-bugs] [Asterisk 0014287]: [patch] tcptls.c doesn't set correct remote_address

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 04:26:40 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14287 
====================================================================== 
Reported By:                jamesgolovich
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14287
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 169487 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-20 13:28 CST
Last Modified:              2009-01-21 04:26 CST
====================================================================== 
Summary:                    [patch] tcptls.c doesn't set correct remote_address
Description: 
With the recent changes to the tcptls.c code the local info was being
stored in the tcptls_session struct instead of the remote info for client
side work.  This fixes that so the real info instead of 0.0.0.0/0 is shown

This also makes sip_tcp_locate find the correct session for clients.

I was digging through this looking for what was leaking fd's since I was
eventually running out of them since the client code was opening a new
session every time because sip_tcp_locate was never finding the same
session
====================================================================== 

---------------------------------------------------------------------- 
 (0098307) svnbot (reporter) - 2009-01-21 04:26
 http://bugs.digium.com/view.php?id=14287#c98307 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 169621

_U  branches/1.6.0/

------------------------------------------------------------------------
r169621 | russell | 2009-01-21 04:26:40 -0600 (Wed, 21 Jan 2009) | 17
lines

Blocked revisions 169620 via svnmerge

........
r169620 | russell | 2009-01-21 04:26:07 -0600 (Wed, 21 Jan 2009) | 10
lines

Fix a regression in TCP support.

This patch fixes a problem that caused chan_sip to think that every open
TCP session
was to a remote address of 0.0.0.0:0.

(closes issue http://bugs.digium.com/view.php?id=14287)
Reported by: jamesgolovich
Patches:
      bug-14287.diff.txt uploaded by jamesgolovich (license 176)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=169621 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 04:26 svnbot         Checkin                                      
2009-01-21 04:26 svnbot         Note Added: 0098307                          
======================================================================




More information about the asterisk-bugs mailing list