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!

how can i adblock on rt-ac56u?

Look at this Thread by Xerxist.
This blocks on hosts level. I have an advanced version of this running on my RT-AC66U.
It should work on yours too.
 
What does the advanced version do?
 
I would be very interested, thanks!
 
Having such a large host file will most likely negatively impact the router performance. I recommend going with a solution based on ipset instead.
 
Having such a large host file will most likely negatively impact the router performance.

The hosts file is 728 KB, a tad larger then the single ones. I notice no slow down. Looking at output of "top" in a shell makes me hopeful this is a lasting solution.

I have postet my findings here.
 
Having such a large host file will most likely negatively impact the router performance. I recommend going with a solution based on ipset instead.

so, to use ipset, it looks like you need to resolve the (potentially very large) list of FQDNs first. and you'd have to schedule this to happen periodically. and have it setup to get every IP attached to a FQDN.

i'm always for better performance, but i haven't noticed any trouble with large hosts files. think i'm going to pass on this, unless i'm missing something
 
so, to use ipset, it looks like you need to resolve the (potentially very large) list of FQDNs first. and you'd have to schedule this to happen periodically. and have it setup to get every IP attached to a FQDN.

i'm always for better performance, but i haven't noticed any trouble with large hosts files. think i'm going to pass on this, unless i'm missing something

It's possible that dnsmasq is hiding the performance hit by caching the content of the host file in an internal format, so the performance penalty might not be visible unless you started to benchmark name resolutions.

ipset does require indeed that you have IPs instead of hostnames. If you can find any csv blocklist that contains those IPs, it can be trivial to update ipset through a script - similar to how ryzhov_al is using ipset to block IP ranges belonging to certain countries. The benefit of this however is that you can potentially easily block an advertiser's whole IP block, instead of having multiple IPs for each of their servers (adserver1.blah.com, adserver2.blah.com, etc...)
 

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!
Back
Top