Bogon filtering explained

Bogon filtering is the practice of blocking packets known as bogons, which are ones sent to a computer network claiming to originate from invalid or bogus IP addresses, known as bogon addresses.[1]

Etymology

The term bogon stems from hacker jargon, with the earliest appearance in the Jargon File in version 1.5.0 (dated 1983).[2] It is defined as the quantum of bogosity, or the property of being bogus. A bogon packet is frequently bogus both in the conventional sense of being forged for illegitimate purposes, and in the hackish sense of being incorrect, absurd, and useless. An alternative etymology suggests that 'bogon' derives from a portmanteau of "bogus logon", or a logon from a place you know no one can actually logon.[3]

Types of bogon addresses

Areas of unallocated address space are called the bogon space. These are that are not in any range allocated the Internet Assigned Numbers Authority (IANA) or a regional Internet registry (RIR) for public internet use.

Bogon IPs also include some address ranges from allocated space. For example, addresses reserved for private networks, such as those in,, and, loopback interfaces like and, and link-local addresses like and can be bogon addresses. Addresses for Carrier-grade NAT, Teredo, and 6to4 and documentation prefixes also fall into this category.[4] IP packets using these as source addresses are sometimes known as Martian packets.

Blocking and filtering

Many ISPs and end-user firewalls filter and block bogons, because they have no legitimate use, and usually are the result of accidental misconfiguration or malicious intent. Bogons can be filtered by using router access-control lists (ACLs), or by BGP blackholing.

Former bogon addresses

IP addresses in the bogon space may cease to be bogons because IANA frequently assigns new address. Announcements of new assignments are often published on network operators' mailing lists (such as NANOG) to ensure that bogon filtering can be removed for addresses that have become legitimate. For example, addresses in were not allocated prior to August 2010, but are now used by APNIC.[5]

, the Internet Engineering Task Force (IETF) recommends that, since there are no longer any unallocated IPv4 s, IPv4 bogon filters based on registration status should be removed.However, bogon filters still need to check for Martian packets.

See also

External links

Notes and References

  1. Web site: What is a bogon address? . . 1 November 2024 . en-AU.
  2. Web site: Guy L. Steele Jr. . Donald R. Woods . Raphael A. Finkel . Mark R. Crispin . Richard M. Stallman . Geoffrey S. Goodfellow . The Hacker's Dictionary: A Guide to the World of Computer Wizards . Jargon File Text Archive : A large collection of historical versions of the Jargon File . 28 May 2021 . https://web.archive.org/web/20201108161626/http://jargon-file.org/archive/jargon-1.5.0.dos.txt . November 8, 2020 . English . 1983.
  3. Web site: Ian McAnerin and Mike Churchill - 2005 . McAnerin Networks Inc. . https://web.archive.org/web/20070414145327/http://www.mcanerin.com/EN/articles/bogon-01.asp . 16 May 2020. 2007-04-14 .
  4. Web site: Bogon IP addresses. ipgeolocation. 27 Jan 2022.
  5. Web site: IANA IPv4 Address Space Registry . 2010-03-18 . 2010-02-22 . . https://web.archive.org/web/20100430190605/https://www.iana.org/assignments/ipv4-address-space/ . 2010-04-30 . live .