Page 1 of 1

help needed: installed adblock and now cannot connect to WAN

Posted: Sat Sep 30, 2017 11:38 am
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?

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

Posted: Sat Sep 30, 2017 5:22 pm
by ispyisail
selected preserve config
bad

failsafe reset or reflash (without preserving settings)

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

Posted: Sat Sep 30, 2017 5:54 pm
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

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

Posted: Sat Sep 30, 2017 9:33 pm
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:

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

Posted: Sat Sep 30, 2017 9:58 pm
by ispyisail
@d3fz

+1

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

Posted: Sat Sep 30, 2017 10:50 pm
by ispyisail
@d3fz

You might want to suggest your solution here

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

see what Eric thinks?

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

Posted: Sun Oct 01, 2017 11:09 am
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 ?