TCP协议分析

传输ControlProtocoIETFRFC 793 osiudp  Internetprotocol suiteTCPIPIP

16

32 32 4 tcp4

, 6 urgurgentpointer AcknowledgmentNumber

PushRSTTCP

SYNTCP TCP

16 TCP

16 urgsequence数

SYN

, SYN , ACK  TCP

SYNSEQ=xSYN_SEND

SYNSYN  SEQ=废话(ACK=x + 1

SYNACK (ACK=y + 1建立

TCP

TCPhalf-close


关闭”“活跃closeTCPFIN

FIN ”“passivecloseFINTCP FINend-of-fileFIN

closeTCPFIN FINTCPFIN

FINACK4

TCP

TCP

TCP

TCPSYNSYN + ACKACK 

SYNSYN + ACKSYN

SYNSYN + ACKACKSYN SYNSYNTCP


TCP协议分析