Page 1 of 1

[RESOLVED] local sites not showing correct

Posted: Sun Sep 09, 2012 8:31 am
by aardvark
Hello,

NoScript seems to be blocking local sites like http : // servername port 8080. It does this from remote pc's but also on the local server itself. Difference is when I open the page locally using http : // localhost port 8080 it works fine. I'm talking about pages like Sabnzbd and Sickbeard.

Obviously the first things I tried was adding the hostname to the whitelist but that doesn't change anything. Next I walked through all the steps here, unfortunately to no avail.

I'm sure it must be something simple but I can't figure it out :oops:

I'm using Firefox 15 but I've had this issue on and off with other versions too. Sometimes I just left NoScript disabled but then after an update or reinstall of the pc it worked again, until it didn't :roll: .

Any help getting this resolved would be appreciated, thanks.

Re: local sites not showing correct

Posted: Tue Sep 11, 2012 11:05 am
by Thrawn
Most likely you're hitting the ABE default rule. Can you check Tools - Error Console for NoScript-related error messages?

Re: local sites not showing correct

Posted: Wed Sep 12, 2012 6:45 am
by aardvark
That's it indeed, when I disable ABE it works fine. Also I need to correct my previous statement that it works from another pc, it doesn't.

I tried playing with a custom rule in ABE to specifically allow that server but whatever I come up with, it never works. Can you help me come up with a ruleset that works? I read the page you linked and copy/pasted the examples there to adjust them to my situation.

Do I need to place it under USER or SYSTEM? I tried it under USER because I felt free to experiment there :). I'm not sure if the default LOCAL rule under SYSTEM is overruled?

Also, the ABE tab shows WAN IP = LOCAL? What's up with that? I suppose local should match 10.26.13.0/24? COuld it be this messed up when I changed my ip addresses (from 192.168 to 10.26.13)?

PS. where do I find Tools - Error Console? :oops:

Re: local sites not showing correct

Posted: Wed Sep 12, 2012 10:06 am
by Thrawn
aardvark wrote:That's it indeed, when I disable ABE it works fine. Also I need to correct my previous statement that it works from another pc, it doesn't.

I tried playing with a custom rule in ABE to specifically allow that server but whatever I come up with, it never works. Can you help me come up with a ruleset that works? I read the page you linked and copy/pasted the examples there to adjust them to my situation.

Do I need to place it under USER or SYSTEM? I tried it under USER because I felt free to experiment there :). I'm not sure if the default LOCAL rule under SYSTEM is overruled?
USER is the place for your own experimental rules, but to change the default behavior, you need to edit the SYSTEM ruleset. You'll need to see the Error Console message to get the right site address, but something like:

Code: Select all

Site LOCAL http://servername:8080
Accept from LOCAL <remote site, look in the error message for details>
Deny
aardvark wrote:Also, the ABE tab shows WAN IP = LOCAL? What's up with that? I suppose local should match 10.26.13.0/24? COuld it be this messed up when I changed my ip addresses (from 192.168 to 10.26.13)?
Actually, that's not an 'equals' sign, that's an 'element of' sign. It controls this feature.
aardvark wrote:PS. where do I find Tools - Error Console? :oops:
Oh, that's right, it moved to Tools - Web Developer - Error Console (I use a keyboard shortcut, so I forgot). The message will be under Info.

Re: local sites not showing correct

Posted: Wed Sep 12, 2012 10:49 am
by aardvark
PS. your spamfilter is annoying ;).

Thanks for your help.

I found the console and the messages, a selection:

Code: Select all

[ABE] <LOCAL> Deny on {GET http_paradise_8080/static/stylesheets/jqueryui/overcast/jquery-ui-1.8.15.custom.css?0.7.3 <<< http_paradise_8080/ - 4}
SYSTEM rule_
Site LOCAL
Accept from LOCAL
Deny

Code: Select all

[ABE] <LOCAL> Deny on {GET http_paradise_8080/static/javascripts/plush.js?0.7.3 <<< http_paradise_8080/ - 2}
SYSTEM rule_
Site LOCAL
Accept from LOCAL
Deny

Code: Select all

Timestamp_ 12/09/2012 12_23_06
Error_ ReferenceError_ jQuery is not defined
Source File_ http_paradise_8080/
Line_ 25
I edited the current SYSTEM rule with wildcards to include all local sites and custom ports the lazy way:

Code: Select all

# Prevent Internet sites from requesting LAN resources.
Site LOCAL http_paradise_*/
Accept from LOCAL http_paradise_*
Deny
But I'm getting this message:

Code: Select all

[ABE] <LOCAL http_paradise_8080/> Deny on {GET http_paradise_8081/home <<< http_paradise_8081/, chrome_browser/content/browser.xul - 6}
SYSTEM rule_
Site LOCAL http_paradise_8080/
Accept from LOCAL http_paradise_8080/*
Deny
Is the below better, then add each local site individually (this seems to work for each site I add):

Code: Select all

# Prevent Internet sites from requesting LAN resources.

Site LOCAL http_paradise_8080/
Accept from LOCAL http_paradise_8080/

Site LOCAL http_paradise_8081/
Accept from LOCAL http_paradise_8081/

Site LOCAL
Accept from LOCAL

Deny

Re: local sites not showing correct

Posted: Thu Sep 13, 2012 12:58 am
by Thrawn
aardvark wrote:I edited the current SYSTEM rule with wildcards to include all local sites and custom ports the lazy way
Yeah, that won't work so well...there's limited wildcarding, but for this you probably need to use a regular expression. Plus, if you're not using regex, then you don't want the trailing slash.

You should be able to put everything on one line, though, like:

Code: Select all

Site LOCAL http_paradise_8080 http_paradise_8081
Accept from LOCAL http_paradise_8080 http_paradise_8081
Deny

Re: local sites not showing correct

Posted: Thu Sep 13, 2012 11:20 am
by aardvark
Cheers Thrawn, appreciate the help.

There are only 4 sites so I'll put it on one line like you suggest, messing with regex is probably more trouble than its worth (with my limited experience, that is).

Thanks again.

Re: local sites not showing correct

Posted: Thu Sep 13, 2012 9:27 pm
by GµårÐïåñ
Thrawn is awesome, and glad he took the time to help you and you got what you needed to make it work. But a quick search would have revealed a post discussed within the last week that would have probably answered your questions: http://forums.informaction.com/viewtopi ... =23&t=9716 , although Thrawn as usual went above to provide information that was a repetitive waste of his time, as they are in common use of Fx FAQs and NoScript/ABE FAQs as well. Sometimes searching for the material makes it stick better and understood more than just getting a walk through. Take care and good luck. Image

Re: [RESOLVED] local sites not showing correct

Posted: Fri Sep 14, 2012 2:38 pm
by aardvark
I realise a lot of people just post away without ever considering someone else might have had the same question. I've been in your place on more than one forum both as an admin or as a moderator so I know it can be annoying. In my defense, I actually did search, not just on this forum. More than once. Search results are only as good as the keywords used so if I don't know about that feature called ABE and search using keywords describing how I experience an issue it might not pop up the answer.

Also, be honest. That post you linked is hardly representative for my experience. It would have never popped up in search results because it doesn't contain a problem. And even if it did pop up between my search results, would I really have linked it to my issue? For the uneducated that post just starts rambling nonsense, pardon me.
1,2,3, Many post all anti spam. try again
new install no script. TwoFiveThree

js web server on my computer mud
white list mud
run http://mud/about
err - 6
Abe LOCAL Deny

Now I have
SiteLocal
Accept from local
Site mud
accept from mud
deny

works. Correct?
Sorry but 2 days ago I couldn't have made heads nor tails of that. Even after Thrawn's help I have trouble deciphering it. The world needs more Thrawns :).

Cheers guys. I love NoScript and I'm glad I received the help I needed. Consider that, it's more important than the little nuisance of double posts.

Re: [RESOLVED] local sites not showing correct

Posted: Fri Sep 14, 2012 9:16 pm
by Thrawn
Aww, thanks guys :)

Maybe the NoScript quick start guide could make mention of other potentially-blocking features, with links to their help pages? ABE, XSS filtering, maybe content type sniffing. Currently it only deals with content blocking, and few ppl ask for help with that; coincidence?

Re: [RESOLVED] local sites not showing correct

Posted: Fri Sep 14, 2012 10:24 pm
by GµårÐïåñ
Thrawn wrote:Aww, thanks guys :)

Maybe the NoScript quick start guide could make mention of other potentially-blocking features, with links to their help pages? ABE, XSS filtering, maybe content type sniffing. Currently it only deals with content blocking, and few ppl ask for help with that; coincidence?
Mate, credit where its due.