| ▲ | Gigachad 3 hours ago | ||||||||||||||||
That’s fine for your home server, but if you want an actual server that the general public can use, it has to be exposed to the internet. | |||||||||||||||||
| ▲ | hypfer 3 hours ago | parent | next [-] | ||||||||||||||||
Sure, but still, attack surface could and should be minimized by rethinking what exactly even needs to be on a server the general public can use. There are a lot of security problems you can categorically rule out by simply not involving a cloud. Clouds have been involved in a lot of things, because everyone was doing it, and because that's how you can collect rent, but they aren't really necessary for most use-cases. So we could definitely get the exposure down there. We'd just have to fundamentally shift the defaults of this industry. | |||||||||||||||||
| ▲ | jsiepkes 3 hours ago | parent | prev | next [-] | ||||||||||||||||
But not everything needs to be directly exposed to the internet. Framework had their data leaked because their metabase instance was hacked with a zero-day. Why was it directly exposed to the Internet? Why not require the use of a VPN like a Wireguard based solution or Nebula for these "internal" kind of apps? | |||||||||||||||||
| |||||||||||||||||
| ▲ | tgv 3 hours ago | parent | prev | next [-] | ||||||||||||||||
Still, it doesn't have to ping back, and ssh can (should) be very restrictive. | |||||||||||||||||
| |||||||||||||||||
| ▲ | LoganDark 3 hours ago | parent | prev [-] | ||||||||||||||||
I didn't say there are zero ports open, they're not my home server, I just said they're production servers. But exposing something like a properly configured nginx to the internet is way different from exposing application code directly. Most of my servers have used h2o (built from source because they don't cut releases anymore?) because I wanted HTTP2 and HTTP3 before anyone else would get their act together. These days I still use h2o because I like the config better than nginx, even though it's a pain to set up because nobody packages it (and they don't cut releases!) | |||||||||||||||||
| |||||||||||||||||