AI made self-hosting fun again (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
It's certainly easier than ever to spin up a VPS/cloudflare proxy and deploy. Agents can pretty much do that end to end.
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.
It got so bad during October I made https://firefighter.sh/ as a joke (a root-permissioned agent that continuously monitors for CVEs and patches your system live as soon as they drop - it's a security nightmare given the nondeterministic aspect of AI), but I'm actually starting to come around to the idea for my non-critical servers.
Replies (24)
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)
Continue this thread (1 replies) →
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.
Replies (3)
Replies (2)
Replies (3)
Replies (1)
Continue this thread (3 replies) →
Replies (1)
Continue this thread (1 replies) →
If you throw in tests that the LLM also writes and it brings together the best of DevOps and LLM.
Replies (1)
As someone who always loved to do organize projects with Make, mise was an easy upsell for me.
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.
Replies (1)
Yeah I agree, I bailed out of most of the community due to this.
Replies (1)
Replies (1)
Also, near every 3rd party repository you'd use puts FAR less care than Debian Stable in making sure upgrade will "just work", so, uh, result might vary, better read changelogs
Also, I don't put two things on the open internet. My other 2-dozen services are behind Tailscale only.
Replies (2)
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.
Replies (2)
Replies (2)
Replies (2)
Replies (1)
For someone who doesn't use public DNS records (and therefore has a more localized way of resolving/bookmarking the IP address), wouldn't they also do just fine using a certificate signed by something manually added to their local trust store? It's only once you have the general public resolving your domain that you also need the general public to easily validate your cert (through a chain that includes a root cert everyone's trust store already contains).
Do both in public, or do both in private. While overkill and cumbersome, things like Group Policy, MDM, etc. can handle the "I have many devices" issue.
Or if you're in control of the network E2E (LAN, or VPN with a CA cert) then there is no MITM and therefore no need for TLS.
Or if something like SSH rather than HTTPS, you've got TOFU instead of PKI.
Continue this thread (1 replies) →
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.
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.
Replies (1)
Replies (2)
You can automate that
Replies (2)
The biggest boon of AI boosted vulnerability discovery / exploit development is defence in depth is something that is more widely considered and applied.
I’ve been using a https reverse proxy with BasicAuth and strong passwords
Replies (2)
Would work for occassional sharing/look at this scenario, but... in the end I decided I'm gonna just wireguard my internal network and deal with sharing using public services
Replies (1)
Oh, I guess your firewall itself would get owned pretty fast...the mgmt and other webpages hosted on the firewall tend to have a lot of CVEs which probably carries over to the Auth Portal too.
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.
Without agentic help, there's no chance I'd have: setup Falco and Trixy properly; properly segmented my home network with MikroTik hardware; setup Tailscale properly; built out a proper Yubikey-backed ssh-agent strategy; properly split out work and personal physical devboxes from my laptop; regularly scanned every device I own for credential leaks; etc etc etc
I've been able to start moving my config to ansible, build and deploy Wazuh across my homelab, decman for arch config, move my self hosted services to cloudflare reverse proxy, deploy OPNSense with better firewall rules than I could previously on my Asus router, add VLANs and IOT monitoring.
The amount of Crowdsec alerts I get now for bans is 10x lower because my services are only responding to IPs in my geo, after filtering for bad IPs, and Crowdsec also catches crawlers/scrapers before they reach my services.
I also setup Incus VM with nested containerisation and network restrictions so I don't have to worry about auto mode nuking anything. They (agents) can work on my ansible config, test it, and push it to git. I can feed logs as needed for review and troubleshooting. And misconfigurations I'd had in Authelia (nothing impactful for external services) have been picked up as well.
I am totally onboard with the author's experience.
Love the site and concept too.
Replies (1)
And even with that - renovate bot creates MRs for new releases/images/versions and GitLab-CE and a bit of scripting makes a btrfs snapshot, updates service, even rolls back to last snapshot if it fails to reach running/healthy state.
Replies (1)