summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/service.py
AgeCommit message (Collapse)Author
2017-09-20[feat] detect if pkexec is present in the systemRuben Pollan
Check it before starting the vpn. - Resolves: #8895
2017-09-20[bug] flag vpn_ready == false if cert expiredRuben Pollan
We were not renewing the vpn cert. Now the UI will trigger a cert renewal by telling it that is the vpn is not ready if the cert is expired. - Resolves: #9059
2017-09-10[bug] mark vpn as failed if it had some problem startingKali Kaneko
2017-08-31[feat] expose an API to set/get/list gateway preferencesRuben Pollan
- Related: #9010
2017-08-31[feat] list vpn gateways in the order that they are going to be usedRuben Pollan
2017-08-31[refactor] make the VPN location formating in the cliRuben Pollan
2017-08-30[refactor] merge tunnel and control modulesKali Kaneko
2017-08-30[refactor] integrate new management protocolKali Kaneko
2017-08-15[bug] fix attribute error when vpn is not startedKali Kaneko
2017-08-14[bug] proper vpn shutdown in osx bundleskali
the restarting flag was not being set. - Resolves: #8959
2017-08-11[style] pep8Kali Kaneko
2017-08-11[feature] allow manual gateway selection for vpnKali Kaneko
For now, the way to select a gateway is to add a section in bitmaskd.cfg: [vpn_prefs] locations = ["frankfurt", "seattle__wa"] countries = ["DE", "US"] Note that the location indication has priority over country code. This will be exposed by the UI in release 0.11 - Resolves: #8855
2017-08-11[feature] add vpn list commandKali Kaneko
2017-08-11[feature] automatic vpn gateway selection, based on timezoneKali Kaneko
This is a first approach to automatic gateways selection. More things are missing: - allow manual selection, by location or country code. - take the hemisphere into account. - expose the selected gw to the api/cli but overall seems this is a good approach to make 0.10 release usable in terms of vpn. - Resolves: #8804
2017-08-11[feature] add a new bitmask_chromium gui entrypointKali Kaneko
If chromium is installed in the system, there's no need to depend on qt5.
2017-07-20[bug] check if the helpers are installed before testing the firewallRuben Pollan
In case of the helpers not installed it was crashing the VPNService.
2017-07-20[feat] clean up the firewall on bitmask startRuben Pollan
Just in chance the firewall was not properly cleaned up in a previeous run (bitmask crashed, some bugs in the code, ...). Let's clean up the firewall when it starts. - Resolves: #8979
2017-07-20[feat] rise an exception if the vpn didn't turn down correctlyRuben Pollan
2017-07-20[refactor] rename VPNTunnel to TunnelManagerRuben Pollan
So it's coherent with FirewallManager. - Related: #8942
2017-07-20[refactor] move TunnelManager duties to VPNServiceRuben Pollan
VPNService has knowledge of the tunnel and the firewall and controls them separately. Also exceptions from VPNControl are handled locally instead of being propagated. - Resolves: #8976 - Related: #8942
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-29[feat] Stop the vpn (and all services) when application is shut downRuben Pollan
- Resolves: #8852
2017-06-16[refactor] class and module renamingKali 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-04-21[bug] report global connecting state for vpn when user startedKali Kaneko (leap communications)
- Resolves: #8850
2017-04-20[bug] fix enabling of vpn serviceKali Kaneko (leap communications)
- Resolves: #8845
2017-04-19[bug] stop firewall if was failed closeKali Kaneko (leap communications)
2017-04-19[bug] return clearer errors when no cert foundKali Kaneko (leap communications)
2017-04-19[bug] fail if tried to stop vpn when not runningKali Kaneko (leap communications)
2017-04-19[bug] pass along no polkit errorKali Kaneko (leap communications)
2017-04-19[style] remove unused assignmentKali Kaneko (leap communications)
2017-04-06[bug] last_vpn path now is ~/.config/leap/last_vpnRuben Pollan
It used to be in the providers folder, but this was missleading bonafide to list it as a provider. I think it's harder to write work arounds to have this file in this folder than to have it somewhere else. - Resolves: #8818
2017-04-03[feat] add the expiration date of the cert to vpn.checkRuben Pollan
- Resolves: #8807
2017-04-03[feat] add a check for the installation of the helpers to the APIRuben Pollan
- Resolves: #8786
2017-04-03[feat] remove the pinning of VPN extra flagsRuben Pollan
The pinning was removing 'tun-ipv6' wich is a boolean value, there is boolean support in src/leap/bitmask/vpn/launcher.py:232 already. It seems to work fine. - Resolves: #8809
2017-04-03[feat] store what was the last vpn provider usedRuben Pollan
To allow automatic connection to the VPN we are storing the last provider in a file. - Resolves: #8806
2017-03-17[bug] let's remove hardcoded providersRuben Pollan
2017-03-17[feat] report the real status of the VPNRuben Pollan
2017-03-05[style] pep8Kali Kaneko (leap communications)
2017-03-05[bug] revert vpn options from configKali Kaneko (leap communications)
bitmask-root is not able to parse some options, and is aborting the vpn connection in my tests. we need to debug that carefully, hardcoding some options for now and leaving this to be done post-0.9.5
2017-03-03[feat] get VPN params from eip-service.jsonRuben Pollan
Instead of hardcoding them in the code.
2017-03-03[bug] use username instead of provider in the vpn callsRuben Pollan
Without active user we need to use the username instead of the provider in the VPN API. - Resolves: #8783
2017-02-23[bug] rename one of the managers to TunnelManagerKali Kaneko (leap communications)
otherwise there's a name collision with the former EIPManager
2017-02-23[refactor] rename eip to vpnKali Kaneko (leap communications)
2017-02-23[docs] document the API/cliKali 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[feature] eip start/stop workingKali Kaneko (leap communications)
2017-02-23[feature] add install/uninstall command for helpersKali Kaneko (leap communications)