<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Success with the roadwarrior
      configuration as I describe it at
      <a class="moz-txt-link-freetext" href="http://vouters.dyndns.org/tima/Linux-Libreswan-Setting_up_an_Intranet_VPN_with_Windows_7.html">http://vouters.dyndns.org/tima/Linux-Libreswan-Setting_up_an_Intranet_VPN_with_Windows_7.html</a>&nbsp;
      with this simple&nbsp; code move in my previous mail. For your
      information, I just git cloned libreswan, rebuilt and installed
      it.<br>
      <br>
      I now read on my Linux Fedora 17, the following:<br>
      <br>
      [philippe@victor libreswan]$ date<br>
      Thu Jan 10 21:48:53 CET 2013<br>
      $ grep xl2tpd /var/log/messages<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: setsockopt
      recvref[30]: Protocol not available<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: Using l2tp
      kernel support.<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: xl2tpd version
      xl2tpd-1.3.1 started on victor.vouters.dyndns.org PID:5273<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: Written by Mark
      Spencer, Copyright (C) 1998, Adtran, Inc.<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: Forked by Scott
      Balmos and David Stipp, (C) 2001<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: Inherited by
      Jeff McAdams, (C) 2002<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: Forked again by
      Xelerance (<a class="moz-txt-link-abbreviated" href="http://www.xelerance.com">www.xelerance.com</a>) (C) 2006<br>
      Jan 10 21:38:01 victor xl2tpd[5273]: xl2tpd[5273]: Listening on IP
      address 192.168.1.2, port 1701<br>
      Jan 10 21:38:35 victor xl2tpd[5273]: xl2tpd[5273]: control_finish:
      Peer requested tunnel 2 twice, ignoring second one.<br>
      Jan 10 21:38:35 victor xl2tpd[5273]: xl2tpd[5273]: Connection
      established to 192.168.1.3, 1701.&nbsp; Local: 14579, Remote: 2
      (ref=0/0).&nbsp; LNS session is 'default'<br>
      Jan 10 21:38:35 victor xl2tpd[5273]: xl2tpd[5273]:
      result_code_avp: result code not appropriate for
      Incoming-Call-Request.&nbsp; Ignoring.<br>
      Jan 10 21:38:35 victor xl2tpd[5273]: xl2tpd[5273]: <b>Call
        established with 192.168.1.3</b>, Local: 11158, Remote: 1,
      Serial: 0<br>
      <br>
      So my alternate solution also works fine in my roadwarrior case.<br>
      <pre class="moz-signature" cols="72">Philippe Vouters (Fontainebleau/France)
URL: <a class="moz-txt-link-freetext" href="http://vouters.dyndns.org/">http://vouters.dyndns.org/</a>
SIP: <a class="moz-txt-link-abbreviated" href="mailto:sip:Vouters@sip.linphone.org">sip:Vouters@sip.linphone.org</a></pre>
      Le 10/01/2013 21:30, Philippe Vouters a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:50EF24E4.3050208@laposte.net" type="cite">&gt;&gt;
      I am now meeting up with Hugh Riedelmeyer, and we are going to
      <br>
      &gt;&gt; discuss removing the fork completely and have pluto parse
      the
      <br>
      &gt;&gt; config file, and do the work of loading the connections
      directly &gt;&gt; without the "whack" interface. It is much
      cleaner a solution, and &gt;&gt; would remove any race conditions
      between pluto / addconn that
      <br>
      &gt;&gt; you experience.
      <br>
      <br>
      Before you change anything and risk lots of regressions, let me
      try an alternate solution moving the find_ifaces(); call from
      rcv_wack.c ,routine do_whacklisten, to this block after addconn
      has finished its work, so this block now looks:
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(sigchildflag) {
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reapchildren();
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; find_ifaces();
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
      <br>
      Stay tuned.
      <br>
      Philippe
      <br>
      <br>
      Philippe Vouters (Fontainebleau/France)
      <br>
      URL: <a class="moz-txt-link-freetext" href="http://vouters.dyndns.org/">http://vouters.dyndns.org/</a>
      <br>
      SIP: <a class="moz-txt-link-abbreviated" href="mailto:sip:Vouters@sip.linphone.org">sip:Vouters@sip.linphone.org</a>
      <br>
      <br>
      Le 10/01/2013 21:03, Paul Wouters a &eacute;crit :
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>