• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

IKEv2 - Phase 2 Auth Methods - Hash algorithmus Question

Scheduled Pinned Locked Moved IPsec
2 Posts 2 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    fholzer
    last edited by Jan 21, 2017, 8:04 PM Jan 21, 2017, 7:48 PM

    Hi Guys,

    I pretty much used this HowTo > https://doc.pfsense.org/index.php/IKEv2_with_EAP-MSCHAPv2
    and everything is working absolutley fine.

    I use a Windows Server 2012 R2 NPS as Radius Server.
    Also working perfectly fine on different Clients (win7, win8, win10, …)

    Now the Question:
    |
    As Stated in the Howto in Phase2 - we Should Set Hash algorithmus to SHA1 and SHA256. | P2 Auth Methods SHA1 and SHA256

    So why do i need SHA1 and why is my whole Setup not working if i disable this shit algorithmus.
    If i disable/uncheck SHA1 i get on the Client Machine (win7 and win10) the "Error 13843: Invalid Payload Received."

    How can i get rid of SHA1 as HA, or is it pretty much safe and "ok" to use it (there and for that purpose) ?

    1 Reply Last reply Reply Quote 0
    • L
      lst_hoe
      last edited by Jan 23, 2017, 1:59 PM

      An unmodified Windows up until 10 can use the following for Phase 2 (ESP):

      ESP:AES_CBC_256/HMAC_SHA1_96/NO_EXT_SEQ,
      ESP:3DES_CBC/HMAC_SHA1_96/NO_EXT_SEQ

      As you can see there is no option for SHA256 at this place to choose. It is questionable if this is a real problem because SHA1 is used for integrity in this context, so the upmost would be to send invalid (random) data which claim to be valid. The encryption (confidentialy) should not be broken because of this.
      You might also try the NegotiateDH2048_AES256 registry key to get more modern ciphers to choose from.

      Regards

      Andreas

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received