gargoyle-ispy 2018-February-14 21:09

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

Moderator: Moderators

User avatar
labou
Posts: 15
Joined: Mon Feb 05, 2018 6:55 pm
Contact:

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

Post by labou »

Updated my TP-Link Archer C7 v2 and everything seems to be working so far. Thank you
TP-Link Archer C7 v2
Linksys WRT1200AC

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

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

Post 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.

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

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

Post 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);
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.

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

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

Post 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?

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

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

Post by ispyisail »

I wonder if we needs a rules database of commonly used apps so people can just select "facebook" "skype" etc?

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

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

Post by Lantis »

Possibly an entry in the wiki yea. To celebrate the conquering of HTTPS 8-)
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.

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

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

Post 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

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

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

Post 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

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

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

Post by ispyisail »

and this rule does not block

Image

Rog66
Posts: 206
Joined: Fri Jan 04, 2013 4:53 pm

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

Post 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 !!!!

Post Reply