[asterisk-bugs] [JIRA] (ASTERISK-24517) TLS support for Solaris, Ming and non-glibc Linux systems

Timo Teräs (JIRA) noreply at issues.asterisk.org
Fri Apr 17 09:06:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225926#comment-225926 ] 

Timo Teräs commented on ASTERISK-24517:
---------------------------------------

I've done some additional analysis now. I think I will just make ast_tcptls_session_instance more opaque. Remove FILE *f, and int fd from it. And write additional helper functions for any functionality earlier used via FILE. This simplifies and unifies the code in many places. And allows to remove lot of the glue wrappers. I suppose the original reason for wrapping it in a FILE was due to fgets() and fprintf() usage in http.c. But I think they are relatively easily replaced.

I hope to get something for testing within a week or two.

> TLS support for Solaris, Ming and non-glibc Linux systems
> ---------------------------------------------------------
>
>                 Key: ASTERISK-24517
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24517
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/Portability
>    Affects Versions: 12.7.0, 13.0.0
>            Reporter: Timo Teräs
>            Assignee: Timo Teräs
>
> TLS is not working on systems without funopen(3) or fopencookie(3). This is a major portability issue as both functions are non-standard extensions.
> Per comment in ASTERISK-15490 I'm creating this improvement issue, as I don't see this bug being created earlier. ASTERISK-24515 is also related, but it is about *regression* of now defunct regular (non-TLS) connections. This bug is about adding the TLS-support for platforms that have never worked earlier.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list