The Internet Today Niko Matsakis Outline Summaries of: - - PowerPoint PPT Presentation

the internet today
SMART_READER_LITE
LIVE PREVIEW

The Internet Today Niko Matsakis Outline Summaries of: - - PowerPoint PPT Presentation

The Internet Today Niko Matsakis Outline Summaries of: End-to-End Arguments in System Design The Design Principles of the DARPA Internet Protocols Criticisms and Commentary Conclusion The End-to-End Argument E2E


slide-1
SLIDE 1

The Internet Today

Niko Matsakis

slide-2
SLIDE 2

Outline

  • Summaries of:
  • End-to-End Arguments in System

Design

  • The Design Principles of the DARPA

Internet Protocols

  • Criticisms and Commentary
  • Conclusion
slide-3
SLIDE 3

The End-to-End Argument

  • E2E founded on the observation that:
  • every application has different needs.
  • The argument:
  • There is no one-size-fits-all “solution."
  • Therefore, move functionality as close

to the application as possible.

slide-4
SLIDE 4

Careful File Transfer

slide-5
SLIDE 5

Careful File Transfer

slide-6
SLIDE 6

Careful File Transfer

slide-7
SLIDE 7

End-to-End Solution

  • Store a checksum on the disk
  • Destination reads what it wrote back

from the disk to compare the checksum

  • One check suffices to detect all possible

sources of error

  • besides an incorrectly coded checksum routine...
slide-8
SLIDE 8

Think it can’t happen?

  • Included in the paper is an example

from MIT, where a hardware failure caused occasional corruption of packets en route.

slide-9
SLIDE 9

Performance Considerations

  • Lower levels may play a role in

providing higher functionality for performance reasons

  • Must be careful to avoid taxing all users
  • f the lower level with a feature that

supports only one application

slide-10
SLIDE 10

Other Examples

  • End-to-end applies in many other

scenarios.

slide-11
SLIDE 11

Delivery Guarantees

  • Suppose I am ordering something over

the Internet. How do I know my order was received?

slide-12
SLIDE 12

Delivery Guarantees

  • One solution: the Internet tells you when

your packets arrive.

  • Is that enough?
slide-13
SLIDE 13

Delivery Guarantees

  • One solution: the Internet tells you when

your packets arrive.

  • Is that enough?
slide-14
SLIDE 14

Delivery Guarantees

  • Better solution: eBay tells you when

your order is complete.

slide-15
SLIDE 15

Encryption

  • Problem: my purchase is in the clear, and

I don’t know who user “isell2you” is anyway

slide-16
SLIDE 16

Encryption

  • One solution: Introduce an intermediary.
  • Key distribution?
  • Still some distance in the clear?
  • Authentication?
slide-17
SLIDE 17

Encryption

  • Better solution: encrypt it myself!
slide-18
SLIDE 18

Beyond Correctness

  • End-to-end offers other benefits:
  • No need to change infrastructure to

deploy a new service

  • Immediate benefits
  • Decentralized control
  • Simpler, more reliable internal network
slide-19
SLIDE 19

Identifying the End Points

  • Identifying the end points can be subtle:
  • Telephone conversation: human
  • Message recorder: answering machine
  • Different tradeoff for delay versus

accuracy

slide-20
SLIDE 20

Conclusions

  • Applying the E2E principle results in:
  • a system where each layer provides
  • nly the minimum functionality required

by all applications

  • So-called “stupid network”
  • Benefits:
  • correctness and flexibility
slide-21
SLIDE 21

Design Philosophy

  • “Design Philosophy of the DARPA

Internet”

  • Explain the reasoning that led to the

current structure of the Internet.

slide-22
SLIDE 22

Etymology

  • For many, the words internet and

computer network are synonymous.

inter ● net

slide-23
SLIDE 23

Etymology

  • The primary purpose of the internet,

however, was to interconnect existing networks.

  • ARPANET, ARPA Radio Network, etc.

inter ● net

slide-24
SLIDE 24

Guiding Goals

  • The paper identifies 7 design goals
  • verall. Here are the 3 most important:
  • Resiliency: Network must operate

even when intermediate nodes fail

  • Service flexibility: Multiple types of

services must be supported

  • Network flexibility: Must accomodate

a variety of networks

slide-25
SLIDE 25

Fundamental Design

  • The 3 primary goals led directly to the

fundamental design of the internet as a datagram service.

  • Primary function of the network:
  • Best effort delivery of small packets
  • The “smarts” are in the end nodes
  • End-to-end principle at work
slide-26
SLIDE 26

Resiliency

  • A conversation consists of a large set of

intermediate state

  • If an intermediary dies, this state must

be preserved for the conversation to continue

slide-27
SLIDE 27

Resiliency

  • A conversation consists of a large set of

intermediate state

  • If an intermediary dies, this state must

be preserved for the conversation to continue

slide-28
SLIDE 28

Resiliency

  • One solution: Reproduce this state

information across intermediaries.

  • Complex
  • Can only cope with k failures
slide-29
SLIDE 29

Resiliency

  • One solution: Reproduce this state

information across intermediaries.

  • Complex
  • Can only cope with k failures
slide-30
SLIDE 30
  • Better solution: Fate-sharing
  • End node itself stores the state
  • Intermediaries know nothing

Resiliency

slide-31
SLIDE 31
  • Better solution: Fate-sharing
  • End node itself stores the state
  • Intermediaries know nothing

Resiliency

slide-32
SLIDE 32

Service Flexibility

  • TCP was initially thought to be enough.
  • Several services not well supported:
  • Live Voice communication
  • Long-distance debugging
slide-33
SLIDE 33

Service Flexibility

  • Datagrams allow each service to

customize the reliability/latency tradeoff

  • Few services are built on datagrams

directly; they serve as a building block.

slide-34
SLIDE 34

Network Flexibility

  • Datagrams can be supported by a

variety of networks

  • Because complex protocols, such as TCP,

are regulated by the end nodes, they can

  • perate over any network
slide-35
SLIDE 35

Successes of the Internet

  • Barely need mentioning
  • Dizzying array of applications
  • All manner of networks --- from

telephony to fiber-optics --- have successfully been integrated

slide-36
SLIDE 36

Downsides of the Datagram

  • The design of the Internet as a datagram

service has downsides as well:

  • Inefficiency
  • Abuse and poor implementation
  • Lack of accountability
  • All relate to the ignorance of

intermediate nodes

slide-37
SLIDE 37

Inefficiency

  • Intermediate nodes cannot assist in

communication except in the simplest way.

  • For example, retransmitted packets must

must cross the entire internet again.

slide-38
SLIDE 38

Abuse and Implementation

  • Intermediaries cannot police the net.
  • End nodes responsible for congestion.
  • Poor implementation or intentional

abuse can harm network performance for everyone.

slide-39
SLIDE 39

Accountability

  • Most communications take place in

sequence, not isolated datagrams.

  • Routers and gateways are ignorant of

these communications, making accountability very difficult.

slide-40
SLIDE 40

Criticisms

  • Recently there have been many assaults
  • n the end-to-end principle:
  • Political
  • Technical
slide-41
SLIDE 41

Political

  • ISP Differentiation
  • ISP provides the network, which is a
  • commodity. Where is the money?
  • Network Neutrality
  • Governmental and corporate agents
  • Taxation, censorship, enforcement of

laws and regulations.

slide-42
SLIDE 42

Technical

  • Trust:
  • Spam, DOS, and other malevolent end-

user behavior

  • Streaming Content, Quality of Service:
  • IP treats all packets alike
  • Caching:
  • 2-tier structure
slide-43
SLIDE 43

Trust and Naïve Users

  • Recall the rejected model for encryption
  • Effectively, this is a firewall or filter
  • Given naïve or untrusted users, such a

model may in fact be necessary

slide-44
SLIDE 44

End-to-End?

  • In fact, many standard network devices

are not entirely consistent with E2E:

  • Firewalls and filters
  • Network Address Translation (NAT)
  • Content-based Routing
  • http://anonymizer.com
slide-45
SLIDE 45

N-A-T

192.67.0.1 18.224.0.56 22.1.0.3 192.67.0.2

slide-46
SLIDE 46

N-A-T

  • What must be updated?
  • IP Headers
  • TCP Headers
  • Any protocol headers which mention

the translated IP address

slide-47
SLIDE 47

Lack of Information

  • E2E assumes that the end node has more

knowledge than the intermediaries

  • But not always the case:
  • congestion, routing, trust
  • Even for reliability, the prevalence of

TCP indicates a need for a reliable communication primitive

slide-48
SLIDE 48

Conclusions

  • End-to-end principle has been and

remains very important to the internet.

  • Some things, however, may be best

addressed in the network itself.

  • Not only a technical question, but also a

legal, ethical, and political one.

slide-49
SLIDE 49

References

  • “Active Networking and End-to-End

Arguments”, D. Reed, J. Salzer, D. Clark

  • “Rethinking the design of the internet:

The end to end arguments vs the brave new world”, D. Clark and M. Blumenthal

  • RFC 3724: The rise of the Middle and the

Future of End-to-End