r/linuxadmin • • 14h ago

Follow-up: I built the "Linux time travel" tool I asked about here. Looking for people to try it

4 Upvotes

About a month ago I asked here if a tool to see ps, ss or lsof output at a past moment was worth building:

https://www.reddit.com/r/linuxadmin/comments/1wyhwfe/is_a_linux_time_travel_tool_worth_building/

I got some fair pushback (sar, atop, below, Prometheus, zabbix) and a few people who were curious. I looked at all of them. They cover a lot, but none of them could tell me which process had which connections open, or what lsof showed for a process at 02:45 last night. So I built it, mostly to find out if it could be done without hurting the server.

I wanted to name it "command line time travel" but then a though about the consequences of such a name and It's called clifr instead (command line flight recorder) and has two parts:

  • clifrd runs as a service and records processes, process starts and exits (through eBPF, so a process that lives 5 ms still shows up), TCP connections with the process that owns them, files held open, mounts, kernel messages and the usual system counters. It keeps 72 hours in /var/lib/clifr, 2 GB max.
  • clifr rebuilds the output of the normal commands for a past moment or a time range. It doesn't run the command, it rebuilds the output from the recording.clifr --at "02:45" "ps aux" clifr --since "02:00" --until "03:00" "ss -tanp dst 10.0.4.21 and dport = :5432" clifr --since "1 hour ago" events # starts, exits, OOM kills, mounts clifr diff --at "14:00" --at "14:20" "ss -ltnp"

There are about 40 commands so far: ps, top, pidstat, lsof, ss, netstat, free, vmstat, iostat, mpstat, df, ip, dmesg, systemctl list-units, lsblk, and more and all are 100% accurate.

The first thing people asked last time was the cost, so here are the numbers:

Quiet serverMixed loadBusy server
CPU0.35% of one core0.5-0.6% of one core1.9% of one core
RAM~90 MiB~80-120 MiB~290 MiB (335 max)
Disk~`20 MiB/day~100 MiB/day~4 GiB/day
Networknone, no ports opennonenone

Disk use depends heavily on how busy the server is.

clifr is not a monitoring tool and has no alerts. It's not a security audit tool either: it doesn't record file reads or writes, and root can stop it. It's for the "what was going on at 02:45" question, after the fact.

Status: it's a prototype, version 0.1.0. It hasn't run on a real production server yet (a friend starts one this week), and all the load has been synthetic. AGPL-3.0, no telemetry, nothing leaves the box.

So if you have a test or dev box (RHEL 8/9, Rocky, Alma), I'd really appreciate it if you tried it and told me what breaks or what looks wrong. The most useful thing for me is comparing what clifr shows with what you know was really happening.

curl -LO https://github.com/jlruedab/clifr/releases/download/v0.1.0/clifrd-0.1.0-1.x86_64.rpm

curl -LO https://github.com/jlruedab/clifr/releases/download/v0.1.0/clifr-0.1.0-1.x86_64.rpm

sudo dnf install ./clifrd-0.1.0-1.x86_64.rpm ./clifr-0.1.0-1.x86_64.rpm

sudo systemctl enable --now clifrd

# wait a few minutes, then:
clifr --at "5 minutes ago" "ps aux"

Repo, with an install guide, a user guide with use cases, and all the benchmark numbers:

https://github.com/jlruedab/clifr

And thanks to everyone who commented on the first post, including the harsh ones. It made this better.


r/linuxadmin • • 1h ago

I built a free, open-source Chrome extension that sounds an alarm the moment a new Zabbix problem appears (v0.6.0)

Thumbnail gallery
0 Upvotes

r/linuxadmin • • 5h ago

Our designer had to call me on vacation to add one domain

0 Upvotes

Hey all, I was on a beach in Greece when our designer called: a client's landing had to go live and of course only I know which of our 11 VPS it belongs on. I need something so the two non-admins can add a domain or check a cron job without SSH. Right now I'm looking at multi-server management tools like Webmin, Termix and BeAdmin. Anyone running a server control panel across a fleet like this? Did it help?


r/linuxadmin • • 30m ago

AI made pwning small shops basically free, so "we're too small to be a target" is dead imo

Thumbnail reddit.com
0 Upvotes

r/linuxadmin • • 22h ago

WizTree now available for Linux

Thumbnail reddit.com
4 Upvotes

r/linuxadmin • • 10h ago

Java4Shell (CVE-2026-114938) is confirmed and patched. Raspberry Pi/ARM is safe, here's a 10-second check for x86 boxes

Thumbnail arelvox.com
47 Upvotes

The "unconfirmed OpenJDK RCE" from yesterday is now confirmed by OpenJDK and patched by Oracle. Short version for self-hosters:

What: heap overflow in Java's hardware-accelerated Base64 decoder. Calif showed pre-auth RCE with default configs on Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate.

You need ALL of these to be exposed:

- Java 17.0.6+, 21, 25 or 27 (any vendor: Temurin, Corretto, Zulu...). Java 11 and normal Java 8 are fine.

- x86-64 CPU with AVX-512 VBMI (Intel Ice Lake Xeon+, AMD Zen 4+). ARM / Raspberry Pi is NOT affected.

- Untrusted Base64 reaching the decoder (Basic auth, JWTs, uploads...).

Check your CPU (all 4 flags = affected):

grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'

Check Java inside containers, not just the host:

docker exec -it CONTAINER java -version

Fix: Oracle builds ending in .1 (17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1); other vendors are rolling out. Until then, -XX:-UseBASE64Intrinsics stopped the overflow in every tested version (needs a restart/recreate). Don't use -XX:DisableIntrinsic=_base64_decodeBlock on its own, it stops the JVM from starting.

No exploitation in the wild reported yet, and VulnCheck says full RCE needs per-app work, but crashing a JVM is easy.


r/linuxadmin • • 18h ago

What do hiring teams mean by "python automation" in Linux deployment and configuration context

25 Upvotes

Hello,

Ive been looking at job postings and I see often they say python automation. The roles are infra, linux, systems engineer, etc.. What exactly do employers mean when they say python automation in this context?

From my experience for automating deployments on bare metal youd use things like poe, wal, pxe, for virtual/cloud terraform, for images packer, for configuration ansible and bash, etc.. Where exactly does python fit in?

Can you give some examples of workflows where python can be beneficial to automate (particularly in a linux related context).

Or do they mostly mean developing internal tooling that provides some custom functionality (or perfomance benefit vs bash) which the above tools lack of?


r/linuxadmin • • 3h ago

NGINX patches a critical HTTP/2 flaw that Ikotas Labs calls NGINX2Shell

Thumbnail runtimewire.com
39 Upvotes