A use case came up in how I am using Elasticsearch where it might be desired to block all IPs that are not present on the whitelist.
This PR adds functionality to specify the blacklist as ["*"], which will show the "Forbidden IP" message for any request coming from an IP Address that is not on the whitelist.
There is no checking for if there are other IPs in the blacklist with the '', for example ["1.2.3.4", ""], but I figure a check like that would add complexity that would add nothing of value.
I also added a change log, just to specify activities related specifically to this plugin.
A use case came up in how I am using Elasticsearch where it might be desired to block all IPs that are not present on the whitelist.
This PR adds functionality to specify the blacklist as ["*"], which will show the "Forbidden IP" message for any request coming from an IP Address that is not on the whitelist.
There is no checking for if there are other IPs in the blacklist with the '', for example ["1.2.3.4", ""], but I figure a check like that would add complexity that would add nothing of value.
I also added a change log, just to specify activities related specifically to this plugin.