review of bgp bcp in 2014 seen from ris collectors
play

Review of BGP BCP in 2014 Seen from RIS collectors Guillaume - PowerPoint PPT Presentation

Review of BGP BCP in 2014 Seen from RIS collectors Guillaume Valadon Agence nationale de la scurit des systmes dinformation http://www.ssi.gouv.fr/en RIPE 69 - November, 3rd 2014 ANSSI - http://www.ssi.gouv.fr/en 1/19 The observatory


  1. Review of BGP BCP in 2014 Seen from RIS collectors Guillaume Valadon Agence nationale de la sécurité des systèmes d’information http://www.ssi.gouv.fr/en RIPE 69 - November, 3rd 2014 ANSSI - http://www.ssi.gouv.fr/en 1/19

  2. The observatory in a nutshell The observatory is under the supervision of the ANSSI, the French involved in the project. Some of our objectives ANSSI - http://www.ssi.gouv.fr/en 2/19 national cyberdefence agency. French operators and Afnic are also • Study the Internet in France in details: • presented during RIPE 67 plenary. • Develop technical interactions with the networking community; • Publish anonymized results; • see http://www.ssi.gouv.fr/observatoire/ • Publish recommendations and best practices: • BGP BCP presented during RIPE 68 BCOP WG.

  3. ANSSI BGP Best Current Practices guide html ANSSI - http://www.ssi.gouv.fr/en Some BCP can be observed in routing tables ! Recommendations examples About the guide 3/19 new-publication-bgp-configuration-best-practices. gouv.fr/en/the-anssi/events/ http://www.ssi. at: • available • written in collaboration with 7 French operators • confjguration examples for: IOS, Junos, SR-OS, OpenBGPD • contributions are welcome ! • authenticate BGP sessions with TCP-MD5 • fjlter the default route • fjlter special AS numbers (private, documentation, ...) • fjlter too specifjc prefjxes: IPv4 > /24 , IPv6 > /48 • limit the number of prefjxes received from a peer

  4. ANSSI BGP Best Current Practices guide About the guide Recommendations examples Some BCP can be observed in routing tables ! ANSSI - http://www.ssi.gouv.fr/en 3/19 • available at: http://www.ssi.gouv.fr/en • written in collaboration with 7 French operators • confjguration examples for: IOS, Junos, SR-OS, OpenBGPD • contributions are welcome ! • authenticate BGP sessions with TCP-MD5 • fjlter the default route • fjlter special AS numbers (private, documentation, ...) • fjlter too specifjc prefjxes: IPv4 > /24 , IPv6 > /48 • limit the number of prefjxes received from a peer

  5. ANSSI BGP Best Current Practices guide About the guide Recommendations examples Some BCP can be observed in routing tables ! ANSSI - http://www.ssi.gouv.fr/en 3/19 • authenticate BGP sessions with TCP-MD5 • fjlter the default route • fjlter special AS numbers (private, documentation, ...) • fjlter too specifjc prefjxes: IPv4 > /24 , IPv6 > /48 • limit the number of prefjxes received from a peer

  6. Default routes seen by the RIS collectors

  7. Default routes seen by RIS from January to September ceived defaults Some UPDATEs could be legitimate. ANSSI - http://www.ssi.gouv.fr/en 5/19 • ≈ 17000 UPDATEs received • 11/13 active collectors re-

  8. AS PATH length default an- nounced by a RIS peer, or a transit provider of a RIS peer should not be seen an AS PATH length strictly smaller than 3 ANSSI - http://www.ssi.gouv.fr/en 6/19 • len () < = 2 : • len () > 2 : • 40% of the UPDATES have Short AS PATH ( < = 2 ) could identify legitimate announces.

  9. Default routes seen by RIS - no short AS PATH from January to September Some collectors still received much more messages than the others. ANSSI - http://www.ssi.gouv.fr/en 7/19 • ≈ 10000 UPDATEs received • IPv4: 12% • IPv6: 88%

  10. Default routes per day DATEs per day received between 1 and 1436 UPDATEs per day September Collectors see more IPv6 defaults than with IPv4. ANSSI - http://www.ssi.gouv.fr/en 8/19 • IPv4: between 1 and 43 UP- • some days no defaults are • IPv6: • decrease at the end of

  11. Origin and transit AS 52 origin AS announced a default route 35 transit AS did not fjlter a de- fault route All of these transit providers should have fjltered the default route. ANSSI - http://www.ssi.gouv.fr/en 9/19

  12. Open questions ANSSI - http://www.ssi.gouv.fr/en 10/19 • do these UPDATEs are only seen by RIS collectors ? • how many UPDATEs are seen by difgerent RIS collectors ? • …

  13. Too specifjc prefjxes

  14. Number of too specifjc prefjxes per day ANSSI - http://www.ssi.gouv.fr/en 12/19 • IPv6: ≈ 200 distinct prefjxes ≈ 2100 distinct prefjxes seen every day.

  15. Prefjxes lengths Unique IPv4 prefjxes: 7797 Unique IPv6 prefjxes: 261 ANSSI - http://www.ssi.gouv.fr/en 13/19

  16. Unique AS PATH length Most of the too specifjc prefjxes cross the Internet. ANSSI - http://www.ssi.gouv.fr/en 14/19

  17. Origin and transit ASes ANSSI - http://www.ssi.gouv.fr/en 15/19 ≈ 450 distinct origin AS seen every day. ≈ 200 transit AS seen every day.

  18. Can these prefjxes be reached otherwise ? Most of the too specifjc prefjxes can be reached by a less specifjc prefjx. ANSSI - http://www.ssi.gouv.fr/en 16/19 • on June 30th, there are 2089 unique too specifjc IP prefjxes • on July 1st: 125 prefjxes can’t be reached globally: • 46 are only reachable through the specifjc announce • 79 are not reachable at all

  19. Conclusion

  20. Closing remarks Still a work in progress ! Will it be useful to contact operators ? ANSSI - http://www.ssi.gouv.fr/en 18/19 • the observation of BCP adoption is a good awareness tool • the same methodology can be applied to AS numbers, … 28220 3549 3356 8220 23456 198648

  21. Questions? Published material) ANSSI - http://www.ssi.gouv.fr/en 19/19 • 2011 report (French); • 2012 report (French); • 2013 report (French & English - soon); • BGP confjguration best practices (French & English).

Recommend


More recommend