summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/eip
AgeCommit message (Collapse)Author
2014-09-03Code cleanup and logging improvements.Ivan Alejandro
2014-09-03Better logging output for missing files and error.Ivan Alejandro
2014-09-03Move reactor import to the top.Ivan Alejandro
2014-08-06fix uncatched error with missing polkit. Closes: #5955kali
2014-08-01Add cancel button for EIP connection.kali
Closes: #4035 This falls in the "quick" workaround category. A proper state machine that extends the four basic connection states is hence needed. We have to accomodate design to have a connection-oriented state machine in the backend (I would favor a twisted protocol for this), and a more lightweight one that conducts the gui-level changes (ie, change the actions / buttons / labels accordingly). Since this "cancel" functionality has been long postponed, I chose to do one more ugly hack here, that is, show and hide dance with a button that just calls the bitmask-root to kill the vpn process. It should work well enough until we get to the reorganization needed for a clean process control for eip.
2014-07-23Set the standalone value for BaseConfig.Ivan Alejandro
2014-07-16Code style fixes.Ivan Alejandro
2014-07-15Support EIP in OSXTomás Touceda
2014-07-14Use specific settings for backend.Ivan Alejandro
This way we get rid of Qt on the backend side. The use of QSettings in the backend was breaking the app on OSX.
2014-07-14Ask the backend for the country code.Ivan Alejandro
Remove global variable in favor of a helper method that returns the country code. Needed in order to split backend/frontend.
2014-07-14Lowercase signals names.Ivan Alejandro
2014-07-14Use new backend/signaler and start logic in processes.Ivan Alejandro
2014-07-10bitmask-root: rip out all resolvconf code and simply rewrite all DNS packets ↵elijah
to use the VPN nameserver.
2014-07-07Add support for fingerprint-gui's polkit agent.Ivan Alejandro
Closes #5880.
2014-06-13do reinstall binaries if their hash is not the expectedKali Kaneko
Closes: #5759 For this to work, the bundle needs to call:: ``python setup.py hash_binaries`` during the bundling process, so that the right hash gets updated in the bitmask/_binaries.py file.
2014-06-12Install missing stuff into /usr/local/sbin. Closes: #$741Kali Kaneko
2014-06-06Merge remote-tracking branch 'refs/remotes/kali/feature/vpn_exit_icon' into ↵Tomás Touceda
develop
2014-06-06add icons for the vpn exit nodesKali Kaneko
2014-06-05Merge remote-tracking branch 'refs/remotes/kali/bug/ui-elements-rework' into ↵Tomás Touceda
develop
2014-06-05change elements namingKali Kaneko
2014-06-05Grep for gnome-shell as it were a polkit agent.Ivan Alejandro
The $DESKTOP_SESSION is not reliable since is set to 'default' in any case that you choose as your default desktop environment. Also, after some tests, I've seen that the `gnome-shell` process is not launched in the fallback mode, so we use it as a condition for the polkit agent present.
2014-06-05Add support for gnome-shell polkit agent.Ivan Alejandro
The gnome-shell desktop does not uses a separate process as others do. It uses an agent within its own process so we need to check for gnome-shell and then assume that its polkit is working.
2014-06-04tear down fw on cold starts. Closes: ##5727Kali Kaneko
2014-06-04catch openvpn unexpected endingKali Kaneko
show also the back-to-clearnet button on that case.
2014-06-04add restore clearnet button. Closes: #5726Kali Kaneko
2014-05-30Do nothing if the vpnprocess is not started.Ivan Alejandro
We were trying to access the `is_restart` attribute that causes a failure if the vpnprocess is not instantiated.
2014-05-30Check openvpn bin path before starting openvpnTomás Touceda
2014-05-29display restart error after SIGTERM[soft,tls-error]Kali Kaneko
- fix tls-error: is SIGTERM now - connect to connection-died signal - display error to user
2014-05-29fix non-existing logged_userKali Kaneko
caused by a bad rebase.
2014-05-29refactor eip start/stop control to conductorKali Kaneko
and cleanup a little bit of the signal mess.
2014-05-21do not tear fw down during restartsKali Kaneko
2014-05-21Improve wait and quit process.Ivan Alejandro
Refactor logic from backend to the vpnprocess.
2014-05-21Merge remote-tracking branch 'chiiph/bug/add_openvpn_bin_path_osx' into developIvan Alejandro
2014-05-20backward compat for psutil p.cmdline. Closes: #5689Kali Kaneko
2014-05-19Add OPENVPN_BIN_PATH for OSXTomás Touceda
2014-05-15avoid openvp soft-restart. Closes: #5669Kali Kaneko
2014-05-15allow osx and win to continue with updown scripts for the time beingKali Kaneko
2014-05-15remove up-restart option. Related: #5669Kali Kaneko
2014-05-15remove commented block, fix typoKali Kaneko
2014-05-12change paths for installing the latest helpersKali Kaneko
2014-05-12introduce delay on shutdown after resolvconf was daemonizedKali Kaneko
2014-05-12tear down fw on quit-action tooKali Kaneko
2014-05-12hardcode openvpn binary for bundleKali Kaneko
2014-05-12only switch the fw down if user asked for eip downKali Kaneko
2014-05-12tear the firewall down when openvpn is finishedKali Kaneko
2014-05-12use bitmask-root with pkexecKali Kaneko
2014-05-12pass gateways to firewall upKali Kaneko
2014-05-12use bitmask-root to bring up the firewallKali Kaneko
2014-05-12add elijah's root-wrapper in pythonKali Kaneko
2014-04-25Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/bug/5563_download-upload-backward' into develop