summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn
AgeCommit message (Collapse)Author
2017-07-14[bug] don't raise exceptions stoping the VPN serviceRuben Pollan
Let's also catch the exceptions raised by stopping services so bitmaskd can stop.
2017-06-30[bug] don't restart the VPN if we want to stop itRuben Pollan
Let's signal clearly that we don't want to restart it. - Resolves: #8956
2017-06-29[feat] Stop the vpn (and all services) when application is shut downRuben Pollan
- Resolves: #8852
2017-06-29[feat] return starting status for a restarting VPNRuben Pollan
In case of the openvpn process being off, if we are restarting it we'll report the status as 'starting'.
2017-06-29[feat] restart openvpn automaticallyRuben Pollan
Right now we are trying to restart openvpn every 2 seconds, for ever (or until the user turns down the VPN). Maybe we can be more smart making the retries longer with time. - Resolves: #8049
2017-06-29[refactor] make VPNControl logger an attribute of the classRuben Pollan
2017-06-29[bug] acknoledge max_retries to the openvpn telnet interfaceRuben Pollan
We were allways trying to reconnect for ever.
2017-06-23[bu] cleanup options in launcherKali Kaneko
Some reordering, and general cleanup of options. Some of the openvpn options are added now by bitmask-root. - Resolves: #8948
2017-06-23[refactor] remove unused codeKali Kaneko
2017-06-23[bug] trim whitespace from options stringKali Kaneko
this was producing a bug with parsing options in a recent enough openvpn. - Resolves: #8945
2017-06-21[style] reduce syslog verbosityKali Kaneko (leap communications)
2017-06-21[pkg] improve Packages scriptKali Kaneko
- use relative paths - there's still an absolute path (hardcoded, the REFERENCE FOLDER PATH). This should be changed (sed!) if we want to automate this for CI or for building in different environments: STILL NEEDS SOME MANUAL WORK. - Avoid deleting the build folders by default - Move the plist file to a subfolder
2017-06-19[refactor] remove dead codeKali Kaneko (leap communications)
2017-06-16[bug] add missing importKali Kaneko (leap communications)
2017-06-16[bug] fail gracefull if watcher process is not aliveKali Kaneko (leap communications)
- plus general pep8 cleanup.
2017-06-16[feat] fix OpenVPN start/stop in OSX using a process canaryKali Kaneko
- correctly start the openvpn process canary - use helper to fix tearing down of the vpn
2017-06-16[refactor] class and module renamingKali Kaneko (leap communications)
2017-06-16[feat] process logs through management interfaceKali Kaneko (leap communications)
2017-06-16[refactor] rename methodsKali Kaneko (leap communications)
2017-06-16[bug] reset traffic when stopping vpnKali Kaneko (leap communications)
also, refactor a bit VPNManagement so that the `connect_to_management` method does not receive connection details. I plan to refactor management so that it is a separate object from the control object (but we need to stablish better its relation with the status parsing class). - Resolves: #8834
2017-06-16[refactor] use constants for state transitionsKali Kaneko (leap communications)
2017-06-13[bug] pick the openvpn binary in the helper tooKali Kaneko (leap communications)
2017-06-13[bug] only assign class variable onceKali Kaneko (leap communications)
2017-06-13[feat] skip tun kext check for nowKali Kaneko (leap communications)
2017-06-13[feat] use openvpn in the path provided by homebrew as a fallbackKali Kaneko (leap communications)
2017-06-13[pkg] reorder osx helper filesKali Kaneko (leap communications)
2017-06-12[bug] make openvpn and firewall able to launchKali Kaneko
with these fixes, I'm able to finally launch openvpn and firewall on osx. :) all that's left for a minimum vpn release is packaging and installing all the helpers in the proper place.
2017-06-09[bug] make openvpn and firewall able to launchKali Kaneko
with these fixes, I'm able to finally launch openvpn and firewall on osx. :) all that's left for a minimum vpn release is packaging and installing all the helpers in the proper place.
2017-06-07[docs] document testing of the osx helperKali Kaneko (leap communications)
2017-06-07[style] pep8Kali Kaneko (leap communications)
2017-06-07[feature] run vpn directly if user is rootKali Kaneko (leap communications)
- Improve tests too: add entry in resolv.conf, not done without resolvconf
2017-06-07[feature] log output of subprocess callKali Kaneko (leap communications)
2017-06-07[feat] do not use pkexec if we are rootKali Kaneko (leap communications)
2017-06-05[style] grammarKali Kaneko (leap communications)
2017-06-05[feat] On bitmaskclt vpn start use the last vpn if no provider is providedRuben Pollan
- Resolves: #8835
2017-06-01[refactor] improve error reporting when openvpn not foundKali Kaneko (leap communications)
2017-06-01[refactor] hide mac/linux switch inside process moduleKali Kaneko (leap communications)
2017-06-01[feat] use vpncanary for osxKali Kaneko (leap communications)
2017-06-01[feat] darwin helper commandKali Kaneko (leap communications)
2017-05-31[refactor] factor out installer functionKali Kaneko (leap communications)
2017-05-31[feat] install installers directly if we are rootKali Kaneko (leap communications)
2017-05-31[docs] update vpn readmeKali Kaneko (leap communications)
2017-05-22[bug] fix lxpolkit pathKali Kaneko (leap communications)
2017-05-22[feat] port the polkit agent launcherKali Kaneko (leap communications)
this commit is porting the polkit launcher from the legacy bitmask client. if no polkit authentication agent is running, it will try to run one that is found in the system. - Resolves: #8836
2017-05-22[refactor] remove env codeKali Kaneko (leap communications)
no need to setup LD_LIBRARY_PATH anymore, we're shipping a static binary.
2017-05-22[bug] use openvpn from bundleKali Kaneko (leap communications)
2017-05-22[pkg] install and use static openvpn from bundleKali Kaneko (leap communications)
2017-05-03[bug] include bitmask_helpers into the frozen binaryRuben Pollan
The bundled version of bitmask is unable to find the bitmask_helpers binary. Let's include it as part of the frozen binary generated by pyinstaller. - Resolves: #8862
2017-04-30[style] remove unused logger from vpnRuben Pollan
2017-04-27[bug] unify logging style using class attrKali Kaneko (leap communications)
I changed most of the logger statements to use a class attribute, in this way it's easier to identify which class it's logging them. in some cases I leave a module-level logger, when we're either using functions or when the module it's too small. at the same time I did a general review and cleanup of the logging statements.