Bogon filtering


Bogon filtering is the practice of filtering bogons, which are bogus IP addresses of a computer network. Bogons include IP packets on the public Internet that contain addresses that are not in any range allocated or delegated by the Internet Assigned Numbers Authority or a delegated regional Internet registry and allowed for public Internet use. The areas of unallocated address space are called the bogon space.
Bogons also include reserved private address and link-local address ranges, such as those in,,, and, which are reserved for private networks, sometimes also known as Martian packets.
Many ISPs and end-user firewalls filter and block bogons, because they have no legitimate use, and usually are the result of accidental or malicious misconfiguration. Bogons can be filtered by using router access-control lists, or by BGP blackholing.
IP addresses that are currently in the bogon space may not be bogons at a later date because IANA and other registries frequently assign new address space to ISPs. Announcements of new assignments are often published on network operators' mailing lists to ensure that operators have a chance to remove bogon filtering for addresses that have become legitimate.
For example, addresses in were not allocated prior to August 2010, but are now used by APNIC. As time goes on, the IPv4 address exhaustion will mean there are fewer and fewer IPv4 bogons.
IANA maintains a list of allocated and reserved IPv4 netblocks.
, the IETF recommends that since there are no longer any unallocated IPv4 s, bogon filters based on registration status should be removed.
However, bogon filters still need to check for Martians.

Etymology

The term bogon stems from hacker jargon, where 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.
These unused IP addresses are collectively known as a bogon, a contraction of "bogus logon", or a logon from a place you know no one can actually logon.