ALL

Solo para leer y verificar. No puedes copiar, usar, modificar ni redistribuir este código. Aviso completo en la página principal.

tunnel/deploy/journald-volatile.conf

SHA-256: 795499b78c47641779f2ded3ca2fc5cdf61d01a00c61b8f85b2eccabfebf69cd
12 líneas · 625 bytes · Ver en GitHub

1# journald drop-in for an ALL tunnel node: /etc/systemd/journald.conf.d/all-tunnel.conf (the design plan, section 5, "Higiene de logs").
2#
3# The journal lives in memory only. The node's own log lines carry no address, no name and no label (tunnel/loghygiene_test.go), and this makes sure
4# nothing else of the machine (sshd, the kernel, certbot) leaves a persistent trace either: a reboot or a rebuild starts with an empty journal.
5# What stays is bounded, so a flood cannot fill the disk or the RAM.
6[Journal]
7Storage=volatile
8RuntimeMaxUse=64M
9RuntimeMaxFileSize=8M
10MaxRetentionSec=3day
11ForwardToSyslog=no
12ForwardToWall=no