Add xor openvpn arguments parsing (please)
Hello, I currently live in a country where VPNs are blocked. one way to get around such a thing is by modifying both, the openvpn server and clients by adding xor patches. an xor-patched server/client can still connect to a normal openvpn but not vice versa. this patch requires that the server and client both have new arguments in the conf/ovpn files to allow the xor patch to work.
these are the possible values that can be added in the (client-side) ovpn file:
- scramble xormask mask
- scramble xorptrpos
- scramble reverse
- scramble obfuscate mask
and basically that's how it should look when passing the arguments to openvpn
- --scramble xormask mask
- --scramble xorptrpos
- --scramble reverse
- --scramble obfuscate mask
if "scramble" exists without a 2nd parameter then it is incorrectly syntactically, you may also check this tunnelblick-openvpn_xorpatch-b.diff where you can find the logic implementing such options.
I know most of the world isn't oppressed and that VPNs aren't blocked for a lot of countries, but unfortunately we still have oppressive countries with no access to freedom in 2024... and while this issue may not seem of any big significance to you, let me assure you that it means a lot to others. We all love Networkmanager and we love using the desktop applet for it and its awesome plugins.