[strongSwan-dev] gdb and IPsec does not seem to work

Martin Willi martin at strongswan.org
Mon Sep 9 09:57:33 CEST 2013


Hi Sebastian,

> ipsec start --attach-gdb
> 
> Unfortunately, whenever I press ctrl+c to interrupt charon, things go bad

--attach-gdb is useful to catch startup segfaults and the like, but
certainly makes interaction more complicated. Usually it might be
simpler to attach gdb manually once charon is up, for example by calling
"gdb /path/to/charon `cat /var/run/charon.pid`".

Regards
Martin





More information about the Dev mailing list