Changeset 780 for trunk/cgi-bin/main.cgi
- Timestamp:
- 10/07/15 18:12:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r771 r780 592 592 if ($IPDBacl{$authuser} =~ /c/ 593 593 && $cidr->masklen != $cidr->bits 594 && ($cidr->bits - $cidr->masklen) <= $IPDB::maxrevlist 595 && $webvar{alloctype} !~ /^.[dpi]/ 594 && ($cidr->bits - $cidr->masklen) <= $IPDB::maxrevlist 595 # config flag for "all block types" OR "not-a-pool-or-IP type" 596 && ($IPDB::revlistalltypes || $webvar{alloctype} !~ /^.[dpi]/) 597 # safety against trying to retrieve and display more than 1k (10 bits, /22 v4) worth of individual IPs 598 # ever. If you really need to manage a long list of IPs like that all in one place, you can use the DNS 599 # management tool. Even a /26 is a bit much, really. 600 && ($cidr->bits - $cidr->masklen) <= 10 596 601 # do we want to allow v6 at all? 597 602 #&& ! $cidr->{isv6} … … 917 922 && $cidr->masklen != $cidr->bits 918 923 && ($cidr->bits - $cidr->masklen) <= $IPDB::maxrevlist 919 && $blockinfo->{type} !~ /^.[dpi]/ 924 # config flag for "all block types" OR "not-a-pool-or-IP type" 925 && ($IPDB::revlistalltypes || $blockinfo->{type} !~ /^.[dpi]/) 926 # safety against trying to retrieve and display more than 1k (10 bits, /22 v4) worth of individual IPs 927 # ever. If you really need to manage a long list of IPs like that all in one place, you can use the DNS 928 # management tool. Even a /26 is a bit much, really. 929 && ($cidr->bits - $cidr->masklen) <= 10 920 930 # do we want to allow v6 at all? 921 931 #&& ! $cidr->{isv6}
Note:
See TracChangeset
for help on using the changeset viewer.