Jump to content

IP address blocking

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mindmatrix (talk | contribs) at 02:13, 11 December 2021 (restore previous {{short description}} - this should be a brief string with no wikilinks). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

IP address blocking, or an IP ban, is a configuration of a network service that blocks requests from hosts with certain IP addresses. IP address blocking is commonly used to protect against brute force attacks and to prevent access by a disruptive address.

IP address blocking can be used to restrict access to or from a particular geographic area, for example, the syndication of content to a specific region through the use of Internet geolocation and blocking.[1]

How it works

Every device connected to the Internet is assigned a unique IP address, which is needed to enable devices to communicate with each other. With appropriate software on the host website, the IP address of visitors to the site can be logged and can also be used to determine the visitor's geographical location.[2][3]

Logging the IP address can, for example, monitor if a person has visited the site before, for example to vote more than once, as well as to monitor their viewing pattern, how long since they performed any activity on the site (and set a time out limit), besides other things.

Knowing the visitor's geo-location indicates, besides other things, the visitor's country. In some cases requests from or responses to a certain country would be blocked entirely. Geo-blocking has been used, for example, to block shows in certain countries. Such as censorship of shows deemed inappropriate especially frequent in places such as China.[4][5]

Internet users may circumvent geo-blocking and censorship and protect personal identity and location to stay anonymous on the internet using a VPN connection.[4]

On a website, an IP address block can prevent a disruptive address from access, though a warning and/or account block may be used first. Dynamic allocation of IP addresses by ISPs can complicate incoming IP address blocking, rendering it difficult to block a specific user without blocking many IP addresses (blocks of IP address ranges), thereby creating collateral damage.[6]

Implementations

Unix-like operating systems commonly implement IP address blocking using a TCP wrapper, configured by host access control files /etc/hosts.deny and /etc/hosts.allow.

Both companies and schools offering remote user access use Linux programs such as DenyHosts or Fail2ban for protection from unauthorised access while allowing permitted remote access. This is also useful for allowing remote access to computers. It is also used for Internet censorship.

IP address blocking is possible on many systems using a hosts file, which is a simple text file containing hostnames and IP addresses. Hosts files are used by many operating systems, including Microsoft Windows, Linux, Android, and OS X.

Circumvention

Proxy servers and other methods can be used to bypass the blocking of traffic from IP addresses.[7] However, anti-proxy strategies are available. Consumer-grade internet routers can sometimes obtain a new public IP address on demand from the internet service provider using DHCP lease renewal to circumvent individual IP address blocks, but this can be countered by blocking the range of IP addresses from which the internet service provider is assigning new IP addresses, which is usually a shared IP address prefix. However, this may impact legitimate users from the same internet service provider who have IP addresses in the same range, which inadvertently creates a denial-of-service attack.

In a 2013 United States court ruling in the case Craigslist v. 3Taps, US federal judge Charles R. Breyer held that circumventing an address block to access a website is a violation of the Computer Fraud and Abuse Act (CFAA) for "unauthorized access", punishable by civil damages.

See also

References

  1. ^ The John Marshall Journal of Computer & Information Law, Center for Computer/Law, 2003
  2. ^ "What is an IP address?". HowStuffWorks. 2001-01-12. Retrieved 2019-12-13.
  3. ^ "How cookies track you around the web & how to stop them". Privacy.net. 2018-02-24. Retrieved 2019-12-13.
  4. ^ a b "What Is Geo-Blocking and How to Bypass It". What Is Geo-Blocking and How to Bypass It. Retrieved 2021-10-12.
  5. ^ "Media Censorship in China". Council on Foreign Relations. Retrieved 2021-10-12.
  6. ^ Groome, Patrick. "[Community] The Trouble with IP Bans". blog.vanillaforums.com. Retrieved 2021-10-12.
  7. ^ "How to: Circumvent Online Censorship". ssd.eff.org. Archived from the original on 2018-12-23.

Media related to IP address blocking at Wikimedia Commons