Salt: Feature Request : master listening on many NIC

Created on 1 Jul 2016  路  8Comments  路  Source: saltstack/salt

Hi,

can you make possible for the master config file to add more than one IP

would be handy for pushing configs across multiple networks

thanks

Core Feature stale

Most helpful comment

I'd like to re-open the issue. There are situations where the local firewall is not the solution and :: (or 0.0.0.0) is too wide. Being able to specify multiple listen addresses would be definatly be useful.

And I have no problem with the server refusing to start if it can't bind to one of the addresses because of a configuration error, as long as the error message clearly indicates which address caused the failure.

All 8 comments

I am not aware of this being in salt currently. Currently in the docs it states to use 0.0.0.0 for all interfaces but I think its a good idea to add this feature.

I am guessing this feature requested is tied to #34332 . Do you mind if we close that issue and track this feature here?

yes go ahead

I am no network specialist but apparently I read many times, using 0.0.0.0 is not secure

0.0.0.0 is not a security issue at all, it just means bind to any interface on the server. It so you do not have to hard code any of the local IP address including loopback (localhost).

Their is no difference between "adding all the IP address to a configuration file + 127.0.0.1" and 0.0.0.0

You can always use firewall rules on the host to restrict access. Most OS install with a locked down firewall already, and you need to update the firewall rules to let the minions connect to salt master in the first place.

The bind will fail, if you list an IP address which does not exist on a server, in the configuration file. It would be bad idea to silently ignore a invalid IP address.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

I'd like to re-open the issue. There are situations where the local firewall is not the solution and :: (or 0.0.0.0) is too wide. Being able to specify multiple listen addresses would be definatly be useful.

And I have no problem with the server refusing to start if it can't bind to one of the addresses because of a configuration error, as long as the error message clearly indicates which address caused the failure.

Thank you for updating this issue. It is no longer marked as stale.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

Re-open please. The issue is outstanding and would be useful.

Recent case was a salt cluster where each node (including the master) has a routed, public address and a private cluster address on a dedicated management network. Custom, vendor-provided kernel with no iptables support.

Was this page helpful?
0 / 5 - 0 ratings