Page MenuHomeVyOS Platform

IPSec VPN: op-mode: "show log vpn" does not show results
Closed, ResolvedPublicBUG

Description

"show log vpn all" or "show log vpn ipsec" does not show any results . The backend script pulls the logs from messages file where no logs are written
The logs can be seen with journalctl command.
$ sudo journalctl -b | grep charon

vyos@vyos:~$ sudo journalctl -b | grep charon
Nov 05 08:33:04 vyos charon[1878]: 00[DMN] Starting IKE charon daemon (strongSwan 5.7.2, Linux 5.4.255-amd64-vyos, x86_64)
Nov 05 08:33:04 vyos charon[1878]: 00[CFG] PKCS11 module '<name>' lacks library path
Nov 05 08:33:05 vyos charon[1878]: 00[CFG] loading ca certificates from '/etc/ipsec.d/cacerts'
Nov 05 08:33:05 vyos charon[1878]: 00[CFG] loading aa certificates from '/etc/ipsec.d/aacerts'
Nov 05 08:33:05 vyos charon[1878]: 00[CFG] loading ocsp signer certificates from '/etc/ipsec.d/ocspcerts'
Nov 05 08:33:05 vyos charon[1878]: 00[CFG] loading attribute certificates from '/etc/ipsec.d/acerts'
Nov 05 08:33:05 vyos charon[1878]: 00[CFG] loading crls from '/etc/ipsec.d/crls'
Nov 05 08:33:05 vyos charon[1878]: 00[CFG] loading secrets from '/etc/ipsec.secrets'
Nov 05 08:33:05 vyos charon[1878]: 00[CFG]   loaded IKE secret for 10.217.80.94 10.217.80.110
vyos@vyos:~$ sh ver

Version:          VyOS 1.3.4
Release train:    equuleus

Built by:         Sentrium S.L.
Built on:         Fri 13 Oct 2023 12:10 UTC
Build UUID:       0b20543f-d1b6-49e5-b36b-95a069c63788
Build commit ID:  986c77ac08c552

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    eb8135f4-4c76-4203-be4e-c2dd51112195

Copyright:        VyOS maintainers and contributors

Details

Version
VyOS 1.3.4
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)