In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Network1.5
Transport layer:
The role of the transport layer:
The IP layer provides point-to-point connectivity
The transport layer provides end-to-end connectivity
Transport layer protocols:
TCP:
-Transmission control protocol;-reliable, connection-oriented protocol;-- low transmission efficiency
UDP:
-- user Datagram protocol;-- unreliable, connectionless services;-- High transmission efficiency
How the TCP protocol works:
Encapsulation format of TCP
TCP handshake and disconnect: three-way handshake, four disconnect
Flow control mechanism of TCP:-- sliding window;-- congestion control
Error control of TCP: (three):-- checksum;-- confirm;-- timeout
Timer for TCP:
Retransmission timer: in order to control lost data segments
Stick to the timer: to prevent zero window deadlock
Keep alive timer: prevent long idle time between two TCP connections
Time waiting timer: used during the termination of the connection. When the last ack is sent, the connection is not closed immediately, but wait for a period of time to ensure that duplicate FIN segments can be received.
Application of TCP:
FTP-port number 21muri-file transfer protocol for uploading and downloading
Telnet-- port number 23-used for remote login. By connecting to this port of the target computer, the management computer can be controlled remotely after verification.
SMTP-- port number 25muri-simple Mail transfer Protocol for sending mail
DNS-- port number 53Murray-Domain name service. When users enter the name of the website, DNS is responsible for resolving them to IP addresses.
HTTP-- port number 80muri-hypertext transfer protocol to realize the transmission of hypertext on the network
-
How the UDP protocol works:
Encapsulation format of UDP:
Application of UDP:
TFTP-- port number 69Pak-trivial file transfer protocol
DNS-- port number 53muri-domain name service
NTP-- port number 123mura-network time protocol
RPC-- port number 111Mui-remote process control
Flow and error Control of UDP
-- UDP has no flow control mechanism
-- UDP provides error control only by checksum
-
Application layer
The role of the application layer
Work with applications to exchange application-specific data using the basic network
Common application layer protocols:
DNS,SMTP,pop3,HTTP,HTTPS,Telnet,FTP,TFTP
DNS: domain name system
-- used to complete the mapping between domain names and IP addresses
-- Port number is TCP or UDP53
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.