[strongSwan] How do dump additional data during IKEv2 AUTH verification

Tobias Brunner tobias at strongswan.org
Tue Sep 18 21:49:34 CEST 2012


Hi Dennis,

> Correct, i do not see the output as you show below the line I
> presented.
>
> I'm running with strongswan 5.0.0.

Ah yes, there was a bug in 5.0.0 where multi-line log messages would
only get logged completely in the first registered logger.  In your case
with the following in strongswan.conf

>         filelog {
>             /var/log/charon.log {
>             ...
>             default = 4
>             }
>
>             stderr {
>             ...
>             ike = 4
>             ...
>             }
>           }

only one of these would log the complete message whereas the other only
logs the first line.  As a workaround, you could comment out one of
these (or reduce the log level below 3 for one).  Alternatively, you
could either use the current developer release for 5.0.1 [1], or apply
the patch at [2].

Regards,
Tobias

[1] http://www.strongswan.org/download.html
[2] http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=d19f0ae3





More information about the Users mailing list