[asterisk-bugs] [Asterisk 0016673]: [patch] TLS socket file descriptor fails to open (with no error message in log)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 16 15:07:49 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16673 
====================================================================== 
Reported By:                michaesc
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16673
Category:                   Core/Portability
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.4
Asterisk Version:           SVN 
JIRA:                       SWP-779 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-22 10:55 CST
Last Modified:              2010-02-16 15:07 CST
====================================================================== 
Summary:                    [patch] TLS socket file descriptor fails to open
(with no error message in log)
Description: 
On platforms missing funopen(3) or fopencookie(3) DO_SSL is undefined in
main/tcptls.h. Other files including tcptls.h will fail in their TLS
operations, because of this portability problem.

In the most basic case of configuring (in sip.conf) the TLS variables
properly, one expects the TLS logic to open the necessary TCP socket file
descriptors. Asterisk (see tcptls.c) doesn't do it on all supported
platforms, and doesn't even write any error or debug message to the log
announcing the problem.


====================================================================== 

---------------------------------------------------------------------- 
 (0118127) svnbot (reporter) - 2010-02-16 15:07
 https://issues.asterisk.org/view.php?id=16673#c118127 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 246984

_U  branches/1.6.0/
U   branches/1.6.0/main/tcptls.c

------------------------------------------------------------------------
r246984 | dvossel | 2010-02-16 15:07:48 -0600 (Tue, 16 Feb 2010) | 14
lines

Merged revisions 246980 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246980 | dvossel | 2010-02-16 14:54:48 -0600 (Tue, 16 Feb 2010) | 8
lines
  
  warning message if openssl support is missing while attempting tls
connection
  
  (closes issue https://issues.asterisk.org/view.php?id=16673)
  Reported by: michaesc
  Patches:
        tls_error_msg.diff uploaded by dvossel (license 671)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-16 15:07 svnbot         Checkin                                      
2010-02-16 15:07 svnbot         Note Added: 0118127                          
======================================================================




More information about the asterisk-bugs mailing list