Kernel Packet Divert for Windows, Linux and MacOS
Status: On Hold / Investigate
Currently, I'm investigating and testing existing solutions for kernel to userspace packet diversion techniques.
Particularly,
- on Windows: WSK API, WinDivert
- on Linux: iptables (and xt_bpf), libnetfilter_queue, DPDK
- on MacOS: NKE, NetworkExtension, pf/ipfw/ipfilter
I'm planning to come up with a cross-platform and elegant solution that abstracts kernel to application packet diversion.