【发布时间】:2016-02-27 15:31:54
【问题描述】:
我们需要将 WAF 中的 IP 地址范围列入白名单):
199.83.128.0/21
198.143.32.0/19
149.126.72.0/21
103.28.248.0/22
45.64.64.0/22
185.11.124.0/22
192.230.64.0/18
更多细节:
我正在使用 .net ipSecurity 部分。但是还没有找到任何示例说明如何添加上述 ip 地址而无需添加所有 ip 地址。
例如
<ipSecurity allowUnlisted="false">
<!-- this line blocks everybody, except those listed below -->
<clear/>
<add ipAddress="xx.xx.xx.xx" allowed="true"/>
</ipSecurity>
我是子网掩码的新手。
有没有优雅的方法来实现这个?
【问题讨论】:
标签: asp.net-mvc security web-config whitelist cidr