help needed: installed adblock and now cannot connect to WAN

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
ooker
Posts: 18
Joined: Tue Aug 27, 2013 9:26 am

help needed: installed adblock and now cannot connect to WAN

Post by ooker »

Hi Folks, I'd like some help.
I have 1.9.X (Built 20161107-1156 git@93ae2e4) running on a Linksys WRT1200AC

I installed the adblock plugin (I probably should have updated firmware to a more recent build first), and now I cannot get an IP address from the WAN (using DHCP).

I suspect that some config associated with the adblock plugin caused problems.

Does anyone know what config files get updated when adblock is installed? My plan was to check those config files to see if there is something obvious to revert.

I've tried updating to gargoyle_1.9.x-mvebu-armada-385-linksys-caiman-squashfs-sysupgrade.tar

And selected preserve config and the issue is still present after updating.

Also, I noticed this post and tried disabling the WAN then reenabling WAN DHCP and did not have success: viewtopic.php?f=14&t=10839&hilit=adblock+install&start=10#p44453

Does anyone have any other suggestions for trouble-shooting/fixing this issue?
Last edited by ooker on Sat Sep 30, 2017 3:00 pm, edited 1 time in total.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: help needed: installed adblock and now cannot connect to WAN

Post by ispyisail »

selected preserve config
bad

failsafe reset or reflash (without preserving settings)

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

Re: help needed: installed adblock and now cannot connect to WAN

Post by Lantis »

The only thing it does is add a firewall rule to redirect all DNS traffic on port 53 to itself. Then it adds the block list to the dnsmasq config.

Nothing that should really kick you from the net
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.

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: help needed: installed adblock and now cannot connect to WAN

Post by d3fz »

ispyisail wrote:
selected preserve config
bad

failsafe reset or reflash (without preserving settings)
I've been testing a really simple CSS rule that could prevent users from shooting themselves in the foot (bricking their routers), at least for now. Since it's all done via CSS, it doesn't break any functionality and can be enabled/disabled in a heartbeat, whenever necessary.

Code: Select all

/* Disable Controls / Block events  */
#rule_app_protocol_label,
#rule_app_protocol_type,
#exception_app_protocol_label,
#exception_app_protocol_type,
#use_app_protocol:enabled,
#app_protocol_label,
#app_protocol,
#upgrade_preserve:enabled,
#upgrade_preserve_label
{
	pointer-events:none;
	touch-action:none;
	opacity:0.5;
	outline:0;
}
This addresses both "Preserve Settings" and "App Layer7 Protocol" problems.

Who's willing to try it ? :lol:
Last edited by d3fz on Sun Oct 01, 2017 2:23 pm, edited 6 times in total.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: help needed: installed adblock and now cannot connect to WAN

Post by ispyisail »

@d3fz

+1

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: help needed: installed adblock and now cannot connect to WAN

Post by ispyisail »

@d3fz

You might want to suggest your solution here

https://github.com/ericpaulbishop/gargoyle/issues

see what Eric thinks?

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: help needed: installed adblock and now cannot connect to WAN

Post by d3fz »

@ispyisail

I'll probably do that, but first i would like someone to test it, see if it works and if that's a viable approach. Once both functionalities gets fixed, it could be removed/disabled in no time.

Have you tried it ?
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

Post Reply