UK Transport:Blocking IP addresses

IP addresses can be blocked by administrators in the same way as registered users are. IP blocks can be more powerful and effective, but also have additional ramifications.

Sensitive due to public relations implications
If you block an IP in any of the following ranges, you are required to immediately notify the Wikimedia Foundation Communications Committee. These ranges are allocated to major governmental organizations and blocks of these organizations have political and public relations implications that must be managed by the Foundation's press relations team. Avoid long blocks of these addresses and be especially careful in formulating your block messages because your block message will be seen and commented on by the press.


 * 82.148.96.68, 82.148.97.69 - The nation of Qatar
 * 143.228.0.0/16, 143.231.0.0/16 - United States House of Representatives
 * 156.33.0.0/16 - United States Senate
 * 149.101.0.0/16 - United States Department of Justice
 * 192.197.77.0/24, 192.197.78.0/23, 192.197.80.0/22, 192.197.84.0/23, 192.197.86.0/24 - Government of Canada
 * These ranges include any IP matching 192.197.{77-86}.*
 * 194.60.0.0/20 - Parliament of the United Kingdom
 * 192.197.82.0/24 - Canadian House of Commons

If the IP belongs to anything that might be closely related to the above, or a major corporation, for example Microsoft, Sun, etc. it can be a good idea to notify the committee.

Block lengths
Blocks should be based on the protection of Wikipedia rather than the punishment of offenders. Most IP addresses should not be blocked more than a few hours, since the malicious user will probably move on by the time the block expires. If there is persistent disruption or vandalism from an IP address, the block should be extended (with the 'anon-only' option selected) as long as is necessary to prevent further disruption.

However, IP addresses should almost never be indefinitely blocked. Many IPs are dynamically assigned and change frequently from one person to the next, and even static IP addresses are periodically re-assigned or have different users. In extreme cases, consider long-term blocks over a period of months or years instead. Long-term blocks should never be used for isolated incidents.

If you do indefinitely block an IP address, please place or  (do not substitute) on its user or user talk page for tracking purposes.

Shared IPs
Before implementing a long-term block on an IP address with a long history of vandalism, please check if it is shared by performing a WHOIS and Reverse DNS lookup query on the IP to determine if it belongs to a school or a proxy server. If a Shared IP's talk page is not already identified or tagged as such, use either the SharedIP, SharedIPEDU, or any one of the templates at Category:Shared IP header templates to do so. For anonymous-only blocks of Shared IPs, please consider using anonblock or schoolblock as your blocking reason.

Range blocks
Administrators can block ranges of IP addresses (commonly called rangeblocking). Use careful judgement and make them as brief as possible; this can affect over sixty-five thousand IP addresses, potentially affecting millions of users. These should be reserved as an absolute last resort.

If you propose to block a significant range, or for a significant time, consider asking a user with checkuser access to check for collateral blocks - that is, for the presence of other users who may be unintentionally affected by the range block.

Shared and dynamic IP addresses
Many users operate from shared IP addresses, often those belonging to proxies used by large networks or ISP's. Since it is impossible to distinguish between individual users operating from shared IP addresses, blocking one may affect a very large number of legitimate users (ranging up to millions). Users operating from dynamic IP addresses change IP addresses periodically. This can compound the autoblock problem, particularly when they are also shared, because a block targeted at a malicious user may shift to a legitimate user while the target shifts to an unblocked IP address.

Open proxies
Open proxies may be blocked on sight according to the policy on open proxies. This may affect millions of users in rare cases; however, the IP should not be unblocked until it has been closed. Because even the IPs of open proxies will eventually be reassigned, blocks should not be indefinite, but should be very long term. A year to 5 years is recommended.