upvote
Cloudflare Tunnels and Cloudflare Access used together pretty much eliminate this worry for the average person.

No ports exposed, all outgoing traffic, and Cloudflare won’t let you actually reach the service until you provide a service token or do an email 2FA from an authorized email domain/address.

reply
> Now it means patching within 24hrs of a CVE9+ dropping

I know security by obscurity is not a good defense, but if the internet were on IPv6, it would be a lot harder for bots to find hosts by scanning the whole IP space, whereas when I open a port on IPv4 I can always see activity on it almost immediately. I've been watching traffic to IPv6-only hosts despite connecting to them from outside the local network and it's been completely silent from strangers. This would buy extra time for any critical CVE that needs patching.

reply
Maybe, but if using https with a public CA then your domain info is already well know. DIY CA not an issue, but has worse caveats imo.
reply
Yeah, that's a point worth mentioning, but none of the hosts I connect to have public DNS records pointing to them or use a public CA.
reply
Yeah then you’re fine
reply
> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping,

Honestly, most of those issues can be mitigated by NOT exposing your services to the web and instead relying on Wireguard — and I am not mentioning other VPNs here because they, too, are vulnerable with their vast attack surfaces, like OpenVPN.

In fact I believe all this will lead to better VPN integration in our devices. I REALLY hope Wireguard gets widely adopted to the point every major platform finally adds support for it.

reply
I'm updating my stuff WAY more often with AI. I have an agent check the current version, pull changelogs, look for anything that could go wrong, do a backup, stop, pull, start, verify, then delete backups and dangling containers. Pre AI I did that... basically never. Now I do it once a week. Could even schedule it if I really felt like it.

Also, I don't put two things on the open internet. My other 2-dozen services are behind Tailscale only.

reply
Do you need to pubicly serve the self hosted stuff? With a few exceptions I have opted to simply put the services behind a tailnet and use that as the simple security boundary. It works OK for a small team.
reply
This applies in general. You can do a lot of cool things, across many domains. Only a very minute slice of that should ever be internet reachable.

The biggest boon of AI boosted vulnerability discovery / exploit development is defence in depth is something that is more widely considered and applied.

reply
I have AI craft make files for common operations, patching, deploys etc. The makefiles compose terraform, ansible, misc scripts, DB migrations etc. this way, something reproducible and tested can be "trusted" to let AI operate with without it getting carried away or deep into the weeds on simple shit. Of course, I also use the same makefiles too when I want, and it's just great. Keeps credentials safe-ish, AI doesn't need to SSH itself or even know about the actual systems.
reply
LLMs that write and then update your Ansible really is the super combo.

If you throw in tests that the LLM also writes and it brings together the best of DevOps and LLM.

reply
If only nixos existed and llms were good at it :)
reply
I'm just way more comfortable and used to traditional bare metal, kvm, and k8s via RKE2.
reply
gentoo is far superior in every way :)
reply
Are they comparable, though?
reply
Not really no. I tend to think everyone should be building their entire stack from source these days. I don't know why these distros with binaries pre-compiled are so popular these days when an LLM can fork it for you at any time. Especially among the Nix crowd. Like why would you want someone else to compile your software? I mean this seriously. Between you and bare metal there's really not that much. Linux kernel? 20 minute compile. Grub2, OpenRC / Systemd / sddm, kde or hyprland w/e, the browser is actually the thing that will take the longest to build. So do it. There's no excuses anymore. You can do it while you sleep.
reply
Is it reproduicable though? Can you run nixos-anywhere <host>, then ssh into into it run borg restore and you have same server as you backuped? Doubts
reply
Gentoo ebuilds are the original byte for byte immutable build architecture. Have an LLM explain it to you.
reply
Never in the history of anything has there been a bigger misunderstanding of the capabilities of both NixOS and Gentoo.
reply
I use windows, btw
reply
Keep it all internal with Tailscale, or use Pangolin (or Cloudflare)
reply
deleted
reply
debian + unattended-upgrades + scheduled reboot for kernel upgrades gets you most of the way there
reply
I have a few raspi throwaway servers I don't really care about losing data on, so I wanted to try firefighter but couldn't because I use claude subscription rather than API key billing. Any plans to support users on subscriptions?
reply
Another massive drawback is the slop-avalanche on self-hosting communication channels.

I don't mind someone vibing something out for their needs; but as soon as you advertise it and invite external users, I feel there was a moral obligation to provide a certain level of quality and security. Which doesn't seem to be as prevalent now.

Building out a project used to take a fair amount of investment for the creator; now that producing code is "cheap", that price-to-entry is so low that anyone can spin up a project in a couple of hours.

It has added a lot of noise to the community channels - making it hard for good projects to stand out among the noise.

reply
> The bigger issue is you're then accountable for keeping up with security. Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

You can automate that

reply
> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

Yeah. This has fully changed my approach to web dev; for me as a solo/freelance developer at this scale, pretty much all interpreted languages are too great a risk in various different ways.

reply
Yep, a few times this month I've had to postpone sleep because a CVE was released and I had to patch
reply
Or you can just use wire guard to your router, or tail scale, or cloudflare tunnels and never actually expose the endpoint directly.
reply
reply
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).
reply
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.
reply
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.

reply
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.

reply
Same setup. I went with Debian. Non standard ssh port, no pass, key only and wireguard. So far so good.
reply
You're not gonna get pwned through SSH. You'll get pwned through some random dependency one of your things is using.
reply
Fedora IOT on a Raspberry Pi with automatic updates works pretty well too for internal network services (pihole, jellyfin etc)
reply