[Resolved] Adding an ABE exception for locally hosted images

Discussions about the Application Boundaries Enforcer (ABE) module
Obi

[Resolved] Adding an ABE exception for locally hosted images

Post by Obi »

Hi

I'm a great fan and advocate of NoScript but regrettably I'm not using 100% of the protection that it offers.

I've had to disable the ABE functionality for the following reason; I play an online game called Travians. Server lag is a constant issue and they support the use of image packs hosted on alternate sites, this helps a lot. I run USB Webserver 7.0 and host the image pack locally at http://localhost:8080/img. This has worked for a good few months up until the latest NoScript Update (version 1.9.5 i think).

I've tried editing the USER.abe file with the following exceptions:

ATTEMPT 1 (From the FAQ iRacing example)

#Travians Exception
Site <local site>
Accept from <remote site>
  • Where <local site> has been everything from http://localhost:8080 to http://127.0.0.1:8080 (both with and without the port designation)
  • and <remote site> has been travians.com, www.travians.com and http://www.travians.com

ATTEMPT 2 (From the FAQ Google Desktop example)

#Travians Exception
Site ^http://127\.0\.0\.1: (again, with and without port designation)
Accept from <remote site>
  • Where <remote site> is as above
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Adding an ABE exception for locally hosted image pack

Post by Giorgio Maone »

As said in the FAQ, you need to put those exceptions in the SYSTEM ruleset, before the LOCAL rule.
I'll probably augment the ABE language in a future release to introduce some priority modifier (like !important in CSS) so you can put Accept overrides in the USER ruleset, but at this moment the only way to have an Accept rule prevent the processing of other rules is putting it in the same ruleset (file) and before the rule you want to tweak.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
Obi

Re: Adding an ABE exception for locally hosted image pack

Post by Obi »

Worked perfectly! Thanks, my fault for not reading the FAQ properly.

I see SYSTEM and USER and avoid system like the plague until I know what I'm doing :mrgreen:

Thanks again

Obi
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
Post Reply