15
Copyright © 2019 Japan Network Information Center Long chopsticks in heaven - When packets dropped using ROA - RIPE78, May 2019 Taiji Kimura

Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information Center

Long chopsticks in heaven- When packets dropped using ROA -

RIPE78, May 2019Taiji Kimura

Page 2: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

Contents

• RPKI in Asia and Japan• One trouble shooting case in an ISP• What will happen with dropping packets using ROA?• What should be cared from now?

2

Page 3: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

RPKI in Asia-Pacific region

3

RIR: Regional Internet Registry

CNNIC TWNICNIR: National Internet Registry

ICANN/IANA

ISPISPLIR: Local Internet Registry

RIPE NCCAfriNIC APNIC ARIN LACNIC IP address192.0.0.0/8

192.168.0.0/16

registry database

End User

192.168.64.0/22

resource certificate

National Internet Registry (NIR) has a role to serve RPKI service for their members.

Page 4: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

RPKI/ROA in Japan

• As a trial service for ISP's operational knowledge• Numbers• Publish 83 resource certificates and 295 ROAs• Coverage: 5.0%(IPv4) / 56.8%(IPv6)

• Tutorial• Hands-on for beginners• 2018: April, June and October• 2019: February, April ...

4

0

20

40

60

80

100

2015/2

2015/6

2015/10

2016/2

2016/6

2016/10

2017/2

2017/6

2017/10

2018/2

2018/6

2018/10

2019/2

Page 5: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information Center

One trouble shooting case in an ISP

Page 6: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

A customer experienced reachability problem

• Customer reported to the ISP• Unreachable for one web site in Europe• Using mobile router -> reachable• Using IPv6 -> reachable• Traceroute -> reachable until AS one front of destination

• The ISP responded for the customer as• guiding reboot customer's router as usual in help desk• asked on the web form for the web site about reachability

6

Page 7: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

The ISP's action (continued)

• The ISP:• asked for the AS one front of destination (#5) but no good answer

because no relationship with the ISP• asked AS#1-4 to help asking AS #5 but all they responded as "no

action will be taken because no problem found for the prefix"

7

ISP's AS

AS #1AS #5 Web

site ASAS #2

AS #3

AS #4

Page 8: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

The cause of unreachability

• The ISP got• a response by e-mail contact found Peering DB• the reason is "invalid prefix length"

• The cause and fixing• Prefix length has been changed for operational reason after

creating ROA for several years!• Human/organization cannot remember things over years

• By fixing maximum prefix length in the ROA, reachability has been recovered.

8

This is not simple nor just technical issue but will be happen in worldwide when deploying ROV.

Page 9: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information Center

What will happen with dropping packets using ROA?

9

Page 10: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

Three things will happen

• IP address holder may leave ROA different from actual BGP route.

• End user will experience unreachability without any sign or alert.

• Only BGP operators can know the reason and only IP address holder can fix the problem. Different players need to react to solve the problem.

10

Page 11: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information Center

What should be cared from now?

11

Page 12: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

Spread ideas on using ROA

• Try and know what will happen when using ROA/RPKI

• When unreachable for some specific routes, remember to investigate origin validation state

• Consider communication over different NOG

12

Page 13: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

What we can do

• Be aware "adoption rate" is not only the indication of security

• Encourage communicating between engineers and between tech and non-tech persons (includes customer supporting staff)

• Spread culture of "mutual help" in BGP and Internet without making tie in the rule

13

Page 14: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information CenterRIPE78

Conclusion

• Dropping invalid routes using origin validation with ROA/RPKI can make unreachable IP networks

• To ease recovery from mis-configured routes or ROA, communication is important• between tech and non-tech people• between operators beyond NOG

14

Encouraging "mutual help" is essential for global Internet

Page 15: Long chopsticks in heaven - ripe78.ripe.net · Long chopsticks in heaven-When packets dropped using ROA - RIPE78, May 2019 ... •Hands-onforbeginners •2018:April,JuneandOctober

Copyright © 2019 Japan Network Information Center 15

Allegory of the long spoons - Wikipediahttps://en.wikipedia.org/wiki/Allegory_of_the_long_spoons