<div dir="ltr"><p class="" align="left"></p><p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Hello all,</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Did anyone else use </span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(0,0,102)">“</span><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">ipsec start --attach-gdb</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(0,0,102)">”</span><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)"> to debug the strongswan4.6.4? When I use that
command it show me such information as following:</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">===========================================</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">ipsec start --attach-gdb</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Starting strongSwan 4.5.2 IPsec [starter]...</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">!! Your strongswan.conf contains manual plugin load options
for</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">!! pluto and/or charon. This is recommended for experts
only, see</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">!!
<a href="http://wiki.strongswan.org/projects/strongswan/wiki/PluginLoad">http://wiki.strongswan.org/projects/strongswan/wiki/PluginLoad</a></span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">GNU gdb 6.5 Cavium Networks Version: 1_7_2, build 50</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Copyright (C) 2006 Free Software Foundation, Inc.</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">GDB is free software, covered by the GNU General Public
License, and you are</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">welcome to change it and/or distribute copies of it under
certain conditions.</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Type "show copying" to see the conditions.</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">There is absolutely no warranty for GDB. Type
"show warranty" for details.</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">This GDB was configured as
"mips64-octeon-linux-gnu"...Using host libthread_db library
"/lib64/libthread_db.so.1".</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)"> </span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">(gdb) charon too long to start... - kill kill</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Quit</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">(gdb) charon has died -- restart scheduled (5sec)</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)"> </span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">(gdb) run</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Starting program: /tmp/lib/libexec/ipsec/charon</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[DMN] Starting IKEv2 charon daemon (strongSwan 4.5.2)</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loading ca certificates from '/tmp/lib/etc/ipsec.d/cacerts'</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loading aa certificates from
'/tmp/lib/etc/ipsec.d/aacerts'</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loading ocsp signer certificates from
'/tmp/lib/etc/ipsec.d/ocspcerts'</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loading attribute certificates from
'/tmp/lib/etc/ipsec.d/acerts'</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loading crls from '/tmp/lib/etc/ipsec.d/crls'</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loading secrets from '/tmp/lib/etc/ipsec.secrets'</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loaded IKE secret for
<a href="mailto:home@debug.strongswan.org">home@debug.strongswan.org</a></span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loaded IKE secret for
*@<a href="http://debug.strongswan.org">debug.strongswan.org</a></span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] loaded IKE secret for %any</span><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)"> [tcsetpgrp failed in terminal_inferior:
Inappropriate ioctl for device]</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[CFG] HA config misses local/remote address</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">[tcsetpgrp failed in terminal_inferior: Inappropriate
ioctl for device]</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[DMN] loaded plugins: openssl random x509 pubkey hmac
xcbc stroke kernel-pfkey kernel-netlink eap-radius socket-default dhcp</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">00[JOB] spawning 1000 worker threads</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">charon (9083) started after 7880 ms</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">07[CFG] received stroke: add connection 'debug20110101'</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">07[CFG] added configuration 'debug20110101'</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">07[CFG] adding virtual IP address pool 'debug20110101':
<a href="http://66.6.31.0/24">66.6.31.0/24</a></span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">07[CFG] received stroke: add connection 'au-gw'</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">07[CFG] added configuration 'au-gw'</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)"> </span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">starter_stop_charon(): charon does not respond, sending
KILL</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">charon stopped after 8200 ms</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">ipsec starter stopped</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">===============================================</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>>(gdb) charon too long to start... - kill kill</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>> (gdb) charon has died -- restart scheduled
(5sec)</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>>Starting program:
/tmp/lib/libexec/ipsec/charon</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>> [tcsetpgrp failed in terminal_inferior:
Inappropriate ioctl for device]</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">I wonder whether such information was abnormal? How to
solve it ?</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">And if I enter ctrl-c button to stop the process it show
me such information</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>>starter_stop_charon(): charon does not
respond, sending KILL</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>>charon stopped after 8200 ms</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">>>>ipsec starter stopped</span></p>
<p class="" align="left"><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">Than the charon process not exited? How to solve it
?</span></p><p class="" align="left" style><font color="#000066" face="新宋体" size="3">Thank you for your reply!</font></p><p class="" align="left" style><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">youth,</span></p>
<p class="" align="left" style><span lang="EN-US" style="font-size:12pt;font-family:新宋体;color:rgb(0,0,102)">alma</span></p>
<p class=""><span lang="EN-US"> </span></p><p></p><div style="border-style:none none double;border-bottom-color:windowtext;border-bottom-width:2.25pt;padding:0cm 0cm 1pt">
</div><p></p><p></p></div>