Bogon, Private & Public IP Extractor for Logs
Pull every IPv4/IPv6 address out of logs or text and classify it against the IANA special-purpose registry (private, CGNAT, bogon…).
| Address | Count | Scope | Registry block |
|---|---|---|---|
203.0.113.45 | 1 | Special / bogon | Documentation (TEST-NET-3) · 203.0.113.0/24 RFC 5737 |
10.20.0.7 | 1 | Private | Private-use · 10.0.0.0/8 RFC 1918 |
2001:db8::42 | 1 | Special / bogon | Documentation · 2001:db8::/32 RFC 3849 |
192.168.1.23 | 1 | Private | Private-use · 192.168.0.0/16 RFC 1918 |
8.8.8.8 | 1 | Public | Public |
1.1.1.1 | 2 | Public | Public |
100.64.12.9 | 1 | CGNAT | Shared address space (CGNAT) · 100.64.0.0/10 RFC 6598 |
169.254.10.2 | 1 | Special / bogon | Link-local · 169.254.0.0/16 RFC 3927 |
224.0.0.251 | 1 | Multicast | Multicast · 224.0.0.0/4 RFC 5771 |
::ffff:192.168.1.50 | 1 | Private (IPv4 192.168.1.50) | Private-use · 192.168.0.0/16 RFC 1918 |
fe80::1 | 1 | Special / bogon | Link-local · fe80::/10 RFC 4291 |
fd12:3456:789a::7 | 1 | Private | Unique local (ULA) · fc00::/7 RFC 4193 |
Scopes follow the Globally Reachable column of the IANA IPv4 and IPv6 Special-Purpose registries. IPv4-mapped addresses (::ffff:a.b.c.d) take the scope of the IPv4 address inside. Times, MAC addresses, version numbers and octets with leading zeros are not taken as addresses.
When to use the Bogon, Private & Public IP Extractor
Paste any log
sshd logs, Nginx access logs, X-Forwarded-For headers or firewall output. Every IPv4 and IPv6 address is pulled out, including ones written with a port or in brackets, and counted.
Based on the IANA registries
Scopes follow the Globally Reachable column of the IANA IPv4 and IPv6 Special-Purpose registries, including newer blocks such as 3fff::/20 for documentation and exceptions such as the 192.0.0.9 PCP anycast address that stays public.
Filter, then export
Choose Public for a list of attackers to block, Private for internal devices, or Special for addresses that should never appear on the internet, then copy or download the result.
Not fooled by IP-like text
Times such as 12:30:45, MAC addresses, version numbers and octets with leading zeros are not taken as addresses. IPv4-mapped addresses such as ::ffff:192.168.1.50 take the scope of the IPv4 address inside.
Frequently asked questions
What is a bogon?
An address that must not appear as a source on the public internet, such as loopback, link-local, documentation addresses or reserved space. Packets from them are usually spoofed or misconfigured.
Why is CGNAT separate?
100.64.0.0/10 is not RFC 1918 private space, but mobile operators and ISPs use it behind NAT, so many customers share one public IP.
Is multicast public?
Multicast has its own category because it is not a single-host address. Addresses such as 224.0.0.251 for mDNS only apply on the local network.
Is the public list updated?
Classification follows the latest IANA registries at the time this tool was built. Space not yet allocated to regional registries is not checked live.
Is my log sent to a server?
No. Extraction and classification run in your browser, so sensitive logs stay on your device.
Similar tools
- CIDR Exclusion & WireGuard AllowedIPs BuilderSubtract LAN or private ranges from 0.0.0.0/0 or any block and get the minimal CIDR list for WireGuard, routing or MikroTik.
- CIDR & IP Range to Full Address List ExpanderExpand IPv4/IPv6 CIDRs and start–end ranges into every individual address, ready to export as TXT for scanners and ACLs.
- IP / CIDR List Diff & Allowlist AuditorCompare two IP/CIDR lists by real address coverage: what was added, removed, or overlaps — ideal for firewall allowlist reviews.
- CIDR Aggregator & Supernet Route SummarizerMerge adjacent IPv4 prefixes and contiguous subnets into minimal routing blocks.