threefoldtech / zos

Autonomous operating system
https://threefold.io/host/
Apache License 2.0
83 stars 13 forks source link

Remove dependency on ipify for public IP validation #2363

Open AbdelrahmanElawady opened 3 months ago

AbdelrahmanElawady commented 3 months ago

Is your feature request related to a problem? Please describe

We depend on ipify for public IP validation (it basically responds with the public IP of the node). Which we don't know how reliable it is.

Describe the solution you'd like

We can use a pool of public STUN servers to get the public IP with something like this or have one of our services (or a new one) respond with public IP so we don't rely on ipify.