some thoughts on iot - hknog · 2017-07-03 · ipv4 and iot • the “conservative” option for...

44
Some thoughts on IoT Geoff Huston Chief Scientist, APNIC

Upload: others

Post on 07-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

SomethoughtsonIoT

Geoff Huston

Chief Scientist, APNIC

Page 2: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TechnologyDoestechnologychangesociety,ordowedevelopandadopttechnologytoaddresssociety’schanges?

WhenMeng Tianinventedthecamelhairpaintbrushin250BCEhedidnotinventcalligraphy.HerespondedtoaneedinancientChinesesocietyformoreandhigherqualitywrittendocumentsthatcouldbeproducedfaster

TechnologyDoestechnologychangesociety,ordowedevelopandadopttechnologytoaddresssociety’schanges?

WhenMeng Tianinventedthecamelhairpaintbrushin250BCEhedidnotinventcalligraphy.HerespondedtoaneedinancientChinesesocietyformoreandhigherqualitywrittendocumentsthatcouldbeproducedfaster

Page 3: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Themostprofoundtechnologiesarethosethatdisappear.Theyweavethemselvesintothefabricofeverydaylifeuntiltheyareindistinguishablefromit...

- MarkWeiser1991

Technology

Page 4: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

SohowshouldwelookattheInternetofThings?

Isthismerelyatemporaryconsumerfad,destinedtobereplacedbythenextcooltechnologyitem?

Oristhisaninstanceofaprofoundtechnologychangethatanswersabasicneedinoursocietythatwillbeddowntobeapartofoureverydaylifeformanyyearstocome?

Page 5: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Totryandanswerthis,letstryandputthisquestionintosomebroadercontextoftheevolutionthecomputerandcommunicationsenterprise

Page 6: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Computerswereesoterichighfrontierresearchprojects

1946 – Eniac – anumericcalculator

Page 7: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

1964:IBM360

Thentheybecamea“musthave”businesstool

1964 IBM360– commercialcomputing

Page 8: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

The Computing Evolutionary PathExtravagantstatementsoftechnopower

1976 CRAY-1– “super”computing

Page 9: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

The Computing Evolutionary Path

1976:AppleI

Buttherewasalsothehobbyistmarket

1976– Apple-1“personal”computing

Page 10: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Consumercomputersasastatementofdesignstyle

1984– Mac

Page 11: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

FromStyletoMassMarketedLuxuryItem

2007– Apple’siPhone

Page 12: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet
Page 13: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

WithdesktopdevicestheInternetofcomputerswasadedicatedactivity

dedicated chair

lighting

wired bandwidth

large view screens

privacy

dedicated worktop

reliable power

Page 14: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TheInternetisnowanywhereandeverywhere

Itstrivial,commonplaceandblendsintoallouractivities

radio connectivity

battery power

hand sized

Thumboperated

Page 15: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Asdedicated“things”arereplacingit

Maybeitsaboutthedemiseofthe“traditional”computer

Page 16: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Connecting“things”totheInternetisnothingnew

SimonHackett’sInternetRemoteRadioof1990

Page 17: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

JohnRomkey’s InternetToaster– LetthemeatToast!

Connecting“things”totheInternetisnothingnew

Page 18: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

ThisnewIoT isjusttheoldIoT

TheuseofmicroprocessorstoundertakesimpletasksisaboutasoldastheIntel4004andtheZylogics Z80processorchips

Page 19: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

ThisnewIoTisjusttheoldIoT(withnewlipstick!)

Andwearealreadylivinginaprocessing-denseworld

Amoderncarhasaround150– 200microprocessor-controlledsystems,fromthewindscreenwipers,totheentrysystem,toenginecontrolandallthingsinbetweenMany/mostconsumerapplianceshaveallturnedtomicroprocessorcontrolIndustrialprocesses,logisticsandinventorycontrol,environmentalmonitoringallusevariousformsofembeddedprocessing

SowhyisIoTahottopictoday?

ThisnewIoT isjusttheoldIoT(withnewlipstick!)

Andwearealreadylivinginaprocessing-denseworld

A moderncarhasaround150– 200microprocessor-controlledsystems,fromthewindscreenwipers,totheentrysystem,toenginecontrolandallthingsinbetweenMany/mostconsumerapplianceshaveallturnedtomicroprocessorcontrolIndustrialprocesses,logisticsandinventorycontrol,environmentalmonitoringallusevariousformsofembeddedprocessing

SowhyisIoT ahottopictoday?

Page 20: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TheHype

• GartnerPredictions• CESshows• HomeApps• CarApps

Page 21: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

IoT is…?

• Itisagenerictermthatencompassesahugevarietyofapplicationthathavelittleincommonotherthanapropensitytooperateinanunmanagedenvironment• ItshardtotalkabouttheIoT inanythingotherthanhighlygenericterms

Page 22: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Whynow?• Lowpower,highcapabilitysiliconnowdominateschip

fabricationplantsSaturationofthesmartdevicemarketFullstreamsiliconproductionvolumesrequiressomeformofconsumptionmodel

• RadioTechnology:RFID,Bluetooth,WiFi,LTE• ImprovementsinADconvertorsisprovidingrangeand

bandwidthtoradiosystems• Protocoldevelopmentprovides”seamless”connectivity• i.e.PassportsandClothingTags,Appleearbuds,Home

controllersandsimilar

• Actorsseekingnewmarkets• 5GforSIMsandwideareamobility• Smartphoneplatformprovidersseekingtoenterthe

car,homeandworkenvironments• Industrialandprocessautomationseekingtoexpand

marketreach

Page 23: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Whynow?

• Becausewehavesaturatedourtraditionalmarketsfortechnologyandtheproductioncapacityisbeingredirectedtonewopportunities• PCsalesvolumesplummeting• Smartphonesalesarenowpeaking• Thecomputertechnologyindustryisseekingtouseitsexistingcapabilitytoprovidenewproducttohighvolumemarkets• Whichmeanslookingatlowunitmarginveryhighvolumeopportunitiesbyadding”smart”networkcentricinterfacesandcontrollerstoexistingdevicesandfunctions

Page 24: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Theopportunities

• “smart”lighting- e.g.Philips• “smart”homeappliancesandnetworks- e.g.Miele• “smart”powermanagement• ”smart”labelsforretail• “smart”trafficcontrol• “smart”imageanalysis• “smart”videosurveillence• Almostanythingelsethatusestheword“smart”

Page 25: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TheVarietyofLife

It’sasetofdiscreteapplicationsthathavehighlydivergentrequirements:

• Radiusofconnectivityvariesfrommmtokilometers• Bandwidthvariesfrombitstogigabitspersecond• Datavolumesvaryfrombytestopetabytes• Connectivitymodelsmaybepushorpull• Connectivitymaybead-hocrelaystodedicatedwired• Transactionsmaybeunicast,multicastoranycast innature• Applicationsincludesensingandreporting,commandandcontrol,adaptationandinterfacing

Thereislittlethattheseenvironmentshaveincommon,exceptmaybea commonunderlyinggenepool!

Page 26: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TheIoT GenePool

Unix• Itssmall,itsubiquitous,itswellunderstood,itscheap,itsopensourcewithoutonerousIPRconstraints,ithasamassivesetofapplicationlibraries• Customised microkernelsarerisky,expensiveandrarelynecessary

IP• Itssmall,itsubiquitous,itscales,itswellunderstood,itscheap,itsopensourcewithoutonerousIPRconstraints,andeveryonespeaksit!

• ButwhichIP?

Page 27: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

IPv4andIoT

• The“conservative”optionforIPinthisenvironment• UbiquitoussupportacrosstheentiredeployedInternet• Wellunderstoodprotocolbehaviour• WidelyavailableAPIs

OfcourseitshouldalsobeusefultofactorinNATsinIPv4:• Pushmodelwherethe“thing”pushesdatatoarendezvouspointratherthanaconstantpollable modelof“pull”access

• “pull”and“feeder”modelsworkbehindNATsusingrelaysand/orALGssplittheprimaryfeedfromthepropagationofthedata

Page 28: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

IPv6andIoT• It’sthe“killerapp”forIPv6

• Butthenumberssuggestotherwise:• 7Bconnected“devices”ontoday’sIPv4Internet,plusafurther7BconventionalPCandsmartdevices

• 2.8BannouncedIPv4addresses• 1.3B“used”IPv4addresses• Wecanprobablypushthismodelharder!

Page 29: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

“Thing”Behaviour

Pull:• Deviceisalwaysconnectedandinterrogatedbyexternalagents• A modelofpollingorfeedsubscriptionwherethedevicemaintainsinformationthatcanbepolledbyanexternalagent

• ThisrequiresanpublicIPaddress+Port• Italsorequiresahighlyrobustcoreimplementationthatisresistanttoattack

• Italsorequiressomeconsiderablethoughtontheauthorizationmodel• Deviceisconfiguredtoauthorizeusersand/or• Deviceusesathirdpartyauth server

• Commonlyseeninwebcamsandothercontinuousmonitoringapplications(thoughit’snotnecessarilyrequired)

Page 30: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

PullvsPush

Push:• Intermittedly connectedandinterrogatedviaexternalagents• Devicepushesdatatosomedatacollectionagent• Limitedconnectionrequirement• Thisbehaviour NAT”friendly”asthedeviceistheclientandthecollectionpointistheserver

• Externalaccessviathedatacollectionagent,notthedevice• Doesnotrequirededicatedaddressingoutsideofthelocalcontext• Thislimitedaccessmodelfacilitatesdefensivemeasures,includingencryptedcommunicationstothedevice’sagentsandpreventingallthirdpartyconnections

• AndsuchdevicesprobablyshouldbebehindaNATinanycase!(e.g.cameras)

Page 31: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Security

Page 32: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

SeenatNANOG69…

Page 33: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

SecurityInteresting ...

“At last count I have about 43 devices on my LAN, with less than a third running an OS that I can actually interact with. The rest are embedded systems that get updated (hah!) by the vendors at their whim. Easily two-thirds would 'phone home' to somewhere at various times. About 7 have external access without explicitly setting port-forwarding.

Of course, my router monitors and reports on all outbound traffic - but do I actively look at it? I should. But I don’t. And of course everything we value on our LAN we protect and encrypt end-to-end and at-rest as the LAN is actually occupied by foreign devices with unknown network capability... sure we encrypt absolutely everything...”

Page 34: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

AnInternetofStupidThings

Wekeeponseeingthesamestupidityagainandagain:• Deviceswiththetelnetportopen• DeviceswithopenDNSresolversontheWANside• DeviceswithopenNTP/SNMP/chargen etc• Deviceswiththesamepresetrootpassword• Devicesusingvulnerablelibrariesthataresusceptibletorootkitexploitation

Insanely

Page 35: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TheInternetofStupidThings

• Howdoyouperformfieldupgradesofotherwiseneglectedandunmanageddevices• What’stheeconomicsofincentingfieldupgradesfromthemanufacturer?• Whoisresponsibleforbroken“things”?

Page 36: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

TheInternetofStupidThings

Isthisstupidityevenavoidable?• Thebleakpictureismaybenot!• Inapricesensitivemarketwheresystemrobustnessandqualityislargelyintangiblewhereisthemotivetomaintainhighqualitycode?• Howcanaconsumertellthedifferenceinthequalityofthesoftware,intermofitsrobustnessandsecurityofoperation?

highclockspeed industry+commoditycomponents+lowmargin=marketfailureforIoT Security

Page 37: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Privacy

Page 38: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Privacy

Page 39: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Somethingsyoucancounton…

• Thevolumesarealreadyhuge,andthey’regrowing• “Things”alreadyoutnumbereverythingelseontheInternet

• Securityisanunachievableword!• Privacyisnowanhistoricalconcept• Digitalpollutionispervasiveandwenowhaveaninternetthatisalargelychaoticandhostileenvironment

Page 40: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Andsomethingswecan’ttell• Willwestandardizethisareaorwillitbeadiversesetofmutuallyincompatibledevices?• Willthemarketconsolidatetobedominatedbyasmallnumberofproviders andtheirpseudo-openproprietaryarchitectures?• WhenwilltheIoT embraceIPv6?• WilltheIoT marketeverdiscriminateonqualityandrebustness?• Howdowemanagetheriskofcoercionofthesedevices?

Page 41: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Andsomethingswecan’ttell• Howbadcanitget?

Page 42: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

It’satoughproblem…

"The market can't fix this because neither the buyer nor the seller cares.

The owners of the webcams and DVRs used in the denial-of-service attacks don't care. Their devices were cheap to buy, they still work, and they don't know any of the victims of the attacks.

The sellers of those devices don't care: They're now selling newer and better models, and the original buyers only cared about price and features.

There is no market solution, because the insecurity is what economists call an externality: It's an effect of the purchasing decision that affects other people. Think of it kind of like invisible pollution."

https://www.schneier.com/blog/archives/2017/02/security_and_th.html

Page 43: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet
Page 44: Some thoughts on IoT - HKNOG · 2017-07-03 · IPv4 and IoT • The “conservative” option for IP in this environment • Ubiquitous support across the entire deployed Internet

Thanks!