From: Aaron Date: Wed, 6 Jun 2012 00:01:43 +0000 (-0700) Subject: Increased uselessly low $wgBlockCIDRLimit default for IPv6. X-Git-Tag: 1.31.0-rc.0~23386^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=8933e49ecd4703163ad59eae501a96c4ed93f653;p=lhc%2Fweb%2Fwiklou.git Increased uselessly low $wgBlockCIDRLimit default for IPv6. Change-Id: I5abc83981912f304c4034a32063ba09bcf6aa1b1 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8f61096510..0a3d4adead 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3460,11 +3460,11 @@ $wgSysopEmailBans = true; * * CIDR notation is hard to understand, it's easy to mistakenly assume that a * /1 is a small range and a /31 is a large range. Setting this to half the - * number of bits avoids such errors. + * number of bits avoids such errors for IPv4. */ $wgBlockCIDRLimit = array( 'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed - 'IPv6' => 64, # 2^64 = ~1.8x10^19 addresses + 'IPv6' => 32, # Blocks larger than a /32 (~7.9x10^28 addresses) will not be allowed ); /**