Bug 88331
Summary: | dante listens on random port if privileged port is set and sameport option on | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Powertools | Reporter: | Silvio Macedo <smacedo> | ||||
Component: | dante | Assignee: | Tim Powers <timp> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-04-10 17:22:20 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Silvio Macedo
2003-04-09 00:36:18 UTC
Created attachment 91022 [details]
A patch that replaces wrong use of bindrecvport by normal bind.
While bindresvport() in BSD will use the suggested port
in the argument to the call, in GNU libc, it won't.
Hence, if "sameport" and a port < 1024 is choosen, dante
will end up listening on a random port. In this patch,
the call to bindresvport is replaced, _minimizing_
changes, with a call to normal bind.
The Powertools product was end of life'ed in (IIRC) December. For more information on the currently supported products please visit: http://www.redhat.com/apps/support/errata/ |