summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/_control.py
AgeCommit message (Collapse)Author
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] 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-16[bug] add missing importKali Kaneko (leap communications)
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[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-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-01[refactor] hide mac/linux switch inside process moduleKali Kaneko (leap communications)
2017-06-01[feat] use vpncanary for osxKali Kaneko (leap communications)
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-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.
2017-04-19[bug] return clearer errors when no cert foundKali Kaneko (leap communications)
2017-03-17[feat] report the real status of the VPNRuben Pollan
2017-02-23[refactor] rename eip to vpnKali Kaneko (leap communications)
2017-02-23[style] pep8Kali Kaneko (leap communications)
2017-02-23[feature] hard restarts upon ping-restart receivedKali Kaneko (leap communications)
2017-02-23[feature] add up/down traffic in statusKali Kaneko (leap communications)
2017-02-23[feature] parse statusKali Kaneko (leap communications)
- simple status parsing - add separate firewall status - set status for abnormal termination
2017-02-23[refactor] sort out some importsKali Kaneko (leap communications)
2017-02-23[feature] new commands: get_certKali Kaneko (leap communications)
2017-02-23[refactor] split vpn control into some modulesKali Kaneko (leap communications)