macOS already handles the missing space before M=, extract from :
https://opensource.apple.com/source/ppp/ppp-862.120.2/Helpers/pppd/chap_ms.c.auto.html

        //we'll allow the missing-space case from the server, even though
        //it's non-conforming to spec!
        dbglog("Rcvd non-conforming MSCHAPv2 Success packet, len=%d", len);
        if(len >= 2 && !strncmp((char*)msg, "M=", 2))
                msg += 2;
        else
        {
                error("MS-CHAPv2 Success packet is badly formed.");
                return 0;
        }

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ppp in Ubuntu.
https://bugs.launchpad.net/bugs/1890814

Title:
  Handle PPP non-compliant success packets

Status in ppp package in Ubuntu:
  New
Status in ppp package in Debian:
  Unknown

Bug description:
  [Impact]
  According to RFC2759, the format of PPP success packets is :

  "S=<auth_string> M=<message>"

  Recently Windows Server 2019 has started producing non-complaint PPP
  success packets which have a space missing before the M= characters.

  PPP based (e.g. PPTP, L2TP, etc) VPN clients connecting to an affected
  Windows Server 2019 VPN server will get the following error message
  during MS-CHAPv2 authentication :

     MS-CHAPv2 Success packet is badly formed

  
  If the following upstream ppp patch is applied, it will handle the 
non-compliant, missing-space before M= success packets :

  
https://github.com/paulusmack/ppp/commit/3cd95baf3f1de1d5a9bc89be0f4c3215ceb5aefe.patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ppp/+bug/1890814/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to