Strongswan erweitertes Logging

Aus Xinux Wiki
Version vom 28. September 2022, 10:22 Uhr von Thomas.will (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=in /etc/strongswan.conf= <pre> charon { load_modular = yes filelog { charon { path = /var/log/charon.log time_fo…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

in /etc/strongswan.conf

charon {
        load_modular = yes
        filelog {
        charon {
           path = /var/log/charon.log
           time_format = %b %e %T
           append = yes
           ike_name = yes
           ike = 1
           enc = 1
           cfg = 2
           default = 0
           flush_line = yes
       }
        stderr {
            ike = 2
            knl = 3
        }
        }
      plugins {
                include strongswan.d/charon/*.conf
        }
}
include strongswan.d/*.conf


restart

  • ipsec restart