<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: 3np</title><link>https://news.ycombinator.com/user?id=3np</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 11 Jun 2026 03:11:01 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=3np" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>Quadlets aren't what I'd personally use for local dev. They are good for running a local headless persistent service. So I wouldn't use it for your service-under-test but they can be a good fit for supporting dev tools like a local package registry, proxy or VPN gateway.<p>The docs you need for quadlets are basically here: <a href="https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html" rel="nofollow">https://docs.podman.io/en/latest/markdown/podman-systemd.uni...</a><p>The one gotcha I can think of not mentioned there is that if you run it as a non-root user and want it to run without logging in as that user, you need to: `sudo loginctl enable-linger $USER`.<p>If you don't vibe with quadlets, it's equally fine to do a normal systemd .service file with `ExecStart=podman run ...`, which quadlets are just convenience sugar for. I'd start there and then return to quadlets if/when you find that becomes too messy. Don't add new abstraction layers just because you can if they don't help.<p>If you have a more complex service consisting of multiple containers you want to schedule as a single unit, it's also totally fine to combine systemd and compose by having `ExecStart=podman compose up ...`.<p>Do you want it to run silently in the background with control over autorestarts and log to system journal? Quadlets/systemd.<p>Do you want to have multiple containers scheduled together (or just prefer it)? Compose.<p>Do you want to manually invoke it and have the output in a terminal by default? CLI run or compose.</p>
]]></description><pubDate>Sat, 20 Dec 2025 23:02:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=46340516</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46340516</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46340516</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>> "Write your own Dockerfiles" is not useful security advice.<p>I actually think it is. It makes you more intimate with the application and how it runs, and can mitigate one particular supply-chain security vector.<p>Agreeing that the reasoning is confused but that particular advice is still good I think.</p>
]]></description><pubDate>Thu, 18 Dec 2025 05:30:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=46309183</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46309183</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46309183</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>Two paths:<p>- Configuration management (ansible, salt, chef, puppet)<p>- Preconfigured images (NixOS, packer, Guix, atomic stuffs)<p>For a one-off: pssh</p>
]]></description><pubDate>Thu, 18 Dec 2025 05:15:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=46309096</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46309096</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46309096</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>> Not if you run it in rootless mode.<p>Same as for docker, yes?<p><a href="https://docs.docker.com/engine/security/rootless/" rel="nofollow">https://docs.docker.com/engine/security/rootless/</a></p>
]]></description><pubDate>Thu, 18 Dec 2025 00:21:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=46307472</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46307472</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46307472</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>Hey, thanks for taking the time to share your learnings and engage. I'm sure there are HN readers out there who will be better off for it alongside you!<p>(And good to hear you're leaving the LLMs out of the writing next time <3)</p>
]]></description><pubDate>Thu, 18 Dec 2025 00:13:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=46307420</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46307420</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46307420</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>Thanks! Would be cool to have it packaged for alpine since firewalld requires D-Bus. There is awall but that's still on iptables and IMO at bit clunky to set up.</p>
]]></description><pubDate>Thu, 18 Dec 2025 00:07:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=46307373</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46307373</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46307373</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>This affects podman too.</p>
]]></description><pubDate>Wed, 17 Dec 2025 23:57:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=46307298</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46307298</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46307298</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>It still says:<p>> IT NEVER ESCAPED.<p>You haven't confirmed this (at least from the contents of the article). You did some reasonable spot checks and confirmed/corrected your understanding of the setup. I'd agree that it looks likely that it did not escape or gain persistence on your host but in no way have you actually verified this. If it were me I'd still wipe the host and set up everything from scratch again[0].<p>Also your part about the container user not being root is still misinformed and/or misleading. The user inside the container, the container runtime user, and whether container is privileged are three different things that are being talked about as one.<p>Also, see my comment on firewall: <a href="https://news.ycombinator.com/item?id=46306974">https://news.ycombinator.com/item?id=46306974</a><p>[0]: Not necessarily drop-everything-you-do urgently but next time you get some downtime to do it calmly. Recovering like this is a good excercise anyway to make sure you can if you get a more critical situation in the future where you really need to. It will also be less time and work vs actually confirming that the host is uncontaminated.</p>
]]></description><pubDate>Wed, 17 Dec 2025 23:32:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=46307078</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46307078</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46307078</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>> I also enabled UFW (which I should have done ages ago)<p>I disrecommend UFW.<p>firewalld is a much better pick in current year and will not grow unmaintainable the way UFW rules can.<p><pre><code>    firewall-cmd --persistent --set-default-zone=block
    firewall-cmd --persistent --zone=block --add-service=ssh
    firewall-cmd --persistent --zone=block --add-service=https
    firewall-cmd --persistent --zone=block --add-port=80/tcp
    firewall-cmd --reload
</code></pre>
Configuration is backed by xml files in /etc/firewalld and /usr/lib/firewalld instead of the brittle pile of sticks that is the ufw rules files. Use the nftables backend unless you have your own reasons for needing legacy iptables.<p>Specifically for docker it is a very common gotcha that the container runtime can and will bypass firewall rules and open ports anyway. Depending on your configuration, those firewall rules in OP may not actually do anything to prevent docker from opening incoming ports.<p>Newer versions of firewalld gives an easy way to configure this via StrictForwardPorts=yes in /etc/firewalld/firewalld.conf.</p>
]]></description><pubDate>Wed, 17 Dec 2025 23:18:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=46306974</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46306974</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46306974</guid></item><item><title><![CDATA[New comment by 3np in "I got hacked: My Hetzner server started mining Monero"]]></title><description><![CDATA[
<p>As sibling mentioned, unless you or the runtime explicitly mount the docker socket, this particular scenario shouldn't affect you.<p>You might still want to tighten things up. Just adding on the "rootless" part - running the container runtime as an unprivileged user on the host instead of root - you also want to run npm/node as unprivileged user inside the container. I still see many defaulting to running as root inside the container since that's the default of most images. OP touches on this.<p>For rootless podman, this will run as a user with your current uid and map ownership of mounts/volumes:<p><pre><code>    podman run -u$(id -u) --userns=keep-id</code></pre></p>
]]></description><pubDate>Wed, 17 Dec 2025 23:00:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=46306781</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46306781</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46306781</guid></item><item><title><![CDATA[New comment by 3np in "Self-hosting a Matrix server for 5 years"]]></title><description><![CDATA[
<p>> > Onboarding is bad<p>> Sorry, but you have to run an auth server (matrix-authentication-service) if you want Element X to work.<p>This is a bit outrageous IMO. Actually breaking and deprecating the classic auth and requiring a new server component to keep the only actively supported client (which still can't properly manage keys or sessions on its own, like classic Element can, even as non-verified sessions are being disabled) is a bit rich.</p>
]]></description><pubDate>Mon, 01 Dec 2025 19:57:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=46112314</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=46112314</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46112314</guid></item><item><title><![CDATA[New comment by 3np in "Why isn't Hong Kong ready to embrace digital payments?"]]></title><description><![CDATA[
<p>The answer seems obvious but one that won't be spelled out in SCMP.</p>
]]></description><pubDate>Sun, 14 Sep 2025 05:50:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=45237755</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45237755</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45237755</guid></item><item><title><![CDATA[New comment by 3np in "Wayland breaks the tools I use to make a living"]]></title><description><![CDATA[
<p>Great you found something that works for you and that you managed to dodge the parts of the community that somehow managed to turn this into <i>identity politics</i>.<p>Still, the gaps are there and don't seem to be filled anytime soon, despite the progress you mention.</p>
]]></description><pubDate>Sun, 14 Sep 2025 04:15:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=45237398</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45237398</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45237398</guid></item><item><title><![CDATA[New comment by 3np in "How FOSS Projects Handle Legal Takedown Requests"]]></title><description><![CDATA[
<p>Cheers! 10% is nothing to scoff at!<p>...While I have your ear: IME ReThink DNS often runs into bootstrapping problems since 1) preconfigured DNS servers are referenced by hostname, not IP 2) I can't find a way to separately configure server address and TLS name (making it impossible to configure DoH/DoT servers via IP).<p>So users often run into "catch 22" where they need existing DNS to resolve their DNS server... When roaming it may work fine for a bit until the local cache drops it, and so on.<p>Allowing to separately configure TLS hostname for TLS-enabled protocols, and having a preseeded list of IPs for bundled provider endpoints, would mean ReThink DNS could work reliably even in absense of existing DNS.<p>cf tls_auth_name for stubby. <a href="https://dnsprivacy.org/dns_privacy_daemon_-_stubby/configuring_stubby/" rel="nofollow">https://dnsprivacy.org/dns_privacy_daemon_-_stubby/configuri...</a></p>
]]></description><pubDate>Sun, 14 Sep 2025 02:43:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=45236986</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45236986</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45236986</guid></item><item><title><![CDATA[New comment by 3np in "PSA: systemd-networkd segfault regression in Debian 13.1 for some users"]]></title><description><![CDATA[
<p>The currently latest stable release of Debian (13.1) ships a broken version of systemd-networkd which may break networking completely for affected users. Maintainer response is less than encouraging: <a href="https://bugs.debian.org/1112535" rel="nofollow">https://bugs.debian.org/1112535</a><p>> There was absolutely no need to disturb RT and waste your time, as you have much more important things to take care of, as this is just a minor issue with a particular corner case of a custom config of an optional component. Anybody who is unable to deal with that should just stick to the default Debian components. The next stable update in ~2 months will contain a fix.<p>"minor issue with a particular corner case of an optional component" my ass.<p>---<p>If you are currently on Bookworm using systemd-networkd with VLANs and bridges, you may want to hold off on the Trixie upgrade until fixed systemd 257.9 is available.</p>
]]></description><pubDate>Sun, 14 Sep 2025 01:42:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=45236719</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45236719</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45236719</guid></item><item><title><![CDATA[PSA: systemd-networkd segfault regression in Debian 13.1 for some users]]></title><description><![CDATA[
<p>Article URL: <a href="https://lists.debian.org/debian-devel/2025/09/msg00108.html">https://lists.debian.org/debian-devel/2025/09/msg00108.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45236718">https://news.ycombinator.com/item?id=45236718</a></p>
<p>Points: 4</p>
<p># Comments: 1</p>
]]></description><pubDate>Sun, 14 Sep 2025 01:42:14 +0000</pubDate><link>https://lists.debian.org/debian-devel/2025/09/msg00108.html</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45236718</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45236718</guid></item><item><title><![CDATA[New comment by 3np in "Extension was turned off because it is no longer supported"]]></title><description><![CDATA[
<p>Tried Brave?</p>
]]></description><pubDate>Sun, 14 Sep 2025 01:13:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=45236616</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45236616</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45236616</guid></item><item><title><![CDATA[New comment by 3np in "Wayland breaks the tools I use to make a living"]]></title><description><![CDATA[
<p>Wayland is great and ready for (idk) 95% of users/use-cases.<p>There is a long tail of more-or-less critical stuff that depend on X11 and do not have working Wayland substitutes. While the tail has been shrinking for every year, it will be decades if ever until all can be realistically migrated. Consider the Lindy Effect and that some of these systems have been running for >10y already. Consider shared but secured environments at universities and research institutes. Consider obscure hardware incompatibilities and hardware-specifix performance issues which might never be fixed.<p>On the software side, acessibility aside, there are a lot of VNC and other remote-X setups out there with no viable replacement in sight (yet).<p>Alsa, pulseaudio, pipewire and jack can all coexist and so can display servers.<p>I understand GNOME and RedHat will do things their way. I understand distro and GUI framework maintainers wanting to reduce their load. I understand people who like Wayland, want it to succeed, and want to evangelize. I do not appreciate when it turns into tribalism, forcing of monoculture and insisting "X11 is deprecated".<p>---<p>OP is from 2023 but as they note in their update, the situation is fundamentally not that different 2y later. Are maintainers and decision-makers really sincerely imagining that a supposed deprecation and removal of X11 can be forced onto the wider community over a couple of years from now?</p>
]]></description><pubDate>Sun, 14 Sep 2025 00:03:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=45236340</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45236340</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45236340</guid></item><item><title><![CDATA[New comment by 3np in "[dead]"]]></title><description><![CDATA[
<p>How is this spam not autoflagged by now?<p><a href="https://news.ycombinator.com/from?site=reddit.com">https://news.ycombinator.com/from?site=reddit.com</a></p>
]]></description><pubDate>Sat, 13 Sep 2025 21:50:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=45235616</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45235616</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45235616</guid></item><item><title><![CDATA[New comment by 3np in "Several people fired after clampdown on speech over Charlie Kirk shooting"]]></title><description><![CDATA[
<p>> The bullet engravings are well known<p>You can read anything you want into those if you want to. To me they reek weeb culture (as opposed to furry like everyone else jumps to - there are overlaps but they are distinct), 4chan trolling and lemmy more than anything. We can not know the intentions behind those engravings and they say nothing about which, if any, affiliation the shooter had. Could be a Luigi wannabe, could be a false flag to induce civil war.<p>"Unafilliated" seems like the most plausible assumption right now. Everyone pushing theories about shooter affiliation right now either has their own political agenda behind it and are doing so incincerly or are useful idiots serving the aforementioned.</p>
]]></description><pubDate>Sat, 13 Sep 2025 21:37:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=45235543</link><dc:creator>3np</dc:creator><comments>https://news.ycombinator.com/item?id=45235543</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45235543</guid></item></channel></rss>