3. 3
Solution
TCP connection in Linux = a pair of sockets
Introduce a repair mode for it
– A set of new sockopts to manipulate TCP-specific things
• Seq-s
• Timestamps
• Handshake options
• Queues
– Sockets API syscalls “just do it”
With these two we can disassemble and assemble them
– Merged in Linux-3.5
5. 5
More info
CRIU sources git://git.criu.org/crtools.git
TCP repair example ${src}/tcp.c
Some docs http://criu.org/TCP_connection
/me xemul@openvz.org
6. 5
More info
CRIU sources git://git.criu.org/crtools.git
TCP repair example ${src}/tcp.c
Some docs http://criu.org/TCP_connection
/me xemul@openvz.org