• 1 Post
  • 30 Comments
Joined 2 years ago
cake
Cake day: July 12th, 2024

help-circle


  • I feel like I read the exact same story (Person discovers docker group is effectively root because llm agent used it to circumvent not having sudo) a few minths ago. (Not saying you stole it, two people can have the same experience independently of each other. I just found it interesting that this is, apperently, such a commonly overlooked issue.)

    Also, this is documented:

    Running containers (and applications) with Docker implies running the Docker daemon. This daemon requires root privileges unless you opt-in to Rootless mode, and you should therefore be aware of some important details.

    First of all, only trusted users should be allowed to control your Docker daemon. This is a direct consequence of some powerful Docker features. Specifically, Docker allows you to share a directory between the Docker host and a guest container; and it allows you to do so without limiting the access rights of the container. This means that you can start a container where the /host directory is the / directory on your host; and the container can alter your host filesystem without any restriction. This is similar to how virtualization systems allow filesystem resource sharing. Nothing prevents you from sharing your root filesystem (or even your root block device) with a virtual machine.

    https://docs.docker.com/engine/security/#docker-daemon-attack-surface



  • I use mailbox.org and this is my experience with your points:

    • Must support custom domain

    It generally does, the number of adresses ist still limeted though (exact number depends on the plan, standard plan is something like 50)

    • Must support catchall

    It does, counts as one address only

    • Must support forwarding an email to another email address based on the “to” address

    You can add rules based on many factors, including to address (partial or full matching). The interface for those is a bit clunky but once you got them set up they work reliably. I use them to sort mails into fders based on to-addresses.

    • Must not be run by dicks (e.g. Trump supporting CEO or Proton, union busting like Fastmail, and no big tech) - as close as possible at least

    I do not know anything about that but have also not actively loomed into it. they are run by a medium-sized German company called Heinelin.

    • Should have some method to connect to my self-hosted Paperless NGX (e.g. Proton’s bridge, or just IMAP)

    You get IMAP.

    • Should have emails encrypted from provider if possible - not sure if anyone other than Proton or Tuta do this.

    You can set upload a public key to be used to encrypt your entire mailbox and incoming mail on arrival if you want (Mailbox Guard)

    • Should support GPG

    Server-side and webmailer only do pgp, but it’s e-Mail, so just use gpg in your e-Mail program?

    • Should allow importing email history from previous provider

    They allow for that using a partner company, but I have never tried that and can not tell you how well it works.

    • Should have a nice web/mobile app or allow IMAP. Bonus points if I don’t have to use the Play store.

    Imap, no official app for mail







  • Just out of curiosit, what do you gain from unmounting the fs? Depending on your reasoning, it might he an option to use a zfs filesystem, set it up so automatic jobs rarely run and then set a somewhat agressive disk spin down policy. That way fs info would be handled by the arc, not the disks and they would only spin up when an actual file is accessed.

    At least I assume it would work this way. Look-Ahead reads or your explorer generating previews, etc. might well make thta option fail.





  • For professionals and buisnesses, I see where you are coming from (although there is an argument to be made for prioritizing security over uptime whenever acceptable).

    But for selfhosting/private users? If I wake up one morning and my stuff is not working anymore, I can just roll back to the last good backup and then apply patches manually to see where it goes wrong. Way better to have some downtime when I don’t notice (i.e. don’t need the service) than having open vulnerabilities when a fix exists.