Tail log files and/or systemd journal, similar to fail2ban #3

Closed
opened 2026-04-16 22:08:07 +00:00 by lafp · 2 comments
Owner

This might be an interesting thing to do as well (e.g. block attempts to log into ssh, do some kind of analysis that's not possible to do with configuration alone -- like detecting multiple requests to an endpoint within a certain timeframe).

This might be an interesting thing to do as well (e.g. block attempts to log into ssh, do some kind of analysis that's not possible to do with configuration alone -- like detecting multiple requests to an endpoint within a certain timeframe).
Author
Owner

Partially implemented to tail nginx logs.

Still need to look into journald.

Partially implemented to tail nginx logs. Still need to look into journald.
Author
Owner

We now tail the systemd journal (by piping into journalctl, which isn't ideal but I can't seem to find a native go package to read from the systemd journal; I need to continue looking, because I'm not writing that.)

We now tail the systemd journal (by piping into journalctl, which isn't ideal but I can't seem to find a native go package to read from the systemd journal; I need to continue looking, because I'm not writing that.)
lafp closed this issue 2026-04-25 14:02:00 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lafp/honeyblock#3
No description provided.