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

review of bgp bcp in 2014 seen from ris collectors
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 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

slide-2
SLIDE 2

The observatory in a nutshell

The observatory is under the supervision of the ANSSI, the French national cyberdefence agency. French operators and Afnic are also involved in the project.

Some of our objectives

  • 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.

ANSSI - http://www.ssi.gouv.fr/en 2/19

slide-3
SLIDE 3

ANSSI BGP Best Current Practices guide

About the guide

  • available

at: http://www.ssi. gouv.fr/en/the-anssi/events/ new-publication-bgp-configuration-best-practices. html

  • written in collaboration with 7 French operators
  • confjguration examples for: IOS, Junos, SR-OS, OpenBGPD
  • contributions are welcome !

Recommendations examples

  • 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

Some BCP can be observed in routing tables !

ANSSI - http://www.ssi.gouv.fr/en 3/19

slide-4
SLIDE 4

ANSSI BGP Best Current Practices guide

About the guide

  • 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 !

Recommendations examples

  • 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

Some BCP can be observed in routing tables !

ANSSI - http://www.ssi.gouv.fr/en 3/19

slide-5
SLIDE 5

ANSSI BGP Best Current Practices guide

About the guide Recommendations examples

  • 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

Some BCP can be observed in routing tables !

ANSSI - http://www.ssi.gouv.fr/en 3/19

slide-6
SLIDE 6

Default routes seen by the RIS collectors

slide-7
SLIDE 7

Default routes seen by RIS

  • ≈ 17000 UPDATEs received

from January to September

  • 11/13 active collectors re-

ceived defaults Some UPDATEs could be legitimate.

ANSSI - http://www.ssi.gouv.fr/en 5/19

slide-8
SLIDE 8

AS PATH length

  • len()

<= 2: default an- nounced by a RIS peer, or a transit provider of a RIS peer

  • len() > 2:

should not be seen

  • 40% of the UPDATES have

an AS PATH length strictly smaller than 3 Short AS PATH (<= 2) could identify legitimate announces.

ANSSI - http://www.ssi.gouv.fr/en 6/19

slide-9
SLIDE 9

Default routes seen by RIS - no short AS PATH

  • ≈ 10000 UPDATEs received

from January to September

  • IPv4: 12%
  • IPv6: 88%

Some collectors still received much more messages than the others.

ANSSI - http://www.ssi.gouv.fr/en 7/19

slide-10
SLIDE 10

Default routes per day

  • IPv4: between 1 and 43 UP-

DATEs per day

  • some days no defaults are

received

  • IPv6:

between 1 and 1436 UPDATEs per day

  • decrease at the end of

September

Collectors see more IPv6 defaults than with IPv4.

ANSSI - http://www.ssi.gouv.fr/en 8/19

slide-11
SLIDE 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

slide-12
SLIDE 12

Open questions

  • do these UPDATEs are only seen by RIS collectors ?
  • how many UPDATEs are seen by difgerent RIS collectors ?

ANSSI - http://www.ssi.gouv.fr/en 10/19

slide-13
SLIDE 13

Too specifjc prefjxes

slide-14
SLIDE 14

Number of too specifjc prefjxes

  • IPv6: ≈ 200 distinct prefjxes

per day ≈ 2100 distinct prefjxes seen every day.

ANSSI - http://www.ssi.gouv.fr/en 12/19

slide-15
SLIDE 15

Prefjxes lengths

Unique IPv4 prefjxes: 7797 Unique IPv6 prefjxes: 261

ANSSI - http://www.ssi.gouv.fr/en 13/19

slide-16
SLIDE 16

Unique AS PATH length

Most of the too specifjc prefjxes cross the Internet.

ANSSI - http://www.ssi.gouv.fr/en 14/19

slide-17
SLIDE 17

Origin and transit ASes

≈ 450 distinct origin AS seen every day. ≈ 200 transit AS seen every day.

ANSSI - http://www.ssi.gouv.fr/en 15/19

slide-18
SLIDE 18

Can these prefjxes be reached otherwise ?

  • 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

Most of the too specifjc prefjxes can be reached by a less specifjc prefjx.

ANSSI - http://www.ssi.gouv.fr/en 16/19

slide-19
SLIDE 19

Conclusion

slide-20
SLIDE 20

Closing remarks

Still a work in progress !

  • 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

Will it be useful to contact operators ?

ANSSI - http://www.ssi.gouv.fr/en 18/19

slide-21
SLIDE 21

Questions?

Published material)

  • 2011 report (French);
  • 2012 report (French);
  • 2013 report (French & English - soon);
  • BGP confjguration best practices (French & English).

ANSSI - http://www.ssi.gouv.fr/en 19/19