Page 1 of 1

[RESOLVED] ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 1:42 am
by TheMadHatter
I've been trying to figure out how to get ABE from allowing my Greasemonkey userscript to allow connection to another network device but so far no luck what so ever.

I've tried several things other people used for extensions but none of them seems to work, at the moment this is what I got:

Code: Select all

# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
# Allow Couchpotato.
Accept GET from 192.168.1.116:{Port Used}
Deny

# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny
Port used is an actual port in my list.

What ABE is blocking is something in the lines of this:

Code: Select all

Request {GET http://192.168.1.116:PortUsed/api/{Long apikey}/userscript/url=http%3A//imdb.com/title/{Database ID} <<< http://www.imdb.com/title/DatabaseID/?ref_=cs_ov_tt - 7} Filtered by ABE: <192.168.1.116> Deny
Could someone please help me generate something that works because it's annoying to constantly turn ABE on and off lol.

Re: ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 2:10 am
by GµårÐïåñ

Code: Select all

Site http://192.168.1.116:{Port Used}/
Accept GET from *.imdb.com/

Re: ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 2:34 am
by TheMadHatter
Tried that one already, just tried again, didn't work, I still get the same block message from ABE.
I put those lines before the standard block rule but it still blocks it for some reason.

Re: ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 2:50 am
by barbaz
Have you got any USER rules affecting 192.168.1.116?

Re: ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 2:54 am
by TheMadHatter
Nope, the settings are still default, I never touched them before this.

Fixed :)

Code: Select all

#Couchpotato rule
Site http://192.168.1.116:[PortUsed]/*
Accept GET from *.imdb.com/*

Re: ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 7:33 am
by GµårÐïåñ
Ok, the asterisks shouldn't be necessary but if it works for you then I am glad.

Re: [RESOLVED] ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 2:06 pm
by TheMadHatter
Yeah it's weird, I tried them again without asterisks but it started blocking again *shrugs* either way, this works :)

Re: [RESOLVED] ABE rule for Greasemonkey Couchpotato script

Posted: Fri Apr 25, 2014 2:36 pm
by barbaz
TheMadHatter wrote:Yeah it's weird, I tried them again without asterisks but it started blocking again
Oh.. I guess adding the / after *.imdb.com turns it from a glob domain expression into a glob full URL expression which requires the trailing wildcard. These should work also (would additionally allow access to your local server from http://imdb.com/* - if you don't need that, put back the * in front of .imdb.com)

Code: Select all

Site http://192.168.1.116:{Port Used}/
Accept GET from .imdb.com

Code: Select all

Site http://192.168.1.116:{Port Used}/
Accept GET from .imdb.com/*