summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend/backend.py
AgeCommit message (Collapse)Author
2015-06-22[feat] replace old log handler with new oneIvan Alejandro
Replace logging.getLogger with custom get_logger. Remove some unneeded dependencies and reorder other.
2015-05-08[feat] use txzmq in backenddrebs
Before this commit, the backend used plain pyzmq bindings for communicating with the frontend. This implements the txzmq twisted-powered bindings instead. Closes: #6360
2015-02-23Use unix sockets for the fallback, and set permissionsKali Kaneko
... on them, to user-writeable only. I think we could consider ipc for the curve-case too, at least for the platforms that support them.
2015-02-20Fall back to plain ZMQ if Curve is not available.Ivan Alejandro
Use global flag for ZMQ_HAS_CURVE. Closes #6646
2014-12-19Allow frontend and backend to be run separately.Ivan Alejandro
Add the 'check_online' method to check whether the backend is accessible or not. Reduce the wait for running threads timeout on quit. Add retry feature to the backend requests send.
2014-08-06fix uncatched error with missing polkit. Closes: #5955kali
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-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-14Comment out overly verbose logs for communication.Ivan Alejandro
2014-07-14Add license headers.Ivan Alejandro
2014-07-14Add base communication framework.Ivan Alejandro