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

Configure additional rabbitmq listeners #676

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

penguincoder
Copy link
Contributor

The rabbit server will listen for in-cluster communication and local administration on a port calculated as:
${cfg.port} + 20000

This configures that port to use the same listener address as the configuration option.

epmd is a companion process that is used to look up domain names by rabbitmq-server and this also configures that process to listen on the same listener address.

Without this change, the rabbitmq-server is available on all possible interfaces with default credentials. This will expose the server to security risks and compromise unless further configuration is made. To test this, I have configured a rabbitmq to only listen on 127.0.0.1 and I can verify that it is not listening on only a single interface with rabbitmqctl cluster_status and lsof -nP -i | grep beam (on a mac).

The rabbit server will listen for in-cluster communication and
local administration on a port calculated as:
`${cfg.port} + 20000`

This configures that port to use the same listener address as the
configuration option.

`epmd` is a companion process that is used to look up domain names
by `rabbitmq-server` and this also configures that process to listen
on the same listener address.
@domenkozar domenkozar merged commit d3e12ab into cachix:main Jun 21, 2023
@penguincoder penguincoder deleted the rabbitmq-listen-addresses branch June 21, 2023 19:41
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.

None yet

3 participants