Hacker Newsnew | past | comments | ask | show | jobs | submit | roer's commentslogin

Is this a joke I don't get? His name was Rudolf Diesel, right?


Yes, it is a fantastic joke and I laughed for ages, well played.


I have the printed versions of issue #6 and #7, I highly recommend them!

https://www.lulu.com/spotlight/pagedout


I think op meant the subjective feeling of having a system that runs in a stable manner. I don't quite follow their reasoning either (maybe the smaller changesets expose compatibility bugs before affecting general ux?), but I agree that arch was a joy for me to use and felt "stable".


If you're trying to deny internet access to a program, beware that landlock only restricts tcp sockets. Programs are free to setup udp or just raw sockets.


Well that seems like a major oversight there...what is the reasoning for that?


It's just incomplete and very early days for landlock.

Landlock requires you to commit upfront to what is "deny-default"ed but they only added a control for TCP socket bind and nothing else. So you can "default-deny" tcp bind but all the other socket paths in the kernel are not guarded by landlock. It tries really hard to have the commit of features be an integral part of the landlock API so that you can have an application able to run on multiple kernel versions that support different parts of the landlock spec. But that means that as they develop the API the older versions of landlock need to be less restrictive than newer versions otherwise programs dont work across kernel versions.

That way, a program that is very restrictive on say kernel 6.30 can also run on kernel 6.1 with less restrictions. The program keeps functioning the same way (never break userspace). The only way to do that is to have the developer tell what parts need to be restricted explicitly and you can't restrict what isn't implemented yet.

They're planning to extend it to all socket types. This is also mentioned in the linked article https://github.com/landlock-lsm/linux/issues/6

I guess if you want to run without networking at all today you can just unshare into a fresh network namespace, or maybe use seccomp strict mode


There's always a lot of caution and review that goes into a new syscall feature, because once you add a feature, there's no takebacks. All the libraries downstream from landlock rely on the kernel API being good.

There is an ongoing patch series for udp and another one for general socket control.

You can read about it on the linux-security-module mailing list.

Basically UDP is harder to hook into because it's a connectionless protocol. So bind and connect don't really work the same way.

https://lore.kernel.org/all/20241214184540.3835222-1-matthie...

https://lore.kernel.org/linux-security-module/20251118134639...


They can be disabled by firewall, iptables can match outgoing sockets by owner uid. I know it's not the same thing as landlock, still can come in handy.

And raw sockets require elevated privileges anyway iirc.


Well you need root access, or at least the CAP_NET_RAW capability to use raw sockets. UDP seems pretty bad though.


Pretty big loophole!


oof! thats terrible... :/ good to know..... what a weird restriction.


I think it's only "weird" if you don't understand why it is the case... adding UDP/raw socket support is much more difficult, and waiting to get that implemented would have much larger downsides for the project as a whole to gain any traction in the meantime.


Is this about getting to the moon quickly or is it about doing it with the help of a different rocket company?


Well, NASA tried that originally but didn't have the budget, and in that sense it's better late than never to fund something different. The reasoning as presented just doesn't reflect reality.


There was another thread on specifically our minister of justice, with comments that touch on the historical aspect: https://news.ycombinator.com/item?id=45248802


For the android spot I'd like to recommend Seal: https://f-droid.org/packages/com.junkfood.seal/

It's "just" a yt-dlp frontend with a nice UI, meaning it works with sites other than youtube as well.

It also adds a quick-download option to the android sharing menu when sharing a link, which I've found incredibly convenient.


This is what I use and it works great. I mainly use it to download things like 3-hour music playlists ahead of long drives to avoid wasting mobile bandwidth.


I'd like to recommend YTDLnis for Android: https://github.com/deniscerri/ytdlnis

Been using it as a replacement for YouTube. I don't stream nowadays, only download.



There is a youtuber (Gneiss Name) making educational content through the medium of Minecraft. He's made one on OKLab as well: https://youtu.be/nJlZT5AE9zY


What an absolutely fascinating channel! Thanks for the link


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: