A tiny mouse, a hacker.

See here for an introduction, and my link tree for socials.

  • 0 Posts
  • 12 Comments
Joined 3 years ago
cake
Cake day: December 24th, 2023

help-circle
  • Ah I was wondering if you’d find this thread

    I did! It was lucky I found it so soon, I usually do a search once or twice a week - and it just happened I did one of those yesterday.

    previously I kept running into articles about princess bride

    That’s normal, iocaine’s name is from the Princess Bride, after all - and the book and the film are much better known than my software (as they should be).

    Unfortunately I have nothing to host on the internet but I wonder it could be paired with something that traps the clanker in the maze with a proof of work in between each page. That way they are ingesting poison and working for it. I get a lot of joy from the idea of a swarm of bots stuck in an infinite maze.

    The ingested poison doesn’t do much, it’ll get discarded before training. So if you have nothing to put behind iocaine, I don’t think it’s worth it to run it. It can generate endless amounts of garbage, yeah, and will tie up some crawler resources too, yup, but it also costs you bandwidth and CPU & RAM you otherwise wouldn’t need to spend (since there’s nothing behind it, there’s no “more expensive” endpoint iocaine is taking a hit for). I don’t think that’s a good trade. As for Proof of Work: most bots won’t bother, and for the few that do… the cost/benefit ratio is still bad if there’s nothing behind iocaine.



  • Way back when, my Dad always told me to have at least three copies of everything, because one backup is no backup. So I have a 1TB Storage Box at Hetzner (€4/month, in a different datacenter than my VPSes) I push backups to with Restic. I also backup to a local machine (also with restic), and to my Dad’s NAS (you guessed, with restic), and to my old Debian server until I decommission it (also with restic).

    All legs have different retention settings, based on how much space I have at a particular backup site.




  • I’m running Tang on a VPS, outside of my homelab. Servers in my homelab set up networking and a dedicated WireGuard tunnel to the VPS from initrd, to be able to talk to Tang, to help unlock the filesystem. The WireGuard tunnel is only allowed from my home ISP’s ASN. So if anyone picks up all my equipment from my homelab and walks away with them, they will not be able to boot them up, unless they connect from my ISP’s ASN (good luck), or know the passphrase.

    Additionally, some of my homelab computers that support TPM also have a TPM pin, so walking away with the disk only, and connecting from my ISP’s ASN would still not be enough. This is rather pointless, anyone who walks away with the disk only will likely take the entire computer instead. But it was fun setting it up.

    In the not so distant future, I’ll update this setup to use Shamir Secret Sharing more, where I’ll have three pins: my VPS (via Wireguard), a small computer somewhere else in my apartment, and a third at a neighbour (+ TPM on supporting computers).


  • I’m using a setup similar to what you had in mind: I have a small €4/month VPS as my front, with scrapers taken care of by iocaine (it both blocks them, and firewalls the worst off automatically). That’s over 90% of the HTTP(s) traffic never making it past the VPS, greatly reducing the traffic into my home network. My actual servers are behind a WireGuard tunnel.

    It does not protect against a non-HTTP DDoS, but that wasn’t part of my threat model to begin with. My VPS provider (Hetzner) has DDoS protection even for €4/month servers - that doesn’t include the scraper DDoS, but includes other kinds - I have luckily not been a victim of any, so no idea whether it works reliably.

    Against the scrapers, a VPS + bot defense + Wireguard works like a charm. Can recommend.



  • It can stop them nowadays, by firewalling some of the crawlers off. The reason it doesn’t stop them by default is because it serves them poisoned URLs, which it can later identify if the crawlers come back riding a headless Chrome. But once they do that, and hit a poisoned URL, there’s little reason to let them wander in an endless maze further: serve one request, and block the IP.

    I’ve been running that on my own infra, and my daily number of requests went down from ~50+ million to… 2 million.