[–] 7 points 4 months ago*

Deno is pretty interesting because it has built in sandboxing. By default, no code can even access the network. Everything must be explicitly allowed, including network access and environment variables: https://docs.deno.com/runtime/fundamentals/security/

Access can be scoped pretty granularly as well, only allowing access to specific websites or env variables.

I really like this model since it offers a strong protection against secrets stealers, which have hit NPM extremely frequently. No more of malicious NPM packages scraping the whole system to find secrets.

It does have a performance tradeoff compared to Bun. Bun is (was?) the fastest, Node was the slowest, Deno was in the middle.

  • source
  • parent
  • context
  • [–] 5 points 4 months ago* (4 children)

    Similar to the other commentor who ignores stars and only reads reviews, I do something similar, but I mostly only read negative reviews.

    The problem I have is that positive reviews too often just uncritically praise the book, telling me nothing about why the book is good or why it might be bad. (And the fact that bots are so prevalent only makes this phenomenon worse).

    On the other hand, negative reviews often directly state what the reader disliked about the book. So, I hunt through negative reviews to find reviews that hint, or directly mention having elements of the book that I like/am in the mood for.

    For example, one time I was in the mood for fantasy where the protaganist does magical research. So I found this one book and started looking through reviews, and I saw this 2/5 star review where the reviewer was complaining "MC never fights, they just research and grind in the lab all day". I started reading that book immediately, and I had a great time.

  • source
  • [–] 3 points 4 months ago (3 children)

    Okay I really want to write a longer post to this, but I don't have much time so I'll just jot down my thoughts real fast:

    Are there good up to date tools, or checklists one could follow to audit the different parts of the network (most important the opnsense config)?

    "Defenders think in lists. Attackers think in graphs. As long as this is true, attackers win."

    But I did jot down some tools I found interesting: https://moonpiedumplings.github.io/blog/watched-software/#vulnerability-scanning-greenbone

    Unfortunately I haven't compared them or found out which is the best yet.

    how do you handle client authentication for devices on the same subnet? I know IP/mac-adress ARP entries are easily spoofed and therefore not secure, but I haven’t seen how to do it correctly

    On wifi, client isolation, on ethernet, port isolation and private vlans.

  • source
  • [–] 3 points 4 months ago

    No, they are trivial to block using techniques like deep package inspection.

    In addition to that, they aren't truly decentralized (no decentralized network really is), both rely on relay/bootstrap servers to start up the connection. So, if you block the public relay/bootstrap servers, you effectively block access to the network.

    Tailscale, netbird also can traverse NAT.

    Iroh (the actually pretty interesting software which the vibecoded rayfish is based on) and Yggdrassil do have their uses, but evading blocks isn't one of them.

  • source
  • parent
  • context
  • [–] 6 points 4 months ago*

    On all modern linux's, the iptables command is actually a compatibility layer controlling nftables.

    I prefer it over the nft command because it's much easier to read and use. I only use the nft command when checking for the occasional chain/table that iptables didn't show me.

  • source
  • [–] 14 points 4 months ago* (7 children)

    This workflow is tied to KDE Plasma's tagging feature. Moving away from KDE Plasma would likely mean abandoning parts of this workflow altogether.

    It looks like these tags are stored in filesystem xattrs themself, not in dolphin or kde metadata. That is, even if you load up gnome's file browser, or another file browser, it should still be able to read them.

    Nope, it looks like the tags used are KDE specific, even though any software could theoretically implement support for reading and writing them.

    https://wiki.archlinux.org/title/Extended_attributes

    https://www.freedesktop.org/wiki/CommonExtendedAttributes/

  • source
  • [–] 3 points 4 months ago* (last edited 4 months ago)

    If an attacker breaks out of the container, through a kernel bug, a runtime bug, a careless bind mount, or a misconfigured capability, they can land on the host as root. This is not hypothetical, we have well known examples, such as CVE-2025-9074.

    If the same happened with a rootless container, the attacker would be able to act in the host system as well, but with an unprivileged user, limiting the scope and impact of their “expedition”.

    This is not true. I have addressed this in my other comment here: https://programming.dev/post/51095402/24088470

    TLDR: Kernel bugs from inside a rootless container still get root on the host. Podman wasn't effected due to more restricted default seccomp policy (controlling what syscalls can be used), but podman being rootless didn't actually help in the example of that recent CVE.

  • source
  • [–] 13 points 4 months ago (1 child)

    Yes. Under the hood, gnome controls the power profiles daemon.

    You can configure it from the cli via powerprofilesctl.

    powerprofilesctl get gets the currently active mode. powerprofilesctl set performance set's it to performance mode.

    There are three modes: 'power-saver', 'balanced', 'performance'

  • source
  • view more: ‹ prev next ›