yarrp’ing the ipv6 internet - caidaipv6 active topology discovery • goal: discover ipv6...

18
Yarrp’ing the IPv6 Internet Eric Gaston Robert Beverly Naval Postgraduate School AIMS 2017 March 2, 2017

Upload: others

Post on 27-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

Yarrp’ingtheIPv6Internet

EricGastonRobertBeverly

NavalPostgraduateSchool

AIMS2017March2,2017

Page 2: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

IPv6ActiveTopologyDiscovery

• Goal:DiscoverIPv6Internet’sinterface-leveltopology• But,completenessisachallengewith2128 (~3.4X1038)

uniqueaddresses• And,ratelimitinginIPv6ismoreaggressivethaninIPv4• Currentstate-of-the-art:scansmallnumberofprefixes

slowly.

Page 3: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

IPv6TopologyMappingToday

Page 4: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

CAIDAIPv6TopologyProbing

• Sendprobestowardeachgloballyannounced/48orshorterprefixonceevery48hours

• 37,797prefixesasofFebruary12,2017• From46globallydistributedArkVP• EachVPscampericmp-paris traceroutes toward::1

andarandomaddressineachprefixes.

Page 5: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

Rohreretal: IPv6Scans

• UsedArk• Largestscantodateprobing~406millionprefixes• (Datapubliclyavailable)• Traceroute tothe::1ineach/48inall/32’s• Scantook4monthstocomplete(Nov14– Mar15)• Currentroutingtablecontains~536millionprefixes• Increaseof32%in2years

Page 6: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

Foremski etal:Entropy/IP

• IMC2016studytofindactiveportionsofIPv6Internet

• CombinesinformationtheoryandmachinelearningtoprobabilisticallymodelIPv6addresses

• Abilitytogeneratecandidateaddresslistforactivescanningcanbeusedtoreducethetargetspace

Page 7: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

WhyismappingIPv6Important?

• IPv6Topologymappingcrucialto:• Security• Policy• Research

• IPv6usehasdoubledeveryyearsince2012• Measurementcommunityneeds:• BettervisibilityintoIPv6topology• Bettertools

Page 8: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

Ourapproach:Yarrp6

Page 9: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

WhatisYarrp?

• Anewhigh-speed stateless traceroutetechnique(IMC2016demonstratestopo discovery@100Kpps)

• ReconstructsstatesfromdataencodedinIPandTCPheadersofICMPquotation

• CurrentlyonlysupportsIPv4andTCPprobes• (Presentlyworkingw/CAIDAtodeployinproduction)

https://www.cmand.org/yarrp/

Page 10: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

WhatisYarrp6?

• Yarrp6isaportofYarrp forIPv6• Alsostatelessandrandomized• Butencodesstateinadifferentmanner• MaintainsParistraceroutemethodforallscan• AddsthecapabilitytodoICMPv6andUDPscansas

wellastheTCPSYNandTCPACKprovidedbyYarrp

Page 11: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

PortingYarrp toIPv6

• ExtendingYarrp toIPv6isnotatrivialtask• Issues:• Howtoencodestate• Yarrp permutationlibrary’s32-bitblocksizetoo

smallforIPv6• RawsocketsinIPv6donotallowforfullcontrol

ofpacketheaders• Rate-LimitingofICMPv6errormessages• UnabletodetectresponsestoTCPprobesfrom

targets

Page 12: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

InitialExperiments

• SoughttovalidateandcompareYarrp tocurrentstate-of-the-art:• RecallofYarrp6vs.CAIDAv6probecycle• SpeedofYarrp6vs.CAIDAv6probecycle

• ComparedusingCAIDA’sIPv6datafromsan-usVPscansdoneonFebruary12,2017

• Sametargetlistcontaining75,594addresses

Page 13: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

Yarrp6vs.CAIDA(cont.)

Page 14: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

RateLimitingofIPv6

• “anIPv6nodeMUSTlimittherateofICMPv6errormessagesitoriginates.”– RFC4443

• Wedidobserverate-limitingonIPv6• Hops1-4accountedfor~75%ofallmissing

hops• Only57uniqueaddressesmissingfromthese

hop

Page 15: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

ComparisonofTransportProtocols

• Usedyarrp6tocompareprobeprotocol• ComparisonofTransportProtocolonforwardIP

pathinference.• UsedICMPv6,UDP,TCPSYN,andTCPACKParis

tracerouteprobes• 3metricsusedforcomparison:• DestinationReached• CompletePaths• UniqueIPLinks

Page 16: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

ComparisonofTransportProtocols(cont.)

Probe Method UniqueInterface DestinationsReached CompleteIPPaths UniqueIPLinks

ICMPv6 45,706 9,535 3,562* 57,667

UDP 34,567 4,455 1,776* 37,514

TCP SYN 34,879 N/A# N/A# 37,655

TCPACK 35,178 N/A# N/A# 38,262

*Hop3skippedindeterminationofcompletepath#UnabletoretrieveencodedinformationfromTCPresponses

Page 17: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

FutureWork

• Workingw/DavePlonka:UseEntropy/IPtogeneratetargetlistforYarrp6toscan.

• ComparisonofYarrp6tolargerdatasetsuchasRohreretal.dataset

• RunningscansinrapidsuccessiontoallowforstudyintodynamicsofIPv6Internet.

• Yarrp availablenow;Yarrp6realsoonnow.Contactustobeta!

https://www.cmand.org/yarrp/

Page 18: Yarrp’ing the IPv6 Internet - CAIDAIPv6 Active Topology Discovery • Goal: Discover IPv6 Internet’s interface-level topology • But, completeness is a challenge with 2128 (~3.4

Questions?

https://www.cmand.org/yarrp/