summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/service.py
AgeCommit message (Collapse)Author
2018-02-15[bug] do not attempt to stop a non running looping callKali Kaneko
2018-01-25[bug] do not fail if the provider does not allow anonymous vpnKali Kaneko
Since bonafide was not catching the error 401, an attempt to bootstrap a provider that does not support anonvpn with the new setup was resulting in a json that was containing only an error message. this was producing an error when trying to access the configuration for that provider's EIP section. we now avoid writing a json config file if an error 401 is found, and also catch the exception for a ValueError when the EIP section is not found in the provider's configuration.
2018-01-25[bug] several fixes after reviewKali Kaneko
2018-01-25[feat] report missing polkit properly from main UIKali Kaneko
also refactor and move polkit_agent so that it does not depend on having bitmask on the path.
2018-01-25[feat] autostart application when user logs inKali Kaneko
2018-01-25[feat] implement autostart for vpnKali Kaneko
2018-01-25[feat] implement vpn status watchdogKali Kaneko
2018-01-25[feat] support anonymous vpnKali Kaneko
honor the anonymous certificate for the providers that offer it. this still needs a change in bonafide, in which if provider supports anonymous access we still have to download eip-service.json for testing, I assume this has been already manually downloaded.
2018-01-25[feat] get cert automatically on vpn startKali Kaneko
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)