Page 1 of 1

Cannot anymore whitelist some IP subnets in NoScript?

Posted: Mon May 31, 2010 2:00 pm
by pma
Hello

Is there an easy way to allow js on a whole ip subnet like 172.16.0.0/20 instead of allowing each host seperate?

tia
pma

Re: noscript allow ip subnet

Posted: Mon May 31, 2010 4:30 pm
by Giorgio Maone
Yes, just add to the whitelist a partial address like

Code: Select all

172.16

Re: noscript allow ip subnet

Posted: Mon May 31, 2010 4:55 pm
by pma
It's too easy... :)

thx

Re: noscript allow ip subnet

Posted: Tue Jun 22, 2010 8:43 pm
by opello
Sorry to revive this somewhat old post, but adding "10" to the whitelist doesn't seem to whitelist 10.0.0.0/8. However, adding "10.0" seems to whitelist 10.0.0.0/16. This seems like a bug. (Although I would prefer the CIDR syntax be allowed in the whitelist, for more explicit rules.)

I also attempted to use ABE to whitelist the range per http://forums.informaction.com/viewtopic.php?f=8&t=4520, but was unable to get:

Code: Select all

Site 10.0.0.0/8
Accept
(when placed first in the SYSTEM list) to behave the same way.

Thanks!

Re: noscript allow ip subnet

Posted: Tue Jun 22, 2010 8:55 pm
by Giorgio Maone
opello wrote:Sorry to revive this somewhat old post, but adding "10" to the whitelist doesn't seem to whitelist 10.0.0.0/8. However, adding "10.0" seems to whitelist 10.0.0.0/16. This seems like a bug.
No, it is by design. Shortcuts are supported from two segments up.
opello wrote: I also attempted to use ABE to whitelist the range
ABE is orthogonal to permissions, and controls HTTP requests, not JavaScript execution.

Re: noscript allow ip subnet

Posted: Mon May 04, 2015 11:02 pm
by Gazer75
Giorgio Maone wrote:Yes, just add to the whitelist a partial address like

Code: Select all

172.16
This no longer possible? Not working here.

Re: noscript allow ip subnet

Posted: Mon May 04, 2015 11:10 pm
by barbaz
@Gazer75: need more details.
What NoScript version, what's the exact ip subnet you want whitelist, what happens if you try...

Re: noscript allow ip subnet

Posted: Thu May 07, 2015 3:31 am
by Gazer75
Think I got it working now. Some streaming site using random IPs belonging to Amazon Web Services. It doesn't work right without it apparently.

Re: noscript allow ip subnet

Posted: Thu May 07, 2015 4:55 am
by barbaz
Good, thanks for saying so, feel free to let us know if it stops working again.

Re: noscript allow ip subnet

Posted: Fri May 08, 2015 12:22 pm
by Gazer75
Apparently it isn't working after all. Added 52.17 and 52.16 to the list but that range is still blocked. Added 54.72 the other day that worked fine.

Re: noscript allow ip subnet

Posted: Fri May 08, 2015 9:03 pm
by barbaz
And just to add, I think the post you edited with the solution said you were using the latest NoScript.

Think I'll move this to NoScript Development and edit the title since it's a bug report now.

Re: noscript allow ip subnet

Posted: Tue Dec 04, 2018 12:35 pm
by sergista
Are there any updates on this Bug?
I can not whitelist any subnet

Noscript Version: 10.2.0 as of 26. Nov. 2018
Fierfox Quantum 63.0.3

I've tried this on a clean Win 10 install and it didn't work

More in this post I've created before finding this one:
https://forums.informaction.com/viewtop ... =7&t=25305

thank you

Re: Cannot anymore whitelist some IP subnets in NoScript?

Posted: Tue Dec 04, 2018 3:17 pm
by barbaz
@sergista: This thread is about a NoScript Classic bug. You are asking about the subnet whitelisting feature being broken in NoScript 10 (if that feature has even been ported over yet). Please stick with your original thread, thanks.

Re: Cannot anymore whitelist some IP subnets in NoScript?

Posted: Wed Dec 05, 2018 5:44 pm
by sergista
@barbaz: sorry did not notice that, thanks for the clarification