-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 3.0.0 #283
Version 3.0.0 #283
Conversation
removed write permissions for others to folder "/var/log/openpyn" and execute permissions to files in it. couldn't have Rotating logs to facilitate it. added --status stores status in "/var/log/openpyn/status" store "openvpn --status" option's output to "/var/log/openpyn/openvpn-status" Except FileNotFoundError when config file is not yet downloaded
added --status
…ptions instead of status returns, removal of sys.exit() calls
…lter optimisation (CPU in a router is very slow)
…, until further testing is done!
…nd if using 'if' instead of 'elif', that very same server would be added multiple times to the remaining_servers list
A very big pull request :)
… 10 (default) == 30
…ills the calling process as well (no clean exit code of 0)
…lled, openpyn will exit gracefully as well, explanation -- "sudo openpyn --kill" would kill openvpn, but openvpn could/would be run just in time again before "sudo killall openpyn" call in kill_all()
…evel in preferences now
Some minor fixes by 1951FDG
…ed in a finally block (only for connect code invocations), ran tests on macOS
…Entware, OpenWrt)
Update README, bugfixes and new features run as another privileged user, NVRAM connect and kill support for Asuswrt-merlin
Several changes including fix for new API rate limiting
@jotyGill This is a huge release ! !, :) I wasn't expecting a release this quickly, we also need to update the Netflix code, we should remove the argument and everything Netflix related, since its no longer relevant, and there is no documentation anymore about it on NordVPN. Let me know if you're ok with this. Edit: We leave the argument, but deprecate it, with or without a warning, and we remove all code Netflix related |
@1951FDG |
New release in 3 years. This is a major release that includes many improvements and bugfixes including fix for new API rate limiting set by Nordvpn, causing JSONDecodeErrors.
Some of the changes are:
New feature: Allow Openpyn to invoke sudo to run the specified command
Added MacOS manual DNS patch and revert to prevent DNS leak
New option
--allow-locally
To be used with "-f" to allow input traffic on all ports from locally connected devices / INTERNAL IP SUBNET[New option
--add-route
to Add route to default-gateway; Needed to continue serving any service including SSH. Required on VPSs. To ensure it doesn't leak traffic use it with -f and --allow]New options
--allow-config
and--allow-config-json
. These options load a JSON config object that gets converted into a series of ip table rules that get loaded before the firewall to exclude certain ports.[Logs are now stored in
~/.local/share/openpyn/logs/
instead of/var/log/openpyn/
]New option
--stats
Send pings in parrallel
Removed --ping option
Added new Netflix servers
Fixed ping issue on systems with LC_NUMERIC other den en_*
Bugfix, kill_management_client() should be called before kill_openpyn
Bugfix: Revert /etc/resolv.conf only if skip_dns_patch is false
Improvement: invocations of openpyn --kill will now exit with status code 0
Add more verbose logging for JSON decode errors
Bugfix: revert /etc/resolv.conf back to the original if it was modified in a finally block (only for connect code invocations), ran tests on macOS
Changes for ASUSWRT-Merlin
Features (ASUSWRT-Merlin)
Feature: NVRAM connect and kill support for Asuswrt-merlin
Bugfixes (ASUSWRT-Merlin)
Bugfix (nvram) and optimisations
Bugfixes and new features for NVRAM users, external app users
Bugfix: nvram write would fail if certificates folder does not exist yet (e.g., when user has never before used OpenVPN client in web interface)
Bugfix: ASUSWRT-Merlin 384.18 is now supported
Bugfix: ASUSWRT-Merlin latest is now supported
Bugfix: Improve check VPN client status for Asuswrt-merlin
Bugfix: Suppress output for VPN service connect/disconnect for Asuswrt-merlin
Bugfix: Suppress output for VPN service connect/disconnect for Asuswrt-merlin