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!

Really appreciate you developing this @thelonelycoder , it's great!

Not sure if you are accepting bug reports here, but did [possibly?] find a small one.

When I was adding a domain to the whitelist (image included) it came back with "found exact match in blocking file:" but listed the domain I entered. Assuming (but you know what they say about assuming ;)) it should lists the actual host(s) files that have the domain listed? Or maybe it is intended the way it is? Either way, thank you for the amazing service!
Thanks, but this is not a bug.
To find from which hosts file(s) a specific domain is added to the blocking file use b, 5. Find domain in hosts file(s).

The blocking file is amalgamated from hosts files. The whitelist entries are only removed from the blocking file, not the individual hosts files.
 
I use Statcounter to monitor some stats so I need to be able to visit https://statcounter.com/

When I disable and enable Diversion I can get access to it but just for a short time then I get a certificate error. I use Standard list btw.

Is the option to add it to the whitelist? What format exactly?
Use el in the Diversion UI and select edit whitelist.
Add domain statcounter.com to it. Then process the file. Done.
 
Is there a way to have stats at the top updated for each page refresh instead of having to press ac each time?
No, there's not. But I can build this in as an configurable option to run it every time the UI is opened.
At the moment, the ads counter is auto-updated at 5:20 and 20:17 each day through cron.

There were concerns and delays in the startup time in AB-Solution that made me remove the auto-update in the Diversion UI.

Yay or Nay for a option to update ads counter when opening the Diversion UI?
 
Yay or Nay for a option to update ads counter when opening the Diversion UI?

Ehrm... I'd have to say...
giphy.gif
 
Guys, and specifically @thelonelycoder , I'm probably being damn stupid, but have we now lost the ability, when following the log file, to be able to filter for blocked events etc?
 
Guys, and specifically @thelonelycoder , I'm probably being damn stupid, but have we now lost the ability, when following the log file, to be able to filter for blocked events etc?
Yes, it will return in one of the next updates.
 
As you are now venturing into CLI support (the follow command for instance is super handy), another future idea would be quick whitelist/blacklisting.

Being able to throw in a quick "diversion whitelist google.com" would be handy, but I know all too well that seemingly basic features can be complex under the hood with all the various option possibilities. So just some food for thought.
 
That's already built in as fs.
To enable the blocking file fast switch enter b, 1. Change composition, then 3. Enable Blocking file fast switch
The problem with that is, say I have a blocking file that is optimized for my son's xbox, and it allows watson.telemetry... then ALL of my devices will get to phone home, not just the xbox.

The fs feature doesn't allow say, clients a-d to use blocking file A, and clients e-j to use a second blocking file B. I am guessing such a 'per client' blocking file system is probably out of the scope of Diversion.

The closest thing I could find is Eric's new dns filter page, but that is limited to whatever outside services are available there (opendns, etc...). I have my router setup with eric's dns filter 'enabled', with global filtering set to 'no filtering' (thus allowing Diversion to work for 'the rest' of the clients), and certain 'special clients' are setup to use a custom dns (8.8.8.8 for example). That means those clients only have filtering provided by what opendns, etc... while the rest get whatever blocking list I activate in Diversion. It's better than nothing, but ideally I would have those 'special clients' use a second blocking list from Diversion instead. This is just my concept of what a 'wife filter' feature.
 
No, there's not. But I can build this in as an configurable option to run it every time the UI is opened.
At the moment, the ads counter is auto-updated at 5:20 and 20:17 each day through cron.

There were concerns and delays in the startup time in AB-Solution that made me remove the auto-update in the Diversion UI.

Yay or Nay for a option to update ads counter when opening the Diversion UI?
Yay for the option.... in the spirit of having it the way you want it.....if theres enough interest of course. The coding effort for this wouldn't be insignificant. Personally i wouldn't use it...whats the harm of updating the counters manually if you really need to see the latest numbers.
 
Being able to throw in a quick "diversion whitelist google.com" would be handy, but I know all too well that seemingly basic features can be complex under the hood with all the various option possibilities. So just some food for thought.
The complexity is indeed the biggest hurdle for such a feature, even tough it sounds simple. I'll add it to the to consider to do list anyway.
 
The fs feature doesn't allow say, clients a-d to use blocking file A, and clients e-j to use a second blocking file B. I am guessing such a 'per client' blocking file system is probably out of the scope of Diversion.
It would require to run a separate instance of Dnsmasq or some other resolver to run on your router. I did look into that in the early stages of AB4/Diversion development and decided against it. The complexity is beyond what I can or will do ATM.
 
Just upgraded my Ab-Solution to the latest version of Diversion. Everything went smoothly without any errors. Nice!

However, in the main menu of Diversion my pixelserv line (as it did with Ab-Solution as well) still shows:

Code:
ep  pixelserv-tls        192.168.1.3 likely v.Kk
instead of
Code:
ep  pixelserv-tls        192.168.1.x v2.1.2
or whatever (maybe some beta) every one else seems to have.

I think my pixelserv and entware are not up to date? Or what do you think (see below)?
How do I fix this to get the latest non-beta pixelserv version showing, instead of "likely v.Kk"?

And the "Status: unknown ok not-installed" in pixelserv-tls info? What does it mean?

pixelserv-tls info:
Code:
 Package: pixelserv-tls
 Version: 2.1.2-1
 Depends: libc, libssp, librt, libpthread, libopenssl, libpthread
 Status: unknown ok not-installed
 Section: net
 Architecture: armv7-2.6
 MD5Sum: 29f466e73e20c08b3694b67b76xxxxxx
 Size: 23317
 Filename: pixelserv-tls_2.1.2-1_armv7-2.6.ipk
 Description: pixelserv-tls is a tiny bespoke webserver for adblock with HTTP/1.1 and HTTPS suppo                            rt

 Package: pixelserv-tls
 Version: V35.HZ12.Kk-1
 Depends: libc, libssp, librt, libpthread, libopenssl, libpthread
 Status: install user installed
 Architecture: armv7soft
 Installed-Time: 1513298919

Installed Entware packages:
Code:
 entware-opt - 227000-3
 entware-release - 1.0-2
 entware-upgrade - 1.0-1
 findutils - 4.6.0-1
 grep - 3.1-1
 ldconfig - 2.23-8
 libc - 2.23-8
 libgcc - 7.3.0-8
 libopenssl - 1.0.2p-1
 libpcre - 8.42-1
 libpthread - 2.23-8
 librt - 2.23-8
 libssp - 7.3.0-8
 libstdcpp - 7.3.0-8
 locales - 2.23-8
 opkg - 2011-04-08-9c97d5ec-17c
 pixelserv-tls - V35.HZ12.Kk-1
 terminfo - 6.1-1
 zlib - 1.2.11-2
 zoneinfo-asia - 2018e-1
 zoneinfo-europe - 2018e-1

My router info:
Code:
RT-AC68U (armv7l) FW-380.70 @ 192.168.1.1 IPv6

Servstats
Code:
http://192.168.1.3/servstats
shows me:
Code:
pixelserv-tls version: v35.HZ12.Kk compiled: Sep 25 2017 19:44:15 options: 192.168.1.3
 
Last edited:
Just upgraded my Ab-Solution to the latest version of Diversion. Everything went smoothly without any errors. Nice!
Good to hear!
I think my pixelserv and entware are not up to date? Or what do you think (see below)?
How do I fix this to get the latest non-beta pixelserv version showing, instead of "likely v.Kk"?
It means what it says: pixelserv-tls version: v35.HZ12.Kk is installed but 2.1.2-1 is available to install.
Run ep, 6 and 6 again to update all Entware packages.
Diversion does not auto-update the packages during AB-Solution porting.
 
Good to hear!

It means what it says: pixelserv-tls version: v35.HZ12.Kk is installed but 2.1.2-1 is available to install.
Run ep, 6 and 6 again to update all Entware packages.
Diversion does not auto-update the packages during AB-Solution porting.
Thanks. But been there and done that several times already. Seems that I'm stuck with v35.HZ12.Kk?

Even though it says:
Code:
 Done  Entware packages action:
 all packages upgraded

What next?
 
Thanks. But been there and done that several times already. Seems that I'm stuck with v35.HZ12.Kk?

Even though it says:
Code:
 Done  Entware packages action:
 all packages upgraded

What next?
Try running this twice in a terminal:
Code:
opkg update; opkg upgrade
You may have to disable and re-enable pixelserv-tls in Diversion after this (ep, 4).
 
Thanks. But been there and done that several times already. Seems that I'm stuck with v35.HZ12.Kk?

Even though it says:
Code:
 Done  Entware packages action:
 all packages upgraded

What next?
i ran into this myself. I found that removing pixelserv from entware then reinstalling it did the trick.
Code:
opkg remove pixelserv-tls
opkg install pixelserv-tls
probably better let diversion reinstall it to make sure you get the custom init script
 

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