Adblock Plugin

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adblock Plugin

Post by Lantis »

Version 1.1.1
- Updated German translation (thanks @petbrau)
- Fixed Tor checking logic. Now works correctly for users who don't have Tor plugin installed at all.
- Added some additional behind the scenes logging entries to make debugging easier in the future


First post updated.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Ziggy
Posts: 7
Joined: Thu Feb 11, 2016 10:28 pm

Re: Adblock Plugin

Post by Ziggy »

Lantis wrote:@ziggy
I cannot reproduce a scenario where I get no hosts file
Is that file something I can import manually? Or create it manually if I have the contents sent to me?

Ziggy
Posts: 7
Joined: Thu Feb 11, 2016 10:28 pm

Re: Adblock Plugin

Post by Ziggy »

I'm getting a MD5sum mismatch error installing the new version.
Attachments
Error.rar
(261 Bytes) Downloaded 272 times

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adblock Plugin

Post by Lantis »

Ziggy wrote:I'm getting a MD5sum mismatch error installing the new version.
Fixed.

Ive just discovered that one of the hosts has changed their file format so i'll have to look into that as well.

Umm i can provide the file for you but i don't really understand why it isn't working.
Will send you a PM
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

PCVXD
Posts: 1
Joined: Sun Feb 21, 2016 6:42 am

Re: Adblock Plugin

Post by PCVXD »

I want to update the plugin but it won't uninstall from the GUI. I'm not familiar with the CLI interface, could someone help me uninstall it manually?

User avatar
FxProgrm
Posts: 2
Joined: Sat Feb 27, 2016 12:20 pm
Location: Chicago

Re: Adblock Plugin

Post by FxProgrm »

Hi Lanis -- Love your work and on integrating this into the UI. I've been running the script on a number of family routers over the years.

I would like to suggest two additional lists that may help curb some other ad networks and malware.

#wget -qO- "http://hosts-file.net/ad_servers.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list
#wget -qO- "http://www.malwaredomainlist.com/hostsl ... s.txt"|awk -v r="$ENDPOINT_IP4" '{sub(/^127.0.0.1/, r)} $0 ~ "^"r' >> /tmp/block.build.list

I don't know if there is a way to enhance this to make updates via the UI whereas to provide the file url and the general filter (maybe in an advanced section)?

Thanks for all the work.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adblock Plugin

Post by Lantis »

An interesting suggestion.
A way to enter your own URLs and a regex for them. What a cool idea. It'd be complicated though. I'll look into it.

My thoughts for not just adding the lists by default is as the lists get bigger some of the processing required on them starts to fill the RAM of small routers causing a crash.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

meazz1
Posts: 65
Joined: Mon Dec 07, 2015 4:40 pm
Location: Auburn, GA. USA

Re: Adblock Plugin

Post by meazz1 »

In the Adblock page there's an option for "ADBLOCKWireless" which has a check box.
What is this for?

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adblock Plugin

Post by Lantis »

It was supposed to allow the option to only block ads for wireless clients. Unfortunately due to the way gargoyle bridges the interfaces I couldn't get it to properly identify the seperate traffic.
The idea was that your wired clients (probably PCs) may have their own ad blocking so you only wanted to do it for phones etc.

If I (or anyone else) can suggest a way of fixing it I'll put it back in.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

Re: Adblock Plugin

Post by tapper »

Lantis wrote:An interesting suggestion.
A way to enter your own URLs and a regex for them. What a cool idea. It'd be complicated though. I'll look into it.

My thoughts for not just adding the lists by default is as the lists get bigger some of the processing required on them starts to fill the RAM of small routers causing a crash.
Make the lists have tick boxes and set to off by default. You could ad them under a heading extra lists and have a note saying that they may take up more ram on devices with low ram.

I think that would be much simpler than allowing a edit field for people to input there own URLs
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Post Reply