Skip to content

Fix ISPN localhost binding filtering#331

Open
ShiroKSH wants to merge 1 commit into
pterodactyl:developfrom
ShiroKSH:fix-ispn-local-bindings
Open

Fix ISPN localhost binding filtering#331
ShiroKSH wants to merge 1 commit into
pterodactyl:developfrom
ShiroKSH:fix-ispn-local-bindings

Conversation

@ShiroKSH

Copy link
Copy Markdown

Summary

  • Filter localhost Docker port bindings in ISPN mode without modifying the slice being ranged over.
  • Delete empty port entries after filtering so dropped localhost ports are not exposed.
  • Add regression coverage for localhost rewrite and ISPN drop behavior.

Tests

  • GOOS=linux GOARCH=amd64 GOPROXY=direct go test -c ./environment

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.

1 participant