Kevin Boone

Self-hosting and steamrollers in the small net

As a child, my grandmother regularly scolded me for “picking up pennies in front of a steamroller”. She was referring to activities that carried a very small risk of a very large catastrophe. Her implication was that, if you were going to take a risk, even a tiny risk, of something tragic, the rewards had darned well better be worth more than pennies.

Grandma wasn’t talking about small-net hosting – she was born ninety years before the world-wide web. She was referring to our childhood games like “jump the ditch”. The concrete drainage culvert at the end of our street was a magnet to small boys. It was only about two feed wide, so any reasonably fit child could jump it with ease. But it was about ten feet deep, with a fast-moving stream at the bottom. Jumping the ditch was easy enough, but the small risk of being dashed to pieces on the concrete bottom, or swept away into the River Thames, was a real adrenaline-booster after a tedious day at school.

It’s not as if the rewards were even as substantial as pennies. There was nothing on the far side of the ditch that made it worth jumping, and a road bridge crossed it five minutes’ walk away anyway. We played this game because everybody did. Back in the golden days before video games, how else were we to amuse ourselves in the endless dull years between Lego and underage sex?

The point I’m trying to make, as my Grandmother was, is that some undertakings incur a risk that is so small as to be thought worth taking. But if that risk is of having your lifeless corpse dragged out of a drainage ditch with poles – well, you’d better be getting something good out of taking it.

The “small net” or “small web” is a loose community of people who want to distance themselves from the hellscape of the contemporary, commercial Internet. This distancing might be by hosting your own, lightweight ad-free website, or using non-mainstream protocols like Gemini to interact with old-fashioned bulletin boards, or any number of other approaches.

If you just want to maintain your own website, there are many ways to do that at low cost. If you want to host your own Gemini capsule, or gopherhole, or Misfin mail server, you’ll need a platform to do it on. Because the small web/net is relatively quiet, and not a war-zone like the regular web, you might wonder whether it’s sensible to host these services yourself, rather than paying a commercial host. But wait: there are no commercial hosts for any of the small-net servers. So self-hosting is the only alternative to relying on the generosity of those folks who make their own facilities available to like-minded enthusiasts.

If you do want to self-host, your choices essentially amount to:

I’m going to argue that using a VPS is a better approach by far, even though it might cost a little money – because of the steamroller.

Self-hosting at home/work sounds superficially appealing. The low volume of small-net traffic means that you don’t even need a full-scale server – a single-board computer like a Raspberry Pi will almost certainly be adequate. A Pi 3B+, for example, is silent in operation, and only uses a couple of watts; the cost of running it 24/7 can be offset by, for example, making one fewer car journey each year.

Having the hardware nearby makes it easy to maintain and monitor and, apart from the trivial cost of the electricity, incurs no expense beyond the one-off purchase price.

On the other hand, even the cheapest VPS will cost you at least a little money, and it will be an ongoing expense. On the face of it, self-hosting in the home or office looks like a better bet.

But here’s the problem.

Self-hosting in your home or office amounts to extending the war-zone of the public Internet into your premises. Until you’ve tried this, you might not realize how hostile the Internet is, or the sheer number of automated hacking agents that will try to break your security. Almost within minutes of opening up the machine to the Internet – even a single port – you’ll see things probing it, looking for known security vulnerabilities.

If you’re technically sophisticated enough to consider running your own Gemini/gopher/whatever server in your home or office, I suspect you’ve got other stuff on your network – a NAS storage device, perhaps. Maybe a desktop computer or two. Almost certainly there’s a network path from your Raspberry Pi, or whatever you’re using to host your services, to whatever that equipment is. The kinds of Internet router sold for home and small business use are rarely sophisticated enough to allow multiple devices access to the Internet, whilst remaining isolated from one another.

It’s possible you have sensitive information on computing devices that can be reached from your Raspberry Pi (or whatever). Even if you don’t, these devices could be made to work against you if an intruder is able to insert malware onto them.

The kinds of server software you’ll be using to host small-net services is rarely battle-hardened like recent web servers are. I’m not saying this software is inexpertly written, merely that it hasn’t endured, and survived, decades of sustained hostility. Anything you run to serve Gemini, gopher, or the like will almost certainly have exploitable security weaknesses.

If you really have to do it, there are various ways to run software that is exposed to the Internet in a reasonably safe way.

If you take all these precautions, how big is the risk of your small-net hosting device being subverted, to the extent that it exposes the rest of your network to a threat? If you’ve set it up carefully, I’d suggest that the risk is small. Perhaps vanishingly small.

The steamroller bearing down on the pennies, however, is an intruder getting access to all your personal data, or impersonating you on the regular Internet. How small does the small risk have to be, before the reward of taking it is worthwhile?

You can rent a basic VPS for about $1 a month. Yes, one dollar. For that money you’ll get, perhaps, a server running Ubuntu Linux with 2Gb of RAM. It will be, broadly speaking, like running a Raspberry Pi 3 in the cloud.

Now, I concede that a saving of $1 per month is more than a few pennies. For me, though, this saving is far from an adequate reward, for taking the risks that home/office hosting creates, as tiny as they might be.


Have you posted something in response to this page?
Feel free to send a webmention to notify me, giving the URL of the blog or page that refers to this one.