Commit Graph

50 Commits

Author SHA1 Message Date
oysteikt 51d1fb1ffb rwhod: react to audit pam events to broadcast updates
Build and test / build (push) Successful in 1m40s
Build and test / test (push) Successful in 2m1s
Build and test / check (push) Successful in 2m22s
Build and test / docs (push) Successful in 5m13s
Listen to read-only audit packets from the kernel to react on user
logins/logouts. This way, we can immediately notify other machines on
the network whenever there is a change to the user session list.
2026-07-21 02:04:07 +09:00
oysteikt 026c19acc7 roowhod: move config normalization to config.rs
Build and test / build (push) Successful in 1m45s
Build and test / test (push) Successful in 2m19s
Build and test / check (push) Successful in 2m30s
Build and test / docs (push) Successful in 4m8s
2026-07-20 23:46:37 +09:00
oysteikt 4373eec6b5 rwhod: put max cap on status update storage
Without a max cap, someone could potentially flood our memory by posting
tons and tons of spoofed status updates.
2026-07-20 23:42:02 +09:00
oysteikt 536b0c4b54 rwhod: allow configuring packet send interval 2026-07-20 23:42:01 +09:00
oysteikt d67aaba58f rwhod: let users specify user-idle/machine-down timeouts 2026-07-20 20:57:21 +09:00
oysteikt 59621048f8 rwhod: implement packet sender if filtering 2026-07-20 20:57:21 +09:00
oysteikt a89deefceb {flake.lock,Cargo.*}: bump
Build and test / check (push) Successful in 1m12s
Build and test / build (push) Successful in 1m40s
Build and test / test (push) Successful in 2m12s
Build and test / docs (push) Successful in 6m20s
2026-07-20 17:29:29 +09:00
oysteikt a6a1bd2324 fingerd/local_email: write tests
Build and test / check (push) Successful in 1m8s
Build and test / build (push) Successful in 1m38s
Build and test / test (push) Successful in 1m54s
Build and test / docs (push) Successful in 4m46s
2026-06-24 13:27:40 +09:00
oysteikt 41d00321d5 ruptime: fix --all flag behaviour, move filtering to server
Build and test / check (push) Successful in 1m6s
Build and test / build (push) Successful in 1m38s
Build and test / test (push) Successful in 3m10s
Build and test / docs (push) Successful in 3m41s
2026-06-24 13:09:35 +09:00
oysteikt 21945c73ab {rwhod,fingerd}: disable varlink endpoints according to config 2026-06-24 12:55:24 +09:00
oysteikt 4af04d7dd6 {rwhod,fingerd}: add ignore-user lists 2026-06-24 12:55:24 +09:00
oysteikt b8b4d8dcc0 rwhod: warn incoming packets with weird timestamp orders 2026-06-24 12:53:45 +09:00
oysteikt 736a962257 rwhod: filter idle users and down hosts serverside 2026-06-23 17:09:17 +09:00
oysteikt a7c678ce22 fingerd: mark X ttys as non-writable and non-idle 2026-05-13 00:39:11 +09:00
oysteikt 11b97cb1b9 proto/finger: add classic formatter, split up parser 2026-04-30 22:00:20 +09:00
oysteikt be07298867 fingerd: add raw user response variant
Build and test / check (push) Successful in 1m34s
Build and test / build (push) Successful in 1m41s
Build and test / test (push) Successful in 2m4s
Build and test / docs (push) Successful in 3m19s
2026-04-29 06:22:20 +09:00
oysteikt 02279a9225 finger: add (but don't implement) --raw flag
Build and test / check (push) Successful in 1m3s
Build and test / build (push) Successful in 1m32s
Build and test / test (push) Successful in 2m3s
Build and test / docs (push) Successful in 3m28s
2026-04-29 06:12:14 +09:00
oysteikt ff38ea3a35 fingerd: demote local email parsing logs to trace level
Build and test / check (push) Successful in 1m4s
Build and test / build (push) Successful in 1m31s
Build and test / test (push) Successful in 1m52s
Build and test / docs (push) Successful in 4m6s
2026-04-29 06:03:42 +09:00
oysteikt a3aae2b28b bin/roowhod: configure loglevel via config file, use journald protocol 2026-04-29 06:03:11 +09:00
oysteikt 448ce6e500 server/rwhod: split into several files
Build and test / check (push) Successful in 1m3s
Build and test / build (push) Successful in 1m41s
Build and test / test (push) Successful in 1m50s
Build and test / docs (push) Successful in 3m20s
2026-04-29 05:22:01 +09:00
oysteikt b9b5fa5735 fingerd: add basic mailbox parsing functionality 2026-04-29 05:22:00 +09:00
oysteikt e741dfd3c1 fingerd: don't nest utmp entry requests
Build and test / check (push) Successful in 1m33s
Build and test / build (push) Successful in 1m42s
Build and test / test (push) Successful in 1m48s
Build and test / docs (push) Successful in 3m32s
2026-04-28 21:08:28 +09:00
oysteikt 3873c3a995 roowhod: add timeout to all actions
Build and test / check (push) Successful in 1m3s
Build and test / build (push) Successful in 1m41s
Build and test / test (push) Successful in 1m51s
Build and test / docs (push) Successful in 3m17s
2026-04-27 17:00:58 +09:00
oysteikt e5f1615f75 finger: add basic implementation for fetching utmp users
Build and test / check (push) Successful in 1m0s
Build and test / build (push) Successful in 1m38s
Build and test / test (push) Successful in 2m2s
Build and test / docs (push) Successful in 3m45s
2026-04-27 16:06:50 +09:00
oysteikt 023aefff20 finger: debug logging serverside
Build and test / check (push) Successful in 1m24s
Build and test / build (push) Successful in 1m31s
Build and test / test (push) Successful in 1m56s
Build and test / docs (push) Successful in 3m35s
2026-04-23 20:53:24 +09:00
oysteikt 9cd1d0fe83 finger: dedup results 2026-04-23 20:53:24 +09:00
oysteikt 27634288c0 treewide: cargo fmt 2026-04-23 19:04:34 +09:00
oysteikt 5f8fc7944b finger: provide server with more arguments
Build and test / check (push) Failing after 45s
Build and test / build (push) Successful in 1m40s
Build and test / test (push) Successful in 2m6s
Build and test / docs (push) Successful in 3m58s
2026-04-23 16:07:53 +09:00
oysteikt 92f77bfaff finger: implement basic fuzzy search mechanism 2026-04-23 15:34:23 +09:00
oysteikt f1eced9e23 flake.lock, Cargo.{toml,lock}: bump deps 2026-04-23 14:12:15 +09:00
oysteikt 9361dcf941 fingerd: read homedir files, read gecos fields
Build and test / check (push) Successful in 1m12s
Build and test / build (push) Successful in 1m49s
Build and test / test (push) Successful in 2m59s
Build and test / docs (push) Successful in 3m19s
2026-02-13 01:14:19 +09:00
oysteikt 97e359004b fingerd: respect ~/.nofinger
Build and test / check (push) Successful in 1m6s
Build and test / test (push) Successful in 2m9s
Build and test / build (push) Successful in 2m21s
Build and test / docs (push) Successful in 3m34s
2026-02-12 13:20:26 +09:00
oysteikt 2c646af236 fingerd: use structs from proto, fix clippy lints
Build and test / build (push) Successful in 1m37s
Build and test / check (push) Successful in 1m50s
Build and test / test (push) Successful in 2m10s
Build and test / docs (push) Successful in 3m10s
2026-02-12 11:05:05 +09:00
oysteikt 9c6a0dec2f fingerd: move parsing logic to proto, add support for more fields 2026-02-12 10:23:11 +09:00
oysteikt 8697809974 Add some tests for running basic server functionality
Build and test / check (push) Failing after 1m9s
Build and test / build (push) Successful in 1m34s
Build and test / test (push) Successful in 1m58s
Build and test / docs (push) Successful in 3m28s
2026-02-09 11:12:06 +09:00
oysteikt a5e5235c56 fingerd: fix a lot of parsing issues
Build and test / check (push) Failing after 1m31s
Build and test / test (push) Successful in 2m17s
Build and test / build (push) Successful in 2m28s
Build and test / docs (push) Successful in 4m18s
2026-02-09 10:53:58 +09:00
oysteikt 6ca9e0ced1 A bunch of work on finger
Build and test / check (push) Failing after 42s
Build and test / build (push) Failing after 1m38s
Build and test / test (push) Failing after 1m40s
Build and test / docs (push) Failing after 2m56s
2026-02-08 22:03:29 +09:00
oysteikt 178c7314a4 server/varlink_api: prefix all types with Varlink
Build and test / build (push) Successful in 1m42s
Build and test / check (push) Successful in 1m44s
Build and test / test (push) Successful in 1m53s
Build and test / docs (push) Successful in 2m58s
2026-01-31 13:10:24 +09:00
oysteikt de296f20d9 server/varlink_api: register finger api 2026-01-31 13:07:40 +09:00
oysteikt 23b163e828 flake.lock: bump, Cargo.{toml,lock}: update inputs
Build and test / check (push) Successful in 1m16s
Build and test / build (push) Successful in 1m59s
Build and test / test (push) Successful in 2m0s
Build and test / docs (push) Successful in 4m14s
2026-01-25 16:14:26 +09:00
oysteikt 6c3a9e9e12 server: deduplicate rwhod entries by hostname, misc cleanup
Build and test / check (push) Successful in 1m5s
Build and test / test (push) Successful in 1m47s
Build and test / build (push) Successful in 1m59s
Build and test / docs (push) Successful in 3m18s
2026-01-09 04:58:20 +09:00
oysteikt dfa0f5a406 server: split off varlink-related code to separate module
Build and test / check (push) Failing after 40s
Build and test / build (push) Successful in 1m37s
Build and test / test (push) Successful in 1m56s
Build and test / docs (push) Successful in 3m47s
2026-01-09 04:47:19 +09:00
oysteikt 83437588c9 rwho: format output
Build and test / check (push) Failing after 59s
Build and test / build (push) Successful in 1m58s
Build and test / test (push) Successful in 2m1s
Build and test / docs (push) Successful in 2m57s
2026-01-06 01:15:58 +09:00
oysteikt 7d11f143b0 cargo fmt + clippy
Build and test / check (push) Successful in 57s
Build and test / build (push) Successful in 1m32s
Build and test / test (push) Successful in 3m1s
Build and test / docs (push) Successful in 2m59s
2026-01-05 18:26:28 +09:00
oysteikt bf39ca5c9b server: add basic config file
Build and test / check (push) Failing after 57s
Build and test / build (push) Failing after 1m29s
Build and test / test (push) Failing after 1m36s
Build and test / docs (push) Has been cancelled
2026-01-05 18:16:35 +09:00
oysteikt 0defac7a9f server/rwhod: varlink shenanigans
Build and test / check (push) Failing after 1m19s
Build and test / build (push) Successful in 1m24s
Build and test / test (push) Successful in 2m47s
Build and test / docs (push) Successful in 3m2s
2026-01-05 16:48:06 +09:00
oysteikt b9f1ec5b79 proto/rwhod: combine load averages into tuple
Build and test / check (push) Successful in 55s
Build and test / build (push) Successful in 1m23s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
2026-01-05 02:40:38 +09:00
oysteikt 50665fe07b server/rwhod: add both sender and receiver task
Build and test / check (push) Failing after 57s
Build and test / build (push) Successful in 1m12s
Build and test / test (push) Failing after 2m4s
Build and test / docs (push) Failing after 2m15s
2026-01-05 01:18:59 +09:00
oysteikt dabc54a943 proto/rwhod: improve de/serialization and datatypes 2026-01-05 00:17:04 +09:00
oysteikt 8436bffce0 Progress towards implementing the rwho server
Build and test / check (push) Failing after 1m7s
Build and test / build (push) Successful in 1m12s
Build and test / docs (push) Failing after 1m52s
Build and test / test (push) Has been cancelled
2026-01-04 17:09:00 +09:00