[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 14:54: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:                     assigned
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:              
====================================================================== 
Date Submitted:             2010-01-22 10:55 CST
Last Modified:              2010-02-16 14:54 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.


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

---------------------------------------------------------------------- 
 (0118123) svnbot (reporter) - 2010-02-16 14:54
 https://issues.asterisk.org/view.php?id=16673#c118123 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 246980

U   trunk/main/tcptls.c

------------------------------------------------------------------------
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=246980 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-16 14:54 svnbot         Checkin                                      
2010-02-16 14:54 svnbot         Note Added: 0118123                          
======================================================================




More information about the asterisk-bugs mailing list