-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
It's currently possible for a single IPv4 address to be simultaneously:
- Assigned to a node via a public config for gateway functions
- Assigned to the pool of rentable IPv4 addresses for the same farm as the previously mentioned node
This creates a problem if both a node and a VM are trying use the same IP address at the same time. Of course the farmer should avoid creating this situation in the first place. However, it's a simple check we can add to avoid a fairly serious problem:
- When an IPv4 address is added to a public config, check that it's not part of the IP pool for the same farm
- When an IPv4 address is added to a farm's IP pool, check that it's not assigned to a public config for a node in the same farm
The same farm part is important, because otherwise farmers can falsely add IP addresses to their farm's pool and deny the real owner from using them in a public config.
mik-tf
Metadata
Metadata
Assignees
Labels
No labels