criu

TUN/TAP Interface Support

CRIU supports checkpointing and restoring Linux TUN/TAP virtual network interfaces. These devices are frequently used in VPN clients, virtualization platforms (like QEMU), and container networking.

How CRIU Handles TUN/TAP

CRIU manages TUN/TAP as a combination of a Network Interface (the link visible to the kernel) and a File Descriptor (the handle used by the application to send and receive packets).

1. Checkpointing (Dumping)

During a dump, CRIU identifies TUN/TAP descriptors and collects their full kernel state:

2. Restoration

To recreate the TUN/TAP environment exactly as it was, CRIU performs the following:

Current Limitations

See also