Kern Mod and TCP retrasmit problem

Daniel Hartmeier daniel at benzedrine.cx
Tue May 17 13:28:01 UTC 2011


What if your modified (shortened) packet does get lost? If you
messed with the tcpcb in the way you intend, how do you plan on
getting retransmission working, when it's needed?

Or what if you enlarge a packet, are you sure it won't violate
the MTU?

It seems you're doing this on wrong side of the stack. Why don't
you hook your code into the side facing userland, where socket
writes from the userland process add data to the kernel buffer,
and the socket is still a stream?

Or what's the reason for doing it after the stream has been
packetized already?

Daniel


More information about the freebsd-net mailing list