farcaller
@farcaller@fstab.sh
- Comment on how do you manage your server? 20 hours ago:
nixos, mostly. It has a very steep learning curve but if it breaks I’m just “whatever, rollback now, fix properly later”.
- Comment on nftables: Can't ping my own server 1 week ago:
I actually don’t remember off the top of my head, huh. The output chain is not the one I use often. I’d think
nft add rule tracing filter output ip protocol icmp icmp type echo-reply meta nftrace set 1would do it. Just make sure the priority is low enough again. - Comment on Local homeserver suddenly not responsive to SSH but can be pinged 1 week ago:
systemd will try to save any kernel panics in pstore via systemd-pstore, if it’s enabled in your kernel. I’d check
/var/lib/systemd/pstoreand see if anything in there on the next boot.Can you elaborate on ping “running”? Do you get actual icmp replies coming back? Because there’s no code path I can imagine where a ping would cause hdd activity (on a normally running system).
If ssh times out (and you don’t do anything fancy with the firewall), then it’s not sshd dead, it’s sshd not being able to respond. Grab a tcpdump for dst port 22 from your local machine while RPi is stuck and see if you get any replies whatsoever or it’s just retransmits going into the void.
My first rough suspicion would be ram abuse. Something eats up all ram and the system locks up and semi-dies. Pstore would have OOMs. You could run a local script for telemetry recording too to see if ram use spikes up before the system gets unresponsive.
- Comment on nftables: Can't ping my own server 1 week ago:
It is accepted just fine then. You might want to check the reverse, start in top of the output chain and trace the echo reply.
- Comment on nftables: Can't ping my own server 1 week ago:
nftables offers a very decent debugging interface. First, you add a rule to trace the packet (a new chain with high priority works best). Usually I’d suggest to add those rules by hand instead of relying on declarative configs:
nft add table ip ping_trace nft 'add chain ip ping_trace prerouting { type filter hook prerouting priority -301; policy accept; }'
Then you add the actual tracing rule there with the shape to match the incoming traffic:
nft 'add rule ip ping_trace prerouting icmp type { echo-request, echo-reply } meta nftrace set 1'now you can run
nft monitor traceand see the decisions made for the matching packets. Remember to delete the ping_trace table afterwards to clean up. - Comment on How do people handle authoritative DNS redundancy for their self-hosted workloads? 3 weeks ago:
First on how to get an ASN: you can buy it for reasonably cheap from a LIR. Some will even toss a free /48 with that. Happy to offer names in private so that there’s no advertising. Expect a budget quoted above.
Once you have an ASN, you need to get an upstream - actually two as RIPE mandates at least two (otherwise why’d you need an ASN). Some LIRs would offer transit with ASN purchase. You can upstream via your ISP, if they allow you to (that’s very rare). Another option is a tunnel (there are free and paid ones) or a VM somewhere (some cloud providers offer to set up bgp with VMs they host). Generally, free ones are enough for basic stuff. Not much bandwidth and oftentimes IPv6 only, but you don’t pay anything either. Besides, you can ask around in various network related chats. Practically, I can offer ip transit with some marginally low burstable bandwidth, and that’s pretty common. You can look/ask around https://discord.gg/ipv6 for example.
For getting ASN to your homelab you’re looking at a tunnel option, most probably. Great if you have static ipv4 - allows you to use more common tunnels, but is still doable with a floating IP (e.g. check bgptunnel).
- Comment on How do people handle authoritative DNS redundancy for their self-hosted workloads? 3 weeks ago:
BGP anycast person here. If you have any presence in the region RIPE operates in then the pricing is within the homelab reach. ASN and a block of /48 would be about 70 EUR/year.
Alternatively, something like route64 would happily tunnel you IPs they announce for about 2 EUR/month.
- Comment on Observability 5 weeks ago:
I’ve used VM in my homelab for a while - it’s genuinely a smaller ram footprint, especially on the ingress path. You can even scale query separately if required.
- Comment on Observability 5 weeks ago:
I’d suggest VictoriaMetrics over pure Prometheus - better ram footprint is pretty useful nowadays.
- Comment on Those who are hosting on bare metal: What is stopping you from using Containers or VM's? What are you self hosting? 11 months ago:
I’ll chime in: simplicity. It’s much easier to keep a few patches that apply to local OS builds: I use Nix, so my Mastodon microVM config just has an extra patch line. If there’s a new Mastodon update, the patch most probably will work for it too.
Yes, I could build my own Docker container, but you can’t easily build it with a patch (for Mastodon specifically, you need to patch js pre-minification). It’s doable, but it’s quite annoying. And then you need to keep track of upstream and update your Dockerfile with new versions.