Closed yippibrian closed 9 years ago
So this should check the whitelist before blocking?
Yes, I think so.
Ok, I'll take care of this and #17 tomorrow and cut a new release.
It just occurred to me as I started working on this that I must be missing some other details. If the XFF value isn't a valid IP, what address is the module supposed to lookup on the whitelist?
The repsheet-nginx plugin just decides to block certain IP's in certain error conditions, such as when the XFF value is invalid. You should be able to Whitelist IP's so that they will not block even in such error conditions.