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

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Wed Jan 29 10:39:03 CST 2014


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

Kinsey Moore commented on ASTERISK-23134:
-----------------------------------------

Corey,
These patches look good. Feel free to merge them into 1.8, 11, 12, and trunk. The repotools script 'gen_commit_msg' is great for taking care of the boilerplate in commit messages if you don't already know about it.
                
> [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
>            Assignee: Kinsey Moore
>         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