Strongswan erweitertes Logging: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=in /etc/strongswan.conf= <pre> charon { load_modular = yes filelog { charon { path = /var/log/charon.log time_fo…“)
 
Zeile 28: Zeile 28:
  
 
</pre>
 
</pre>
restart
+
*systemctl restart ipsec
*ipsec restart
+
oder
 +
*systemctl restart strongswan

Version vom 28. September 2022, 10:23 Uhr

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


  • systemctl restart ipsec

oder

  • systemctl restart strongswan