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: "220.127.116.11"
> Only one IP address is allowed: 18.104.22.168
> . 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