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.
I was trying to Whitelist this video website Rutube.ru but it didnt work for some reason (done the processing part and reboot router just in case). I Whitelisted: www.rutube.ru, rutube.ru, and http://rutube.ru none worked. But when I used AdBlock everything was fine when whitelisted domain. Ads are inside the videos, when blocked videos play only on SD quality vs HD
Both, the Standard and Medium hosts file show HD quality here.
 
I was trying to Whitelist this video website Rutube.ru but it didnt work for some reason (done the processing part and reboot router just in case). I Whitelisted: www.rutube.ru, rutube.ru, and http://rutube.ru none worked. But when I used AdBlock everything was fine when whitelisted domain. Ads are inside the videos, when blocked videos play only on SD quality vs HD

The White-list feature works, my guess is that you are using the highest host file, if so, you also need add to the white-list all of the add domains that www.rutube.ru uses and the problem will go away, another fix could be lowering it to a medium or standard security host file.

I went across almost the same problem on a different site but literally the same problem, they won't let me watch videos if I don't white-list all of the ad-domains, but in my case the website said that it detected that I was using an ad-blocker and that I needed to turn it off in order to watch my anime videos. I just added their three add-domains to the white-list and it worked.
 
Last edited:
Both, the Standard and Medium hosts file show HD quality here.

I am using Medium host file. When you launch a video from that website it give you the msg inside the video player that highest quality of playback is blocked due to adblocker and they ask you to unblock their domain (http://rutube.ru), it did not work with Whitelist, did with Adblocker ext for Chrome

ps. they only ask to whitelist that 1 domain. (i'll ask them if they are using anything else, but like i said chrome ext worked fine with whitelist)

ps. i assume i am doing it the right way. i add "rutube.ru" to whilelist (no ip entry before the domain) and press "3" to process it.
 
Last edited:
I just had to go through the same process as this for another streaming site, got there in the end.
Use the "follow log" (F) option in AB-S, then select "Blocked Domains" - option 2 I think? Refresh the page and see what domains are being blocked then add them to your whitelist. Because I'm an obsessive I then went through the process of commenting out (hash symbol) the different URLs to see if I could narrow it down further.

Lonelycoder, I'm not sure if this would ever be possible, but being able to automatically add these urls to the whitelist would be a great time saving feature - I guess its sort of an uber-whitelist edit. In my case there were about 8 URLs being blocked on my videofeed (from www.tsn.ca).

As always, thanks for your work on this. Brilliant bit of scripting.
 
I am using Medium host file. When you launch a video from that website it give you the msg inside the video player that highest quality of playback is blocked due to adblocker and they ask you to unblock their domain (http://rutube.ru), it did not work with Whitelist, did with Adblocker ext for Chrome

ps. they only ask to whitelist that 1 domain. (i'll ask them if they are using anything else, but like i said chrome ext worked fine with whitelist)

ps. i assume i am doing it the right way. i add "rutube.ru" to whilelist (no ip entry before the domain) and press "3" to process it.

I gave you the solution already, just add the ads domain to the whitelist, I would'nt ask them to give me that information, there is many ways to find out by using a phone or computer, Example, on my phone I would turn wifi off then visit http://rutube.ru then I would navigate the site and let the ads come, then I will go see the history and add those sites to the whitelist, or for better results you can install an app to monitor your own online activity and see the sites that http://rutube.ru redirets you to.

on a PC is even easier.
 
Hi,
is it possible to use ab-solution with pixelserv listening another port than 80/443?
Sure: (ps), 3. Add or remove pixelserv switches

Set https_port and http_port
 
Sure: (ps), 3. Add or remove pixelserv switches

Set https_port and http_port

ok, thanks. I had not entered to [ps] option because my entware folder is not detected. I'll wait to new release.

Edit: Finally, I've decided to rename entware folder and tried to change the pixelserv ports. Added new ports to http/https and pixelserv works correctly but the "installation check" in ab-solution script only checks if pixelserv is on port 80 (querying servstats.txt).
I hope explained well, my english is poor. Thank very much.
 
Last edited:
Edit: Finally, I've decided to rename entware folder and tried to change the pixelserv ports. Added new ports to http/https and pixelserv works correctly but the "installation check" in ab-solution script only checks if pixelserv is on port 80 (querying servstats.txt).
I hope explained well, my english is poor. Thank very much.
Your English is absolutely fine.

Seems like you're the first one to use the -p switch.
I'll see if I can squeeze the port number change into the AB3.1 installation check.
 
ok, thanks. I had not entered to [ps] option because my entware folder is not detected. I'll wait to new release.

Edit: Finally, I've decided to rename entware folder and tried to change the pixelserv ports. Added new ports to http/https and pixelserv works correctly but the "installation check" in ab-solution script only checks if pixelserv is on port 80 (querying servstats.txt).
I hope explained well, my english is poor. Thank very much.

dont forget to set up some iptables rules to redirect the queries to the new ports (dnsmasq will be forwarding requests on port 80 and 443 but pixelserv will not be listening on those ports anymore)
 
dont forget to set up some iptables rules to redirect the queries to the new ports (dnsmasq will be forwarding requests on port 80 and 443 but pixelserv will not be listening on those ports anymore)
Just checked, I meant to have text added to the menu warning of that fact. Will do it for AB3.1
 
Something like
Code:
iptables -t nat -A PREROUTING -d XXX.XXX.XXX.XXX -p tcp --dport 80 -j DNAT --to XXX.XXX.XXX.XXX:AAA
iptables -t nat -A PREROUTING -d XXX.XXX.XXX.XXX -p tcp --dport 443 -j DNAT --to XXX.XXX.XXX.XXX:BBB

Where XXX.XXX.XXX.XXX is your pixelserv IP address
             AAA is your new HTTP port
             BBB is your new HTTPS port
 
I just had to go through the same process as this for another streaming site, got there in the end.
Use the "follow log" (F) option in AB-S, then select "Blocked Domains" - option 2 I think? Refresh the page and see what domains are being blocked then add them to your whitelist. Because I'm an obsessive I then went through the process of commenting out (hash symbol) the different URLs to see if I could narrow it down further.

Lonelycoder, I'm not sure if this would ever be possible, but being able to automatically add these urls to the whitelist would be a great time saving feature - I guess its sort of an uber-whitelist edit. In my case there were about 8 URLs being blocked on my videofeed (from www.tsn.ca).

As always, thanks for your work on this. Brilliant bit of scripting.

I guess I see what my issue is. I've done the above and that website is running shirt lots of ads from famous .RU domians as well as many .COM (Google etc). I am guessing the Adblocker ext was allowing ALL ads to be running on RUTUBE.RU domain and with AD-S I must whitelist each and every domain separately ? Is that the case ? But if I do that, wouldn't I allow the same ads on all other websites as well ?
 
I guess I see what my issue is. I've done the above and that website is running shirt lots of ads from famous .RU domians as well as many .COM (Google etc). I am guessing the Adblocker ext was allowing ALL ads to be running on RUTUBE.RU domain and with AD-S I must whitelist each and every domain separately ? Is that the case ? But if I do that, wouldn't I allow the same ads on all other websites as well ?
AB cannot filter by criteria of a visited website, just block or whitelist in global by domains.
There is no if-this-then-do-that function in dnsmasq (the binary that does all the magic for AB).
 
AB cannot filter by criteria of a visited website, just block or whitelist in global by domains.
There is no if-this-then-do-that function in dnsmasq (the binary that does all the magic for AB).

Thanks. I'll watch in SD quality :) I dont want to unblock all those ad domains just to run one website.
 
I've been running AB-Solution 3 on my AC56U for the past few weeks and it's been fantastic. I use WinSCP to edit my white list and then SSH back in to process it. Smooth operation.

I hope you will consider trying to bring it to DD-WRT - I have a Netgear R6700 (same hardware as R7000) with DD-WRT and I would love to run AB-Solution on it. I might have to switch it over to Xwrt just for AB-Solution, though I don't want to lose FQ_CODEL. I tried to get a Pihole running but had issues with static DNS assignment.

In any event, many thanks for this great piece of software!
 
I've been running AB-Solution 3 on my AC56U for the past few weeks and it's been fantastic. I use WinSCP to edit my white list and then SSH back in to process it. Smooth operation.
For simplicity, I do it that way all the time, the (el) function is for those that are not so handy with scp, nano or even WinSCP.

I hope you will consider trying to bring it to DD-WRT - I have a Netgear R6700 (same hardware as R7000) with DD-WRT and I would love to run AB-Solution on it. I might have to switch it over to Xwrt just for AB-Solution, though I don't want to lose FQ_CODEL. I tried to get a Pihole running but had issues with static DNS assignment.
I do consider it but can give no guarantees I will be doing it.
If so, it will be along with the overhaul for the next major version, AB-Solution 4.

In any event, many thanks for this great piece of software!
Glad you enjoy it.
 
mobile adds were being blocked via wifi but doesnt seem to be bocked anymore, desktop via wired/wireless is fine.
chrome mobile even using desktop mode no ads are blocked
using medium host blocking script, restarted ab, reran host update, using ps, any ideas?
 
mobile adds were being blocked via wifi but doesnt seem to be bocked anymore, desktop via wired/wireless is fine.
chrome mobile even using desktop mode no ads are blocked
using medium host blocking script, restarted ab, reran host update, using ps, any ideas?
Check the DNS setting on the device. It must be the IP of that router.
 
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