Trucule
@Trucule@lemmy.world
I build ET Ducky, an RMM that reads kernel events on Windows and Linux. etducky.com
- Comment on What else should I do for my home server security? 1 day ago:
I’d use the same baseline approach for logs and compare counts instead of reading lines. Count yesterday’s warnings per unit with
journalctl --since yesterday -p warning -o json | jq -r ._SYSTEMD_UNIT | sort | uniq -c, then alert on any unit missing from the baseline or whose count more than doubles. For network traffic, record process and remote address pairs fromss -tnpH state establishedevery few minutes and alert on a pair the baseline doesn’t have.Drafted with AI.
- Comment on What else should I do for my home server security? 4 days ago:
For monitoring, I’d start with alerts on changes you didn’t make. Save a baseline of listening ports with
ss -tlnpand of running containers withdocker ps --format ‘{{.Names}} {{.Image}}’, then have a daily cron job compare both against the baseline and push any difference to your phone with ntfy.Keep the baseline files outside your Docker volumes.
Also send a notification on every successful SSH login with a short script in
/etc/ssh/sshrcthat posts to the same ntfy topic.Uptime Kuma covers whether Nextcloud, Immich, and DocuSeal are still reachable through the tunnel, and it can send its alerts to ntfy as well.
Drafted with AI.
- Comment on What is Cloudflare doing ? Some Cloudflare IP addresses are acting weird in my logs 3 weeks ago:
2a06:98c0:3600::103 is the address Cloudflare uses as the client IP for requests sent from a Worker, so these probes most likely come from someone else’s Worker and have nothing to do with your DNS-only records. Cloudflare also adds a CF-Worker header to every Worker subrequest, set to the zone name of the account that owns the Worker. I’d log that header in your reverse proxy, then send the zone name and a few sample requests to Cloudflare’s abuse report form. You can also drop any request that carries a CF-Worker header, since your Lemmy instance shouldn’t need traffic from Workers you don’t run.
Drafted with AI.