amnezia-vpn / amneziawg-windows-client

AmneziaWG client for Windows
https://docs.amnezia.org/documentation/amnezia-wg
MIT License
158 stars 10 forks source link

AmneziaWG plugin library request #15

Open wiresock opened 1 month ago

wiresock commented 1 month ago

Could there be a possibility to have the AmneziaWG WireGuard obfuscation method available as a C/C++/Rust library? Some of my users are interested in AmneziaWG support for the WireSock VPN Client, and having such a library would simplify integration and allow for future enhancements.

osiris-plus commented 1 week ago

There's forks of WireGuard repos with AWG support:

https://github.com/amnezia-vpn/amneziawg-windows-client https://github.com/amnezia-vpn/amneziawg-go

btw why not open source wiresock? :)

wiresock commented 1 week ago

https://github.com/amnezia-vpn/amneziawg-windows-client

https://github.com/amnezia-vpn/amneziawg-go

It would be significantly more convenient to have a reference implementation in the form of a library rather than extracting the relevant functions from the WireGuard source code.

btw why not open source wiresock? :)

Major parts of the WireSock implementation are already open source—such as ndisapi (excluding the driver), boringtun, and shared utility C++ classes, which are also available in ProxiFyre. I don’t believe that fully open-sourcing WireSock would offer any substantial benefits to the project. When ProxiFyre was made open source, it didn’t notably accelerate the project’s development, and some parts were even reused commercially without contributing back. Given that WireSock is a much more complex system, the potential downsides—such as the risk of its components being exploited commercially without reciprocal benefits—raise serious questions about how open-sourcing it would truly aid its progress.