Page 1 of 1

ABE exception rule for accessing wireless extender

Posted: Tue Aug 12, 2014 2:10 pm
by mikolajek
I've just installed a wireless extender - D-Link DAP-1520. It uses the following page: http://dlinkap.local. for its admin panel.

The problem is that with ABE enabled after typing this address I'm just getting the message that it has been filtered by ABE and no access is granted. I have no problems with accessing the admin panel with ABE disabled.

Since ABE scripting is a black magic to me - can anyone provide me with some support on how to put a rule that would make an exception in this filter and allow accessing this local link?

Many thanks in advance!

Re: ABE exception rule for accessing wireless extender

Posted: Tue Aug 12, 2014 9:24 pm
by Giorgio Maone
Could you please report any [NoScript ABE] line you get in your Browser Console (Ctrl+Shift+J) when this happens?

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 9:20 am
by mikolajek
Certianly! But there's not too much in here, apart from duplicating ABE settings... Hope it helps!

Code: Select all

[ABE] <LOCAL> Deny on {GET http://dlinkap.local./login.htm <<< http://dlinkap.local./ - 6}
SYSTEM rule:
Site LOCAL
Accept from LOCAL
Deny

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 12:25 pm
by Thrawn
The first thing to try is adding

Code: Select all

dlinkap.local.

to the noscript.ABE.localExtras preference in about:config. If that doesn't work, then we can try writing a rule.

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 12:55 pm
by mikolajek
Unfortunately it's not a good solution - it does the trick to connect to dlinkap.local. but at the same time it kills all non-local connections - i.e. I can't access any web page.
Removing the proposed entry gets web access back.

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 2:15 pm
by barbaz
What NoScript version are you using?
Does it work in a clean profile with or without the entry in noscript.ABE.localExtras?
What if you access the router by IP address instead?

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 2:30 pm
by mikolajek
I have latest NoScript version - meaning 2.6.8.36.
There's no difference in a completely fresh profile - same happen.
Yet, when accessing the extender by typing its IP address, there's no such problem - all admin panel pages work smoothly.

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 2:35 pm
by barbaz
When you add the entry to noscript.ABE.localExtras, and all web browsing is blocked, do you see anything related in the Browser Console when it fails?

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 3:04 pm
by mikolajek
Well... I've cleared the console log, changed the parameter (by adding dlinkap.local. to noscript.ABE.localExtras;) and accessed the random page.
I got blocked and the only new entry that showed up in the console was:

Code: Select all

ReferenceError: banXxByPoz is not defined 0,0.html:156
Use of getUserData() or setUserData() is deprecated.  Use WeakMap or element.dataset instead. requestNotifier.js:63
Use of getUserData() or setUserData() is deprecated.  Use WeakMap or element.dataset instead. requestNotifier.js:63

However, I can't say whether it's related to NoScript.

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 3:30 pm
by Giorgio Maone
Please try dropping the localExtras setting (set it to default) and modify the SYSTEM local rule this way:

Code: Select all

Site LOCAL
Accept from LOCAL ^https?://dlinkap\.local\./
Deny

Re: ABE exception rule for accessing wireless extender

Posted: Wed Aug 13, 2014 7:10 pm
by mikolajek
Work as a charm without any problems!

Many thanks for providing this solution!