I have installed a adblock-3.8 package along with luci-app-adblock, Integration went well with latest openwrt .
My problem starts here I want to blacklist few sites in my access point where I have two interfaces lan and lan-1, I want to apply adblock on one interface lan-1 and one without adblock blacklisting.
I am stuck with the question how ?I need urgent help..
I did get sm solution which states that create two instances of dnsmasq and reload it should work
but hard luck.
Please, if smone could help me out will be thankful.
Thanks a lot , multiple instance of DNSmasq worked for me
Few observations and concerns:
1- what /usr/bin/adblock.sh file does ?
2- MACbookPro , adblock is not able to blacklist the site any idea why ?
3- With multiple instance of dnsmasq and adblock applied on one out of multiple instances, current adbock report takes time to get reflected , why ?
4- is it not possible to get adblock applied on all the dnsmasq instances ?
Above solution works for mac book pro but isn't it a hack where blacklisting will be overruled coming from my access point ?
is there a way we can force the user not use the external DNS resolver ?
Clone the serversfile option to each Dnsmasq instance but i want that each interface can blacklist the sites which they want to blacklist , cloning will block same sites on all the interface , hope it sounds correct ?
why adblock only gets triggered when i manually execute this command
but not though web interface by enable = 1
why status is not working for me
::: adblock runtime information
/etc/rc.common: line 143: json_load_file: not found
WARNING: Variable 'data' does not exist or is not an array/object
why I see so many tcpdump processes running in my PS , I think everytime I trigger adblock i see new process of adblock in my process status, why is it so ?
Possible bug? For me adblock is working fine. It starts as it should and then it also gets reloaded when I make changes through LuCI. If you are using SNAPSHOT version then maybe there can be unexplained bugs. My adblock current version is 3.5.5-2.
Again works fine for me. See the output below. There can be a bug in your installed version.
I am testing this feature so enabling/disabling from GUI also rebooting to understand the behaviour of each parameter.
I understand that everytime I trigger adblock new process gets recreated but old entry in the PS should go , which is not happening in my case , was concerned if so many tcpdump old processes running may affect the system.
thanks Drik... it worked for me.. basically it is timing issue of the scripts eg network script.
-there is another issue which keeps popping up
the domain eg facebook.com which is there in my blacklist after 3/10 times reboot opens the facebook page. logically , it shdn't happen. I tried dnsflush option but issuestill exists , am I missing something ?
thanks in advance..