[RESOLVED] NoScript Blocking PowerChute Login

Ask for help about NoScript, no registration needed to post
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

[RESOLVED] NoScript Blocking PowerChute Login

Post by Soda »

I'm trying to access the webpage login for my APC SMC1000 UPS's PowerChute Business Edition software. Right clicking on the Agent Web Interface properties shows that it's trying to take me to http://localhost:3052 which NoScript is blocking. The drop down message I get states what I'm trying to connect to is filtered by ABE: <LOCAL> Deny. Clicking options next to this brings me to the advanced tab in NoScripts settings, sub-tab ABE. Currently the boxes for enable ABE & WAN IP are checked on, the system box says: # Prevent Internet sites from requesting LAN resources.
Site LOCAL Accept from LOCAL Deny
. While under the user ruleset it says # User-defined rules. Feel free to experiment here. I know this is going to involve me setting custom user rulesets I just need to be walked through on how please.
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: NoScript Blocking PowerChute Login

Post by GµårÐïåñ »

If you trust what it is doing and want to allow it, simply add the rule

Code: Select all

Site http://localhost:3052
Accept From Local
Allow
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

Re: NoScript Blocking PowerChute Login

Post by Soda »

GµårÐïåñ wrote:If you trust what it is doing and want to allow it, simply add the rule

Code: Select all

Site http://localhost:3052
Accept From Local
Allow
Thank you & that will only allow PowerChute login specifically & not any other from another unrelated site that could be malicious? Sorry I'm just trying to cover all bases because configuration on this level is very new for me.
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

Re: NoScript Blocking PowerChute Login

Post by Soda »

GµårÐïåñ wrote:If you trust what it is doing and want to allow it, simply add the rule

Code: Select all

Site http://localhost:3052
Accept From Local
Allow
I tried what you said & it gave me a Syntax error in ABE ruleset line 3:14 mismatched character 'c' expecting 'g'.
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: NoScript Blocking PowerChute Login

Post by GµårÐïåñ »

Soda wrote:Thank you & that will only allow PowerChute login specifically & not any other from another unrelated site that could be malicious? Sorry I'm just trying to cover all bases because configuration on this level is very new for me.
That will allow any call to LOCAL that is on THAT port, which from the information would suggest is associated to that specific software in your environment. Now if someone/something else makes a local request on that port and is not the software, then yeah they'll have access too. With more information, we can do a site binding rule that will restrict WHO can call that particular rule, but without it that's the most broad that would solve your issue.
Soda wrote:I tried what you said & it gave me a Syntax error in ABE ruleset line 3:14 mismatched character 'c' expecting 'g'.
Not sure why, I checked and the spelling is correct, my initial thinking was I mistyped something and the syntax is valid, so I am not 100% sure why. Try removing the http:// and use just localhost:3052 because perhaps its a protocol collision with the local object.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

Re: NoScript Blocking PowerChute Login

Post by Soda »

GµårÐïåñ wrote:
Soda wrote:Thank you & that will only allow PowerChute login specifically & not any other from another unrelated site that could be malicious? Sorry I'm just trying to cover all bases because configuration on this level is very new for me.
That will allow any call to LOCAL that is on THAT port, which from the information would suggest is associated to that specific software in your environment. Now if someone/something else makes a local request on that port and is not the software, then yeah they'll have access too. With more information, we can do a site binding rule that will restrict WHO can call that particular rule, but without it that's the most broad that would solve your issue.
Soda wrote:I tried what you said & it gave me a Syntax error in ABE ruleset line 3:14 mismatched character 'c' expecting 'g'.
Not sure why, I checked and the spelling is correct, my initial thinking was I mistyped something and the syntax is valid, so I am not 100% sure why. Try removing the http:// and use just localhost:3052 because perhaps its a protocol collision with the local object.
Okay well I tried that & got the error line 4:1 no viable alternative at character 'l'. Here's exactly what it says in the NoScript drop down menu upon trying to open the Agent Web Interface.

Code: Select all

Request {GET https://soda-pc:6547/status;**snipped** <<< https://soda-pc:6547/, chome://browser/content/browser.xul, http://localhost:3052/ - 6} filtered by ABE: <LOCAL> Deny
*EDIT: The webpage opens fine in Edge but I'd rather use Firefox since that's my default browser. If this turns out to be impossible though I do have that as a backup plan for editing my UPS's settings.
Last edited by GµårÐïåñ on Wed Sep 20, 2017 8:45 pm, edited 3 times in total.
Reason: snipped
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript Blocking PowerChute Login

Post by barbaz »

Try this one instead -

Code: Select all

Site https://soda-pc:6547/* localhost:3052/*
Accept from soda-pc localhost chrome:
Make sure to put it above the default SYSTEM rule.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

Re: NoScript Blocking PowerChute Login

Post by Soda »

barbaz wrote:Try this one instead -

Code: Select all

Site https://soda-pc:6547/* localhost:3052/*
Accept from soda-pc localhost chrome:
Make sure to put it above the default SYSTEM rule.
Oh I was putting the other ones under user ruleset below where it said "# User-defined rules. Feel free to experiment here." before. Just did what ya said & it worked fine. Should I be concerned about leaving that full Request line in my other post? I'm not sure if it's something like an IP address that a third-party viewer on these forums could use to tap into my system or something. Now under system it says the following, this correct?

Code: Select all

Site https://soda-pc:6547/* localhost:3052/*
Accept from soda-pc localhost chrome:
# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny
Last edited by barbaz on Tue Sep 19, 2017 6:23 pm, edited 1 time in total.
Reason: wrap ABE ruleset in code tags
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript Blocking PowerChute Login

Post by barbaz »

Please use code tags when posting console messages or ABE rules. It makes it easier to read and prevents the board auto-generating unwanted links. Thanks.
Soda wrote:Should I be concerned about leaving that full Request line in my other post? I'm not sure if it's something like an IP address that a third-party viewer on these forums could use to tap into my system or something.
Not sure. I've snipped the part which might be of concern.

"soda-pc" isn't enough information to find your computer, it would only resolve inside your own local network.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

Re: NoScript Blocking PowerChute Login

Post by Soda »

barbaz wrote:Please use code tags when posting console messages or ABE rules. It makes it easier to read and prevents the board auto-generating unwanted links. Thanks.
Soda wrote:Should I be concerned about leaving that full Request line in my other post? I'm not sure if it's something like an IP address that a third-party viewer on these forums could use to tap into my system or something.
Not sure. I've snipped the part which might be of concern.

"soda-pc" isn't enough information to find your computer, it would only resolve inside your own local network.
Oh okay thank you I wasn't sure how, it's working now though so thanks so much. I'm lookin forward to browsing these forums more & learning more about NoScript. It's really powerful I just gotta fine tune mine more so I have to disable it entirely less often :P.
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: NoScript Blocking PowerChute Login

Post by GµårÐïåñ »

From the message you posed, it seems there are more than just localhost:3052 involved, so go with the rule that @barbaz gave you since he had more information to work with and it should resolve your issue, thank you @barbaz.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
Soda
Posts: 11
Joined: Mon Sep 18, 2017 10:11 pm
Location: USA

Re: NoScript Blocking PowerChute Login

Post by Soda »

GµårÐïåñ wrote:From the message you posed, it seems there are more than just localhost:3052 involved, so go with the rule that @barbaz gave you since he had more information to work with and it should resolve your issue, thank you @barbaz.
I did although it took me about an hour before I realized I was replying to two different users lol. The 2nd more detailed rule is working fine though, thank you both again.
Ryzen 5 1500X 3.8GHz | 3GB MSI GTX 1060 Gaming X 2063MHz Core 9408MHz Mem | MSI B350M Gaming Pro | 16GB G.Skill DDR4 3200MHz | EVGA G2 550W | 250GB Samsung 850 EVO | MasterCase Pro 3
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: NoScript Blocking PowerChute Login

Post by GµårÐïåñ »

It's quite alright, in spirit all the mods here are the same, we just help the user, which one of us, doesn't matter - we are a team. Glad you got it working.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Post Reply