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 <[email protected]>
> 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