Going back to re-implement the work I once started for the VPN TUN C program…

So I recently went back to reimplement a test program I started of a basic VPN TUN application which didn’t get the best performance. I re-implemented a similar version of the work that I modified into the OpenVPN framework but with true multi-threading / batch-reading as well as the following features:

Update Note: There are two C files now, (mtun.c) which is the original proper multi-threaded version and (gtun.c) which is able to perform multi-packet reads in a singular syscall.

Note: I posted about my views on the different kinds of VPN designs in this blog post

[xorcipher.com]

~

~

Source Code: github.com/stoops/vpn/tree/main

~

Leave a comment