summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend
AgeCommit message (Collapse)Author
2014-08-18Fix soledad imports (#5989).drebs
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-24Add frontend alive check to the backend.Ivan Alejandro
Stop the backend if the frontend process does not exist any more and backend is not a daemon.
2014-07-24Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/feature/add-backend-alive-check' into develop
2014-07-23Restrict access to the zmq certificates folder.Ivan Alejandro
2014-07-21Add heartbeat to check if backend is alive.Ivan Alejandro
Send a 'ping' request every 2 secs to ensure that the backend is running. Use polling instead of recv on the backend_proxy. This was already implemented for the signaler.
2014-07-16Increase timeout and retries.Ivan Alejandro
With this change we avoid the communication issues on OSX.
2014-07-16Code style fixes.Ivan Alejandro
2014-07-15Replace QThread with threading.Thread.Ivan Alejandro
2014-07-15Use polling to prevent communication issues.Ivan Alejandro
2014-07-15Support EIP in OSXTomás Touceda
2014-07-14Use custom `mkdir` to create the tree if needed.Ivan Alejandro
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-14Comment out overly verbose logs for communication.Ivan Alejandro
2014-07-14Add file docstrings.Ivan Alejandro
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-14Move the backend starter to its own file.Ivan Alejandro
2014-07-14Add missing error/passed keys.Ivan Alejandro
2014-07-14Lowercase signals names.Ivan Alejandro
2014-07-14Use new frontend/backend structure in LEAP implementation.Ivan Alejandro
2014-07-14Add license headers.Ivan Alejandro
2014-07-14Add API/SIGNALs definition.Ivan Alejandro
2014-07-14Add base communication framework.Ivan Alejandro
2014-06-25Use a dict instead of an object to ease serialization.Ivan Alejandro
2014-06-18Move backend's components to its own file.Ivan Alejandro
2014-06-18Move Signaler to its own file.Ivan Alejandro
2014-06-18Move backend to its own namespace.Ivan Alejandro