You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/05/26 19:40:47 UTC

[jira] [Created] (TS-804) Without Posix Capabilities, traffic_server is not able to bind restricted ports

Without Posix Capabilities, traffic_server is not able to bind restricted ports
-------------------------------------------------------------------------------

                 Key: TS-804
                 URL: https://issues.apache.org/jira/browse/TS-804
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Leif Hedstrom
             Fix For: 3.1


As of some recent changes with transparent proxy, when running traffic_server standalone (not with traffic_manager), it is unable to bind restricted ports unless it's compiled with Posix capabilities support.

For RPM style distributions, make sure to install: libcap libcap-devel
For Debian style distributions: libcap2 libcap-dev


Also note that when running "normally" (e.g. using the trafficserver startup script, or traffic_manager), this is not a problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TS-804) Without Posix Capabilities, traffic_server is not able to bind restricted ports

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll reassigned TS-804:
----------------------------------

    Assignee: Alan M. Carroll

> Without Posix Capabilities, traffic_server is not able to bind restricted ports
> -------------------------------------------------------------------------------
>
>                 Key: TS-804
>                 URL: https://issues.apache.org/jira/browse/TS-804
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Alan M. Carroll
>             Fix For: 3.1.0
>
>
> As of some recent changes with transparent proxy, when running traffic_server standalone (not with traffic_manager), it is unable to bind restricted ports unless it's compiled with Posix capabilities support.
> For RPM style distributions, make sure to install: libcap libcap-devel
> For Debian style distributions: libcap2 libcap-dev
> Also note that when running "normally" (e.g. using the trafficserver startup script, or traffic_manager), this is not a problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TS-804) Without Posix Capabilities, traffic_server is not able to bind restricted ports

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll resolved TS-804.
--------------------------------

    Resolution: Fixed

Added back the old path in the standalone case, conditionally compiled based on TS_USE_POSIX_CAP. Tested it both ways and it seems to work. It should be noted that server transparency won't work in this case as it requires POSIX capabilities to retain the ability to set the outgoing socket transparent.

> Without Posix Capabilities, traffic_server is not able to bind restricted ports
> -------------------------------------------------------------------------------
>
>                 Key: TS-804
>                 URL: https://issues.apache.org/jira/browse/TS-804
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Leif Hedstrom
>            Assignee: Alan M. Carroll
>             Fix For: 3.1.0
>
>
> As of some recent changes with transparent proxy, when running traffic_server standalone (not with traffic_manager), it is unable to bind restricted ports unless it's compiled with Posix capabilities support.
> For RPM style distributions, make sure to install: libcap libcap-devel
> For Debian style distributions: libcap2 libcap-dev
> Also note that when running "normally" (e.g. using the trafficserver startup script, or traffic_manager), this is not a problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira