I agree, that that is not a foolproof way to determine if a lot of sites are blocked, but you only need to unblock your favourite sites. Also testing this addition to whitelistdomains should not involve rebooting your router or anything that takes too long:
After adding the domain to the whitelist domains file, you just manually run the script. It will NOT process the already loaded lists if USE_LOCAL_CACHE=Y, it will just re-process the whitelistdomains (and blacklistdomains if you are using v2). The turnaround time should be fairly quick.
@redhat27 so I am trying to figure out the whitelist, maybe you can give some insight please.
In my ssh console:
iblocklist-loader.sh: Added WhitelistDomains (9 entries)
So a few questions
1. Why did it add 9 entries when I only added 4? The code comments state I can do inline comments, is it trying to do inline comments as domains?
2. I did manage to get this error yesterday:
./iblocklist-loader.sh: line 515: syntax error: unexpected "(" (expecting "fi")
3. Do you have any idea why the script is making 2 septerate /ipset_lists/ folders?
Here is the contents of /jffs/ipset_lists/whitelist-domains.txt. Is there a way to get inline comments not counted as domains, so it shows up as only 4 domains whitelist, and not 9??
speedtest.net #29
bbc.co.uk #33
teamviewer.com #2
eotugame.com #premium malicious by squidblacklist
Also thanks for letting me know I can just rerun the script, I kept turning the firewall off then on to test this
Attachments
Last edited: