Jack Yaz
Part of the Furniture
https://diversion.ch/faq-reader/can-diversion-block-youtube-ads.htmlI just successfully installed, but I still see ads on my Youtube. Why is that?
https://diversion.ch/faq-reader/can-diversion-block-youtube-ads.htmlI just successfully installed, but I still see ads on my Youtube. Why is that?
https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/page-79#post-455465Ah. Is there no way to block YouTube ads, then?
no exact match found in blocking file for
www.reddit.com
no need to add it to the whitelist
no near matches found either
____________________________________________________
www.reddit.com
was not found in the blocking file or blacklist
If you add it anyway, it may have no effect unless
you select a larger blocking file.
The domain will be marked #(forced-entry) and is
not re-added to the blocking file if you remove it.
Add it to whitelist anyway? [1=Yes 2=No] 1
Do you want to add a comment? [1=Yes 2=No] 2
www.reddit.com #(forced-entry)
added to whitelist
Run Diversion and choose option f to follow the log of blocked domains. Then try to browse your site and see which domains appear in the log. Whitelist the domains you find until the site works again.View attachment 15646 View attachment 15647 View attachment 15647 View attachment 15646 If this isn't the right place to ask, I apologize in advance and will delete my post if added. I have an 87u running Diversion, been going swimmingly. But I just signed up for SkillShare and none of the video's will load, when I'm on my local network. If I put my MacBook within a VPN they load, or switch my iPhone/iPad over to LTE the videos will load. I have no other add blocking solutions on either of those devices. Anyways, I cannot for the life of me figure out where Skillshare is hosting their videos to put in the whitelist. I've got Chrome reporting every URL hit and unblocked them all to no avail. If I turn off Diversion, I can access Skillshare without issue. Anyways I thought I'd ask. Thanks!
Run Diversion and choose option f to follow the log of blocked domains. Then try to browse your site and see which domains appear in the log. Whitelist the domains you find until the site works again.
The el functions are only run against the primary blocking file. In your case, www.reddit.com is only blocked in the secondary (larger) blocking file and therefore not checked against.@thelonelycoder Thanks for the program. Works great. Good work.
I have about 900k blocking domains on my secondary blocking file, 60k on my standard file. I have fast switching enabled.
I mainly run the secondary, so in trying to add a domain to the whitelist, I get this:
Code:no exact match found in blocking file for www.reddit.com no need to add it to the whitelist no near matches found either ____________________________________________________ www.reddit.com was not found in the blocking file or blacklist If you add it anyway, it may have no effect unless you select a larger blocking file. The domain will be marked #(forced-entry) and is not re-added to the blocking file if you remove it. Add it to whitelist anyway? [1=Yes 2=No] 1 Do you want to add a comment? [1=Yes 2=No] 2 www.reddit.com #(forced-entry) added to whitelist
After processing the lists, it has no effect. I should add that the domains I enter to the whitelist are in fact in the blocked host list by doing a search within diversion.
Anyone else have this? TIA.
log-async
log-queries
log-facility=/opt/var/log/dnsmasq.log
Honestly, these entries in the .add file very unusual and it is the first time I see someone complain about it.Hi just installed and thought I'd report that it crashed my Router due to duplicate entries in dnsmasq.conf
These entries were already in dnsmasq.conf.add thus causing a constant loop when trying to start dsnmasq.Code:log-async log-queries log-facility=/opt/var/log/dnsmasq.log
Once I deleted the entries from dnsmsq.conf.add all worked fine.
Maybe possible to add a "read and check"during installation, to see if the entries already exist to prevent similar issues with others (maybe less technical)?
Thanks for making this possible especially with the great UI!
Subdomains are already supported, always have and have been in the pre-configured hosts lists for a long time.I'd like to suggest a feature for the 4.1 release: support processing (sub)domains-type blocking lists, i.e. lists that only includes (sub)domains without the 127.0.0.1/0.0.0.0 as in hosts-type.
Example: https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt
I saw Pi-hole and adblock-for-openwrt support both types of blocking lists. I mean, I don't know if their mechanism would support both types natively, or they would just process and merge lists into their own type. But at least they let users just paste links of blocking lists of those two types, which
- doesn't require users to manually retrieve the lists and perform some "find and replace" to add 127.0.0.1/0.0.0.0 to the lists (which is really troublesome for novice users)
- help receiving updates directly from the original sources.
I think that really help us novice users greatly. So I'd hope that Diversion would be able to do that as well.
addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.list
This is the official Diversion thread. Questions about Diversion belong here. Happy new year to you and all around here.If this isn't the right place to ask, I apologize in advance and will delete my post if asked
Sorry for any confusion as English is not my mother language, and I should have used simpler words.I have looked into supporting both types of files and at the time I did, my decision was to only support "127.0.0.1/0.0.0.0 domain.com" lists for the simplicity. It is much easier to verify such a list for me than a domain only list. And for it to work, I'd have to add the blocking IP anyway. Replacing 127.0.0.1 or 0.0.0.0 is much simpler. And I like things simple as I am a lone coder. Pi-hole has much more coder and brain resources than Diversion does...
We are on the same page. I just repeat my reasoning for not supporting your suggestion:Sorry for any confusion as English is not my mother language, and I should have used simpler words.
Alright, forget Pi-hole or Openwrt, I'll try to re-describe the situation simpler. What I mean is I did not suggest that Diversion support domains-only lists natively in real time. I just wanted to suggest that Diversion can detect/recognize domains-only lists for preparing the final list, i.e.:
- A user pastes a link to a domains-only list
- Diversion detects/recognizes that it is a domains-only list
- Diversion then magically adds 127.0.0.1/0.0.0.0/Pixelserv-tls's IP to that domains-only list to turn it into a hosts-type list
- Diversion continues to merge/process so that we still have a final hosts-type list to be used by dnsmasq as usual.
So, with your great scripting skill, I think it would not be a heavy task. I mean, now I don't know how, but I think even I might find a way to adds "127.0.0.1" to a domains-only list (if I am forced to do that). But with the disadvantages I mentioned in the previous post (a user must finds a way to do it and he can't receive updates from original sources automatically), obviously it would be great if the feature is built-in.
Sorry if I have overlooked some things or didn't understand your feelings/point of view of a developer, I just thought what might be a good feature and helpful for your users
Anyway, it's nearly midnight here. So Happy New Year to you and everyone!
Was going to edit the post, but you were faster. Yeah, re-reading your previous reply, I guess what I've just typed already got the answer...We are on the same page. I just repeat my reasoning for not supporting your suggestion:
I have looked into supporting both types of files and at the time I did, my decision was to only support "127.0.0.1/0.0.0.0 domain.com" lists for the simplicity. It is much easier to verify such a list for me than a domain only list. And for it to work, I'd have to add the blocking IP anyway. Replacing 127.0.0.1 or 0.0.0.0 is much simpler. And I like things simple as I am a lone coder. Pi-hole has much more coder and brain resources than Diversion does...
Just copy/paste the install command from the website, it'll fix your error, I hope.I was watching the dnsmasq logfile and when I went to exit, Diversion attempted to update. I had some errors and cannot get Diversion to run anymore, although pixelserv seems to be working ok. The error message I get when I try to restart is: /opt/bin/diversion: line 172: syntax error: unexpected end of file (expecting ";;")
Full output here: https://pastebin.com/in2pp5Tf
Any ideas?
EDIT: Looking at the output again, I just realized I hit "3" not "e". Reinstall maybe?
Your swap code must have been nested into that sleep timer or else the Diversion installer would have found it.Just upgraded to Diversion.
FYI - Not sure if it has already been mentioned, but when the JFFS scripts are migrated to /old-jffs_scripts/, they do not copy existing content of the scripts into the new scrips. In my case, the post-mount script had a sleep timer before enabling swap. Initially, I received errors in the log but then after some investigation I noticed the memory was low since swap had not been enabled.
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!