schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
New on the blog: a CA key you cannot copy.
My internal ACME CA is step-ca in a FreeBSD jail. Its signing key lives on a SmartCard-HSM the size of a SIM card and has never existed as a file.
Covered: chain design under an existing root, DKEK setup, a devfs ruleset that passes exactly one USB device into the jail, name policies, and a real restore test on a spare HSM.
https://hofstede.it/a-ca-key-you-cannot-copy-step-ca-a-smartcard-hsm-and-a-freebsd-jail/
Today in "You own nothing with a cloud SaaS service", a customer has had their asset management forcibly moved from site A to site B because B bought out A. They did a one-time sync.
While doing so, they reset important dates (e.g. disposal date) to the date of the sync, they lost all asset history/auditing and ignored all custom data such as device owner and operating system.
Support says "Contact your account manager" and "These are known problems".
I have a plan #selfhosting
OK, what's the current thinking in how to defend a self-hosted web server against the hordes of bots that make up most of the Internet now?
Is it enough to stick anubis in front of everything and call it done?
#indieweb #selfhosting
Android 17 Now Blocks App Access to Your Local Network
If your phone suddenly refuses to open your self-hosted Nextcloud, Jellyfin or router admin page, the network is probably fine. The phone is.
Starting with Android 17, apps built for SDK 37 or higher need a new runtime permission — ACCESS_LOCAL_NETWORK — before they can send a single packet to a local address.
Reports of broken homelab access have been appearing on selfhosted communities this week, from people who spent days chasing DNS and firewall ghosts that were never the problem.
The diagnosis is the ugly part. Google's documentation says a TCP connection blocked by the missing permission typically fails as a timeout rather than a permission error: no dialog, no readable log line, just a page that never loads.
UDP requests usually return EPERM instead, and for browsers Google points developers to android_getnetworkblockedreason(), an NDK call that separates a blocked local packet from a server that is simply down.
Legacy apps get a grace period. Anything still targeting SDK 36 or lower keeps an implicit grant as long as it holds INTERNET, and drops to blocked-by-default only when it rebuilds for API 37.
Expect the breakage to arrive app by app, over the coming months, on the same phone.
The reasoning behind the change is defensible. Google notes that any app holding INTERNET permission could previously reach every device on the house network — useful for building a fingerprint of the user, and a decent proxy for location.
Blocking that by default closes a door any app with a bundled network library could walk through unchallenged.
The cost is that opening your own server now depends on a permission buried in settings.
If a self-hosted app silently stops loading on Android 17, look for it under the app's permissions, allow nearby devices, and only then start checking the firewall.
📷 Simeon W from Wellington, New Zealand · CC BY 2.0 · Wikimedia Commons
🔗 Source: Android Developers
I moved my mail to @OpenBSDAms. Simple, OpenBSD-centric, and a clean network with like-minded people. How I checked the neighborhood: https://callemo.com/neighborhoods #OpenBSD #selfHosting
I spun up some cheap hardware on OVH today, and to my dismay, it didn't have web-based IPMI, just the old Java-based cruft. SuperMicro, ew.
Anyway, the neat thing I realized is that their rescue environment, which you can netboot, is vaguely recent Debian, and it has ZFS on it. This opens up a lot of possibilities, but mostly it meant I didn't need to try to upload an almost-two-gig live environment for a server install.
I wish the IPMI situation wasn't so grim, but man, cheap server, way more capacity than any VPS I'd find, and I can have easy root encryption.
littleFedi: reverse proxy and split domains
littleFedi can use one domain for account handles and another for the server. For example:
@alice@example.com is the address people follow.https://social.example.com serves the web interface, API, media and ActivityPub objects.You can keep your existing website on example.com. It only needs a rule that redirects WebFinger requests to the littleFedi domain.
Choose both domains before creating accounts. Changing them later changes the instance’s identity.
In littlefedi.toml, with the reverse proxy running on the same machine:
local_domain = "example.com"
web_domain = "social.example.com"
[http]
listen = "127.0.0.1:8080"
proxy_uri = "https://social.example.com"
trusted_proxies = ["127.0.0.1/32"]
If you already have an [http] section, edit it rather than adding another.
Point the DNS records for social.example.com at the reverse proxy. The server hosting example.com must also serve HTTPS. A DNS alias alone does not replace the WebFinger redirect.
Expose ports 80 and 443 on the proxy and keep port 8080 private. If the proxy runs on another machine, use a private listener address and trust only the proxy’s address.
Add this to your Caddyfile, replacing the example domains:
social.example.com {
reverse_proxy 127.0.0.1:8080
}
example.com {
redir /.well-known/webfinger https://social.example.com{uri} 302
}
Caddy handles certificates and the WebSocket connections used for streaming.
If example.com already has a site block, add only the redir line to that block and keep the existing website configuration.
Check the configuration before reloading Caddy:
caddy validate --config /etc/caddy/Caddyfile
This configuration belongs in nginx’s http context, usually through an included site file. Replace the domains and certificate paths with your own.
Install valid certificates and arrange automatic renewal before enabling the HTTPS servers.
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 80;
listen [::]:80;
server_name example.com social.example.com;
return 308 https://$host$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name social.example.com;
ssl_certificate /etc/letsencrypt/live/social.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/social.example.com/privkey.pem;
client_max_body_size 41m;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_read_timeout 1h;
proxy_buffering off;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
location = /.well-known/webfinger {
return 302 https://social.example.com$request_uri;
}
location / {
return 404;
}
}
If example.com already hosts a website, add only the WebFinger location to its existing HTTPS server block. Keep the website’s other rules instead of the return 404 shown above. If you already have the same map directive, do not add it twice.
Check the configuration before reloading nginx:
nginx -t
Use an existing local account, replacing alice with its username:
curl --fail -i 'https://example.com/.well-known/webfinger?resource=acct:alice@example.com'
The response should redirect to social.example.com, keeping the resource query parameter.
Then follow the redirect:
curl --fail -L 'https://example.com/.well-known/webfinger?resource=acct:alice@example.com'
The JSON should contain acct:alice@example.com as its subject, with an ActivityPub actor link at https://social.example.com/users/alice.
Finally, check a follow in both directions with another instance.
If account handles and the server use the same domain, only the reverse proxy is needed.
#git #selfHosting I've been using #soft-serve https://github.com/charmbracelet/soft-serve for ages, and will probably keep doing that, even though its now archived.
I'd like to have a simple read-only view though, that others can click and browse through, or link from.
Any recommendations for that? Something go or rust would be ideal.
Maybe I should add this as a feature to soft-serve, and fork it?
What happened with Outlook will happen again.
Before you jump to another host, consider #selfhosting.
In 2026 you can have a fast and secure mail server of your own, easy to admin & update without a compsci degree. One that is tightly-secured, supports all mail clients, has top delivery & encrypted storage. All under your control, & your domain.
If that sounds interesting, sign up:
https://courses.nikau.io/convoy
We'll pick a date as a group, & I'll guide you all through the build.
I've always appreciated the simplicity of the BSDs. Power, yes, but without unnecessary complexity.
BastilleBSD and vm-bhyve have been my trusted companions for many years. But whenever I used Linux, I missed them.
That's why, years ago, I started putting together a collection of shell scripts (and some Python, although to a much lesser extent) to create something somewhere in between.
A bit of Bastille, a bit of vm-bhyve, a bit of Proxmox: unprivileged Linux system containers and virtual machines, managed from the command line.
Live backups. And live restore: bringing a workload back online before all its data has finished copying from the backup. Multiple storage backends. Encryption at the storage or individual workload level. Different networks. Isolation of each workload (a bit like illumos zones), with additional layers of protection.
Each container has its own UID/GID mapping. VMs run under separate unprivileged identities, with namespaces, seccomp and resource limits adding further layers of protection.
Pull-based backups from external hosts, with different levels and types of encryption. With raw encrypted ZFS replication, the backup server doesn’t even need the decryption keys. Backups are pulled over SSH by an external server. The workload host holds no credentials to log in to that server.
It also runs on a 1 GB Orange Pi PC 2, where I’ve tested both containers and native ARM64 KVM guests. And on a Orange PI One, armv7 and 512MB, it can run some lxc containers without problems, from the SD, using f2fs.
Simple disaster recovery. Because after those 142 servers went up in flames in Strasbourg, disaster recovery became something I care a lot about.
Currently supported and tested on Alpine Linux, Debian 13 and Armbian. On Debian, LXC containers also run under enforcing AppArmor profiles, adding another layer of protection.
Few commands. Lots of power. And it's called "Jail It!"
I'm not going to release it, at least not for now. I need to focus on my other projects, and Jail It! still needs some cleaning up.
But it works. And it does its job very well.
For containers, there's absolutely nothing running in the background. For VMs, just a small Python helper. No continuously running services. You connect via SSH, run your commands, and that's it.
Still, for anyone curious enough to have a look, I've put together a short demo on Asciinema:
https://asciinema.org/a/BbwGs99U9UJDLAzZ
Well, "short" might be a bit of an exaggeration. It's quite long, but I think it's worth watching all the way to the end.
#Linux #LXC #KVM #FreeBSD #Virtualization #OwnYourData #BSD #SelfHosting #Homelab #SysAdmin #DisasterRecovery
#GitLab used to be a prime example of fine software engineering. This ceased to be the case when they jumped on the #vibecoding bandwagon.
I have been running a GitLab instance for my university for more than six years. Fortunately, we use the Communitiy Edition, so we are not affected by a large class of vulnerabilities and other bugs related to #GitLabDuo, their #slopcoding “AI” assistant.
However, GitLab increasingly fails at more basic tasks such as database migrations that come with new releases. If you self-host GitLab, you probably have to follow the following advice after upgrading to GitLab 19.4 or newer:
I hope I can switch to @forgejo soon.
#indyhosting #selfhosting #selfhosted #softwareForge #aislop
There has never been a better time to introduce young French people to the wonderful world of decentralized social networks and - optional - #selfhosting.
An accidental ad for the #Fediverse, exhibit A: https://www.politico.eu/article/french-government-mulled-blocking-social-network-amid-protests/
1/n OK about to start dipping my toes into the world of #selfhosting.
Reasons.
My disappointment with the new Mastodon web UI just reminds me of the many issues of using the "cloud", that is having your stuff on someone else's server.
My disappointment with those working on the new UI sound just like any other UX developer in a big oligarch owned company who are not going to go back or not make any significant improvements to their beloved concept.
As no-one is going to force them to.
Sigh, #salt is slop, and dropping features.
I've looked at https://www.rexify.org/ and I failed to find how it deals with secrets.
I guess I either switch to #puppet by way of #OpenVox, or unify my systems on #NixOS (and swallow linux sloppification). Sigh.
I just had a thought. Some people talk about #SelfHosting and #Homelabs as some prepper like thing for weird people. I want to change that, as it certainly doesn't reflect how I feel about my mailserver, my various web servers and other services I run myself.
And that's where the thought comes in. From now on I will call it:
#PersonalComputing instead (or again, depending on your age :)
Hi everyone from my littlefedi instance, this is my first test post with a media file.
This is one of my dogs when she was very young
Woke up to a compromise of my self-hosted #Plausible analytics server. Noticed only because a test Ghost server was responding slowly. Server CPU was near 100% and had been for about two weeks. From what I can tell, the attacker was doing bitcoin mining.
The compromise: https://github.com/plausible/analytics/security/advisories/GHSA-mhcv-h7gf-57cf
The fix was to update to Plausible CE 3.2.1, but required a bunch of cleanup first.
I’m glad it was a Docker container. That made cleanup so much easier.
#Selfhosting is a huge pain in the ass.
I love getting #TheOnion in print, but this time they’ve gone too far. I don’t know how they broke into my basement but I did not give them permission to use photos of my stuff in their mock ads.
#selfhosting #homelab