Plugin Author
Paul
(@paultgoodchild)
This plugin is built to not consider private and reserved IP ranges.. I’m going to review this decision based on this though and see what I can do.
Also, ranges must be CIDR ranges:
http://www.ipaddressguide.com/cidr
Do you have experience with using things like Chrome browser console to review web requests and their responses? I’d like to know what the actual AJAX responses are when the list frames load. Do you know how to do that?
I’ll take a look at the response.
Meanwhile, I looked in the FAQ, and I thought CIDR couldn’t be used. In my case, for example, would I use the following entries?
ip: 192.168.0.0
range: 16
But are you saying that there’s no way to whitelist this private range anyway with the current design of the plugin?
The only request it’s sending when I try to manage the list is:
interval=60&_nonce=xxxxxxxxxx&action=heartbeat&screen_id=simple-firewall_page_icwp-wpsf-ips-network&has_focus=true
The only response is
{“wp-auth-check”:true,”server_time”:1442259048}
It’s sending and receiving these messages every minute. It seems from your code that the request body should include action=icwp_wpsf_GetIpList and list=MW, but I don’t see those being requested at all. I’m not sure why.
Plugin Author
Paul
(@paultgoodchild)
Hi,
I’ve looked into the problem of private IP address ranges and removing the current restriction isn’t viable. This is why:
Web hosts are generally terribly configured and I cannot guarantee that a web host configures the environment/server variables correctly with the valid public IP of the visitor. It has been known to happen that the server’s own private IP address has turned up there. Allowing this on a general scale means there’s no way for me to ascertain whether the IP is actually of the server, or a separate LAN host
Another point to note is that you would hope that hosts on your local intranet are going to be trustworthy. This plugin is designed to protect against public, www-facing threats. The scale of attack that is possible from within a private intranet is much smaller.
I wish I could accommodate this.
Further, I believe that you’re not seeing the AJAX running because this plugin is configured to not run the IP manager unless the visitor’s IP address is found to be valid and in the public range. I may create a plugin notice to outline this to prevent confusion in the future.
Sorry for the trouble with this and the fact that I can’t work around your issue. I hope you’ll understand the reasons behind it though.
Thanks!
Paul.