I’m getting ready to rebuild the home server and was going to go back to fedora server, but I’m seeing a lot of interest around NixOS lately and figure this might be a good opportunity to learn about it.

But I’m concerned about security in this system. It seems to have no fully functional SElinux or apparmor layer so any long running services that talk to the internet would be left in a vulnerable state without that fallback layer of protection.

Am I being paranoid here?

  • muusemuuse@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    Well, I’d like to leave something like I2P, reticulum, or bit torrent running overtime. It’s constantly talking to things on the outside world, so I’m trying to figure out how proactive I need to be about that

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      Hmmh. I’m just not sure if either SELinux or Apparmor address issues with something like those projects. I mean they’re established open-source projects with a larger userbase and should be somewhat okay?! They shouldn’t call other executables and don’t need elevated privileges to run (and there’s other ways to contain these kinds of issues). And they’re doing all kinds of network connections anyway, so not sure if you can even restrict those networking platforms in any meaningful way?!

      • muusemuuse@sh.itjust.worksOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        There’s a couple ways to do it but I’m not great at container networking and tossing it into a VM with. Seperate physical Ethernet jack is more of a blunt instrument than I wanted. Really it’s more of an exercise to improve my skills than anything else.