[strongSwan] Notification

ccsalway ccsalway at yahoo.co.uk
Thu May 3 07:07:42 CEST 2018


You can see the log messages in /var/log/syslog.  You can configure the logging further to create custom logs [1]

For no proposal, you should set CFG to 3

My config looks like the following

$ /etc/strongswan.d/charon-systemd.conf 
charon-systemd {
  filelog {
    /var/log/strongswan.log {
        time_format = %b %e %T
        flush_line = yes
        default = -1
        cfg = 5
    }
  }
}

And don’t forget to handle log rotation

$ /etc/logrotate.d/strongswan
/var/log/strongswan.log
{
  su root adm
  rotate 4
  daily
  missingok
  notifempty
  compress
  delaycompress
  copytruncate
}


[1] https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration <https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration>


> On 3 May 2018, at 00:49, Naveen Neelakanta <naveen.b.neelakanta at gmail.com> wrote:
> 
> Hi Noel, 
> 
> I am using the vici plugin to handle the events and configure the tunnels, however in case of errors like the "no proposal " or auth failure, can this information be retrieved from vici messages .
> 
> That will help a lot for debugging, if this is already present please point me to the information, Appreciate your response.  
> 
> Thanks,
> Naveen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20180503/0452a659/attachment.html>


More information about the Users mailing list