OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: philb on May 22, 2023, 04:54:44 PM

Title: [Resolved] No IPSEC logs
Post by: philb on May 22, 2023, 04:54:44 PM
I've read other threads in earlier versions of OPNSense that have seemed to broadly fall into;

I realised the system wasn't running the latest opnsense so I upgraded it, and the behaviour has persisted with OPNsense 23.1.7_3-amd64

Does anyone have any other ideas on what can cause the IPSEC logs to be completely blank and where I might start troubleshooting this?

Logging generally is working; openvpn logs are working, for example.
Title: Re: No IPSEC logs
Post by: philb on May 22, 2023, 05:02:36 PM
I have just noticed that when I restart strongswan, the General log adds the following:

2023-05-22T16:00:51   Notice   daemon   00[LIB] no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'

This seems... undesirable (and this despite having a P1 and a P2 configured).

How would I go about correcting this, assuming this is *not* expected behaviour?
Title: Re: No IPSEC logs
Post by: philb on May 22, 2023, 05:09:50 PM
...ok, so I guess this is my fault, because the default log view seems to be "Warning" messages only and I forgot to check other priorities.... which I only remembered *after* I went and dug around on the console and found /var/log/ipsec/latest.log did indeed have entries after all ::)