[RESOLVED] ABE rule for Greasemonkey Couchpotato script

Discussions about the Application Boundaries Enforcer (ABE) module
TheMadHatter
Posts: 4
Joined: Thu Apr 24, 2014 10:58 pm

[RESOLVED] ABE rule for Greasemonkey Couchpotato script

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: ABE rule for Greasemonkey Couchpotato script

Post by GµårÐïåñ »

Code: Select all

Site http://192.168.1.116:{Port Used}/
Accept GET from *.imdb.com/
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1941.0 Safari/537.36
TheMadHatter
Posts: 4
Joined: Thu Apr 24, 2014 10:58 pm

Re: ABE rule for Greasemonkey Couchpotato script

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: ABE rule for Greasemonkey Couchpotato script

Post by barbaz »

Have you got any USER rules affecting 192.168.1.116?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
TheMadHatter
Posts: 4
Joined: Thu Apr 24, 2014 10:58 pm

Re: ABE rule for Greasemonkey Couchpotato script

Post 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/*
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: ABE rule for Greasemonkey Couchpotato script

Post by GµårÐïåñ »

Ok, the asterisks shouldn't be necessary but if it works for you then I am glad.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1941.0 Safari/537.36
TheMadHatter
Posts: 4
Joined: Thu Apr 24, 2014 10:58 pm

Re: [RESOLVED] ABE rule for Greasemonkey Couchpotato script

Post by TheMadHatter »

Yeah it's weird, I tried them again without asterisks but it started blocking again *shrugs* either way, this works :)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: [RESOLVED] ABE rule for Greasemonkey Couchpotato script

Post 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/*
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
Post Reply