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.
**beep ** bop.
- 0 Posts
- 8 Comments
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.
farcaller@fstab.shto
Selfhosted@lemmy.world•How do people handle authoritative DNS redundancy for their self-hosted workloads?English
3·12 days agoFirst 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).
farcaller@fstab.shto
Selfhosted@lemmy.world•How do people handle authoritative DNS redundancy for their self-hosted workloads?English
2·12 days agoBGP 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.
I’d suggest VictoriaMetrics over pure Prometheus - better ram footprint is pretty useful nowadays.
farcaller@fstab.shto
Technology@lemmy.world•NSA is sabotaging cryptographic standards to weaken it. Act now to stop it.English
171·3 months agoYou probably want to mention that some prominent cryptographers think this just astroturfing?
farcaller@fstab.shto
Selfhosted@lemmy.world•An LLM prompt for finding silently-broken backups in your homelab (full prompt + example output)English
13·4 months agoOr you could, idk, have some metrics. That’s a wild idea, of course. Who uses monitoring when you can just ask an LLM?
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.