Recent submissions

Comment · 2 years ago
The take away of that story is: don't post a message from Tor that gives out the network that you're entering Tor from.
Comment · 2 years ago
They're talking about the attack surface to get accidental code execution from opening files that try to exploit vim. Integrating shell commands with vim/less is a valid feature.
Comment · 2 years ago
>namespaces (which have been a frequent source of vulnerabilities)...

Unprivileged user namespaces sure, but I don't think that applies to namespaces in general (which without unprivileged user namespaces can only be created by root, and LPE is the concern with unprivileged userns due to increased attack surface). systemd doesn't need unprivileged userns to run.

Comment · 2 years ago
Yeah I was wrong about that, I confused it with socket-activation passing. The systemd-side socket is available from the process.
Comment · 2 years ago
Services may be in a different mount namespace from systemd for sandboxing or other reasons (also means you have to worry about filesystem permissions I suppose). Passing an fd from the parent (systemd) is a nice direct channel between the processes
Comment · 2 years ago
Use Invidious, use RSS, use yt-dlp, use Tor.
Comment · 2 years ago
The vast majority of services and user programs don't need to escalate privileges by invoking SUID/SGID binaries. no_new_privs should be used on them so that the "setuid with libc/LD programs" security boundary is avoided.
Comment · 2 years ago
It could be a FOSS portable binary that runs outside of a web browser.
Comment · 2 years ago
They aren't preventing you from using a content filter nor are they making it difficult to scrape the site. The counter measures against this are the problem.
Comment · 2 years ago
I agree, I don't even care about ads in specific. I primarily use the tor browser which doesn't block ads due to fingerprinting (it's ok for casual browsing, though some sites are actually obnoxious and slow down the browser). More generally, I care about web scraping and being able to control the presentation of content: for internet archival, using a featureful video/music player (mpv) or library like a local imageboard, utilities like user scripts to add features/programatically do stuff, content blocking (filter rules for specific posts/users), creating RSS feeds for notifications if the site doesn't offer one, simpler/faster frontends like invidious/nitter, etc.
Comment · 2 years ago
For faster session establishment in OpenSSH consider ControlMaster in ssh_config(5), which multiplexes multiple sessions in one connection instead of creating a new connection for each session.
Comment · 3 years ago
Lots of games won't ever be converted to Wayland (maybe some unofficially by replacing libraries with updated ones that still work with the game), we'll need some nested X server like xwayland in rootful mode once wayland compositors remove their xwm.
Comment · 3 years ago
Also, malicious code can be pushed to the website if you are logging in through that. You have to trust that their infrastructure is safe.
Comment · 3 years ago
You can mark individual files as No_COW in btrfs, and No_COW + preallocation is a requirement for swapfiles anyway due to how the swap subsystem works.
Comment · 3 years ago
>affected 100% of the connections to XMPP STARTTLS port 5222 (not 5223)

Why did they only target the STARTTLS port? On a related note, I would never use the STARTTLS port (opportunistic encryption) if I knew that the server had a regular TLS port...

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton