Open bjeanes opened 8 years ago
I'd like to be able to build some IP whitelist/black list into NGINX proxy using https://github.com/matsumoto-r/ngx_mruby. Being able to whitelist/blacklist a CIDR would be much easier with a good way to test the range, without using Regex like in https://github.com/kaihar4/mruby-ipaddress_matcher (which is IPv4 only, by the way).
I am wondering how hard it would be to have #include? added to this gem.
#include?
Thank you
It will not be too hard but nobody is working on it as far as I know.
I'd like to be able to build some IP whitelist/black list into NGINX proxy using https://github.com/matsumoto-r/ngx_mruby. Being able to whitelist/blacklist a CIDR would be much easier with a good way to test the range, without using Regex like in https://github.com/kaihar4/mruby-ipaddress_matcher (which is IPv4 only, by the way).
I am wondering how hard it would be to have
#include?
added to this gem.Thank you