[RESOLVED]ABE rule to allow redirection to local server

Ask for help about NoScript, no registration needed to post
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

[RESOLVED]ABE rule to allow redirection to local server

Post by Thrawn »

Hi, folks.;

I'm having some difficulty assembling an ABE rule to allow redirection from an identity provider (edentity.com) to a development server (on localhost).

My SYSTEM ruleset looks like this:

Code: Select all

Site http://localhost:7666
Accept from localhost https://uat.identity.qld.gov.au https://test.edentity.com

# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny
And the Deny log is:

Code: Select all

[ABE] <LOCAL> Deny on {GET http://localhost:7666/papium/greenid/verify/<redacted> <<< https://test.edentiti.com/timeout.seam;jsessionid=<redacted>?cid=<redacted>, https://test.edentiti.com/verification/verify-singlepage.seam, https://test.edentiti.com/verification/verify-singlepage.seam?show=medicaredvs - 6}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny
I've tried adding /* to the end of URL in the Accept line, but it didn't make a difference. It looks like there are multiple redirects happening, which is always tricky in ABE, but I would have thought that putting everything on the one Accept line would handle that.

(And I could post this in the ABE forum, but I actually need help).
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Fedora; Linux i686; rv:37.0) Gecko/20100101 Firefox/37.0
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: ABE rule to allow redirection to local server

Post by barbaz »

Try this?

Code: Select all

Site http://localhost:7666/*
Accept from http://localhost:7666/* https://uat.identity.qld.gov.au/* https://test.edentity.com/* https://test.edentiti.com/*

# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny
Last edited by barbaz on Wed May 06, 2015 3:29 pm, edited 1 time in total.
Reason: fix rule
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 11143
Joined: Sat Aug 03, 2013 5:45 pm

Re: ABE rule to allow redirection to local server

Post by barbaz »

You also have a typo that I didn't spot before Image
Edited the rule above
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: ABE rule to allow redirection to local server

Post by Thrawn »

You're right; it was a typo. edentity.com should have been edentiti.com. Works now; thanks :).
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Fedora; Linux i686; rv:37.0) Gecko/20100101 Firefox/37.0
Post Reply