(Redirected from Wiktionary:Range blocks)
How to: Block an IP range
This is a brief how-to concerning range blocks.
- What is a range block?
- A range block is a block which includes multiple IPs within a single block.
- Why use a range block?
- How do I issue a range block?
- A step by step guide is below.
- Why should I not issue a range block?
- If you have any doubt about whether you are blocking the correct range, or whether a range block is needed, it is better to ask first and block later.
- I need more help...this is complicated.
- The MediaWiki page goes into more detail than this one, or phone a friend.
Step by step instructions on range blocking.
- Establish the range.
- The first step is to decide what range of IPs need to be blocked. This is done through a variety of methods, but the easiest one is to recognize that a persistent vandal always seems to be coming from IPs which are related, like 192.168.0.8 one day and 192.168.0.42 the next. If this is the case, a range block is probably in order. Do a WHOIS on the IP, and it will tell you the range.
- Formulate the block.
- Once the range has been determined, formulate the block based on the range. The chart at the bottom of this page may be of use in this. Two common ranges to block are /24 and /16, 192.168.0.* and 192.168.*.* respectively.
- Block the range.
- A range block uses the same mechanism as a normal block, only with a range parameter appended to it in the form /# where the number is the size of the network part of the range. 192.168.0.1/24 blocks 192.168.0.0 through 192.168.0.255, as an example.
- Contact the ISP.
- If an entire range of IPs require blocking, it is because one user, or a small group of users have been persistently disruptive, and it is in the interests of all Wikimedia projects to let the ISP know that one of their clients has been behaving inappropriately on Wiktionary. See Abuse reports for more information on this.
- IPv6 range blocks
- See MediaWiki page for details of this nightmare world.
More detailed charts
Ranges, significant bits, and number of addresses blocked.
|Range||# of IPs||Significant bits||example addresses|
|/32||this blocks just one address, so leave off the /32 and block as normal.|
|/31||2||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.0.1|
|/30||4||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.0.3|
|/28||16||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.0.15|
|/26||64||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.0.63|
|/24||256||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.0.255|
|/22||1024||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.3.255|
|/20||4096||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.15.255|
|/18||16,384||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.63.255|
|/16||65,536||11000000.10101000.00000000.00000001||192.168.0.0 - 192.168.255.255|
|blocks of /15-/0 are not allowed on Wikimedia projects, for blocks this large multiple blocks must be used.|