restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
958 stars 141 forks source link

Restrict rest-server.service SystemCallFilter (disallow @resources and @privileged) #249

Closed eriksjolund closed 7 months ago

eriksjolund commented 1 year ago

What is the purpose of this change? What does it change?

Add more systemcalls that should not be allowed to the SystemCallFilter= in rest-server.service.

Was the change discussed in an issue or in the forum before?

Yes, in the forum

https://forum.restic.net/t/adjust-systemcallfilter-in-rest-server-service-add-resources-and-privileged/6454/4

Checklist

MichaelEischer commented 7 months ago

Closing as the PR caused a crash during my tests.