Skip to content

Allow different host port and listener port#819

Open
ruvolof wants to merge 4 commits intoBC-SECURITY:mainfrom
ruvolof:allow-different-host-port-and-listener-port
Open

Allow different host port and listener port#819
ruvolof wants to merge 4 commits intoBC-SECURITY:mainfrom
ruvolof:allow-different-host-port-and-listener-port

Conversation

@ruvolof
Copy link
Copy Markdown

@ruvolof ruvolof commented Apr 13, 2026

Describe your changes

This merge request addresses the possibility to have a different host port and bind port (scenario when Empire runs behind a reverse proxy).

The merge requests maintains the old behavior of forcing the bind port into the host if the host port is not specified.

Additionally, while working on this issue I had already noticed another issue with the default uris for malleable profile when missing the stager block. My solution is a bit different than the one currently in main, adding the default uri only when the stager block is not found. During my tests, the original approach ended up creating this additional uri even when the stager block was present (and then it could be randomly selected when generating the launchers).

Issue ticket number and link (if there is one)

#808

Checklist before requesting a review

  • [X ] I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • [-] I have added an entry to CHANGELOG.md
  • I have updated the documentation in docs/ (if applicable)

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