Home > Software engineering >  UDP and TCP protocol
UDP and TCP protocol

Time:11-09

TPC is a three-way handshake wave four times, TCP provides a reliable, end-to-end orderly byte stream transmission

UDP is disordered and may have lost but faster


UDP could be forged IP, TCP will be?

CodePudding user response:

Search "man-in-the-middle attack", you can see details of the process

CodePudding user response:

HTTP can man-in-the-middle attack,

CodePudding user response:

Forged IP at lower levels, are the same

CodePudding user response:

At the bottom of the things you can't control, you can only control the upper
Reference HTTPS SSL handshake, data interaction with key encryption

CodePudding user response:

TCP will certainly, tamper-proof requires the IP header and integrity checking, but the premise is not NAT environment, otherwise the NAT changes the IP header after the receiver integrity check must be wrong, refer to IPSec AH protocol
  • Related