Internet History, Technology and Security (Week 7)

Week 7

Technology: Application Protocols

Welcome to Week 7 of IHTS. This week has less material than other weeks. I like to think of it as a "seventh inning stretch" - where you get a little breather. This week wraps up the three weeks of "Technology" (i.e packets and stuff). After this week we have two weeks on Security and the final exam and then you are done. Thanks for sticking with it. You are almost there.
This week, we’ll be covering application protocols. With reliable “pipes” available from the Transport layer, we can build applications like web browsers, file transfer applications, or email clients and servers.

Layer 4: Applications

Application Layer

现在讲Application Layer.
915687-20180617120308433-315287952.png

The services of the TCP layer are basically to give us a reliable, sequenced end to end stream, that can start in one application in one computer and end in an application in a different computer, and have a two way communication.
915687-20180617120312878-762186048.png

TCP give us a reliable pipe.当关注某一层级时,我们就可以忽略其他层级的实现细节。

端口(port):

像电话话号码的扩展;
具体到某一个应用(application)。

915687-20180617120316793-1778385258.png

关于应用层的两个问题:

  1. 哪个应用得到data;
  2. 什么规则和应用进行通话。
    915687-20180617120320355-1826013169.png

One is, which application gets the data. And this is done using a mechanism called ports, and ports allow a IP address, or a single computer, or a single server, to serve up multiple services, and then for a client to be able to dial up much like a telephone extension, and pick the service that they are interested in.

一句话来说:IP地址决定你连接哪台电脑,端口决定你访问这台电脑之后,会与哪个应用通信。

下图展示了各个不同的Ports:
915687-20180617120327071-1073609634.png

常用的端口
915687-20180617120419182-104063070.png

既然TCP给我们提供了一个可靠的通信管道,那我们可以用这个管道做什么呢?什么问题又需要解决呢?

So, TCP gives us this reliable connection, we now can connect to the server that we desire to connect to by using ports, and the question is, what are we going to to say across that connection, and what we say across that connection, who talks first, what do you send, what comes back, depends on the kind of server that you are talking to。

即万维网服务器。万维网中的客户端和服务端使用的是名为HTTP的协议进行通信。网址URL中的HTTP://dada.dada.dada就是。
下图是 HTTP Request/Response Cycle.点击一个运行在你电脑中的客户端client的一个link,浏览器就会和web server 连接并发送一个请求,web server看到了就会返回请求,返回的document就会出现在客户端的桌面上。
915687-20180617120426780-601532452.png

这里老师给我们展示了一个栗子:
915687-20180617120430245-420596644.png

915687-20180617120434446-649761011.png

接下来老师要介绍telnet client,不过人们认为这不安全,因为这是一个old and less secure protocols.
915687-20180617120440782-154586140.png

915687-20180617120444133-1234011928.png

Van Jacobson - Content Centered Networking

这里是关于人物介绍,所以感兴趣就留言吧~

转载于:https://www.cnblogs.com/codingbylch/p/9192551.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值