Integration: Syslog

What Was Done, Kept Out of Reach of Whoever Did It

Started with --audit-syslog, qKVM sends each entry of its activity log to a syslog collector as it writes it: who signed in, what was changed, what was done to which machine. What a collector of yours keeps is out of reach of whoever did it.

What the Collector Gets

RFC 5424, JSON inside

Each entry as JSON in the message: the time, the event, the address it came from, the account, and the machine it concerned.

With its place in the chain

Every line carries n, prev and mac, so what a collector keeps is the head of every line.

An edit shows

With heads kept elsewhere, even a log written anew with the wall's own key shows when it is checked against them.

Nobody waits for it

Nothing in qKVM waits for the collector. The files in the data folder stay the record.

Set It Up

  1. A collectorA host name, host:port, or tcp://host:port.
  2. Start qKVMqkvm --audit-syslog collector.example
  3. Guard the pathThe transport is UDP or TCP without encryption: use a protected local relay for TLS, or a protected management network.
  4. Check against itpython -m qkvm.checklog --heads FILE holds the log to the lines syslog kept.

Good to Know

What is written
Sign-ins and sign-outs, wrong passwords and codes, every change of the settings, accounts, tokens and machines, every action on a machine, live views and how long they were open, keyboard and mouse taken and given back, alerts, exports and imports.
Never written
A password, a key pressed, or a text that was typed.
Missed entries
An entry the collector was not there for is not sent again; the files keep it.
Other collectors
Filebeat, Vector or Promtail can follow the files in the data folder.
Daily seal
An alert destination with Daily seal of the activity log ticked is sent qKVM activity log seal: line N head H once a day: one more head kept outside.
What it cannot show
Somebody who holds the data folder and the vault key together can write the log anew and sign it. Only heads kept outside the wall, such as the collector's, show that.