Wikipedia: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.

Policies

change

Sensitive IP addresses

change

Sensitive due to public relations implications

change

If you block an IP address 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 may be seen and commented on by the press. Also make sure to check the IP address codes to make sure it matches the one you intend to block.

Note that the IPv6 list is not complete. Therefore, always be sure to look up an IPv6 address in WHOIS to make sure it isn't that of a sensitive organization, and if so add the range to this list.

IPv4IPv6Description
143.228.0.0/16, 143.231.0.0/16, 137.18.0.0/16, 12.185.56.0/29, 12.147.170.144/28, 74.119.128.0/222620:0:e20::/46The United States House of Representatives
156.33.0.0/162620:0:8a0::/48, 2600:803:618::/48The United States Senate
149.101.0.0/162607:f330::/32The United States Department of Justice
65.165.132.0/24, 204.248.24.0/24, 216.81.80.0/20The United States Department of Homeland Security
131.132.0.0/14, 131.136.0.0/14, 131.140.0.0/15The Canadian Department of National Defence
192.197.82.0/24The Canadian House of Commons
194.60.0.0/18The Parliament of the United Kingdom
138.162.0.0/16The United States Department of the Navy and the United States Marine Corps

If the IP address belongs to anything that might be closely related to the above, or a major corporation, for example Microsoft, Apple, or others, it may be a good idea to notify the committee.

Sensitive for other reasons

change

Blocking an IP address listed in this section can cause undesired effects on Wikipedia, which varies depending on the IP address in question. Please issue soft blocks on any bot coming from this address. If you are unsure as to how to do this correctly, please do not issue the block, but contact another admin.

IPv4IPv6Description
91.198.174.0/24, 185.15.56.0/22, 198.35.26.0/23, 208.80.152.0/222620:0:860::/46, 2a02:ec80::/32The Wikimedia Foundation
Category Description
en:Category:Cleanfeed servers These IPs are sometimes used by ISPs for legal reasons. When active, most of the traffic from the United Kingdom will be forced through this small number of IP addresses.

Addresses of organizations with a responsive IRT

change

Some organizations have an Incident Response Team that has demonstrated willingness and ability to be responsive to reports of abuse at the source (the user). In those cases, it is preferable to contact their response team through the provided contact information rather than blocking all or part of their IP ranges – although it remains appropriate to place short blocks to interrupt ongoing vandalism or disruption.

IP address or range Description
193.113.57.160/27 British Telecommunications plc (response team)
129.127.0.0/16 University of Adelaide (response team)
(TBD) University of Cambridge (response team)
71.0.0.0/14, 65.40.0.0/15, 76.0.0.0/13 CenturyLink (abuse AT centurylinkservices DOT net)

Organizations should be encouraged to be involved in managing disruption caused by their users to avoid inconvenience to their other users. When placing a long block on an IP or IP range, a politely worded email to the organization's IT suggesting that they participate this way would be a good idea, and it is important to be liberal in unblocking ranges of organizations that collaborate.

Guidelines

change

Block lengths

change

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 IP addresses 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 cases of long-term vandalism from an IP address, consider blocks over a period of months or years instead. Long-term blocks should never be used for isolated incidents, regardless of the nature of their policy violation. IP addresses used by blatant vandals, sockpuppets, and people issuing legal threats should never be blocked for long periods unless there is evidence that the IP address has been used by the same user for a long time.

Open proxies should generally be reported to the WikiProject on open proxies and blocked for the length of time they are likely to remain open on the same IP address, which in most cases is likely to be only a few months.[1] Many open proxies have been blocked indefinitely, but this is no longer considered good practice. A large proportion of indefinitely blocked proxies are no longer open proxies.

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

Shared IP addresses

change

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 address to determine if it belongs to a school or an ISP. If a Shared IP address' talk page is not already identified or tagged as such, use either the {{SharedIP}}, {{Shared IP edu}}, or any one of the templates at Category:Shared IP header templates to do so. For anonymous-only blocks of Shared IP Addresses, please consider using {{anonblock}} or {{schoolblock}} as your blocking reason as it causes less offence to innocent users.

Range blocks

change

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

For more information, see mw:Help:Range blocks. You need some knowledge of how networks and IP address numbering work, and of binary arithmetic. If you don't, many other administrators do— ask on the Administrators' noticeboard or on IRC.

If you propose to block a significant range, or for a significant time, consider asking a user with checkuser access to check for collateral damage - that is, for the presence of other users who may be unintentionally affected by the range block. Alternately, if you are unsure whether or not disruptive edits from a specific range can be matched to a single user, you can post a request at sock puppet investigations where an administrator or a checkuser will attempt to match users with IP addresses.

Problems and solutions

change

Shared and dynamic IP addresses

change

Many users operate from shared IP addresses, often those belonging to proxies used by large networks or home users with their Internet service providers. 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.

See meta:XFF project

Open proxies

change

Open proxies may be blocked on sight according to the policy on open proxies. The IP should be unblocked once the proxy has been closed. Because the IPs may eventually be reassigned or the proxies closed, blocks should not be indefinite, but in some particular cases can be very long term. Block lengths should typically range from several weeks for dynamic IPs and short-term Tor nodes, up to several years for long-term proxies hosted on static IP addresses.

Administrators who block open proxies should attempt to record in the block log or on the user talk page how to verify whether the IP address is still an open proxy at a future date. Administrators who deal with unblock requests from blocked open proxies should typically seek advice from either the blocking admin or the WikiProject on open proxies before unblocking.

Indefinite blocks

change

Some behavior by users, for example egregious threats and harassment, is so extreme that an indefinite block of the user is warranted. There are also some Wikipedia policies, for example Wikipedia:No legal threats and Wikipedia:Sock puppetry where an indefinite block of the user is suggested. These indefinite periods apply to users and not their IP addresses. While the user may be considered indefinitely blocked and subsequently blocked on sight, the IP addresses they use should only be blocked for as long as they are likely to remain assigned to the same user.

change
  1. See nl:Gebruiker:RonaldB/Open_proxy_fighting#Lifetime_of_OP.27s for more information on the lifetimes of open proxies

Other websites

change