Page 2 of 4

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 5:00 pm
by labou
Updated my TP-Link Archer C7 v2 and everything seems to be working so far. Thank you

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 7:38 pm
by Rog66
am getting the same when saving rules - they are being added to the firewall config as "config restriction_edit_rule.sh" rather than "config restriction_rule". If I change the first line of the rule to "config restriction_rule" they appear in the UI but editing them has no effect.

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 7:39 pm
by Lantis
Ok i see the error. It is only to do with editing rules. If you make the rule right the first time there will be no error.
It appears to be related to a commit made after mine. Will investigate.

@ispy
Doing a block on
Contains: facebook
Contains: fbcdn

Makes facebook unreachable in a browser :) Have not tried what this does to the app

Image

EDIT: Fix pushed
Lines 307 and 308 of /www/js/restrictions.js should be changed as follows

Code: Select all

var editRuleWinType = editRuleType == "restriction_rule" ? "restriction_edit_rule.sh" : "whitelist_edit_rule.sh";
editRuleWindow = openPopupWindow(editRuleWinType, "edit", 560, 600);

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 10:13 pm
by ispyisail
I've been testing, game changer

Facebook blocked on browser = confirmed

Facebook blocked on android app = confirmed but.....

It appears that the app caches information so its had to tell if its fully blocking or there is a leak. 99% sure its fully blocked?

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 10:15 pm
by ispyisail
I wonder if we needs a rules database of commonly used apps so people can just select "facebook" "skype" etc?

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 10:29 pm
by Lantis
Possibly an entry in the wiki yea. To celebrate the conquering of HTTPS 8-)

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Fri Feb 16, 2018 10:49 pm
by ispyisail
Lantis wrote:Possibly an entry in the wiki yea. To celebrate the conquering of HTTPS 8-)
I hope people appreciate what you have achieved.

Thank you

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Sat Feb 17, 2018 4:12 am
by ispyisail
@Lantis

I make a quick how to
https://www.gargoyle-router.com/wiki/do ... teblocking

The problem is when I do a search on
https://www.youtube.com/

Nothing displays on "Recently Visited Sites"

Image

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Sat Feb 17, 2018 4:15 am
by ispyisail
and this rule does not block

Image

Re: gargoyle-ispy 2018-February-14 21:09

Posted: Sat Feb 17, 2018 5:58 am
by Rog66
ok - even in a hex editor my restrictions.js looks nothing like that for some reason . Have created 2 new rules without editing and youtube is also blocked for both apps and browser by adding "domain contains youtube" Fantastic !!!!