HN user

3np

8,274 karma

https://pleroma.remerge.net/3np

Posts48
Comments3,723
View on HN
lists.debian.org 10mo ago

PSA: systemd-networkd segfault regression in Debian 13.1 for some users

3np
4pts1
apnews.com 10mo ago

Takeaways from Israeli strike on Gaza hospital killing journalists and medics

3np
14pts0
localroot.isi.edu 10mo ago

LocalRoot – Serve Yourself the Root

3np
2pts0
pluralistic.net 1y ago

The Enshittification of Tech Jobs

3np
31pts10
matrix.org 1y ago

Policy Servers for Matrix

3np
2pts0
www.thenation.com 1y ago

I've Worked at Google for Decades. I'm Sickened by What It's Doing

3np
15pts10
www.process-one.net 1y ago

Matrix and XMPP: Thoughts on Improving Messaging Protocols – Part 1

3np
2pts0
github.com 1y ago

Simone: Repurpose your YouTube videos by converting them into blog posts

3np
1pts1
arstechnica.com 1y ago

Twitter blocks EFF tweet that criticized bogus takedown of previous tweet [2019]

3np
14pts3
jmmv.dev 1y ago

Ldd(1) and Untrusted Binaries (2023)

3np
59pts36
automaton-media.com 1y ago

Patent attorney analysis: What's the patent Nintendo is suing Palworld for?

3np
3pts1
discourse.nixos.org 1y ago

Nix Governance Constitution; draft for feedback

3np
4pts0
aerc-mail.org 1y ago

Aerc – a pretty good email client

3np
2pts0
piped.video 2y ago

The tragic demise of Plants vs. Zombies [video]

3np
2pts0
github.com 2y ago

Bluetooth keystroke-injection in Android, Linux, macOS and iOS

3np
368pts250
www.hashicorp.com 2y ago

HashiCorp Announces Terraform Stacks

3np
1pts1
www.theguardian.com 2y ago

Chinese programmer ordered to pay 1M yuan for using VPN

3np
5pts0
www.theverge.com 2y ago

Samsung joins Google in RCS shaming Apple

3np
1pts0
dnscontrol.org 2y ago

DNSControl – Seamlessly manage DNS configuration across servers and providers

3np
3pts0
github.com 2y ago

AdNauseam: uBlock Origin fork silently clicking ads on behalf of users

3np
196pts152
github.com 3y ago

Joplin – An open-source note taking and to-do application with synchronisation

3np
344pts214
journal.stuffwithstuff.com 3y ago

What Color is Your Function? (2015)

3np
2pts1
github.com 3y ago

Somalia Famine

3np
2pts0
www.bloomberg.com 3y ago

FTX Investors Warned of Likely Bankruptcy Without New Funds

3np
10pts11
github.com 3y ago

Cosmopolitan v2.0 – build-once run-anywhere C library

3np
9pts0
news.ycombinator.com 3y ago

Ask HN: How do you manage VMs on your workstations?

3np
6pts4
fediverse.party 4y ago

ActivityPub Fediverse Implementations

3np
5pts1
rtfm.co.ua 4y ago

What is: Linux keyring, gnome-keyring, Secret Service, and D-Bus (2019)

3np
100pts26
piped.kavin.rocks 4y ago

What exactly is Web3? [video] (2018)

3np
2pts1
news.ycombinator.com 4y ago

Ask HN: VPS Providers in Russia

3np
6pts1

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.

The docs you need for quadlets are basically here: https://docs.podman.io/en/latest/markdown/podman-systemd.uni...

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`.

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.

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 ...`.

Do you want it to run silently in the background with control over autorestarts and log to system journal? Quadlets/systemd.

Do you want to have multiple containers scheduled together (or just prefer it)? Compose.

Do you want to manually invoke it and have the output in a terminal by default? CLI run or compose.

"Write your own Dockerfiles" is not useful security advice.

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.

Agreeing that the reasoning is confused but that particular advice is still good I think.

It still says:

IT NEVER ESCAPED.

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].

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.

Also, see my comment on firewall: https://news.ycombinator.com/item?id=46306974

[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.

I also enabled UFW (which I should have done ages ago)

I disrecommend UFW.

firewalld is a much better pick in current year and will not grow unmaintainable the way UFW rules can.

    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
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.

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.

Newer versions of firewalld gives an easy way to configure this via StrictForwardPorts=yes in /etc/firewalld/firewalld.conf.

As sibling mentioned, unless you or the runtime explicitly mount the docker socket, this particular scenario shouldn't affect you.

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.

For rootless podman, this will run as a user with your current uid and map ownership of mounts/volumes:

    podman run -u$(id -u) --userns=keep-id

> Onboarding is bad

Sorry, but you have to run an auth server (matrix-authentication-service) if you want Element X to work.

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.

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 identity politics.

Still, the gaps are there and don't seem to be filled anytime soon, despite the progress you mention.

Cheers! 10% is nothing to scoff at!

...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).

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.

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.

cf tls_auth_name for stubby. https://dnsprivacy.org/dns_privacy_daemon_-_stubby/configuri...

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: https://bugs.debian.org/1112535

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.

"minor issue with a particular corner case of an optional component" my ass.

---

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.

Wayland is great and ready for (idk) 95% of users/use-cases.

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.

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).

Alsa, pulseaudio, pipewire and jack can all coexist and so can display servers.

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".

---

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?

The bullet engravings are well known

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.

"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.

OpenAI Grove 10 months ago

Perhaps the people you see as cynical have more research and/or experience behind their views on OpenAI than you. Many of us have been more naive in the past, including specifically towards Altman, Microsoft, and OpenAI.

Legal win 10 months ago

Considering how obviously in the wrong he is, it might not be too off calling that a win for him.

I'm usually on the other side of these things but here I think most of the actual (some might be artificial...) outrage and concern come from a misunderstanding of the product and services Huntress are selling and how their EDR product is packaged and sold.

As presented I see no ethical concerns with the incident and their response. Someone hacks you and then installs your rootkit, I say you can leverage that to hack back and look all you want while it's running (as long as you can be confident it's really the attacker obv). I appreciate that Huntress shared their insights with the community and hope that they and others won't be discouraged from the unfortunate flaming.

Food for thought: Perhaps it wasnt't the money as much as Stripe itself being the barrier? Maybe you would have gotten better turnout with other payment options (especially for a platform like Trello, crypto like BTC/XMR might be more welcome than you'd expect).

My biggest lesson? Charge early.

Can't argue with that. And even if you go free early, advertise it as "free trial during our early days" or similar. If you already plan on charging in the future, get people used to the idea of having to pay for it from day one even if you give it away for some potentially extended time. Proper free-tiers with expectations and terms can come later down the line when the pricing strategy is clearer.

People emotionally respond very differently to their free trial expiring ("it was nice while it lasted") vs having their previously free service being replaced with a paid one ("f this enshittified rugpull"). The difference is proactive communication and setting of expectations.