• 8 Posts
  • 937 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle




  • That’s because it turns out there are tons of vulnerabilities out there introduced by very lazy and/or dumb code.

    It isn’t that AI has lowered the bar for hacking, it’s that it’s showing us just how much bad code is out there. The bar was already on the ground, we just didn’t know it.

    After all is said and done AI will actually end up raising the bar for security everywhere.

    Unfortunately we have a lot of legacy crap to clean first.




  • It’s not quite as simple as that. The author in this case followed a pretty specific trail to find the bug.

    Where AI helped was as the last step. They already knew what the bug would do and where to look, but actually looking through the source code for all the possible musl implementations out there would have taken a lot of time.

    So they brute-forced it instead and asked AI to spin up actual running instances of all those implementations and simply tried the bug against each of them, rather than looking at all the code.



  • decided that scraping the internet for fanworks and hosting them on a new site without asking permission from any of the creators was a good idea

    The thing is, in any fetish and fanfic community there will be a body of works accumulated over the years that contains many classics but the authors are only a nickname. Sometimes there’s an email listed that stopped working decades ago.

    The sites that host the works are usually run by enthusiasts. Over the years they lose the incentive to maintain them. Whenever a site goes down and others take its place there’s always a dilemma about what to do with that body of work.

    Technically speaking, yes, any site that’s not the site where each author originally uploaded their work is in breach of copyright and/or licensing for those works. On the other hand, if you were to attempt to contact each author and only carry forward the works where you get an answer and permission… only a tiny fraction would qualify, and massive portions of the literature would be lost in each move.


  • A big PSA here is to have them pass you the device activation link that pops up when they first start Tailscale, and activate their device on your tailnet.

    Then you tag it, write an ACL rule for it (or you probably already have a rule for Jellyfin clients connecting only to the Jellyfin server on your tailnet by now, so just the tagging is enough) and that’s it.

    MUCH simpler than having non-savvy people attempt to set up a Tailscale user account. Plus, you can only have 6 users in a free tailnet but you can have 100 devices.



  • As someone who’s used all three (moved from Plex -> Emby -> Jellyfin):

    Plex’s killer feature is the relay and the fact it’s completely transparent for users. You log in with a Plex client (whatever device, whatever location in the world) and it will sort out a connection to the Plex server. Complete no-brainer.

    Jellyfin has been killing it lately, the last 3 versions (10, 11, 12) were all amazing leaps forward. The devs have been really hitting their stride and are addressing fundamental design issues and making Jellyfin better from the ground up. If you want complete independence, openness and control, excellent performance, this is it.

    Emby for me sits somewhere in-between and it’s not necessarily the better off for it. Feels like a compromise or the worst of both worlds. It has touches of Plex’s enshittification streak, it hasn’t addressed any of the core problems like Jellyfin has.

    Both Emby and Plex have issues navigating VPNs and complex/unusual network setups because their plug’n’play approach relies too heavily on autodetection. Plex has the relay to fall back on (provided you pay for it) but Emby doesn’t.

    Both Emby and Plex will move features around and really, really want you to keep paying so it’s anybody’s guess what you’ll be paying for from month to month. Lifetime passes were (can I say it?) a tremendously STUPID idea and now that ship has sailed anyway.

    IMHO, one of these days someone will come up with a way for Jellyfin to provide free, transparent, aecure client+server pairing behind NAT and that will be a huge blow to both Plex and Emby.


  • You can do what you want with IMAP too.

    I use isync, it’s a CLI tool that can sync between IMAP accounts or between IMAP and local plain storage and it has the option to delete messages over a certain age after it copies them.

    Is there a set up where some remote service handles email exchange, and you just sync with it

    Any regular email provider can do this as long as it offers IMAP. I use email clients with my provider’s IMAP but I also use isync on the server to periodically pull all email locally and delete messages older than 30 days. I’ve also installed a local private IMAP server and a private webmail client on top of that private IMAP, which I use to search through old emails.

    This way I normally use the “live” mailbox with my PC/mobile devices, and use the private webmail when I need to search for anything over 30 days old.

    What I do is not “selfhosted email”, technically speaking, because I rely on the live IMAP and SMTP from a provider. But I can switch provider at any time because all my email is @ my custom domains, so I can simply point my DNS to another provider and update my apps to use the new provider’s IMAP/SMTP server.


  • In the EU most (all?) members have a state-run consumer watchdog organization that can and does escalate measures depending on how big the problem is and how many people are reporting it.

    But something like this wouldn’t typically make it to the watchdog because there’s also consumer law in place to allow people to return faulty/unfit devices. So bad products like these typically get absorbed by merchants and importers, who would find themselves unable to shift that particular product and turn it back to Lenovo. Eventually Lenovo can’t find anybody willing to buy the product and have to take the hi[n]t.

    The beauty of this system is that it turns the problem back to the commercial side. It takes the regular people (buyers) out of the problem and makes merchants/importers/manufacturers figure it out among themselves. The idea being that “market forces” are real and they work but they shouldn’t be inflicted on unsuspecting customers.


  • It does, there’s a lot of features and UI added on top of it because it’s primarily an enterprise-oriented service and large companies tend to have a lot more complex usage scenarios than self-hosters.

    Headscale is a FOSS reimplementation from scratch of some of the Tailscale proprietary features. It’s inteded as a fallback option for Tailscale users in case the Tailscale service ever enshittifies, and also as a canary for ongoing verification of the Tailscale claim that the client plane functionality is entirely FOSS and above-board.

    Speaking of which, Tailscale today is a great example of a company using FOSS well. They are able to provide commercial services and have proprietary code while at the same time opening the client-facing code so users can see for themselves their privacy is cryptographically proven. They also cooperate very well with Headscale and provide a generous gratis service tier.


    • I’ve taken the opportunity to update most of my hosted services to newer image versions.

      They’re all in Docker and behind private access (Tailscale, mTLS, IP whitelist etc.) so I’m not usually too worried. I update images manually whenever I can find time on a slow weekend, so this wasn’t strictly speaking related to the recent vulnerabilities. Volume data and container definitions are backed up automatically once a day and I also take manual copies of the old images when I update them.

    • I’ve switched to new major versions of Immich and Jellyfin in the process and I’m very pleased with the new releases, amazing great work from the developers, they’ve been killing it lately.

    • I’ve been tinkering with some custom images that I use for various things like syncing specialized data (logs off FTP services, archive email over IMAP from my mail provider, grab Garmin data copies, run monitors and log parameters to Influx, run port forwarders etc.)

      I typically want to lock down this kind of images as much as possible, so I tweak them towards running with an unprivileged user, remove all caps and only grant strictly necessary ones, make the storage read-only inside the container etc.

    • Some needs have been recurring inside this type of containers, like having a decent process manager to keep some things running and restart them, or having a decent cron service. So I’ve been toying with the idea of making a “universal” image for this kind of thing and maybe publishing it for others to use as a base too. If I get around to it I’ll be announcing it here.


  • I mean, “plain WG” doesn’t have the ability to connect multiple sites seamlessly, nevermind from behind NAT. That’s what Headscale/Tailscale do, they enable multiple WG backends to connect together on the fly into a common VLAN, with almost zero extra config.

    It may seem overkill if you only want to connect two sites but once you solve this problem for 2 it’s basically also solved for N so why not take advantage of the capability.



  • Wireguard may be more obviously public, but they both technically are, right? Otherwise accessing a node just wouldn’t be possible.

    There is something exposed to the Internet in both cases, yes, but it works very differently.

    With WG it’s a client-server pattern; the server exposes a port, waits for authorized clients to connect, and when a client connects successfully the server routes their connections into the private LAN with everything that entails.

    With TS the public part is a supplier of control configurations and client pairing service. The pairing service needs to be contacted by two authorized clients in order to negotiate a connection between them. Once that’s done, it’s the clients that route each other’s connections into their respective LANs, the pairing server is not involved anymore.

    In other words the TS public surface is not WG, it’s their (proprietary) client verification and matching service. The WG connections between clients happen later, privately.

    To me, separating client authentication from routing and transport looks like a better design, because it’s multi-layered. You get the normal WG authentication and another layer on top.

    If you don’t need something specific that tailscale offers, then wireguard offers probably better security.

    “Security” is a relative term. It’s better to think in terms of attack surface, exposure, whether attacks are targeted or not etc. Which are all ongoing factors.

    Both TS and WG are popular and being used by lots of people but it’s also important for them to be actively maintained, independently audited, maintain transparency etc.