[strongSwan] regarding starter when logging option is used

rakesh bansod rakesh.bansod1209 at gmail.com
Wed Oct 16 12:43:37 CEST 2013

     whenever i try to use logging options in strongswan.conf. after 
starting the charon, it automatically recieves a sigint signal and it 
shows that it has stopped.
but when i see ipsec statusall it still works.
but as it has stopped in logs no further logs are recorded in file.
this problem occurs only when i use re-directed logging if i use normal 
default logging, everything works fine.
what could be the reason.

my strongswan.conf
charon {

         filelog {
                 /log/ipsec.log {
                         time_format = %b %e %T
                         default = 1
                 stderr {
                         ike = 2
                         dmn = 2
                         ike_name = yes

logs from file ipsec.log

Oct 16 15:58:14 00[DMN] Starting IKE charon daemon (strongSwan 5.1.0, 
Linux, i686)
------some more lines------
Oct 16 16:10:19 00[JOB] spawning 16 worker threads
Oct 16 16:10:19 11[CFG] received stroke: add connection 'net-1'
Oct 16 16:10:19 11[CFG] added configuration 'net-1'
Oct 16 16:10:19 13[CFG] received stroke: add connection 'host'
Oct 16 16:10:19 13[CFG] added child to existing configuration 'net-1'
Oct 16 16:11:50 02[CFG] received stroke: delete connection 'host'
Oct 16 16:11:50 02[CFG] deleted connection 'host'
Oct 16 16:12:04 00[DMN] signal of type SIGINT received. Shutting down

please see what could be the reason..

thank you

More information about the Users mailing list