summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/launchers
AgeCommit message (Collapse)Author
2018-04-11several fixes for riseupvpn snapKali Kaneko
- move snap folder to root folder, to allow automated builds - install only polkit file outside of snap - change path of bitmask-root accordingly in bitmask - fix check for polkit file inside snap - change and document the algorithm for picking bitmask-root in linux - add LD_LIBRARY_PATH as an environment entry for bitmask-systray
2018-03-28[refactor] move platform constants into leap.bitmaskRuben Pollan
The IS_${platform} constants are used in more places than the vpn module. Let's define them in leap.bitmask.
2018-03-22[pkg] minor adjustments for riseupvpn osx bundleKali Kaneko
- duplicate the scripts folder for riseupvpn - fix renaming of helper - set openvpn path for riseupvpn
2018-03-02[bug] fix openvpn path in snap checkKali Kaneko
2018-03-02[refactor] openvpn path and cmd for snapKali Kaneko
2018-03-02[bug] fix launching of vpn for snapsKali Kaneko
2018-03-02[bug] debug launchingKali Kaneko
2018-02-19[pkg] osx packaging changes for riseupvpnKali Kaneko
2018-02-15[bug] fix logger instanceKali 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[bug] check if attribute existsKali Kaneko
2017-12-08[docs] add comment about python interpreterKali Kaneko
2017-12-07[feat] update bitmask-root if neededRuben Pollan
Chech the hash of the installed bitmask root and sign as not installed if doesn't match the one we have in the bundle. Also for running bitmask-root, if there is more than one (in /usr/local/sbin and /usr/sbin) run the one with higher version number. - Resolves: #9020
2017-11-30[refactor] use /var/run for osx helper socketKali Kaneko
2017-10-09[bug] properly check for local openvpn pathKali Kaneko
- Resolves: #9099
2017-10-06[style] pep80.10.1Kali Kaneko
2017-10-06[bug] use sytem-wide bitmask-root, if foundKali Kaneko
we make a distinction between the system-wide bitmask-root, which should be placed there by the maintainers of whatever packages your distribution uses, and the bitmask-root that is placed by the bundles (using polkit). since the bundles copying over the helper from user-writeable folders is a potential attack vector, we prefer to use the package's version if present. also, if we cannot find either, we abort the launching of the VPN. we've discussed that this might move to the service initialization instead, but I think the cases in which this is needed should be rare. I fix also a corner-case in which we were using getcwd() at import time. if you execute code and then remove the installation path, this will raise a traceback in bitmaskctl. I think it's nicer to catch the error properly when starting.
2017-09-29[bug] fixes needed to launch vpn on mac after refactorkali
2017-08-30[refactor] move terminate_or_kill to linux launcherKali Kaneko
2017-08-30[refactor] integrate new management protocolKali Kaneko
2017-06-23[refactor] remove unused codeKali Kaneko
2017-06-19[refactor] remove dead codeKali 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-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-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[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-01[feat] darwin helper commandKali 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-02-23[refactor] rename eip to vpnKali Kaneko (leap communications)
2017-02-23[style] pep8Kali Kaneko (leap communications)
2017-02-23[bug] fix bitmask-root pathKali Kaneko (leap communications)
2017-02-23[refactor] remove unneeded functionKali Kaneko (leap communications)
2017-02-23[feature] initial port of legacy vpn codeKali Kaneko (leap communications)
non functional at the moment, but started doing some cleanup