Hi all,

I'm testing a pppoe/mppe connection with a windows xp client.

With a linux client (kernel 2.6.15, ppp 2.4.3) I've no problem:

--------------------------------------
Mar 12 12:43:37 linux pppd[5649]: pppd 2.4.3 started by root, uid 0
Mar 12 12:43:37 linux pppd[5649]: using channel 1
Mar 12 12:43:37 linux pppd[5649]: Using interface ppp0
Mar 12 12:43:37 linux pppd[5649]: Connect: ppp0 <--> /dev/pts/1
Mar 12 12:43:38 linux pppd[5649]: sent [LCP ConfReq id=0x1 chap MS-v2> ]
Mar 12 12:43:38 linux pppd[5649]: rcvd [LCP ConfAck id=0x1 chap MS-v2> ]
Mar 12 12:43:40 linux pppd[5649]: rcvd [LCP ConfReq id=0x1 0x5fee917>]
Mar 12 12:43:40 linux pppd[5649]: sent [LCP ConfAck id=0x1 0x5fee917>]
Mar 12 12:43:40 linux pppd[5649]: sent [LCP EchoReq id=0x0 magic=0x9e153183]
Mar 12 12:43:40 linux pppd[5649]: sent [CHAP Challenge id=0xe1
, name = "PPPoE-R"]
Mar 12 12:43:40 linux pppd[5649]: rcvd [LCP EchoReq id=0x0 magic=0x5fee917]
Mar 12 12:43:40 linux pppd[5649]: sent [LCP EchoRep id=0x0 magic=0x9e153183]
Mar 12 12:43:40 linux pppd[5649]: rcvd [LCP EchoRep id=0x0 magic=0x5fee917]
Mar 12 12:43:40 linux pppd[5649]: rcvd [CHAP Response id=0xe1
,
name = "mario.rossi"]
Mar 12 12:43:40 linux pppd[5649]: sent [CHAP Success id=0xe1
"S=BDE3EC760BBDCEEF4BE3D53FE36CE93FC608BBC3"]
Mar 12 12:43:40 linux pppd[5649]: Script /etc/ppp/auth-up started (pid 5679)
Mar 12 12:43:40 linux kernel: ppp_mppe: module license 'BSD without
advertisement clause' taints kernel.
Mar 12 12:43:40 linux pppd[5649]: sent [CCP ConfReq id=0x1 -D -C>]
Mar 12 12:43:40 linux kernel: PPP MPPE Compression module registered
Mar 12 12:43:40 linux pppd[5649]: Script /etc/ppp/auth-up finished (pid
5679), status = 0x0
Mar 12 12:43:40 linux pppd[5649]: rcvd [CCP ConfReq id=0x1 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: sent [CCP ConfNak id=0x1 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: rcvd [CCP ConfNak id=0x1 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: sent [CCP ConfReq id=0x2 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: rcvd [CCP ConfReq id=0x2 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: sent [CCP ConfAck id=0x2 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: rcvd [CCP ConfAck id=0x2 -D -C>]
Mar 12 12:43:40 linux pppd[5649]: MPPE 128-bit stateless compression enabled
Mar 12 12:43:40 linux pppd[5649]: sent [IPCP ConfReq id=0x1 ]
Mar 12 12:43:40 linux pppd[5649]: rcvd [IPCP ConfReq id=0x1
]
Mar 12 12:43:40 linux pppd[5649]: sent [IPCP ConfNak id=0x1
]
Mar 12 12:43:40 linux pppd[5649]: rcvd [IPCP ConfAck id=0x1 ]
Mar 12 12:43:40 linux pppd[5649]: rcvd [IPCP ConfReq id=0x2
]
Mar 12 12:43:40 linux pppd[5649]: sent [IPCP ConfAck id=0x2
]
Mar 12 12:43:40 linux pppd[5649]: local IP address 10.0.0.1
Mar 12 12:43:40 linux pppd[5649]: remote IP address 10.67.7.1
Mar 12 12:43:40 linux pppd[5649]: Script /etc/ppp/ip-up started (pid 5689)
Mar 12 12:43:41 linux pppd[5649]: Script /etc/ppp/ip-up finished (pid 5689),
status = 0x0
-----------------------------


But when I try with windows xp client I get lots o problems:

-----------------------------------
Mar 10 12:21:47 debian pppoe-server[5836]: Session 3 created for client
00:11:2f:c4:cd:9c (10.67.7.3) on eth1 using Service-Name 'PPPoE7'
Mar 10 12:21:47 debian pppd[5836]: pppd 2.4.4b1 started by root, uid 0
Mar 10 12:21:47 debian pppd[5836]: using channel 7
Mar 10 12:21:47 debian pppd[5836]: Using interface ppp0
Mar 10 12:21:47 debian pppd[5836]: Connect: ppp0 <--> /dev/pts/1
Mar 10 12:21:48 debian pppd[5836]: sent [LCP ConfReq id=0x1 chap MS-v2> ]
Mar 10 12:21:48 debian pppd[5836]: rcvd [LCP ConfAck id=0x1 chap MS-v2> ]
Mar 10 12:21:49 debian pppd[5836]: rcvd [LCP ConfReq id=0x1
]
Mar 10 12:21:49 debian pppd[5836]: sent [LCP ConfRej id=0x1 ]
Mar 10 12:21:49 debian pppd[5836]: rcvd [LCP ConfReq id=0x2
]
Mar 10 12:21:49 debian pppd[5836]: sent [LCP ConfAck id=0x2
]
Mar 10 12:21:49 debian pppd[5836]: sent [LCP EchoReq id=0x0
magic=0xeccd03cf]
Mar 10 12:21:49 debian pppd[5836]: sent [CHAP Challenge id=0x52
<7920c9f7aefe86aa43404333d8d7bfeb>, name = "PPPoE-R"]
Mar 10 12:21:49 debian pppd[5836]: rcvd [LCP Ident id=0x3 magic=0x7ab74d84
"MSRASV5.10"]
Mar 10 12:21:49 debian pppd[5836]: rcvd [LCP Ident id=0x4 magic=0x7ab74d84
"MSRAS-1-UMB"]
Mar 10 12:21:49 debian pppd[5836]: rcvd [LCP EchoRep id=0x0
magic=0x7ab74d84]
Mar 10 12:21:49 debian pppd[5836]: rcvd [CHAP Response id=0x52
<8c7cd12592f963c745c3e748f2bf037c00000000000000007d 765d8da8f5d54327efd133c62ad2e1612711b15ae9743700>,
name = "pippo"]
Mar 10 12:21:49 debian pppd[5836]: sent [CHAP Success id=0x52
"S=3FE7F97EF35A74BE300C12FEC5FBE5B7EB951D0C M=Access granted"]
Mar 10 12:21:49 debian pppd[5836]: sent [CCP ConfReq id=0x1 +L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: rcvd [CCP ConfReq id=0x5 +L -D +C>]
Mar 10 12:21:49 debian pppd[5836]: sent [CCP ConfNak id=0x5 -L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: rcvd [IPCP ConfReq id=0x6
]
Mar 10 12:21:49 debian pppd[5836]: sent [IPCP TermAck id=0x6]
Mar 10 12:21:49 debian pppd[5836]: rcvd [CCP ConfNak id=0x1 -L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: sent [CCP ConfReq id=0x2 -L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: rcvd [CCP ConfReq id=0x7 -L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: sent [CCP ConfAck id=0x7 -L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: rcvd [CCP ConfAck id=0x2 -L -D -C>]
Mar 10 12:21:49 debian pppd[5836]: MPPE 128-bit stateful compression enabled
Mar 10 12:21:49 debian pppd[5836]: sent [IPCP ConfReq id=0x1 10.0.0.1>]
Mar 10 12:21:49 debian pppd[5836]: rcvd [IPCP ConfAck id=0x1 10.0.0.1>]
Mar 10 12:21:52 debian pppd[5836]: rcvd [IPCP ConfReq id=0x8
]
Mar 10 12:21:52 debian pppd[5836]: sent [IPCP ConfRej id=0x8 0.0.0.0> ]
Mar 10 12:21:52 debian pppd[5836]: sent [IPCP ConfReq id=0x1 10.0.0.1>]
Mar 10 12:21:52 debian pppd[5836]: rcvd [IPCP ConfReq id=0x9
]
Mar 10 12:21:52 debian pppd[5836]: sent [IPCP ConfNak id=0x9 10.67.7.3> ]
Mar 10 12:21:52 debian pppd[5836]: rcvd [IPCP ConfAck id=0x1 10.0.0.1>]
Mar 10 12:21:52 debian pppd[5836]: rcvd [IPCP ConfReq id=0xa 10.67.7.3> ]
Mar 10 12:21:52 debian pppd[5836]: sent [IPCP ConfAck id=0xa 10.67.7.3> ]
Mar 10 12:21:52 debian pppd[5836]: Cannot determine ethernet address for
proxy ARP
Mar 10 12:21:52 debian pppd[5836]: local IP address 10.0.0.1
Mar 10 12:21:52 debian pppd[5836]: remote IP address 10.67.7.3
Mar 10 12:21:52 debian pppd[5836]: Script /etc/ppp/ip-up started (pid 5843)
Mar 10 12:21:52 debian pppd[5836]: Script /etc/ppp/ip-up finished (pid
5843), status = 0x0
Mar 10 12:21:52 debian pppd[5836]: rcvd [proto=0x3a68] 34 4f 56 a1 ec 4c 89
46 37 16 3f 34 fd c3 7a 5c 4a ac 8b 43 92 5d c2 d3 17 07 a7 3f 25 4f 9c 07
....
Mar 10 12:21:52 debian pppd[5836]: Unsupported protocol 0x3a68 received
Mar 10 12:21:52 debian pppd[5836]: sent [LCP ProtRej id=0x2 3a 68 34 4f 56
a1 ec 4c 89 46 37 16 3f 34 fd c3 7a 5c 4a ac 8b 43 92 5d c2 d3 17 07 a7 3f
25 4f ...]
Mar 10 12:21:52 debian pppd[5836]: rcvd [proto=0x4e2a] aa 67 af a1 2e 91 13
4a 54 bc 95 e4 00 5c 7a 18 c9 cc 77 bb 3f 51 cc 2e 2c 71 70 de 4d 4e 21 7b
....
Mar 10 12:21:52 debian pppd[5836]: Unsupported protocol 0x4e2a received
Mar 10 12:21:52 debian pppd[5836]: sent [LCP ProtRej id=0x3 4e 2a aa 67 af
a1 2e 91 13 4a 54 bc 95 e4 00 5c 7a 18 c9 cc 77 bb 3f 51 cc 2e 2c 71 70 de
4d 4e ...]
Mar 10 12:21:52 debian pppd[5836]: rcvd [proto=0x8cd7] eb c0 4e 2f d7 21 7e
31 07 a6 39 aa 00 d0 b1 6a 82 6d 81 8e f4 dc f1 75 0d 31 40 a3 2b 69 c3 2c
....
Mar 10 12:21:52 debian pppd[5836]: Unsupported protocol 0x8cd7 received
Mar 10 12:21:52 debian pppd[5836]: sent [LCP ProtRej id=0x4 8c d7 eb c0 4e
2f d7 21 7e 31 07 a6 39 aa 00 d0 b1 6a 82 6d 81 8e f4 dc f1 75 0d 31 40 a3
2b 69 ...]
Mar 10 12:21:52 debian pppd[5836]: rcvd [proto=0x8095] 5c 93 03 5d e2 37 e4
59 19 13 6e e9 65 0e 9f 06 c2 60 a7 7f 63 21 2c 06 5c 0c cc 4e d5 89 b2 48
....
Mar 10 12:21:52 debian pppd[5836]: Unsupported protocol 0x8095 received
Mar 10 12:21:52 debian pppd[5836]: sent [LCP ProtRej id=0x5 80 95 5c 93 03
5d e2 37 e4 59 19 13 6e e9 65 0e 9f 06 c2 60 a7 7f 63 21 2c 06 5c 0c cc 4e
d5 89 ...]
Mar 10 12:21:53 debian pppd[5836]: rcvd [proto=0x43] 12 e1 98 ca 22 81 fa 0c
82 0f cb 37 bf e4 76 a3 7e 08 3d da 1e 9a e7 a1 ec 58 8b 11 98 d9 e3 83 ...
Mar 10 12:21:53 debian pppd[5836]: Unsupported protocol 'Ascom Timeplex'
(0x43) received
Mar 10 12:21:53 debian pppd[5836]: sent [LCP ProtRej id=0x6 00 43 12 e1 98
ca 22 81 fa 0c 82 0f cb 37 bf e4 76 a3 7e 08 3d da 1e 9a e7 a1 ec 58 8b 11
98 d9 ...]
Mar 10 12:21:53 debian pppd[5836]: rcvd [proto=0xaf] 55 38 47 71 56 b4 49 36
3a 03 0a a1 fa 19 85 a2 d8 a5 3d 36 ff 60 ef 1b 00 11 41 00 ec ca e4 a6 ...
Mar 10 12:21:53 debian pppd[5836]: Unsupported protocol 0xaf received
Mar 10 12:21:53 debian pppd[5836]: sent [LCP ProtRej id=0x7 00 af 55 38 47
71 56 b4 49 36 3a 03 0a a1 fa 19 85 a2 d8 a5 3d 36 ff 60 ef 1b 00 11 41 00
ec ca ...]
Mar 10 12:21:54 debian pppd[5836]: rcvd [proto=0x97] 5e 03 58 fa 61 4e 3e 5b
82 c4 7e a0 68 68 dc 3e 66 80 70 f8 7f 23 0b 46 2a f9 77 02 9a 6f b6 7d ...
Mar 10 12:21:54 debian pppd[5836]: Unsupported protocol 0x97 received
Mar 10 12:21:54 debian pppd[5836]: sent [LCP ProtRej id=0x8 00 97 5e 03 58
fa 61 4e 3e 5b 82 c4 7e a0 68 68 dc 3e 66 80 70 f8 7f 23 0b 46 2a f9 77 02
9a 6f ...]
Mar 10 12:21:55 debian pppd[5836]: rcvd [proto=0x75] b8 b4 d6 97 43 5b e7 71
fe bc 5b be 68 86 ee 80 b8 64 17 f6 46 d2 b2 26 a9 d8 ce 53 ac b0 c7 c5 ...
Mar 10 12:21:55 debian pppd[5836]: Unsupported protocol 0x75 received
----------------------------


In my server (opensuse 10 / kernel 2.6.13) I've this configuration:

file /etc/options ----------------------------
name PPPoE-R
noipdefault
ipcp-accept-local
ipcp-accept-remote
debug
crtscts
lock
local
asyncmap 0
mru 1490
mtu 1490
nodetach
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
noipx
file /etc/ppp/filters
noreplacedefaultroute
ms-dns 193.204.8.13
ms-dns 193.205.94.12
nobsdcomp
auth
refuse-pap
refuse-chap
require-mschap
require-mschap-v2
require-mppe
mppe-stateful
lcp-echo-interval 10
lcp-echo-failure 2
plugin radius.so
----------------------------------

file /etc/pppoe-server-options ---------------------
refuse-pap
refuse-chap
require-mschap
require-mschap-v2
require-mppe
---------------------------------


The windows xp (with service pack 2) client has a point-to-point connection
setted with "use maximum compression" option. I tried also with other
options without success.

I've also tried to remove "mppe-statefull" o replacing it with
"nomppe-stateful", but I got errors with the compression negozation
(something like: "Mppe required but client doesn't allow it").


Somebody can help me to understand if is a problem in the server
configuration or in the client?
Why with a linux client is working, but not with windows xp client?

Thanks and regars,
Rocco