What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
Does adblocking work whilst on a VPN ?


Sent from my ONEPLUS A5000 using Tapatalk
Using the router as a VPN client or server? I only have experience in server mode, in which ABS works flawlessly (as long as you're using the VPN to access your network's WAN).
 
will "192.168.50.2 21." in a block list, block all ips that start with 21? I say that because I have seen hosts files that include the following, example

0.0.0.0 108.61.165
0.0.0.0 185.82.202
That example will NOT work.
Adblocking with a hosts file ONLY works with domain names in this format:
0.0.0.0 example.com
See https://www.ab-solution.info/use/hosts-files.html

Use Skynet to block IP's or IP ranges.
 
Notice how Ab-solution appears to be failing to stop AsusWRT with Merlin from connecting to "rgom10-en.url.trendmicro.com" by exactly 1/2. I have already disabled AI url protection, and I have disabled AAAA recursive querys by blocking ipv6 in dnscrypt, but I still see the following:
It says:
Code:
37780 rgom10-en.url.trendmicro.com blacklisted
Meaning rgom10-en.url.trendmicro.com is blocked in your blacklist.
Code:
18890 rgom10-en.url.trendmicro.com blacklisted
The discrepancy of these two might be the caching of Dsnamasq. Nothing to worry about, the domain is and remains blocked as long as you keep it in your blacklist.
How do I block this, without turning off Ai-protection entirely?
Use Skynet to block it if it circumvents AB-Solution. Trend Micro appears to use a separate DNS Server (trough 127.0.0.1, which is normal).
 
Its blocking the ip associated with ab-solution; this going to break anything?
Yes, but the ab-solution.info website is on IP 80.74.145.140 and therefore not blocked.
 
update error :

processing file 5 done

getting hosts file 6, preprocessing file:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
file 6 download failed or file is not hosts file, using backup file

Simply, you could not download the file for *some* reason and the backup copy was used.

Try accessing the file directly (i.e. click on the link above :) )
If it works re-try the update by running the 'u' option in AB-Solution again.

Sometimes files are not accessible and can fail to be downloaded.
I have just tried accessing the file via the link and it is working for me.
 
thelonelycoder,

A suggestion to add a 5th Filter Option in 'f' follow the logfile submenu in AB-Solution.

The additional filter will allow a chosen Host-IP to be viewed via filtering the log of all BUT the selected Host-IP DNS Queries (incl. all responses etc.).

This is different from the option to filter by a Term as it only catches the 1 line that matches the Term.

See Examples of all 5 Filters attached to show difference.

N.B.
I have changed the text on the sub-menu so all reference 'filter' it makes the menu more logical IMHO.

Filter Option 1 - 2: (.PNG)
1 & 2-Option-Listing.png


Filter Option 3 - 4: (.PNG)

3 & 4-Option-Listing.png


Filter Option 5 + Option Menu:
(.PNG)

Option Menu +5th-Option-Listing.png


The listing is [ ... ] Bracketed to show the listing is of a 'Selective Filter' by Host-IP Address.
(Otherwise once the headings scroll off the screen it looks just like the unfiltered listing (Option 1.) )

As explained in the Headings the input is not Validated or converted from Alternative Address forms.
i.e. Octal or numeric Addresses
Also no Name Lookup is performed to allow the entry of say 'www.dell.com' to get a IPv4/IPv6 Address.

IPv4 & IPv6 Address Validation/Sanitisation is overkill as the filter simply uses the entry for a 'Text Filter' on the Log.
The only thing I catch is if you do not use a '.' or ':' in the entry it cannot be a IPv4 or IPv6 Address
:) (Weak I know !!!)

If there is a small simple IPv4 & IPv6 Validation that does not 'burn' unnecessary CPU feel free to give me the code and I will use it.
(I did look but the end result was to much code for something that is not essential. Simply, if you enter 'garbage' the filter finds nothing !!!)

A .diff file for functions.add as of scriptVersion=3.11 releaseDate=20171209 has been made.

Copies of the Original file & the .diff are attached in a .txt files.

Original function.add: (Remove .txt from filename)


.diff Remove .txt from filename


Thanks for your time, hope it is useful.

 

Attachments

  • functions.add.txt
    99.6 KB · Views: 817
  • functions-add-[5th-Filter-Option].diff.txt
    4.1 KB · Views: 560
Since turning on AB, I've noticed the usual DHCP requests are no longer logged to syslog but rather pushed to log-facility=/mnt/AB/adblocking/logs/dnsmasq.log, which make sense since AB stats are compiled from here, however it does not appear AB keeps the dnsmasq.log beyond the weekly run (or maybe i'm just missing it :)

Is it possible to either....

  1. Have AB backup and retain the weekly dnsmasq.log file to "/mnt/AB/adblocking/backup", similar to how other files are backed ?
  2. Have AB push the dnsmasq.log file at end of week to the remote syslog specified within the router?
Basically, i'm looking for a way to retain DHCP data contained within dnsmasq.log that AB uses. A weekly backup of dnsmasq.log would do. Bonus points if there is an easy way to have a portion (or all) of the data push to remote syslog.

Any thoughts or suggestions are greatly appreciated. Thank you.
 
got a tmobile cell booster yesterday and flashed it to an ac68p today got all set up with merlin and your ad blocking software but was wondering if there was a more user friendly status page rather than ssh-ing in, and if i wanted to build a web frontend where i would find the stats. sorry if this has already been asked ive been searching the thread and forum but havent come up with any good results
thanks!
 
got a tmobile cell booster yesterday and flashed it to an ac68p today got all set up with merlin and your ad blocking software but was wondering if there was a more user friendly status page rather than ssh-ing in, and if i wanted to build a web frontend where i would find the stats. sorry if this has already been asked ive been searching the thread and forum but havent come up with any good results
thanks!
You can select to have the stats sent to you via email. I find sending the stats via an email attachment works the best due to the way it gets formatted rather than having the stats sent in text format in the email itself. @thelonelycoder is working on a release that will be able to display the stats via a web gui similar to pi-hole.
 
Getting this when I update.

running update-hosts.add 3.11 in verbose mode
using temporary pgl.yoyo.org file to lower memory usage while updating
preparing temporary whitelist
updated /jffs/shared-AB-whitelist, for other scripts to use
downloading shooter40sw hosts files, using 0.0.0.0 as blocking IP

getting hosts file 1, preprocessing file:
http://someonewhocares.org/hosts/zero/hosts
- 100%[=================>] 384.71K 138KB/s in 2.8s
processing file 1 done

getting hosts file 2, preprocessing file:
http://winhelp2002.mvps.org/hosts.txt
- 100%[=================>] 116.69K 67.1KB/s in 1.7s
processing file 2 done

getting hosts file 3, preprocessing file:
https://pgl.yoyo.org/adservers/serv...&showintro=0&mimetype=plaintext&useip=0.0.0.0
- 100%[=================>] 16.63K 77.9KB/s in 0.2s
processing file 3 done

getting hosts file 4, preprocessing file:
https://hosts-file.net/ad_servers.txt
- 100%[=================>] 229.73K 81.4KB/s in 2.8s
processing file 4 done

getting hosts file 5, preprocessing file:
https://hosts-file.net/emd.txt
- 100%[=================>] 4.66M 163KB/s in 30s
processing file 5 done

getting hosts file 6, preprocessing file:
https://hosts-file.net/grm.txt
- 100%[=================>] 15.71K --.-KB/s in 0.002s
processing file 6 done

getting hosts file 7, preprocessing file:
https://hosts-file.net/mmt.txt
- 100%[=================>] 124.94K 60.2KB/s in 2.1s
processing file 7 done

getting hosts file 8, preprocessing file:
http://www.malwaredomainlist.com/hostslist/hosts.txt
- 100%[=================>] 35.63K 119KB/s in 0.3s
processing file 8 done

getting hosts file 9, preprocessing file:
https://adaway.org/hosts.txt
- 100%[=================>] 3.17K --.-KB/s in 0.02s
processing file 9 done
Segmentation fault

file preprocessing took 51 seconds
sorting, removing whitelist entries
this will take about 47 seconds...
Segmentation fault
sorting of /tmp/mnt/absolution/adblocking/blocking_file file failed, using previous file
your RT-AC68U did this in 13 seconds
updating blocking file took 64 seconds
16056 domains are now blocked
kill: you need to specify whom to kill
kill: you need to specify whom to kill

and this in yellow

Sorting of blocking_file file failed.
Previous file in use.


What is going on here?
 
Getting this when I update.

running update-hosts.add 3.11 in verbose mode
using temporary pgl.yoyo.org file to lower memory usage while updating
preparing temporary whitelist
updated /jffs/shared-AB-whitelist, for other scripts to use
downloading shooter40sw hosts files, using 0.0.0.0 as blocking IP

getting hosts file 1, preprocessing file:
http://someonewhocares.org/hosts/zero/hosts
- 100%[=================>] 384.71K 138KB/s in 2.8s
processing file 1 done

getting hosts file 2, preprocessing file:
http://winhelp2002.mvps.org/hosts.txt
- 100%[=================>] 116.69K 67.1KB/s in 1.7s
processing file 2 done

getting hosts file 3, preprocessing file:
https://pgl.yoyo.org/adservers/serv...&showintro=0&mimetype=plaintext&useip=0.0.0.0
- 100%[=================>] 16.63K 77.9KB/s in 0.2s
processing file 3 done

getting hosts file 4, preprocessing file:
https://hosts-file.net/ad_servers.txt
- 100%[=================>] 229.73K 81.4KB/s in 2.8s
processing file 4 done

getting hosts file 5, preprocessing file:
https://hosts-file.net/emd.txt
- 100%[=================>] 4.66M 163KB/s in 30s
processing file 5 done

getting hosts file 6, preprocessing file:
https://hosts-file.net/grm.txt
- 100%[=================>] 15.71K --.-KB/s in 0.002s
processing file 6 done

getting hosts file 7, preprocessing file:
https://hosts-file.net/mmt.txt
- 100%[=================>] 124.94K 60.2KB/s in 2.1s
processing file 7 done

getting hosts file 8, preprocessing file:
http://www.malwaredomainlist.com/hostslist/hosts.txt
- 100%[=================>] 35.63K 119KB/s in 0.3s
processing file 8 done

getting hosts file 9, preprocessing file:
https://adaway.org/hosts.txt
- 100%[=================>] 3.17K --.-KB/s in 0.02s
processing file 9 done
Segmentation fault

file preprocessing took 51 seconds
sorting, removing whitelist entries
this will take about 47 seconds...
Segmentation fault
sorting of /tmp/mnt/absolution/adblocking/blocking_file file failed, using previous file
your RT-AC68U did this in 13 seconds
updating blocking file took 64 seconds
16056 domains are now blocked
kill: you need to specify whom to kill
kill: you need to specify whom to kill

and this in yellow

Sorting of blocking_file file failed.
Previous file in use.


What is going on here?
Check that your usb device has enough storage left.
If that is not the case, delete the linked blocking_file and run u in the AB-Solution menu to manually update the blocking file.
 
Check that your usb device has enough storage left.
If that is not the case, delete the linked blocking_file and run u in the AB-Solution menu to manually update the blocking file.

Could also be ram related, might be worth trying out a SWAP file.
 
Status
Not open for further replies.

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top