TCP: How are the seq / ack numbers generated?

前端 未结 8 2101
刺人心
刺人心 2021-02-01 20:50

I am currently working on a program which sniffs TCP packets being sent and received to and from a particular address. What I am trying to accomplish is replying with custom tai

8条回答
  •  不要未来只要你来
    2021-02-01 21:20

    The sequence numbers increment after a connection is established. The initial sequence number on a new connection is ideally chosen at random but a lot of OS's have some semi-random algorithm. The RFC's are the best place to find out more TCP RFC.

提交回复
热议问题