Open micw opened 4 years ago
It would be also nice if it supports IPv6.
perhaps a lib like this could help https://github.com/mlocati/ip-lib
https://stackoverflow.com/a/56050595 is a simple solution that does not require external libs.
This is also an issue when roundcube is used behind a service like cloudflare.
Hallo, on dynamic environments like kubernetes, the proxy has a dynamic IP within a subnet. This is currently not supported by roundcube's proxy_whitelist config.
It can easily be added by using the following function to compare: