Skip to content

elivepatch/elivepatch-server

Repository files navigation

elivepatch-server

Build Status Maintainability Docker Pulls Docker Cloud Build Status

Flexible Distributed Linux Kernel Live Patching

System Dependencies

elivepatch-server needs the correct toolchain to build a Linux Kernel and the following software:

Setup

elivepatch-server is a flask-based application.

You can use virtualenv to have a separate python3 environment.

$ cd elivepatch-server
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -r requirements
$ python elivepatch-server

Will run the server using werkzeug

API

  • Endpoint root: /elivepatch/api/
  • agent: /elivepatch/api/v1.0/agent
  • send_livepatch: /elivepatch/api/v1.0/send_livepatch
  • GetFiles: /elivepatch/api/v1.0/get_files

More information on the REST API is here

Development

You can use the docker image to test your changes without the risk of damaging your system.

Follow the provided instructions to set it up.