White list and Black list of extra IP addresses prior to country code.
The filter hook “ip-location-block-extra-ips” can assign the white and black list of extra IP addresses with CIDR notation which should be validated prior to other validations.
(array) An associative array of
'black_list'. Both are string of comma separated IP addresses.
1.) The following code snippet in your theme’s
functions.php can automatically fetch the IP addresses from Tor exit nodes on background and add them to the black list when login attempt is captured.
2.) Validate extra IP addresses with CIDR prior to other validations. Get IPs with CIDR from Amazon AWS and set them to the black list