Hunting the Bogon Geoff Huston August 2003 Research activity supported by APNIC.

Slides:



Advertisements
Similar presentations
Internet Number Resource Status Report As of 30 June 2005.
Advertisements

LACNIC Policy Update Roque Gagliano LACNIC. Current Policies Proposals - LACNIC As a result of the Open Policy Forum at LACNIC XI four policy proposals.
IPv6 allocations to closed networks LACNIC VI Mar 29 – Apr 1, 2004 Montevideo, Uruguay.
Kuala Lumpur February 2004 APNIC 17 Kuala Lumpur February 2004 APNIC 17 IPv4 /8 Address Space Status.
IPv4 Address Lifetime Expectancy Revisited Geoff Huston March 2004 Research activity supported by APNIC The Regional Internet Registries s do not make.
IPv4 Address Lifetime Presented by Paul Wilson, APNIC Research activity conducted by Geoff Huston and supported by APNIC.
Internet Number Resource Status Report As of 30 September 2004.
Montevideo 31 DE MARZO 2004 LACNIC VI Prepared By NRO (APNIC, ARIN, LACNIC, RIPE NCC)
APNIC Unassigned Space Report Geoff Huston March 2003.
IPv4 Address Lifetime Expectancy Revisited Geoff Huston September 2003 Presentation to the RIPE 46 Plenary Research activity supported by APNIC The Regional.
ARIN Public Policy Meeting
Measuring IPv6 Deployment Geoff Huston George Michaelson
BGP AS Number Exhaustion Geoff Huston Research activity supported by APNIC March 2003.
BGP Unallocated Address Route Server Geoff Huston March 2002.
The 6Bone Phaseout Geoff Huston APNIC. IPv6 Route Table Size: IXP More Specifics Ghost Route removal 6Bone Removal.
Where are we with IPv6? Geoff Huston APNIC. The minister for communications and information technology does not believe that regulatory intervention is.
BGP Status Update Geoff Huston September What Happening (AS4637) Date.
Internet Number Resource Status Report As of 31 March 2006.
Internet Number Resource Status Report As of 31 December 2004.
Internet Number Resource Status Report As of 31 March 2005.
Update on IANA APNIC Meeting 29 February 2008 Barbara Roseman Internet Assigned Numbers Authority.
Protecting Resource Records in APNIC Whois Database Database SIG APNIC-16, Seoul August 2003 Sanjaya
1 Taiwan Routing table statistics – a new service in TWNIC Ching-Heng Ku IP Department TWNIC.
Deploying IPv6: The time is now Are you ready? SFTA 24 May 2012 John Curran President and CEO, ARIN.
African Internet resources and routing statistics AfriNIC X Cairo, May 2009.
Spearheading Internet technology and policy development in the African Region IPv4 exhaustion The Situation in Africa AfriNIC-9 Mauritius, 27th November.
Spearheading Internet technology and policy development in the African Region Resource Services Report.
1 News from APNIC AfriNIC 9 27 November Coming up Some numbers Some service updates Some policy news 2.
APNIC Internet Routing Registry Routing SIG APNIC-15, Taipei 26 February 2003.
APNIC update ARIN XX 17 October 2007 Srinivas Chendi.
Sofía Silva Berenguer lacnic.net Paramaribo - Surinam IPv4 Exhaustion And IPv6 Deployment.
December 2013 Internet Number Resource Report. December 2013 Internet Number Resource Report INTERNET NUMBER RESOURCE STATUS REPORT As of 31 December.
March 2014 Internet Number Resource Report. March 2014 Internet Number Resource Report INTERNET NUMBER RESOURCE STATUS REPORT As of 31 March 2014 Prepared.
Internet Routing Table Analysis Update Philip Smith IEPG Yokohama, July 2002.
Internet Routing Table Analysis Update Philip Smith APNIC Routing SIG Taipei, February 2003.
IPv4 Address Lifetime Expectancy Geoff Huston Research activity supported by APNIC The Regional Internet Registries s do not make forecasts or predictions.
APNIC eLearning: Intro to RPKI 10 December :30 PM AEST Brisbane (UTC+10)
Prepared by The Regional Internet Registries [APNIC, ARIN, LACNIC and RIPE NCC]
APNIC Status Report LACNIC V November 2003 Havana.
Measuring IPv6 Deployment Geoff Huston George Michaelson
An overview of IP addressing history and policy issues Leo Vegoda Number Resources Manager, IANA.
The Status of APNIC’s IPv4 Resources: Exhaustion & Transfers Geoff Huston APNIC Labs.
APNIC Depletion of the IPv4 free address pool – IPv6 deployment The day after!! 8 August 2008 Queenstown, New Zealand In conjunction with APAN Cecil Goldstein,
1 Presentation_ID © 1998, Cisco Systems, Inc. Internet Routing Table Analysis Update Philip Smith APNIC Routing SIG, APRICOT, Kuala Lumpur,
1 AS Consumption Patterns Geoff Huston APNIC May 2005.
Anne Lord & Mirjam Kühne. AfNOG Workshop, 10 May IP Address Management AfNOG Workshop, 11 May 2001 Accra, Ghana presented by:
July 2002IEPG, Yokohama, Japan RIR Co-ordination and Joint Statistics IEPG, Yokohama, Japan Prepared By APNIC, ARIN, RIPE NCC.
1 IPv4 Address Lifetime Presented by Paul Wilson, APNIC Research activity conducted by Geoff Huston and supported by APNIC.
1 APNIC Trial of Certification of IP Addresses and ASes RIPE October 2005 Geoff Huston.
1 Auto-Detecting Hijacked Prefixes? Routing SIG 7 Sep 2005 APNIC20, Hanoi, Vietnam Geoff Huston.
Securing BGP Bruce Maggs. BGP Primer AT&T /8 Sprint /16 CMU /16 bmm.pc.cs.cmu.edu Autonomous System Number Prefix.
1 IANA global IPv6 allocation policy [prop-005-v002] Policy SIG 1 Sept 2004 APNIC18, Nadi, Fiji.
Copyright (c) 2002 Japan Network Information Center Proposal for IPv6 Policy for Essential Infrastructure in the AP region Izumi Okutani IP Address Section.
Whois & Data Accuracy Across the RIRs. Terms ISP – An Internet Service Provider is allocated address space by an RIR for the purpose of providing connectivity.
Auto-Detecting Hijacked Prefixes?
Auto-Detecting Hijacked Prefixes?
The Status of APNIC’s IPv4 Resources: Exhaustion & Transfers
René Wilhelm & Henk Uijterwaal RIPE NCC APNIC21, 18 September 2018
APNIC Trial of Certification of IP Addresses and ASes
IPv6 Address Allocation APNIC
Joint IPv6 Forum/IPv6 SIG APNIC 15, Taipei, Taiwan 26 February 2003
The Current State of RDAP
The 6Bone Phaseout Geoff Huston APNIC.
July 2016 Internet Number Resource Report.
July 2016 Internet Number Resource Report.
IPv6 Allocation Service in JPNIC
July 2016 Internet Number Resource Report.
IPv6 Allocation Status Report
Overview of policy proposals
IPv4 Address Lifetime Expectancy
Presentation transcript:

Hunting the Bogon Geoff Huston August 2003 Research activity supported by APNIC

Whats a BOGON ? A bogon is the advertisement in BGP of an address block or an Autonomous System number that is not registered as being allocated Example: Advertise an address block drawn from the RFC 1918 private address space: /24

Whats allocated ? There are 3 primary resources that need to be examined to answer this query: IANA registry report Determines what number blocks have been allocated to RIRs and what number blocks are reserved and are not to be used The RIR stats files report A summary of number allocations that list the number block and the date of allocation –these files are updated periodically (daily or monthly, depending on the RIR) RIR whois data An online database query tool used to list RIR information relating to the allocation of a particular number

1. IANA Registries AS number registry IPv4 address registry There are also other IANA address registries listed at

Inconsistencies in IANA Data Why are these entries different? i.e. are 49/8 and 50/8 held in reserve by IANA or not? Is this a registry or a log? 036/8 Jul 00 IANA - Reserved (Formerly Stanford University - Apr 93) 049/8 May 94 Joint Technical Command (Returned to IANA Mar 98) 050/8 May 94 Joint Technical Command (Returned to IANA Mar 98)

Inconsistencies in IANA Data Why are these entries the same? It would be useful for the IANA registry to consistently distinguish between IPv4 global unicast address space that is assignable and useable as unicast address space, and those blocks of address space that are currently reserved by the IETF pending a protocol standards action to define their interpretation and use 197/8 May 93 IANA - Reserved 240/8 Sep 81 IANA - Reserved

Inconsistencies in IANA Data From RFC3330: What is the difference between Reserved, Reserved for Future Use and Reserved but subject to allocation? Others at /8 Reserved but subject to allocation /16 Reserved but subject to allocation /16 Reserved but subject to allocation /24 Reserved but subject to allocation /24 Reserved but subject to allocation /4 Reserved for Future Use

2. RIR Stats Files Produced every day Contains a summary of the RIRs allocations for all number blocks that are managed by the RIR

Inconsistencies in RIR Stats Data Its incomplete! Some additional data can be found in the ERX areas in ARIN The RIRs whois databases appear to contain additional records not found in the stats data - These records describe allocations of address space not listed in the stats files For RIPE the issued files contain some additional allocations not listed in the stats file Ive assumed that these additional sources of data describe valid allocated address blocks

3. RIR whois Data RIPE: ftp://ftp.ripe.net/base/ripe.db.gz ftp://ftp.ripe.net/base/ripe.db.gz APNIC: ftp://ftp.apnic.net/apnic/whois/apnic.181.db.gz ftp://ftp.apnic.net/apnic/whois/apnic.181.db.gz ARIN, LACNIC Whois databases appear to be updated daily Perform the individual queries And be careful about whois query rate throttles

Inconsistencies in RIR Whois Data RIPE whois has some strange data: E.g /29 and /28 It is not obvious (to me) to identify which whois database entries are authoritative APNIC and ARIN whois has entries that are not listed in the stats files Are these authoritative entries? This is being worked on by the RIRs

+ Historical IANA allocations A number of allocations performed by IANA do not appear to be recorded in the RIR data files whois.nic.mil contains additional information BUT some blocks appear to have been assigned to the DDN without any record E.g. AS1451 – AS1533

Bogon Detection Resources List of Allocated and UnAllocated IPv4 space in various formats – updated hourly List of Allocated and UnAllocated ASNs No, I do not use the unallocated address block description to run a BGP Unallocated Address route server But you can if you want!

Whats a Bogon? IF its listed in the IANA registry as reserved OR If its not listed in collection of RIR stats files and whois allocation data AND Its being advertised as reachable and connected in the global BGP table THEN It could be a bogon advertisement Or it could be a data inconsistency in the RIRs records

A Bogon is NOT… The hijacking or otherwise unauthorized use of allocated number resources All the bogon check performs is a lookup for any registry data for each advertised address block and AS using RIR stats and whois data. It does not perform any form of consistency checks relating to the identity of the advertiser of the address space and the identity listed in the registry data

Bogon Listing Updated hourly Bogon databases updated daily Includes list of possibly Bogon AS and IP Address advertisements

Bogon Counts - ASNs 54 AS numbers cannot be located in the RIR data (5 May 2003) 17 on 7 July 2003

Bogon Report Bogus AS Announcing-AS AS1462 Announced by AS721 DLA-ASNBLOCK-AS DoD Network Information Center AS1466 Announced by AS721 DLA-ASNBLOCK-AS DoD Network Information Center AS1483 Announced by AS721 DLA-ASNBLOCK-AS DoD Network Information Center AS1484 Announced by AS721 DLA-ASNBLOCK-AS DoD Network Information Center AS1489 Announced by AS721 DLA-ASNBLOCK-AS DoD Network Information Center AS1495 Announced by AS668 ASN-ASNET-NET-AS Defense Research and Engineering Network AS1521 Announced by AS721 DLA-ASNBLOCK-AS DoD Network Information Center AS3363 Announced by AS3662 ERX-HARNET The Chinese University of Hong Kong AS4528 Announced by AS3662 ERX-HARNET The Chinese University of Hong Kong AS4528 Announced by AS9381 NEWTT-IP-AP New T&T HK Ltd. AS4634 Announced by AS10097 FLOWCOM flow communications level kent st sydney nsw 2000 AS4665 Announced by AS3786 ERX-DACOMNET DACOM Corporation AS4665 Announced by AS4766 KIX Korea Internet Exchange for "96 World Internet Exposition AS6686 Announced by AS7018 ATT-INTERNET4 AT&T WorldNet Services AS6688 Announced by AS7018 ATT-INTERNET4 AT&T WorldNet Services AS7617 Announced by AS3409 INET-1-AS Internetworks, Inc. AS9671 Announced by AS18042 KBT Koos Broadband Telecom AS10095 Announced by AS1239 SPRINTLINK Sprint AS26233 Announced by AS16399 NETWORKGCI Globalcom AS64732 Announced by AS9808 CMNET-GD Guangdong Mobile Communication Co.Ltd. AS65001 Announced by AS14900 USLEC-CORP-1 USLEC Corp.

Bogon Counts – IP Addresses 264 address block advertisements are bogon advertisements (5 May 2003) 173 on 7 July 2003

So what? The integrity of the Internet depends on uniqueness of addresses. Uniqueness depends on the integrity of the records that describe deployment of address space and integrity of the network operators to use address space in accordance with this recorded information So its important to ensure that there are authoritative sources of information that describe all valid addresses

If you find your address space listed in the Bogon Report… What should you do? 1. Check your records to confirm that you have been allocated the number resources that are listed as being a bogon 2. Check with your RIR about the history of the address record Ultimately, there are 2 ways to get off the report: 1. Stop using the address resources and ensure that you are only using and advertising resources that are validly listed with the RIRs 2. The RIR updates its database to correct an anomaly and the address space is listed in the updated RIR stats file report

Next Steps:… Obviously, it would be good to motivate IANA and the RIRs to resolve inconsistencies in the current databases And this is underway And it would be good to have tools to allow network operators to efficiently identify what may be an invalid routing advertisement