summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/eip/vpnprocess.py
AgeCommit message (Collapse)Author
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-16Code style fixes.Ivan Alejandro
2014-07-15Support EIP in OSXTomás Touceda
2014-07-14Lowercase signals names.Ivan Alejandro
2014-06-12Install missing stuff into /usr/local/sbin. Closes: #$741Kali Kaneko
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-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-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-20backward compat for psutil p.cmdline. Closes: #5689Kali Kaneko
2014-05-15avoid openvp soft-restart. Closes: #5669Kali Kaneko
2014-05-15remove commented block, fix typoKali Kaneko
2014-05-12tear down fw on quit-action tooKali 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-04-25Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/bug/5563_download-upload-backward' into develop
2014-04-23Swap upload/download data strings. Closes #5563.Ivan Alejandro
2014-04-16Let OpenVPN handle ping-restartsTomás Touceda
2014-04-15Handle trying to kill a non running process.Ivan Alejandro
2014-04-15Move EIP to the backend.Ivan Alejandro
- Add backend eip management - Connect gui with new eip signals - remove old unused code - remove Qt dependency from backend services. - use Signaler to emit status/state changes from openvpn
2014-04-15Move openvpn_verb to config.flagsIvan Alejandro
2014-03-13Support latest psutil version.Ivan Alejandro
2013-10-29Handle encoding problems in the vpn connection.Ivan Alejandro
2013-10-15Fix pep8 violations.Ivan Alejandro
2013-10-08openvpn observerKali Kaneko
reacts to tls-restart, ping-restart and network unreachable.
2013-09-30Replace launcher with new implementation.Ivan Alejandro
2013-09-20State Machine Builder and eip connection machineKali Kaneko
This implements an abstract definition of a LEAP state machine, and refactors eip connections to use it.
2013-09-18Move STANDALONE flag to a module and unify paths queries.Ivan Alejandro
2013-08-15Add an explicit comment about why we are using different poll_timesTomás Touceda
2013-08-15Detect a running instance of EIP by checking for LEAPOPENVPN varTomás Touceda
2013-08-14Make POLL_TIME bigger in VPNManagerTomás Touceda
2013-08-12fix imports to use new namespaceKali Kaneko
2013-08-12move everything into bitmask namespaceKali Kaneko