HiHi.
Can you block a specific ip-address from the GUI (and in the future maybe block countrys)?
Hi
AB solution works by blocking hosts and not IP adresses ... there are a number of scripts floating around if you do a search for country IP blocking.
i know the @thelonelycoder is Swiss, but that doesn't necessarily mean he wants to make the "swiss army knife" of blockers..... i believe this is a little bit out of the remit of the original idea, which is blocking those annoying ads.. in any event, country/malicious IP blocking is best done at the firewall level rather than by DNS poisoningI know, but it had been cool if we could have this function in one nice tool ;-)
The term 'The Swiss Army Knife of ...' is frowned upon in my Country. And it is always used by a non-swiss product.i know the @thelonelycoder is Swiss, but that doesn't necessarily mean he wants to make the "swiss army knife" of blockers..... i believe this is a little bit out of the remit of the original idea, which is blocking those annoying ads.. in any event, country/malicious IP blocking is best done at the firewall level rather than by DNS poisoning
The term 'Swiss Army Knife of' is frowned upon in my Country. And it is always used by a non-swiss product.
On January 1 next year, a new Swissness law comes into force:
https://www.ige.ch/en/indications-of-source/swissness.html
AB-Solution would pass 100% and I would legally be allowed to fly the Swiss flag with my product.
In won't do it, but the red theme and the website show (a slightly darker) red that is prominent in our flag.
AB-Solution is in essence a blocker only. For Ads and malicious sites.
There's this: The Wenger Giant, it was manufactured in the french part of Switzerland.The busybox boys had better think of a better slogan for their product then.... they don't sound very swiss to me... and without further ado, a swiss knife joke
Thats insane!...... i've seen pictures of this and always assumed it was just photoshopped. I wonder how many were sold? .... not exactly pocket size. An impressive feat of engineering nonethelessThere's this: The Wenger Giant, it was manufactured in the french part of Switzerland.
I believe it is no longer made, and Wenger is now part of Victorinox, the only Company that makes these knives, the real thing.
Only designed as a display product, it does not fold closeed completely, some tools are too long to snap into the 'cradle'.Thats insane!...... i've seen pictures of this and always assumed it was just photoshopped. I wonder how many were sold? .... not exactly pocket size. An impressive feat of engineering nonetheless
Now there's a business idea that might work. I'll talk to my ...LOL, with those knives you can just cut the ads out of the internet
Verstuurd vanaf mijn A0001 met Tapatalk
The check is looking for entries that AB adds in the file:
hosts-adblock
and / or
log-facility
If they are not found, dnsmasq is restarted in the hope they are then present.
If still not found, then your error message is presented.
It is likely that the file /jffs/scripts/dnsmasq.postconf is not complete.
It would have these entries:
Code:#!/bin/sh # DO NOT EDIT this part of the file # # generated by AB-Solution 3 if [ -d "/tmp/mnt/<YOUR DEVICENAME>" ];then source /tmp/mnt/<YOUR DEVICENAME>/adblocking/scripts/ab_dnsmasq_postconf.sh logger "AB-Solution linked dnsmasq.postconf to ab_dnsmasq_postconf.sh" fi # end of DO NOT EDIT #
If they are there, reboot the router first and see if AB is up and running.
If not, or partially missing, delete the file and enter 11 in AB, this will regenerate the file.
There are no plans for this.Still hope @thelonelycoder merge the AB-Solution and AH-Solution (Anti Hacking Solution) to the SAT-Solution (Swiss Army Total Solution)
It'll work with your VPN Provider as is.
Unless your Entware folder is named 'entware-ng.arm' or you have some other seldom used packages installed, there is no need to wait for the release.
Go ahead.
A case of Binary revolution? Not liking 1's in the file? It will forever be a mystery.Thanks for the help, looks like the dnsmask.postconf file had the wrong device name in it. Not sure how mine got changed from sda to sda1, but I just added the 1 to the name and everything started working.
Thanks again!
AB-Solution message:
Error(s) found. Type 22 and hit [Enter]
--------------------------------------------------
What do you want to do?
input is not an option
What do you want to do? 22
checking AB-Solution installation
checking /jffs/scripts/dnsmasq.postconf
file found
content looks good
checking /jffs/scripts/post-mount
file found
content looks good
checking ab_dnsmasq_postconf.sh
file found
content looks good
checking white and black list
files found, no further checks
checking hosts-adblock
./ab-solution.sh: line 60: 5: Bad file descriptor
admin@RT-N66U-3D08:/tmp/home/root#
hosts file needs an update, running [u] now
in silent mode
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 104: can't create /tmp/mnt/Adblock/adblocking/backup/hosts_file1: Read-only file system
- 8%[==========> ] 41.94K 84.8KB/s in 0.5s
rm: remove '/tmp/mnt/Adblock/adblocking/backup/hosts_file1'?
cp: can't create '/tmp/mnt/Adblock/adblocking/backup/hosts_file1': File exists
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 104: can't create /tmp/mnt/Adblock/adblocking/temp_hosts: Read-only file system
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 104: can't create /tmp/mnt/Adblock/adblocking/backup/hosts_file2: Read-only file system
- [<=> ] 0 --.-KB/s
- [ <=> ] 62.93K 115KB/s in 0.5s
cp: can't create '/tmp/mnt/Adblock/adblocking/backup/hosts_file8.bak': File exists
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 104: can't create /tmp/mnt/Adblock/adblocking/temp_hosts: Read-only file system
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 104: can't create /tmp/mnt/Adblock/adblocking/backup/hosts_file9: Read-only file system
- 22%[=============================> ] 37.72K 94.6KB/s in 0.4s
cp: can't create '/tmp/mnt/Adblock/adblocking/backup/hosts_file9.bak': File exists
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 104: can't create /tmp/mnt/Adblock/adblocking/temp_hosts: Read-only file system
dos2unix: can't create temp file '/tmp/mnt/Adblock/adblocking/temp_hostsUbja4V': Read-only file system
/tmp/mnt/Adblock/adblocking/addon/update-hosts.add: line 144: can't create /tmp/mnt/Adblock/adblocking/hosts-adblock: Read-only file system
rm: remove '/tmp/mnt/Adblock/adblocking/temp_hosts'? cat: can't open '/tmp/mnt/Adblock/adblocking/hosts-adblock': No such file or directory
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfgIbDNLg': Read-only file system
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfgbfJ3YK': Read-only file system
/tmp/mnt/Adblock/adblocking/addon/rotate-logs.add: line 63: can't create /tmp/mnt/Adblock/adblocking/logs/dnsmasq.log: Read-only file system
kill: you need to specify whom to kill
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfg2UUVlf': Read-only file system
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfgiz1QOK': Read-only file system
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfggEfnq6': Read-only file system
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfgFKKFZP': Read-only file system
touch: /tmp/mnt/Adblock/adblocking/logs/dnsmasq.log1: Read-only file system
touch: /tmp/mnt/Adblock/adblocking/logs/dnsmasq.log2: Read-only file system
/tmp/mnt/Adblock/adblocking/addon/rotate-logs.add: line 63: can't create /tmp/mnt/Adblock/adblocking/logs/dnsmasq.log2: Read-only file system
mv: can't rename '/tmp/mnt/Adblock/adblocking/logs/dnsmasq.log': Read-only file system
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfgshdepN': Read-only file system
sed: can't create temp file '/tmp/mnt/Adblock/adblocking/.config/ab-solution.cfgoXX9kM': Read-only file system
hosts-adblock file not found
checking ab-solution.cfg
file found
content looks good
checking update-hosts.add
file found
content looks good
checking rotate-logs.add
file found
content looks good
checking cron job hosts update
content looks good
checking cron job log rotate
content looks good
chmod: /tmp/mnt/Adblock/adblocking: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/scripts/ab_dnsmasq_postconf.sh: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/rotate-logs.add: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/rotate-logs.add.old: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/update-hosts.add: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/update-hosts.add.old: Read-only file system
chmod: /tmp/mnt/Adblock/ab-solution.sh: Read-only file system
checking symlink state
file found
content looks good
checking dnsmasq.conf
file found
adblocking state looks good
logging state looks good
Errors found.
Read the check's output for clues.
chmod: /tmp/mnt/Adblock/adblocking: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/scripts/ab_dnsmasq_postconf.sh: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/rotate-logs.add: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/rotate-logs.add.old: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/update-hosts.add: Read-only file system
chmod: /tmp/mnt/Adblock/adblocking/addon/update-hosts.add.old: Read-only file system
chmod: /tmp/mnt/Adblock/ab-solution.sh: Read-only file system
reading services state
starting UI
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!