RIP, Kovacs
Since 2005 aphyr.com has been served by kovacs, a Debian VM running on Linode. I ran my own mail server, web server, and a suite of little tools and toys. I’m shutting it down next week, but in honor of twenty years of service, I wanted to write a little bit about what self-hosting was like.
I’ve been running Linux machines in various forms since the mid-90s. If I recall, I was cobbling together basic HTML and Perl CGI scripts in middle school, but without internet access at home, it was hard to run a web server. I think I had a geocities account, and maybe something provided by the school. At school, I’d download all the software and documentation I thought I might need on to floppies or Zip disks, then ferry them home where I had a little desktop running Red Hat. In one of my notebooks, I still have the specs I wrote down for that machine.
HP Pentium
24.0 MB RAM
MS 95/DOS/Linux
Mitsumi CD-ROM
Iomega Zip 100
It had two hard disks, though there’s no record of their size. Maybe a few gigabytes at most. I remember when drive labels started saying “GB” instead of “MB”, and how vast that seemed. A thousand floppies!
I think my first real web site was around 2001, hosted by a friend from high school, Loren Bruns. He offered accounts to dozens of us nerds, all shared on a machine that lived in his living room. I have no idea how his parents put up with all of us using what must been a very limited modem or DSL connection. You’d write HTML and upload your site via FTP to his machine, and point your browser to http://brunslo.com/~your-handle, and voila! A real live web site, that anyone could see! What magic!
Geoblocking Multiple Localities With Nginx
A few months back I wound up concluding, based on conversations with Ofcom, that aphyr.com might be illegal in the UK due to the UK Online Safety Act. I wrote a short tutorial on geoblocking a single country using Nginx on Debian.
Now Mississippi’s 2024 HB 1126 has made it illegal for essentially any web site to know a user’s e-mail address, or other “personal identifying information”, unless that site also takes steps to "verify the age of the person creating an account”. Bluesky wound up geoblocking Mississippi. Over on a small forum I help run, we paid our lawyers to look into HB 1126, and the conclusion was that we were likely in the same boat. Collecting email addresses put us in scope of the bill, and it wasn’t clear whether the LLC would shield officers (hi) from personal liability.
This blog has the same problem: people use email addresses to post and confirm their comments. I think my personal blog is probably at low risk, but a.) I’d like to draw attention to this legislation, and b.) my risk is elevated by being gay online, and having written and called a whole bunch of Mississippi legislators about HB 1126. Long story short, I’d like to block both a country and an individual state. Here’s how:
Geoblocking the UK with Debian & Nginx
A few quick notes for other folks who are geoblocking the UK. I just set up a basic geoblock with Nginx on Debian. This is all stuff you can piece together, but the Maxmind and Nginx docs are a little vague about the details, so I figure it’s worth an actual writeup. My Nginx expertise is ~15 years out of date, so this might not be The Best Way to do things. YMMV.
First, register for a free MaxMind account; you’ll need this to subscribe to their GeoIP database. Then set up a daemon to maintain a copy of the lookup file locally, and Nginx’s GeoIP2 module:
apt install geoipupdate libnginx-mod-http-geoip2
Facebook blew it
I’ve been wary of Facebook’s privacy settings for a long time. I set mine to the most restrictive possible back when they announced Beacon. Since then they’ve released new features on a regular basis, each of which seems to share information about me without my knowledge or permission. You know what, Facebook? Fuck that.
I even disabled the most recent feature–“instant personalization”, which allowed third party websites to read my information on page load. Yet my friends can still, according to FB, share my info with any third party. Name, picture, gender, city, friend list, pages, and more. I have to explicitly block each and every app that wants my data. I don’t even know how many there are! That “recommend” button? Gives the app access to your data and permission to publish to your feed indefinitely.
Even with instant personalization disabled, CNN.com shows my friends and their profile images on the main page, merged with what CNN stories they liked recently. That’s too much for me.