how the internet works · what is the internet made of? l computers l servers l clients l phones l...
TRANSCRIPT
![Page 1: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/1.jpg)
HowtheInternetWorksStevenM.Bellovin
DepartmentofComputerScience,ColumbiaUniversityhAps://www.cs.columbia.edu/~smb
1
![Page 2: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/2.jpg)
DisclaimerAllofthestatements,opinions,facts,myths,errors,etc.,inthistalkaremineandminealone,anddonotrepresenttheopinionsofColumbiaUniversityorofanyagencyoftheUSgovernment.
2
![Page 3: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/3.jpg)
WhatistheInternetMadeof?l Computers
l Serversl Clientsl Phonesl “Things”
l Routers—specializedcomputersthatforward“packets”l Packetsarefragmentsofmessages
l Links—WiFi,Ethernet,fiber,etc.TheInternetwasdesignedtorunoveranything
3
![Page 4: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/4.jpg)
Fibersl Eachcablehasmanypairsofstrands
l Eachstrandcarriesmanywavelengths(aka“colors”or“lambdas”)l Anewtrans-Pacificfiberhassixpairsofstrandsl Eachstrandcarries100wavelengthsl Eachwavelengthhasabandwidthof100Gbpsl Totalcapacity:60terabits/second
l Eachwavelengthcancarrymanydifferentcircuits
l EachInternetcircuitcarriespacketsformanydifferentconversa_ons
4
![Page 5: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/5.jpg)
WiFil Usedinpublicspacesandprivateresidences
l Someuseinbusiness,butwiredEthernetismorecommonfordesktops
l Range:about100meters
l Security:WEPisobsoleteandinsecure;WPA2isquitegood—andinpublic,allbetsareoff.
5
![Page 6: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/6.jpg)
ALookatCommonApplica_onsl Webbrowsing
l Email
l TheCloud
l Cau1on:allofthisissimplified—andarguablyoversimplified
6
![Page 7: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/7.jpg)
HowtheWebAppearstoUsers
7
Internet
WebBrowser
WebServer
![Page 8: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/8.jpg)
TheInternetHasStructure:Mul_pleISPs
8
ISPA
ISPB
LON
NYC
![Page 9: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/9.jpg)
Rou_ngBetweenISPs
9
9
Verizon
Sprint
IIJ
Big ISPs ‘Peering’
GoJ
Amazon Customers buy ‘Transit’
Sakura
![Page 10: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/10.jpg)
EachISPHasStructure:ManyRouters
10
![Page 11: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/11.jpg)
Hos_ngServices
11
Internet
WebBrowser
Hos_ngCompany
CompanyA
CompanyB
CompanyC
![Page 12: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/12.jpg)
ContentDistribu_onNetwork
12
CDNACDNB
CDNC CDNDWebServer
![Page 13: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/13.jpg)
ContentDistribu_onNetwork
13
CDNACDNB
CDNC
CDNDWebServer
![Page 14: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/14.jpg)
ContentDistribu_onNetwork
14
CDNACDNB
CDNC
CDNDWebServer
![Page 15: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/15.jpg)
ContentDistribu_onNetwork
15
CDNACDNB
CDNC CDNDWebServer
![Page 16: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/16.jpg)
CDNExample:www.supremecourtus.gov
NewYork 24.143.200.48
Ashburn,Va 23.15.9.144
Atlanta 208.44.23.57
SanFrancisco 216.156.149.106
Boston 207.86.164.89
16
www.supremecourt.govisanaliasfora1042.b.akamai.net;AkamaiisaprominentCDNoperator
![Page 17: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/17.jpg)
WhichistheBrowser;WhichistheServer?
17
Internet
WebBrowser
WebServer
![Page 18: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/18.jpg)
Architecturally,They’retheSame—WhatMaAersistheSolwareTheyRun
18
Internet
WebServer
WebBrowser
![Page 19: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/19.jpg)
“SmartHosts,DumbNetwork”l Thephonenetworkwasbuiltfordumbphones–nothingelsewastechnicallyoreconomicallyfeasible.
l Allintelligenceisinthenetwork:conferencecalls,callforwarding,evenmanyvoicemenus
l Internetroutersareverydumb;allintelligenceisinendsystemsl Consequence:serviceprovidersarenotnecessarilythesameasnetworkprovidersl Aperson’smailprovidermaybeinanothercountry
19
![Page 20: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/20.jpg)
ThePhoneNetwork:AFewLargeSwitches,ServingPhones
20
![Page 21: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/21.jpg)
TheInternet:ManyRouters,VeryManyTypesofDevices
21
![Page 22: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/22.jpg)
CircuitSwitchingversusPacketSwitchingl Circuits:tradi_onaltelephonymodel
l Paththroughthenetworkselectedat“callsetup_me”l Verysmallnumberofcallsetups;process
canbeheavyweight
l Each“phoneswitch”needstoknowthedes1na1onofthecall,notthesource;returntraffictakesthereversepath
l Packets:Internetmodel
l Every“packet”–afragmentofamessage–isroutedindependentlyl Nocallsetupl Rou_ngmustbevery,veryfast;it’sdone
foreachpacket
l Robustness:ifa“router”fails,packetscantakeadifferentpath
l Everypacketmusthaveasourceanddes_na_onaddress,toenablereplies
l Replytrafficmaytakeaverydifferentpath
22
![Page 23: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/23.jpg)
IPAddressesl Ausertypesanamesuchaswww.dni.gov.
l TheDomainNameSystem(DNS)translatesthattoanInternetProtocol(IP)Addresssuchas23.213.38.42l IPaddressesarefourbyteslong;eachofthosenumbersisintherange0-255l www.dni.govactuallyusesaCDN,soeveryqueriergetsadifferentanswer
l IPaddressesarewhatappearinpackets
l Routerstalktoeachother(viaRou1ngProtocols)tolearnwhereeachIPaddressis
23
![Page 24: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/24.jpg)
IPAddressing
l Roughly4billionpossibleIPaddressestodayl IPv6,anewerversionofIPbeingdeployednow,hasmanymoreaddresses
l IPaddressesarehandedoutinblockstobigISPs.BigISPsgivepiecesoftheiralloca_onstosmallerISPsortoendcustomers
l Unlessyou’reaverylargeenterprise,theonlywaytogetIPaddressesisfromyourISP–andifyouswitchISPs,youhavetorenumberyourcomputers
l Thereisnoanalogto“localnumberportability”ontheInternet–andcan’tbe;there’sno_metodothatmanylookups
24
![Page 25: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/25.jpg)
AddressSpaceAssignmentl IPaddressesarehandedoutbyRegionalInternetRegistries(RIRs),suchasARIN
l TheygettheiraddressesfromICANN,aninterna_onalnon-profitwhichgetsitsauthorityfromtheU.S.DepartmentofCommerce–controversialabroad
l Addressesareallocatedbasedondemonstratedshort-termneedandevidenceofefficientuseofpreviously-allocatedaddresses
l Addressesmaynotbesold,evenaspartofabankruptcy,merger,oracquisi_on,exceptwithARIN’sapprovalandinaccordancewithARIN’spoliciesl Thisasser_onofauthorityhasneverbeencontestedincourt—andsomehavebeentransferredby
orderofabankruptcycourtl SomeISPshave(veryvaluable)pre-ARINaddresses,called“legacyspace”.Legacyaddressholders
don’thavetorenumberwhenswitchingISPs(amongotheradvantages)
25
![Page 26: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/26.jpg)
PortNumbersl Whenonecomputercontactsanother,isittryingtotalktoaWebserverortryingtosendmail?l Rememberthatarchitecturally,allmachinesontheInternetarealikel It’sperfectlylegaltorunaWebserverandamailserveronasinglecomputer
l PacketscontainnotjustanIPaddressbutaportnumberl Port25isthemailserver,port80istheWebserver,443isencryptedWeb,etc.
l IfanIPaddressislikeastreetaddress,aportnumberistheroomnumberinthebuildingl Room25isthemailroom,room80islibrary,etc.
26
![Page 27: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/27.jpg)
TheNetworkStackl TheInternetusesalayered
architecture
l Applica_ons—email,web,etc.—arewhatwecareabout
l TCP(whichhasportnumbers)transportsthedata;itisend-to-end
l IP(thenetworklayer)isprocessedbyeveryrouteralongthepath
l ThelinklayeristhingslikeWiFi,Ethernet,etc.
27
![Page 28: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/28.jpg)
28
![Page 29: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/29.jpg)
SendingEmail
29
ISP
ISP ISP
ISP
OutboundMailServer
InboundMailServer
AccessLinks
![Page 30: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/30.jpg)
SendingMyselfEmail—AnSMTPTranscript
30
220machshav.comESMTPExim4.82Tue,11Mar201419:43:03+0000HELOeloi.cs.columbia.edu250machshav.comHelloeloi.cs.columbia.edu[2001:18d8:ffff:16:12dd:b1ff:feef:8868]MAILFROM:<[email protected]>250OKRCPTTO:<[email protected]>250AcceptedDATA354Entermessage,endingwith"."onalinebyitselfFrom:BarackObama<[email protected]>To:<[email protected]>Subject:TestThisisatest.250OKid=1WNSaS-0001z5-1dQUIT221machshav.comclosingconnec_on
Message
![Page 31: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/31.jpg)
Conversa_onWithAThirdParty
31
220machshav.comESMTPExim4.82Tue,11Mar201419:43:03+0000HELOeloi.cs.columbia.edu250machshav.comHelloeloi.cs.columbia.edu[2001:18d8:ffff:16:12dd:b1ff:feef:8868]MAILFROM:<[email protected]>250OKRCPTTO:<[email protected]>250AcceptedDATA354Entermessage,endingwith"."onalinebyitselfFrom:BarackObama<[email protected]>To:<[email protected]>Subject:TestThisisatest.250OKid=1WNSaS-0001z5-1dQUIT221machshav.comclosingconnec_on
Message
![Page 32: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/32.jpg)
WhattheRecipientSees
32
220machshav.comESMTPExim4.82Tue,11Mar201419:43:03+0000HELOeloi.cs.columbia.edu250machshav.comHelloeloi.cs.columbia.edu[2001:18d8:ffff:16:12dd:b1ff:feef:8868]MAILFROM:<[email protected]>250OKRCPTTO:<[email protected]>250AcceptedDATA354Entermessage,endingwith"."onalinebyitselfFrom:BarackObama<[email protected]>To:<[email protected]>Subject:TestThisisatest.250OKid=1WNSaS-0001z5-1dQUIT221machshav.comclosingconnec_on
Message
![Page 33: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/33.jpg)
ALeAerfromEleanorRoosevelttoLorenaHickock(March1933)
33
Itbegins“Hickmydearest”.(excerptfromAmazon.com)
![Page 34: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/34.jpg)
ThingstoNotel TheSMTPenvelope—that’sthetechnicalterm!—canhavedifferentinforma_onthanthe
messageheaders
l Unlikethephonenetwork,anyonecanruntheirownmailserversl Ipersonallyruntwo,onepersonalandoneprofessionall Thiscomplicatesthirdpartydoctrineanalysis
l TherealityofemailisfarmorecomplexthanI’veoutlinedherel Example:manypeoplereadtheiremailviaaWebbrowser—andtheNSAhasstatedthatevenfor
them,pickingoutjusttheFrom/Toinforma_onfromaWebmailsessionisverydifficult
l Ihaven’tevenbeguntoaddressserver-residentemail,virusscanning,spamfiltering,andthelike,letalonealloftheothermetadatathat’spresent
34
![Page 35: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/35.jpg)
Encryp_onontheInternet
35
![Page 36: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/36.jpg)
AnythingCanbeEncryptedl Links—thoughmostlyusedonWiFi
l VirtualPrivateNetworks(VPNs)
l Simpleconnec_ons(Web,email,etc.),generallyviaTransportLayerSecurity(TLS)
l Data,especiallythebodyofemailmessages
36
![Page 37: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/37.jpg)
VPNsl Usedbycorporateemployeesfortelecommu_ngorwhiletraveling
l Alsousedtoconnectmul_plecorporateloca_ons
l Some_mesusedtospoofloca_onl Covertracksl Foolgeographicrestric_onsoncontent,e.g.,streamingmoviesandmusic
l ArecentlypublishedacademicpaperconcludedthattheNSAcouldcryptanalyzealotofVPNsessions
37
![Page 38: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/38.jpg)
TLSl UsedforallsecureWebtraffic
l Widely(andincreasingly)usedwhensendingandretrievingemaill But—TLSdoesnotprotectemail“atrest”,i.e.,whileondiskonthevariousservers
l Usedformanyotherpoint-to-pointconnec_ons,e.g.,Dropbox
l OlderversionsofTLShavecryptographicweaknesses;theseare(believedtobe)fixedinthenewestversions
l Themostcommonimplementa_onsofTLShavealonghistoryofserioussecurityflaws
38
![Page 39: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/39.jpg)
EmailEncryp_onl Twodifferentstandards,S/MIMEandPGP
l S/MIMEiswidelysupported—butrarelyusedl PGPrequireslessinfrastructuresupport,andhenceisusedbyenthusiasts
l Protectsemailatrest—buthinderssearching
l Doesnotprotectemailheadersorothermetadata
39
![Page 40: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/40.jpg)
Tor:TheOnionRouterl ComputerApicksasequenceofTorrelays
(C➝E➝D)l Distheexitnode,andpassesthetrafficto
des_na_onhostGl Allofthesehopsareencrypted
l BpicksrelaysF➝C➝Dl Gcan’ttellwhichisfromAandwhichfrom
B
l NeithercananyoneelsemonitoringG’straffic
l ManyuseTorforanonymity:police,humanrightsworkers,spies—andcriminals(e.g.,RossUlbrichtofSilkRoadfame)
l Mentalmodel:nested,sealedenvelopes
A D
B C
G
F
E
40
![Page 41: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/41.jpg)
CloudCompu_ng
41
![Page 42: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/42.jpg)
What’saCloud?l Acloudisatradi_onalwayto
representanetwork
l This“three-cloudnetwork”pictureisfrom1982
l But—today“cloud”referstocompu_ngservicesprovidedviatheInternetbyanoutsideparty.
l (Themodernusageseemstodateto1996:hAp://www.technologyreview.com/news/425970/who-coined-cloud-compu_ng/)
42
![Page 43: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/43.jpg)
“ViatheInternet”l Theserviceisnotprovidedon-premises
l AnInternetlinkisnecessary
l Thislinkprovidesanopportunityforintercep_on,lawfulorotherwise
43
![Page 44: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/44.jpg)
“OutsideParty”l Bydefini_on,cloudservicesareprovidedbyanoutsideparty
l Similarinspirittothecompu_ngand_me-sharingservicebureaus,whichdatebacktothe1960s
l Notthesameasacompany’sownremotecompu_ngfacilityl Organiza_onscanhavea“privatecloud”,butthelegalissuesmaybeverydifferent
44
![Page 45: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/45.jpg)
Compu_ngServicesl Manydifferenttypesofservices
l Storagel Compu_ngl Applica_onsl Virtualmachinesl More
45
![Page 46: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/46.jpg)
Storagel Diskspaceinaremoteloca_on
l Easilyshared(andoutsidethecorporatefirewall)
l Olenreplicatedforreliabilityl Replicascanbeondifferentpowergrids,earthquakezones,countries,con_nents,etc.l Datacanbemoved—ormove“byitself”—tobeclosertoitsusers
l Expandable
l Someoneelsecanworryaboutdiskspace,backups,security,andmore
l Examples:Dropbox,GoogleDrive,Carbonite(forbackups),AmazonS3
l Mentalmodel:secure,self-storagewarehouse
46
![Page 47: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/47.jpg)
Compu_ngl Rentcompu_ngcyclesasyouneedthem
l Payonlyforwhatyouuse
l Olenusedinconjunc_onwiththeprovider’scloudstorageservice
l Examples:AmazonEC2,MicrosolAzure,GoogleCloudl Dropboxisacloudservicethatusesadifferentprovider’scloudstorage
l Mentalmodel:callingupatempagencyforseasonalemployees
47
![Page 48: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/48.jpg)
Applica_onsl Providerrunspar_cularapplica_onsforclients
l Commontypes:websites,emailservices
l Lesscommontypes:sharedwordprocessing,payrolls
l Well-knownproviders:Google’sGmailandDocs,Microsol’sOutlookandOffice360,Dreamhost(webhos_ng)
l Mentalmodel:engagingacontractorforspecifictasks
48
![Page 49: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/49.jpg)
PlayinganAc_vePart:GoogleDocsl Someone,usingaWebbrowser,createsadocument
l Standardforma|ngbuAons:font,italicsorbold,copyandpaste,etc.
l Otherswhohavetheproperauthoriza_on(some_mesjustaspecialURL)caneditthedocumentviatheirownWebbrowsers
l Thechangesmadebyoneusershowupinreal1meinallotherusers’browserwindows
l Inotherwords,Googleisnotjustapassiverepository;itisno_cingchangesandsendingthemoutimmediately
49
![Page 50: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/50.jpg)
VirtualMachinesl Normaldesktops:anopera1ngsystem(e.g.,MicrosolWindows)runsthecomputer;applica_onsrunontopoftheopera_ngsystem
l Virtualmachines:ahypervisorrunningonasinglecomputeremulatesmul_plerealcomputers.Adifferentopera_ngsystemcanrunoneachoftheseemulatedcomputers—andeachoneisindependentoftheothersandisprotectedfromit
l Neteffect:manycomputersthatconsumethespaceandpowerrequirementsofasinglecomputer
l Mentalmodel:rentedofficespace
50
![Page 51: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/51.jpg)
Loca_onofCloudServersl Responsivenessofandeffec_vebandwidthtoaserverislimitedbyhowfarawayitisl Theproblemisthespeedoflight—andnotevenSiliconValleycanovercomethatlimit!
l Ittakesaminimumofaquarter-secondtosetupasecureconnec_onfromWashingtontoParis,andtwicethattoNewDelhi
l Forperformancereasons—andindependentofpoli_calandlegalconsidera_ons—largecloudprovidersthereforeplaceservercomplexesinmanyplacesaroundtheworldl Also:takeadvantageofcheappowerandcooling
51
![Page 52: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/52.jpg)
WhereisDataStored?l Modernemail:ontheserverandononeormoredevices
l Userscan’teasilytellwhat’sontheirdevice(e.g.,phoneorlaptop)versuswhatisretrievedfromtheserverondemand
l Itdiffersfordifferentdevicesatdifferent_mes,andmaydependontheuser’srecentac_vity
l Whatifthedeviceandserverareindifferentjurisdic_ons?
l (AbadfitfortheassumedbehaviormodelofStoredCommunica_onsAct)
52
![Page 53: How the Internet Works · What is the Internet Made of? l Computers l Servers l Clients l Phones l “Things” l Routers—specialized computers that forward “packets” l Packets](https://reader035.vdocuments.site/reader035/viewer/2022071023/5fd7ec1832830129bd3563d6/html5/thumbnails/53.jpg)
SecurityandPrivacyIssuesl Gmail:Googleapplica_onsscanemailandserveupappropriateads
l Dropbox:usesAmazonS3foractualstorage;encryptsdatasothatAmazoncan’treadit—butDropboxcan
l SpiderOak:dataisencryptedwiththeuser’spassword;SpiderOakcan’treadit
l Outlook.com:blocksfileaAachmentsthatfrequentlycontainviruses
l Many:checkpicturesforknownchildpornography
l Many:spamfiltering
53