Mikrotik -> Linux xl2tp fails to negotiate mppe
Posted: Sat May 03, 2014 1:40 am
I've spent hours on this now and made very little headway.
If I 'require' Encryption on the MT Client, the resulting pppd log shows:
If I set Encryption to 'yes' instead, the resulting log is a bit more forthcoming:
My pppd (ver 2.4.5 on Ubuntu 12.04) related options for l2tp are:
And I've verified that the required loadable modules don't error on manual modprobe.
So I'm at the point where I'm thinking something is incompatible between these two implementations, and looking for some much needed advice. I can connect without mppe, but I want to use it in lieu of IPSec which would consume much higher cpu overhead on a large number of concurrent streams. I don't need bullet-proof encryption for the application -- and this SHOULD work!
So why doesn't it?
If I 'require' Encryption on the MT Client, the resulting pppd log shows:
Code: Select all
...
May 2 17:29:01 ubuntu pppd[1367]: rcvd [LCP TermReq id=0x18 "Encryption negotiation rejected\000"]
May 2 17:29:01 ubuntu pppd[1367]: LCP terminated by peer (Encryption negotiation rejected^@)
...
Code: Select all
May 2 17:36:13 ubuntu pppd[1433]: pppd 2.4.5 started by root, uid 0
May 2 17:36:13 ubuntu pppd[1433]: using channel 9
May 2 17:36:13 ubuntu pppd[1433]: Using interface ppp0
May 2 17:36:13 ubuntu pppd[1433]: Connect: ppp0 <--> /dev/pts/1
May 2 17:36:13 ubuntu pppd[1433]: sent [LCP ConfReq id=0x1 <mru 1460> <asyncmap 0x0> <auth chap MS-v2> <magic 0x1aa1971c> <pcomp> <accomp>]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [LCP ConfReq id=0x1b <mru 1460> <magic 0x7e89f023>]
May 2 17:36:13 ubuntu pppd[1433]: sent [LCP ConfAck id=0x1b <mru 1460> <magic 0x7e89f023>]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
May 2 17:36:13 ubuntu pppd[1433]: sent [LCP ConfReq id=0x2 <mru 1460> <auth chap MS-v2> <magic 0x1aa1971c>]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [LCP ConfAck id=0x2 <mru 1460> <auth chap MS-v2> <magic 0x1aa1971c>]
May 2 17:36:13 ubuntu pppd[1433]: sent [LCP EchoReq id=0x0 magic=0x1aa1971c]
May 2 17:36:13 ubuntu pppd[1433]: sent [CHAP Challenge id=0x63 <f4e2d3637a9c93bd673cd173db6baa5c>, name = "ubuntu"]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [LCP EchoRep id=0x0 magic=0x7e89f023]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [CHAP Response id=0x63 <614ad88dff48e754689ef98d2d8e64da000000000000000059fca8d79550ffc69a115fd357a5a536c219356b02d1fa4b00>, name = "**********"]
May 2 17:36:13 ubuntu pppd[1433]: sent [CHAP Success id=0x63 "S=5B29B1607747F8064C382E4F575C977393B597A1 M=Access granted"]
May 2 17:36:13 ubuntu pppd[1433]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.254.254.1>]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [IPCP ConfReq id=0x0 <addr 0.0.0.0> <compress VJ 0f 01>]
May 2 17:36:13 ubuntu pppd[1433]: sent [IPCP ConfNak id=0x0 <addr 10.254.254.20>]
*************** (Added for emphasis) ****************
May 2 17:36:13 ubuntu pppd[1433]: rcvd [CCP ConfReq id=0x67 <mppe +H -M +S +L -D -C>]
May 2 17:36:13 ubuntu pppd[1433]: Unsupported protocol 'Compression Control Protocol' (0x80fd) received[/b]
May 2 17:36:13 ubuntu pppd[1433]: sent [LCP ProtRej id=0x3 80 fd 01 67 00 0a 12 06 01 00 00 60]
*************** (Added for emphasis) ****************
May 2 17:36:13 ubuntu pppd[1433]: rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.254.254.1>]
May 2 17:36:13 ubuntu pppd[1433]: rcvd [IPCP ConfReq id=0x1 <addr 10.254.254.20> <compress VJ 0f 01>]
May 2 17:36:13 ubuntu pppd[1433]: sent [IPCP ConfAck id=0x1 <addr 10.254.254.20> <compress VJ 0f 01>]
May 2 17:36:13 ubuntu pppd[1433]: Cannot determine ethernet address for proxy ARP
May 2 17:36:13 ubuntu pppd[1433]: local IP address 10.254.254.1
May 2 17:36:13 ubuntu pppd[1433]: remote IP address 10.254.254.20
May 2 17:36:13 ubuntu pppd[1433]: Script /etc/ppp/ip-up started (pid 1436)
May 2 17:36:13 ubuntu pppd[1433]: Script /etc/ppp/ip-up finished (pid 1436), status = 0x0
Code: Select all
ipcp-accept-local
ipcp-accept-remote
noccp
mtu 1460
mru 1460
debug
nodefaultroute
lock
proxyarp
connect-delay 5000
require-mschap-v2
nomppe-stateful
require-mppe
So I'm at the point where I'm thinking something is incompatible between these two implementations, and looking for some much needed advice. I can connect without mppe, but I want to use it in lieu of IPSec which would consume much higher cpu overhead on a large number of concurrent streams. I don't need bullet-proof encryption for the application -- and this SHOULD work!
So why doesn't it?
