Applied
本页目录· 12 条
- Application layer Protocols
- HTML (HyperText Markup Language)
- HTTP (HyperText Transfer Protocol)
- SMTP (Simple Mail Transfer Protocol)
- POP (Post Office Protocol version)
- IMAPS (Internet Message Access Protocol Secure)
- Activity 1 - Application & Transport Layer Protocols & Port numbers
- HTTP (Web Service)
- DNS (Domain Name Resolution)
- SMTP (Email Sending)
- Activity 2 - DNS & HTTP Protocol: Name resolution & web service
- Activity 3 - DNS & SMTP Protocol: Name resolution & email service
这一页有部分内容暂时无法显示,其余内容完整。
Application layer Protocols
- Explain the two main technologies of the World Wide Web (WWW).
HTML (HyperText Markup Language)
HTML is a markup language used to define the structure and content of a web page. It allows developers to specify text, headings, images, links, and other elements. Every website you visit is written in HTML.
此处有一段内容暂不支持显示。
HTTP (HyperText Transfer Protocol)
HTTP is a communication protocol that defines how web browsers (clients) and web servers send and receive information. It works on top of the TCP protocol, typically using port 80. When a user visits a website, the browser sends an HTTP request, and the server responds with the corresponding HTML content.
此处有一段内容暂不支持显示。
- Explain these email protocols: SMTP, POP & IMAPS.
SMTP (Simple Mail Transfer Protocol)
SMTP is used to send emails from a client to a mail server or between servers. It operates over TCP port 25 and ensures the reliable delivery of outgoing messages.
此处有一段内容暂不支持显示。
POP (Post Office Protocol version)
POP3 is used to retrieve emails from the server to the local device. Once downloaded, the emails are typically deleted from the server. It works over TCP port 110.
此处有一段内容暂不支持显示。
IMAPS (Internet Message Access Protocol Secure)
IMAPS allows users to access and manage emails on the server without downloading them permanently. It supports multiple-device synchronization and uses TCP port 993 with SSL/TLS encryption for secure communication.
此处有一段内容暂不支持显示。
Activity 1 - Application & Transport Layer Protocols & Port numbers
With the help of your research and knowledge, explain how Application Layer utilizing web, DNS, and email protocols (HTTP, DNS, and SMTP) interact with transport layer protocols and port numbers.
借助你的研究和知识,解释应用层如何利用 Web、DNS 和电子邮件协议(HTTP、DNS 和 SMTP)与传输层协议和端口号进行交互。
The Application Layer protocols—HTTP, DNS, and SMTP—rely on Transport Layer protocols to transmit data reliably and efficiently across the network. These protocols work with specific port numbers to identify services and establish correct communication between clients and servers.
此处有一段内容暂不支持显示。
HTTP (Web Service)
Application Layer Protocol: HTTP
此处有一段内容暂不支持显示。
DNS (Domain Name Resolution)
Application Layer Protocol: DNS
此处有一段内容暂不支持显示。
SMTP (Email Sending)
Application Layer Protocol: SMTP
此处有一段内容暂不支持显示。
Activity 2 - DNS & HTTP Protocol: Name resolution & web service
打开phoenix eth0,开始抓包
在 selene 节点的终端
lynx www.argos.edu
查看Wireshark抓包内容
| 颜色 | 协议类型 | 协议/用途 | 常见操作举例 |
| 🟦 浅蓝色 | 应用层 | DNS (UDP) | 查询 www.argos.edu 的 IP 地址 |
| 🟩 浅绿色 | 传输层+应用层 | TCP / HTTP | 建立连接、网页请求、响应内容 |
| 🟫 棕黄色 | 链路层 | ARP | “谁拥有这个 IP?告诉我你的 MAC 地址” |
- Identify the transport layer protocol and the port numbers used by the client and the server used for name resolution of the domain name www.argos.edu
识别客户端和服务器使用的传输层协议以及用于域名 www.argos.edu 的名称解析的端口号
DNS uses UDP as the transport layer protocol.
此处有一段内容暂不支持显示。
此处有一段内容暂不支持显示。
- Next Identify the transport layer protocol and the port numbers used by the client and the server used for connecting to the Web server www.argos.edu
接下来确定客户端和服务器用于连接 Web 服务器 www.argos.edu 的传输层协议和端口号
The client connects to the web server
www.argos.eduusing the TCP transport layer protocol.此处有一段内容暂不支持显示。
Finally stop the simulation and reflect upon the port numbers used by the client PC and the Server PC. What can you say about the transport protocol used and the port numbers used by the devices?
最后停止模拟,并检查客户端 PC 和服务器 PC 使用的端口号。你能解释一下所使用的传输协议以及设备使用的端口号吗?
在本次仿真实验中,客户端(10.1.1.31)使用了随机临时端口,如:
- 36550 用于 HTTP(网页访问)
- 51134 用于 DNS(域名解析)
这些端口是由客户端自动分配的,用于建立连接。
服务器端使用的是固定的标准端口,例如:
- 80 端口 用于 HTTP
- 53 端口 用于 DNS
在传输层协议方面:
- DNS 使用 UDP 协议,它是轻量级、无连接的,适合快速查询
- HTTP 使用 TCP 协议,它是可靠、有连接的,能保证网页数据完整传输
客户端使用随机临时端口,服务器使用固定标准端口;UDP 适合快速、简单的通信(如 DNS),而 TCP 适合要求可靠性的通信(如网页访问)。
Activity 3 - DNS & SMTP Protocol: Name resolution & email service
使用phoenix的eth0捕获来自selene的帧
- Identify the transport layer protocol and the port numbers used by the client and the DNS server used for name resolution of the domain name mail.argos.edu
确定客户端使用的传输层协议和端口号以及用于域名邮件 argos.edu 的名称解析的 DNS 服务器
此处有一段内容暂不支持显示。
- Next Identify the transport layer protocol and the port numbers used by the client and the email server used for connecting to the Mail server mail.argos.edu
接下来确定客户端和电子邮件服务器使用的传输层协议和端口号,用于连接邮件服务器
此处有一段内容暂不支持显示。
- 传输层协议:TCP
- 客户端源端口:42028(随机临时端口)
- 邮件服务器端口:25(SMTP 标准端口)
解释:
客户端通过 TCP 协议,从临时端口 42028 连接到邮件服务器 mail.argos.edu 的端口 25。
SMTP 使用 TCP 来保证邮件传输的可靠性和完整性。
- 关于所使用的传输协议和设备使用的端口号
在邮件通信过程中:
- SMTP 使用 TCP 协议作为传输层协议。TCP 是可靠的、有连接的协议,能够确保邮件完整传输。
- 邮件服务器使用端口 25,这是 SMTP 的标准端口,客户端通过这个端口访问邮件服务。
- 客户端使用随机的临时端口(例如 42028),这些端口由操作系统动态分配。