<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I don’t change the default ESP ciphers, only the IKE ones.  I should probably look into them at some point.<div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 8 May 2018, at 19:55, Houman <<a href="mailto:houmie@gmail.com" class="">houmie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thank you both Christian and Jafar for the clear proposals.<div class=""><br class=""></div><div class="">So yes, if I wanted to support Windows 10, iOS/OSX and Linux with the stronger set of encryption. Do I set <b style="font-family: Helvetica; font-size: 12px;" class="">aes256-sha256-prfsha256-<wbr class="">modp2048 </b><span style="font-family: Helvetica; font-size: 12px;" class="">into <b class="">ike</b> only?  Or both in <b class="">ike</b> and <b class="">esp</b>?</span></div><br class="">This part wasn't quite clear to me.<br class=""><br class="">Yeah, I have already set [NegotiateDH2048_AES256] in Windows 10.  <br class=""><br class="">Many Thanks,<br class="">Houman<div class=""><span style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></div><div class=""><span style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 8 May 2018 at 08:40, Christian Salway <span dir="ltr" class=""><<a href="mailto:christian.salway@naimuri.com" target="_blank" class="">christian.salway@naimuri.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">The problem with Windows (10 at least) is that it offers the weakest ciphers first, so you should remove sha1 and 3des.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">The minimum proposals you should have and which are compatible with Windows 10, OSX, IOS and Linux are the following.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><b class="">proposals = aes256-sha256-prfsha256-<wbr class="">modp2048-modp1024</b></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">Although I would recommend adding the Windows 10 registry key [<span style="font-family:monospace,monospace" class="">NegotiateDH2048_AES256</span>] to use strong ciphers and then you can remove MODP1024</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><br class=""></div><a href="http://www.naimuri.com/" target="_blank" class="">
</a></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 7 May 2018, at 15:50, Jafar Al-Gharaibeh <<a href="mailto:jafar@atcorp.com" target="_blank" class="">jafar@atcorp.com</a>> wrote:</div><br class="gmail-m_-6903710819164957598Apple-interchange-newline"><div class="">
  
    
  
  <div bgcolor="#FFFFFF" class="">
    Houman,<br class="">
    <br class="">
      The Windows client proposals do not match your configured
    proposals. Your Windows client expect DG group 15 (MODP2048), where
    as you have:<br class="">
    <br class="">
    <font face="monospace, monospace" class="">aes256-3des-sha1-modp1024<br class="">
      <br class="">
      change that to:<br class="">
      <br class="">
    </font><font face="monospace, monospace" class=""><font face="monospace,
        monospace" class="">aes256-3des-sha1-modp2048</font><br class="">
    </font><br class="">
    I'd also add sha256 at least before sha1 (deemed insecure). If you
    still have other clients expecting modp1024, make it:<br class="">
    <br class="">
    <font face="monospace, monospace" class="">aes256-3des-sha256-sha1-<wbr class="">modp2048-modp1024<br class="">
      <br class="">
      That should get you covered. <br class="">
      <br class="">
      Regards,<br class="">
      Jafar<br class="">
      <br class="">
    </font><div class=""><div class="gmail-h5"><br class="">
    <div class="gmail-m_-6903710819164957598moz-cite-prefix">On 5/7/2018 8:17 AM, Houman wrote:<br class="">
    </div>
    <blockquote type="cite" class="">
      <div dir="ltr" class="">Hello,
        <div class=""><br class="">
        </div>
        <div class="">Until a week ago a user with Windows 10 had no issue
          connecting to the StrongSwan server. But now out of the blue,
          he can't connect to the StrongSwan server anymore.</div>
        <div class=""><br class="">
        </div>
        <div class="">The log on the server is:</div>
        <div class=""><br class="">
        </div>
        <font face="monospace, monospace" class="">May  7 12:31:06 vpn-p1 charon:
          08[IKE] received proposals inacceptable<br class="">
          May  7 12:31:06 vpn-p1 charon: 08[ENC] generating IKE_SA_INIT
          response 0 [ N(NO_PROP) ]<br class="">
          May  7 12:31:06 vpn-p1 charon: 08[NET] sending packet: from
          xxx.x.xx.92[500] to 91.98.xxx.xxx[500] (36 bytes)<br class="">
          May  7 12:32:09 vpn-p1 systemd[1]: Started Session 35 of user
          root.<br class="">
          May  7 12:46:21 vpn-p1 systemd[1]: Starting Cleanup of
          Temporary Directories...<br class="">
          May  7 12:46:21 vpn-p1 systemd-tmpfiles[7016]:
          [/usr/lib/tmpfiles.d/var.conf:<wbr class="">14] Duplicate line for path
          "/var/log", ignoring.<br class="">
          May  7 12:46:21 vpn-p1 systemd[1]: Started Cleanup of
          Temporary Directories.<br class="">
          May  7 13:00:13 vpn-p1 systemd[1]: Starting Certbot...<br class="">
          May  7 13:00:13 vpn-p1 systemd[1]: Started Certbot.<br class="">
          May  7 13:08:20 vpn-p1 systemd[1]: Started Session 36 of user
          root.<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[NET] received packet: from
          91.98.xxx.xxx[500] to xxx.x.xx.92[500] (624 bytes)<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[ENC] parsed IKE_SA_INIT
          request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) V V V V ]<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[IKE] received MS NT5
          ISAKMPOAKLEY v9 vendor ID<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[IKE] received MS-Negotiation
          Discovery Capable vendor ID<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[IKE] received
          Vid-Initial-Contact vendor ID<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[ENC] received unknown vendor
          ID:
          01:52:8b:bb:c0:06:96:12:18:49:<wbr class="">ab:9a:1c:5b:2a:51:00:00:00:02<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[IKE] 91.98.xxx.xxx is
          initiating an IKE_SA<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[CFG] received proposals:
          IKE:AES_CBC_256/HMAC_SHA1_96/<wbr class="">PRF_HMAC_SHA1/MODP_2048,
          IKE:AES_CBC_256/HMAC_SHA2_256_<wbr class="">128/PRF_HMAC_SHA2_256/MODP_<wbr class="">2048,
          IKE:AES_CBC_256/HMAC_SHA2_384_<wbr class="">192/PRF_HMAC_SHA2_384/MODP_<wbr class="">2048<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[CFG] configured proposals:
          IKE:AES_GCM_16_256/HMAC_SHA2_<wbr class="">256_128/PRF_HMAC_SHA2_256/ECP_<wbr class="">521,
          IKE:AES_CBC_256/HMAC_SHA2_256_<wbr class="">128/PRF_HMAC_SHA2_256/ECP_384,
          IKE:AES_CBC_256/3DES_CBC/HMAC_<wbr class="">SHA1_96/PRF_HMAC_SHA1/MODP_<wbr class="">1024<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[IKE] remote host is behind
          NAT<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[IKE] received proposals
          inacceptable<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[ENC] generating IKE_SA_INIT
          response 0 [ N(NO_PROP) ]<br class="">
          May  7 13:11:27 vpn-p1 charon: 12[NET] sending packet: from
          xxx.x.xx.92[500] to 91.98.xxx.xxx[500] (36 bytes)<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[NET] received packet: from
          91.98.xxx.xxx[500] to xxx.x.xx.92[500] (624 bytes)<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[ENC] parsed IKE_SA_INIT
          request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) V V V V ]<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[IKE] received MS NT5
          ISAKMPOAKLEY v9 vendor ID<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[IKE] received MS-Negotiation
          Discovery Capable vendor ID<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[IKE] received
          Vid-Initial-Contact vendor ID<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[ENC] received unknown vendor
          ID:
          01:52:8b:bb:c0:06:96:12:18:49:<wbr class="">ab:9a:1c:5b:2a:51:00:00:00:02<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[IKE] 91.98.xxx.xxx is
          initiating an IKE_SA<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[CFG] received proposals:
          IKE:AES_CBC_256/HMAC_SHA1_96/<wbr class="">PRF_HMAC_SHA1/MODP_2048,
          IKE:AES_CBC_256/HMAC_SHA2_256_<wbr class="">128/PRF_HMAC_SHA2_256/MODP_<wbr class="">2048,
          IKE:AES_CBC_256/HMAC_SHA2_384_<wbr class="">192/PRF_HMAC_SHA2_384/MODP_<wbr class="">2048<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[CFG] configured proposals:
          IKE:AES_GCM_16_256/HMAC_SHA2_<wbr class="">256_128/PRF_HMAC_SHA2_256/ECP_<wbr class="">521,
          IKE:AES_CBC_256/HMAC_SHA2_256_<wbr class="">128/PRF_HMAC_SHA2_256/ECP_384,
          IKE:AES_CBC_256/3DES_CBC/HMAC_<wbr class="">SHA1_96/PRF_HMAC_SHA1/MODP_<wbr class="">1024<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[IKE] remote host is behind
          NAT<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[IKE] received proposals
          inacceptable<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[ENC] generating IKE_SA_INIT
          response 0 [ N(NO_PROP) ]<br class="">
          May  7 13:11:28 vpn-p1 charon: 16[NET] sending packet: from
          xxx.x.xx.92[500] to 91.98.xxx.xxx[500] (36 bytes)</font>
        <div class=""><br class="">
        </div>
        <div class="">The Server's ipsec.conf is:</div>
        <div class=""><br class="">
        </div>
        <div class="">
          <div class=""><font face="monospace, monospace" class="">config setup</font></div>
          <div class=""><font face="monospace, monospace" class="">  strictcrlpolicy=yes</font></div>
          <div class=""><font face="monospace, monospace" class="">  uniqueids=never</font></div>
          <div class=""><font face="monospace, monospace" class="">conn roadwarrior</font></div>
          <div class=""><font face="monospace, monospace" class="">  auto=add</font></div>
          <div class=""><font face="monospace, monospace" class="">  compress=no</font></div>
          <div class=""><font face="monospace, monospace" class="">  type=tunnel</font></div>
          <div class=""><font face="monospace, monospace" class="">  keyexchange=ikev2</font></div>
          <div class=""><font face="monospace, monospace" class="">  fragmentation=yes</font></div>
          <div class=""><font face="monospace, monospace" class="">  forceencaps=yes</font></div>
          <div class=""><font face="monospace, monospace" class=""> 
ike=aes256gcm16-sha256-ecp521,<wbr class="">aes256-sha256-ecp384,aes256-<wbr class="">3des-sha1-modp1024!</font></div>
          <div class=""><font face="monospace, monospace" class=""> 
              esp=aes256gcm16-sha256,aes256-<wbr class="">3des-sha256-sha1!</font></div>
          <div class=""><font face="monospace, monospace" class="">  dpdaction=clear</font></div>
          <div class=""><font face="monospace, monospace" class="">  dpddelay=180s</font></div>
          <div class=""><font face="monospace, monospace" class="">  rekey=no</font></div>
          <div class=""><font face="monospace, monospace" class="">  left=%any</font></div>
          <div class=""><font face="monospace, monospace" class="">  leftid=@${VPNHOST}</font></div>
          <div class=""><font face="monospace, monospace" class="">  leftcert=cert.pem</font></div>
          <div class=""><font face="monospace, monospace" class="">  leftsendcert=always</font></div>
          <div class=""><font face="monospace, monospace" class="">  leftsubnet=<a href="http://0.0.0.0/0" target="_blank" class="">0.0.0.0/0</a></font></div>
          <div class=""><font face="monospace, monospace" class="">  right=%any</font></div>
          <div class=""><font face="monospace, monospace" class="">  rightid=%any</font></div>
          <div class=""><font face="monospace, monospace" class="">  rightauth=eap-radius</font></div>
          <div class=""><font face="monospace, monospace" class="">  eap_identity=%any</font></div>
          <div class=""><font face="monospace, monospace" class=""> 
              rightdns=208.67.222.222,208.<wbr class="">67.220.220</font></div>
          <div class=""><font face="monospace, monospace" class=""> 
              rightsourceip=${VPNIPPOOL}</font></div>
          <div class=""><font face="monospace, monospace" class="">  rightsendcert=never</font></div>
        </div>
        <div class=""><br class="">
        </div>
        <div class="">Have the supported ike/esp proposals somehow been changed
          recently after a recent Windows 10 update?</div>
        <div class=""><br class="">
        </div>
        <div class="">I have made these changes on the Windows 10, after
          googling for a solution:</div>
        <div class=""><br class="">
        </div>
        <div class=""><font face="monospace, monospace" class="">- The firewall on Windows
            10 is currently disabled.  </font></div>
        <font face="monospace, monospace" class="">- I have set
          NegotiateDH2048_AES256 = 1 in Regedit<br class="">
          - AssumeUDPEncapsulationContextO<wbr class="">nSendRule = 2 in Regedit</font>
        <div class=""><br class="">
        </div>
        <div class="">I can't think of anything else I could do on the Windows 10
          client.<br class="">
          <div class=""><br class="">
          </div>
          <div class="">According to my notes, these are the proposed protocols
            for Windows 10:</div>
          <div class=""><br class="">
          </div>
          <div class="">
            <div class=""><font face="monospace, monospace" class=""># these ike and esp
                settings are tested on Mac 10.12, iOS 10 and Windows 10</font></div>
            <div class=""><font face="monospace, monospace" class=""># iOS/Mac with
                appropriate configuration profiles use
                AES_GCM_16_256/PRF_HMAC_SHA2_<wbr class="">256/ECP_521</font></div>
            <div class=""><font face="monospace, monospace" class=""># Windows 10 uses
                AES_CBC_256/HMAC_SHA2_256_128/<wbr class="">PRF_HMAC_SHA2_256/ECP_384</font></div>
          </div>
          <div class=""><br class="">
          </div>
          <div class="">Is there a website that translates
            AES_CBC_256/HMAC_SHA2_256_128/<wbr class="">PRF_HMAC_SHA2_256/ECP_384 into
            the right naming for ipsec.conf so that I enter them under
            ike and esp respectively? I can't quite make out if I have
            these settings there or not.</div>
          <div class=""><br class="">
          </div>
          <div class="">If you have any other advice, please help me.</div>
          <div class=""><br class="">
          </div>
          <div class="">Many Thanks,</div>
          <div class=""><br class="">
          </div>
          <div class=""><br class="">
          </div>
          <div class=""><br class="">
          </div>
          <div class=""><br class="">
          </div>
        </div>
      </div>
    </blockquote>
    <br class="">
  </div></div></div>

</div></blockquote></div><br class=""></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>