I manage a few networks, all of which have a bunch of web-managed hardware (switches, routers, etc) and they're all on RFC 1918 networks.
I'm 100% sure that anything within my non-routed network is safe, and I want to allow scripts from those hosts.
Is there a way to tell noscript: "allow everything within 10.1/16" (or 10.1.0.0/16, or 10.1.*.*) CIDR notation would be ideal.
I could in theory set up DNS and allow *.mysite, but in many ways that's more work than just clicking "trusted" for each piece of hardware.
wildards or CIDR in allow/disallow lists
wildards or CIDR in allow/disallow lists
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:99.0) Gecko/20100101 Firefox/99.0
Re: wildards or CIDR in allow/disallow lists
There used to be a way to do it, but it reportedly doesn't work in NoScript Webext - viewtopic.php?f=7&t=25305
I'm not aware of any other way to set entire subnets as Trusted when accessed directly by IP address.
I'm not aware of any other way to set entire subnets as Trusted when accessed directly by IP address.
*Always* check the changelogs BEFORE updating that important software!
-
Re: wildards or CIDR in allow/disallow lists
Aside from the /16 (which might not even be needed?), looks like 10.1 or 10.1.0 should work?
With 10.1.0 covering 10.1.0.0 ... 10.1.0.255 (& irrespective of any /#).
(I don't really have a way to test that, but looks like it should work.)
With 10.1.0 covering 10.1.0.0 ... 10.1.0.255 (& irrespective of any /#).
(I don't really have a way to test that, but looks like it should work.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0 SeaMonkey/2.53.13
Re: wildards or CIDR in allow/disallow lists
Yes, it works as you said. I just added "192.168" in the "Per-site preferences editor" and the webpages of all my LAN devices are now considered as trusted, I don't need to add them one by one to the whitelist to achieve the same result.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Waterfox/91.3.3