OK... so I put together a little script that validates your filter entries, and determines if there's a bad IP on one of these lists...
View attachment 48318
Filter Validator tests the IPv4 addresses (and IPv6 if present) on a given filter list that are to be used with the Skynet Firewall on Asus-Merlin Firmware in order to block incoming/outgoing IPs. This script arose out of the need to determine exactly which blacklist URL contained an invalid IP that was causing our Skynet firewalls to fail importing the correct IP sets due to an invalid IP somewhere on these lists.
If there's an issue with an IP on any of these lists, you'll see something like this:
View attachment 48319
Usage Guide
Execute the script as such:
sh filtervalidator.sh
Upon execution, it will ask for a valid URL to the specified filter list to be tested. For example, here is a valid filter list URL that will be used if you press enter:
https://raw.githubusercontent.com/ViktorJp/Skynet/main/filter.list
NOTE: Should any list come back with any invalid IP entries (marked in Red), it would be advisable to #COMMENT out the offending entry in your filter list in order to get Skynet back in working condition, or get in touch with the entity that takes care of the list in order to correct their mistake.
Download
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/FilterValidator/master/filtervalidator.sh" -o "/jffs/scripts/filtervalidator.sh" && chmod a+rx "/jffs/scripts/filtervalidator.sh"