I have a public ip VPS proxying to my home lab and I’m wondering where to go for the least attack surface if I’m just running caddy and wireguard.
Fedora CoreOS is an interesting offering, and Debian with unattended updates sounds good too. I like what SELinux can do for hardening the filesystem. Seems like even if a subprocess gets owned you get isolation from siblings.
Is that possible if there are only 2 open ports on the whole machine? Everything else is on the VPN. I think either SSH or WireGuard must have a vulnerability to get pwned.
Unattended upgrades will only patch system packages installed via apt-get. You still need to patch node, python packages, or random software you downloaded and installed (via curl piped to sh).
And for some reason these days everyone and their cat wants you to install their software with `curl http://some-sketchy-site.com/install | bash`, even if building packages is easier than ever with LLMs and free Github Actions.
cron + topgrade -y will handle most of the userspace updates.
`curl | sh` is a whole other ballpark though. that's not managed software, so of course you're going to have to manually update it. do you even remember what you've installed? i don't know how people think this is an acceptable way to install software.
For my needs, to minimize the manual effort, I limit my dependencies to those that come with the default distro repositories. I know it's not possible for each single application one may want to self-host, but there's already a lot that is possible by sticking to the default repos.
Replies (2)
Fedora CoreOS is an interesting offering, and Debian with unattended updates sounds good too. I like what SELinux can do for hardening the filesystem. Seems like even if a subprocess gets owned you get isolation from siblings.
Replies (2)
Replies (1)
Replies (1)
Replies (1)
Replies (4)
`curl | sh` is a whole other ballpark though. that's not managed software, so of course you're going to have to manually update it. do you even remember what you've installed? i don't know how people think this is an acceptable way to install software.