bosagora / agora

POC Node implementation for CoinNet
https://bosagora.io
MIT License
37 stars 23 forks source link

Prevent nodes to register loopback addresses #3261

Closed mkykadir closed 2 years ago

mkykadir commented 2 years ago

Currently one can configure its node to register 127.0.0.1 address to public registry. This is not an addressed issue in DNS standards but this creates a problem that this configuration will cause a some another node to end-up connecting itself or any other application on its local machine.

But we also need to keep this ability to continue supporting local testing environments. testing flag in configuration can be used as a toggle for that.