Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 0 Posts
  • 9 Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle

  • I don’t trust the prebuilt images that providers provide so I like installing from my own ISO.

    cloud-init is useful sometimes, but I recently had an issue with Alpine’s alternative implementation (tiny-init) where it was setting a root password I didn’t know. It was pulling it from some sort of metadata, but there was nowhere in my provider’s control panel to set the default root password. Alpine also doesn’t have any documentation about how to disable tiny-init, so I had to read the code and figure it out myself (create a file called /etc/tiny-cloud.disabled before init runs).

    cloud-init also can’t configure LUKS encryption. I know its usefulness is limited on a VM (since the provider can snapshot the memory and retrieve the encryption key that way), but it’s still useful when the VM isn’t running or if you stop using that provider to ensure they can’t recover the data, and it’s required in some cases (eg Plaid required me to certify that all data is encrypted at-rest before they gave me access to their API)




  • The underlying protocol (RFB) is very simple to implement, and in fact some friends and I implemented both a VNC client and server as part of a project we worked on at university nearly 20 years ago.

    Because of this, it’s common to find it in various places, especially for interacting with systems that don’t have an OS installed yet:

    Most good VPS providers provide VNC access so you can set up your own OS from an ISO, use Clonezilla to clone the drive over the network, recover files if the drive gets corrupted somehow, etc. It’s a built-in feature of KVM/libvirt that the providers usually expose using something like NoVNC in their control panel. The common off-the-shelf control panels (Virtualizor, SolusVM, Virtfusion, Proxmox, etc) all have it as a standard feature.

    A lot of IPMI/BMC and KVM-over-IP systems use VNC too, for a similar purpose, just for physical hardware rather than VMs. The protocol being very simple makes it easy to build a simple version into an embedded system. This is also usually accessed via NoVNC in a web UI.


  • One of the ways it can happen is if a router doesn’t have a proper IPv6 firewall.

    The majority of internet users in the USA have IPv6 connectivity - something like 55-60% overall, and close to 100% on some networks. T-Mobile’s network is 100% IPv6-only, using 464XLAT for connectivity to legacy IPv4-only servers. Most Comcast customers have IPv6 too, as they were the first major ISP to roll out IPv6, close to 15 years ago now.

    Without an IPv6 firewall on the router, all devices on your network are directly accessible from the outside world (unless they’re running their own firewall, of course). At least Windows ships with a firewall enabled by default, which reduces the impact for Windows users.

    I’ve seen this in places you wouldn’t expect it, too. TP-Link’s prosumer/SMB 10Gbps router (Omada ER8411) didn’t have an IPv6 firewall until about a year after launch. I had to disable IPv6 until then. They did add it, but I’ve since switched to a Unifi Cloud Gateway Fiber.

    Thankfully I haven’t seen it recently, so maybe it’s not an issue any more on modern hardware.

    NAT is a hack, not a security feature, and IPv6 removes the need for it. The firewall is the security feature. (edit: the firewall on the router)




  • A lot of sites wouldn’t exist without ads, because they want their stuff to be freely-accessible and don’t have any other revenue streams. It would also cut off lower income people that couldn’t afford to pay.

    The only business models that have really worked online have been:

    1. Ad-supported.
    2. You pay for the service yourself, like a monthly subscription.
    3. Someone else pays for the service for you, for example freemium services (paid users subsidize the free users), a lot of Lemmy servers (admins cover the hosting costs), etc.

    If ads go away, a lot of sites/services would have to become paid services, and smaller ones might just shut down entirely. We’d end up with even more consolidation of the market.