Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haproxy-portal: listen only on interfaces configured for portal #8581

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

chri2
Copy link
Contributor

@chri2 chri2 commented Mar 5, 2025

Description

haproxy-portal is configured to only listen on IPs of interfaces that are configured to provide the portal. The docker wrapper script is changed to not contain ignored parameters to --publish ports.

Impacts

haproxy for portal will not listen to *:80 and *:443 anymore, but to the IPs of the interfaces configured to have portals listen on them.

Issue

fixes #8539

Delete branch after merge

YES

Checklist

  • Document the feature - changes are actually needed to make packetfence behave like the documentation suggests
  • Add OpenAPI specification
  • Add unit tests
  • Add acceptance tests (TestLink)

Enhancements

  • haproxy-portal listens only to interfaces configured to provide a portal

chri2 added 2 commits March 5, 2025 13:33
`--publish` is ignored in context `--network=host`

inverse-inc#8539 (comment)
Don't listen on interfaces a portal is not expected on. Bind explicitly to IPs of interfaces of types that are documented to contain the portal.

inverse-inc#8539 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

haproxy-portal binds to tcp *:443
1 participant