hack3ric / mimic

eBPF UDP -> TCP obfuscator
GNU General Public License v2.0
69 stars 2 forks source link

WireGuard obfuscation #2

Open Vigilans opened 4 months ago

Vigilans commented 4 months ago

In future, when adding obfuscation support, consider supporting obsfuction method wireguard that implements logic like https://github.com/database64128/swgp-go 's Zero overhead mode. Some crypto lib seems could be exported from kernel module (e.g. chacha from wireguard implementation, aes example: https://github.com/Ed-Yang/crypto-examples)?

hack3ric commented 4 months ago

Seems nice, thanks!

Linux kernel's crypto API is readily available. This could be a good addition to Mimic's kernel module to extend its eBPF functionality. (currently it only solves hardware offloading, which isn't much but a pretty big deal XD)