Would like know when the tcp sequence no is rollover

Bjørn Mork bjorn at mork.no
Sun Sep 20 05:33:02 EDT 2015


Ramana Reddy <gtvrreddy at gmail.com> writes:

> Hi Bjørn,
>
> Thanks for your reply. Actually, I want to do some small experiment, so
> would need this tcp sequence roll over code.
> If you know some thing in this regards, please let me know.

There isn't much more to say, I think.  All that's left is hard work.
Since there is no existing rollover logic, you'll have to track down
every single sequence number calculation in the kernel and modify them
with additional rollover code.  Note that this includes every sequence
number comparison too.

I'm afraid I still don't see the point.  The end result will of course
not be TCP anymore, and will only be capable of talking to itself.  What
use is that?


Bjørn



More information about the Kernelnewbies mailing list