What's new

[Release] AB-Solution 3 - The Ad Blocking Solution

  • 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.
Hello,

With one of the latest updates on the list (shootter40sw) the start, browse, search and radio pages no longer work, just the option your songs and the playlists that I have work. I have already added the Spotify.com address to the whitelist and I did process but Spotify still does not work properly.

Someone can help me?

Thank you.
 
Hello,

With one of the latest updates on the list (shootter40sw) the start, browse, search and radio pages no longer work, just the option your songs and the playlists that I have work. I have already added the Spotify.com address to the whitelist and I did process but Spotify still does not work properly.

Someone can help me?

Thank you.
Playing from the website as well as with the app works spotlessly here.
To see what domains may be the cause you can enter (f) and option 2 for blocked domains.
Then try it again and see what gets blocked.
 
What appear to me are these below?

Jan 5 19:14:30 dnsmasq[13239]: /tmp/mnt/sda1/adblocking/hosts-adblock udm.scorecardresearch.com is 192.168.1.11
Jan 5 19:14:30 dnsmasq[13239]: /tmp/mnt/sda1/adblocking/hosts-adblock sb.scorecardresearch.com is 192.168.1.11
Jan 5 19:14:31 dnsmasq[13239]: /tmp/mnt/sda1/adblocking/hosts-adblock secure-us.imrworldwide.com is 192.168.1.11

But there is no reference to Spotify, are they really these?
 
What appear to me are these below?

Jan 5 19:14:30 dnsmasq[13239]: /tmp/mnt/sda1/adblocking/hosts-adblock udm.scorecardresearch.com is 192.168.1.11
Jan 5 19:14:30 dnsmasq[13239]: /tmp/mnt/sda1/adblocking/hosts-adblock sb.scorecardresearch.com is 192.168.1.11
Jan 5 19:14:31 dnsmasq[13239]: /tmp/mnt/sda1/adblocking/hosts-adblock secure-us.imrworldwide.com is 192.168.1.11

But there is no reference to Spotify, are they really these?
Both appear to be from the netherworld, they are rightfully blocked.
 
Oh my god... and Spotify let these underworld addresses have access to the accounts of paying users?

There I will have to switch again to Apple Music!
Both have their advantages, but I use only my legally bought Music through iTunes for the all time favorites.
In addition, I have a Sonos system and TuneIn. Those are the ones I use the most, very heavily.
But that's just me.
 
Both have their advantages, but I use only my legally bought Music through iTunes for the all time favorites.
In addition, I have a Sonos system and TuneIn. Those are the ones I use the most, very heavily.
But that's just me.
Off topic slightly....did you have any trouble setting up your Sonos system with the ASUS routers?...i heard some people had issues with bridging. Ive got Bose Soundtouch boxes around the house which works fine so far , but was thinking of giving the Sonos a try. AB3.1 shaping up ok?
 
Off topic slightly....did you have any trouble setting up your Sonos system with the ASUS routers?...i heard some people had issues with bridging. Ive got Bose Soundtouch boxes around the house which works fine so far , but was thinking of giving the Sonos a try.
None at all, I have my Sonos for a long while, before I even had my first Asus router. In fact, it was also a reason I bought it as my Zywall USG 20W caused some grief with the Sonos App.
You can either have the Sonos build their own WLAN or integrate it into the existing one. And this works flawless since I introduced my first RT-AC66U into my home.
Sonons not only works fine, it's fantastic, especially with the TruePlay function added recently.

AB3.1 shaping up ok?
Originally I had the idea to fix typos and the odd bug only.
But reading constantly the almost 1000 posts in this thread I added 'things that would be nice' to my 'things to do' list so that less support questions arise here. That added up as you can imagine.

I just spent almost a day to come to grips with that Asus Download Manager monster.
When installed and then uninstalled, it leaves a whole bunch of dead ends still installed and set in nvram on the router.
Those checks added an extra 150 lines to the pixelserv-tls.add alone today.

And the IPv6 bug triggered a whole rewrite of that function. It was a mess to read and understand (even to me) so I simplified it.

I'm now finally down to the update-hosts.add and the memory problem. Should not be too hard as I jotted down some good ideas how to limit it.
I'll also introduce the -nice flag to it so that the cpu(s) has more room to breath while updating.
 
Originally I had the idea to fix typos and the odd bug only.
You know it never pans out like that! Once you get started theres always that 'little tweak" which ends up turning into a full blown feature... AKA "incremental awesomeness"
As always...the offer is there if you need beta version shaken out before release into the wild.
i get a buzz out of reading the code as much as i do experiencing the end result
 
When these warnings appear, what do they mean and what should I do?

8950390d60364a75590cfa8fae0758a3.png


Continue, details or cancel?

4d324071cd2edad4d6e16387884e55ee.jpg
 
Thanks for all the hard work, lonelycoder. This is an awesome solution.

I've been using jerm's for a long time... I configured his script to run out of /tmp instead of /jffs to save writes and speed things up GREATLY (list regen and surfing latency).

The script I actually paste into my router is one that downloads the config, script, lists, and pixelserv from pastebin then kicks off the script. The routers are rarely restarted and rebuilding everything takes less than a minute; RAM makes sense.

Now i'm looking to make the switch from Tomato to Merlin's on one of my routers.

Is there an easy way to configure AB to run everything out of a subfolder in /tmp (/tmp/AB)?
Would all I need to do is create a hard link under /jffs to /tmp? Is there a better way?
 
Last edited:
Thanks for all the hard work, lonelycoder. This is an awesome solution.

I've been using jerm's for a long time... I configured his script to run out of /tmp instead of /jffs to save writes and speed things up GREATLY (list regen and surfing latency).

The script I actually paste into my router is one that downloads the config, script, lists, and pixelserv from pastebin then kicks off the script. The routers are rarely restarted and rebuilding everything takes less than a minute; RAM makes sense.

Now i'm looking to make the switch from Tomato to Merlin's on one of my routers.

Is there an easy way to configure AB to run everything out of a subfolder in /tmp (/tmp/AB)?
Would all I need to do is create a hard link under /jffs to /tmp? Is there a better way?
Ahh, @Haarp's "Clean, Lean and Mean Adblocking."...

Things are different here at Merlin's.
First of all, AB-Solution does not run off of /jffs/. It merely gets started by it, that's all.
AB does not constantly write to /jffs/, only when certain changes are made in the AB UI. For example changing the hosts file type is done entirely outside of jffs.
The jffs write wear is more a myth than reality.

There is absolutely no speed advantage if it is run int /tmp/, not even when updating the hosts files. The hosts file is read into RAM by dnsmasq, so even there, there's no benefit in running it in tmp.
 
@tomsk Can't quote your last reply, cloudfare is unhappy with it...
Anyway:
I'll gladly add you to the beta testers, your help is always welcome.
The update-hosts.add is nearly finished, some minor tweaks in coding are needed.
And I added a simple but very effective out-of-memory trick:
Before the update runs, a minimal hosts-adblock is loaded (just the pgl.yoyo.org file). This reduces the mem load in RAM.
Then the hosts update is run with more RAM to spare. Works like a charm.
 
@tomsk Can't quote your last reply, cloudfare is unhappy with it...
Anyway:
I'll gladly add you to the beta testers, your help is always welcome.
The update-hosts.add is nearly finished, some minor tweaks in coding are needed.
And I added a simple but very effective out-of-memory trick:
Before the update runs, a minimal hosts-adblock is loaded (just the pgl.yoyo.org file). This reduces the mem load in RAM.
Then the hosts update is run with more RAM to spare. Works like a charm.
Yes i saw you having a couple of tries to post....no idea what cloud flare is upset about...seemed fairly innocuous to me.
Nice idea with the minimal host file .... just let me know when you're ready to test :)
 
Does firmware upgrades break AB3?
Asking because i upgraded from 380.64 to 380.64_1 and AB3 entries are gone from cru l
and also AB3 startup .sh is missing from default user home directory.
Launched AB install again - shows that AB is not installed, after reinstalling shows errors:

checking dnsmasq.conf
file found
/etc/dnsmasq.conf is missing content
/etc/dnsmasq.conf is missing content
also pixelserv is not running anymore.

Should i remove it completely and then reinstall?
 
Last edited:
Does firmware upgrades break AB3?
Asking because i upgraded from 380.64 to 380.64_1 and AB3 entries are gone from cru l
and also AB3 startup .sh is missing from default user home directory.
Launched AB install again - shows that AB is not installed, after reinstalling shows errors:

checking dnsmasq.conf
file found
/etc/dnsmasq.conf is missing content
/etc/dnsmasq.conf is missing content
also pixelserv is not running anymore.

Should i remove it completely and then reinstall?
Your jffs partition was wiped then during upgrade. You have been warned in the fw update page to make a backup.
Just run the curl command and run an update/reinstall.
 
Status
Not open for further replies.

Similar 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