Diversion - the Router Ad-Blocker

Skeptical.me

Very Senior Member
Restarting Dnsmasq fails obviously. Hence no logging and ad-blocking. Dibersion uses a well established way to add its uncritical entries. I'm practically sure some other script is the culprit.
I think you're right, logging was working today. Then I updated uiDivStats this after, and this problem started after doing that.


Sent from my iPhone using Tapatalk Pro
 

Skeptical.me

Very Senior Member

thelonelycoder

Part of the Furniture

thelonelycoder

Part of the Furniture
Never ever do system critical things at 4:30 in the morning, still half asleep and the coffee machine not even running.
I had a bad night and woke up with a stiff neck early Friday morning. Formatted a USB stick in my local Centos 7 system and plugged it into a testrouter. At the same time that Linux system had some updates which I installed. It reqested to reboot which I happly let it do.
Meanwhile, I look at the stick on the router, seeing all the files that should no longer be there.
It dawned on me that something dreadful happened.

I am in the process of setting up a new Centos 8 server as I write this.
I did have a backup of all the latest files. All amtm and Diversion development files are edited and stored directly on that server, for convenience and out of habit. The nightly backup to the NAS worked I found or else this would have been a major setback as I did a large change in the Diversion WebUI files the night before.

Again, don't do what I did.
 

RMerlin

Asuswrt-Merlin dev
I have daily disk imaging of my desktop sent to my NAS. Worst case scenario means I lose 24 hours of work.

Saved me twice as a %#&&% Windows update automatically rebooted my desktop while I was in the middle of a git operation on the VM, corrupting that VM's filesystem beyond repair. That was in the early days of Windows 10, when Microsoft's idea of "this PC isn't busy right now, let's reboot it" didn't take into account that a PC can be busy even if there isn't someone behind the monitor at the time...
 

Twiglets

Senior Member
Solved, the Script causing the issue was ... NextDNS https://github.com/nextdns/nextdns/wiki/AsusWRT-Merlin

I won't be testing that script again.
I am not sure that *is* the culprit as I have been through the same problem multiple times where the loggging is on according to Diversion *but* the log cannot be followed because the "logging is not enabled !!!"

I have never used the NextDNS script.

I have toggled logging on/off multiple times and it did not solve the problem.
In the end I have run through every possible option (disable/reenable 'a' Blocking / 'l' Logging / reset Logs via 'D' Option 7 ) to try to force the log file to be picked up & ended up re-installing Diversion.

I think it is something interacting with diversion but have not been able to identify what.

I cannot define a repeatable sequence that causes the problem, so have not been able to report the issue.

Now someone else has demonstrated the issue and it is not just me. :)
 

Skeptical.me

Very Senior Member
I am not sure that *is* the culprit as I have been through the same problem multiple times where the loggging is on according to Diversion *but* the log cannot be followed because the "logging is not enabled !!!"

I have never used the NextDNS script.

I have toggled logging on/off multiple times and it did not solve the problem.
In the end I have run through every possible option (disable/reenable 'a' Blocking / 'l' Logging / reset Logs via 'D' Option 7 ) to try to force the log file to be picked up & ended up re-installing Diversion.

I think it is something interacting with diversion but have not been able to identify what.

I cannot define a repeatable sequence that causes the problem, so have not been able to report the issue.

Now someone else has demonstrated the issue and it is not just me. :)

I don't know, mate. All I can see is that prior to Diversion logging not working (but indicating in the menu it was on) I did not have NextDNS installed, after installing it logging failed. Then I deleted NextDNS and logging is working again. I have left my Terminal app on all night with the log active and its going great.
 

Skeptical.me

Very Senior Member
Thanks again for everyone's help over the last week. I tend to come to this forum every so often, then get busy with other things non computer related and forget everything I learn here. But I have started saving [How To] notes to try and remember everything.
 

thelonelycoder

Part of the Furniture
I am not sure that *is* the culprit as I have been through the same problem multiple times where the loggging is on according to Diversion *but* the log cannot be followed because the "logging is not enabled !!!"

I have never used the NextDNS script.

I have toggled logging on/off multiple times and it did not solve the problem.
In the end I have run through every possible option (disable/reenable 'a' Blocking / 'l' Logging / reset Logs via 'D' Option 7 ) to try to force the log file to be picked up & ended up re-installing Diversion.

I think it is something interacting with diversion but have not been able to identify what.

I cannot define a repeatable sequence that causes the problem, so have not been able to report the issue.

Now someone else has demonstrated the issue and it is not just me. :)
Problem noted.
 

thelonelycoder

Part of the Furniture
Thanks again for everyone's help over the last week. I tend to come to this forum every so often, then get busy with other things non computer related and forget everything I learn here. But I have started saving [How To] notes to try and remember everything.
Never mind the sarcastic comments ;)
 

tekrich

Regular Contributor
Thanks to thelonelycoder and Diversion, I have twitter (and facebook) blocked.
Can facebook be blocked by url only? I.E. facebook.com?
 

Skeptical.me

Very Senior Member
Thanks to thelonelycoder and Diversion, I have twitter (and facebook) blocked.
I block all of Facebook, but I use WhatsApp, and I don't use Instagram but don't block it as I often watch videos embedded in articles. I use Twitter anonymously and don't have family or friends on it, it's just for politics. And I use Reddit. I love Diversion, it's brilliant, I block other Social Media as well. Honestly, the 90's were great when these services weren't around.


Sent from my iPhone using Tapatalk Pro
 

Jacob

Occasional Visitor
Hey Lonelycoder i have a question. I'm trying to block this site (api.db-ip.com)which is constantly calling cloudfare yet it automatically gets whitelisted, same with some s3.amazonaws sites. Why is that? are you guys forcing a whitelist that we cannot edit on us? I appreciate your work but his dont seem right. Please clarify.
 

Jack Yaz

Part of the Furniture
  • Like
Reactions: a5m

Jacob

Occasional Visitor
Hey Jack big fan of your work man, thanks for all you do. Would not be using a router if it was not for the work you guys do here. Now back to the original question, altough i understand the hardcoded list, the one mentioned site(or app) (api.db-ip.com) is not on that list and also it cannot be removed. seems like the router is constanstly uploading to cloudfare and it cannot be stopped.
 

dave14305

Part of the Furniture
Hey Jack big fan of your work man, thanks for all you do. Would not be using a router if it was not for the work you guys do here. Now back to the original question, altough i understand the hardcoded list, the one mentioned site(or app) (api.db-ip.com) is not on that list and also it cannot be removed. seems like the router is constanstly uploading to cloudfare and it cannot be stopped.
Skynet uses that site so it is part of the shared whitelist between Diversion and Skynet.
 

Latest threads

Sign Up For SNBForums Daily Digest

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