IP address/IP range auth module for Erlang
Fri Oct 25 19:22:59 CEST 2019
You may be able to get some inspiration from this RabbitMQ plugin:
On Fri, Oct 25, 2019 at 10:15 AM Frank Muller
> Hi guys
> I’m looking for an Erlang module which let me authorize connexions based on an IP address or IP address range.
> . Rule 1: "22.214.171.124"
> Only one IP address is allowed: 126.96.36.199
> . Rule 2: "51.121.*.25"
> These IPs are all allowed:
> Would be great if the module can also validate the connection IP address. For now, I only deal with IP v4 addresses (but I’m open to support IP v6 in my code).
> Thanks in advance
More information about the erlang-questions