@@ -57,12 +57,12 @@ $ cp $(rpm -ql kernel-devel | grep '/vmlinux.h$' | tail -1) agent/src/bpf
5757$ sudo groupadd crypto-auditing
5858$ sudo useradd -g crypto-auditing
5959```
60- 2 . Modify systemd configuration for agent in ` /lib/systemd/system/crypto-auditing -agent.service ` :
60+ 2 . Modify systemd configuration for agent in ` /lib/systemd/system/crau -agent.service ` :
6161``` ini
6262User =crypto-auditing
6363Group =crypto-auditing
6464```
65- 3 . Modify systemd configuration for event-broker in ` /lib/systemd/system/crypto-auditing -event-broker.socket ` :
65+ 3 . Modify systemd configuration for event-broker in ` /lib/systemd/system/crau -event-broker.socket ` :
6666``` ini
6767SocketUser =crypto-auditing
6868SocketGroup =crypto-auditing
@@ -76,13 +76,13 @@ user = "crypto-auditing:crypto-auditing"
76765 . Enable agent and event-broker
7777``` console
7878$ sudo systemctl daemon-reload
79- $ sudo systemctl start crypto-auditing -agent.service
80- $ sudo systemctl start crypto-auditing -event-broker.socket
79+ $ sudo systemctl start crau -agent.service
80+ $ sudo systemctl start crau -event-broker.socket
8181```
82826 . Connect to event-broker with client
8383``` console
84- $ crypto-auditing -client --scope tls --format json
85- $ crypto-auditing -client --scope tls --format cbor --output audit.cborseq
84+ $ crau -client --scope tls --format json
85+ $ crau -client --scope tls --format cbor --output audit.cborseq
8686```
87877 . On another terminal, run any commands using the instrumented library
8888``` console
@@ -96,9 +96,9 @@ $ gnutls-cli --x509cafile=doc/credentials/x509/ca.pem localhost -p 5556 --priori
9696
9797In the above example, client stores logs as a sequence of
9898CBOR objects, which can be parsed and printed as a tree with the
99- ` crypto-auditing -log-parser` executable:
99+ ` crau -log-parser` executable:
100100``` console
101- $ crypto-auditing -log-parser audit.cborseq
101+ $ crau -log-parser audit.cborseq
102102[
103103 {
104104 "context": "33acb8e6ccc65bb285bd2f84cac3bf80",
@@ -195,7 +195,7 @@ From the tree output, a flamegraph can be produced with the
195195` scripts/flamegraph.py ` :
196196
197197``` console
198- $ crypto-auditing -log-parser audit.cborseq | python scripts/flamegraph.py -
198+ $ crau -log-parser audit.cborseq | python scripts/flamegraph.py -
199199dumping data to flamegraph.html
200200```
201201
0 commit comments