hackademix / noscript

The popular NoScript Security Suite browser extension.
https://noscript.net/
GNU General Public License v3.0
851 stars 90 forks source link

[New feature] Allow declaration of IP range with subnet mask #355

Open Nozalys opened 5 months ago

Nozalys commented 5 months ago

Hi,

When using NoScript in a corporation with a lot of lab equipments, it would be great to be able to declare safe zone for a whole IP range or subnet.

Today the only way I found to declare hundreds of IP at a time is to export the json configuration, add hundreds of lines manually then re-import the configuration file.

A very practical workaround would be to allow interpretation of such kind of line :

"10.120.72.0/24",  // full subnet from .1 to .255
"(172.27.5.40;172.27.5.140)" // range of 100 IP from .40 to .140

Regards,