Recent

Author Topic: Serverless applications in Freepascal  (Read 910 times)

z0rr0

  • New Member
  • *
  • Posts: 48
Serverless applications in Freepascal
« on: February 05, 2022, 05:02:15 pm »
Hello everyone, I open this topic to present ToroV, which is a way to deploy serverless applications. In particular, I am using ToroV to deploy serverless applications written in Freepascal. If you want to try, the project is hosted at https://github.com/torokernel/torov. You can simply execute the following commands in a host in which you have KVM and Docker: 
Code: Bash  [Select][+][-]
  1. wget https://raw.githubusercontent.com/torokernel/torov/master/ci/Dockerfile
  2. docker build -t torov-dev .
  3. docker run --privileged -it torov-dev
  4. cd examples/HelloWorld
  5. ../build.sh HelloWorld
  6. ../../src/vmm/vmm helloworld.json
The application compiles with a modified version of the RTL for Linux. Then, it runs as a VM and it is possible to define the syscalls that the application is allowed to call. This is the defined in the helloworld.json file. The user can define which syscalls are allowed thus reducing the attack surface of the host. If someone is interesting to help me with this, do not hesitate to let me know!

Regards,
« Last Edit: February 05, 2022, 05:04:15 pm by z0rr0 »

 

TinyPortal © 2005-2018