[asterisk-bugs] [JIRA] (ASTERISK-23134) [patch] res_rtp_asterisk port selection cannot handle selinux port restrictions

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sun Jan 12 21:57:03 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell updated ASTERISK-23134:
-------------------------------------

    Attachment: udptl-selinux-compat.patch

Looks like udptl has the same issue.  I've done a compile only test for the udptl patch.  Unlike RTP I don't have a way to test udptl.
                
> [patch] res_rtp_asterisk port selection cannot handle selinux port restrictions
> -------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23134
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23134
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: SVN, 1.8.25.0, 11.7.0, 12.0.0
>         Environment: CentOS 6, SELinux enabled with default settings
>            Reporter: Corey Farrell
>         Attachments: res_rtp_asterisk-selinux-compat.patch, udptl-selinux-compat.patch
>
>
> When a port is reserved by SELinux, ast_bind to that port causes errno == EACCES.  Instead of trying the next port ast_rtp_new gives up.
> As an example CentOS 6 default SELinux reserves udp port 10080-10082 for Amanda backup.  This overlaps the rtp.conf default port range, causing random failed call setup's.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list