I haver been looking at Rust as a replacement for a c microserver I made,
I have a thing that listens as root and serves as a user dictated by their id.
so it's
as root:
on connect fork:
forked process:
read request to determine ID
drop privileges to UID and GID of ID
process request
Because of the root component I want it to do as little as possible while being root, which c is good for. but it's also probably riddled with holes, only some of which I am aware.
I have a thing that listens as root and serves as a user dictated by their id.
so it's
Because of the root component I want it to do as little as possible while being root, which c is good for. but it's also probably riddled with holes, only some of which I am aware.