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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sat Jan 11 09:45:03 CST 2014


Corey Farrell created ASTERISK-23134:
----------------------------------------

             Summary: [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: 12.0.0, 11.7.0, 1.8.25.0, SVN
         Environment: CentOS 6, SELinux enabled with default settings
            Reporter: Corey Farrell
         Attachments: res_rtp_asterisk-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