summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-01-21 22:32:34 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-01-21 22:32:34 +0100
commitfd1e50d653c32a85086f6bd14f7e261c2683224c (patch)
tree8658c2e384a004d8e86ccc1ad62b9b5c508e4655 /sys/include
parent9840c50a3e0d2392a9102484e0caf970d3153790 (diff)
authsrv: implement mschapv2 authentication, include MPPE secret in the ticket
this adds new rpc for mschapv2 authentication (21) deliver the MPPE secret not after the ticket/authenticator response as cheartext, but include it in the first 128 bit of the ticket key. and the authenticator in the first 160 bit of the authenticator random field.
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/authsrv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/authsrv.h b/sys/include/authsrv.h
index 4fabc3814..5c0b368e7 100644
--- a/sys/include/authsrv.h
+++ b/sys/include/authsrv.h
@@ -61,6 +61,7 @@ enum
AuthHttp=13, /* http domain login */
AuthVNC=14, /* VNC server login (deprecated) */
AuthPAK=19, /* authenticated diffie hellman key agreement */
+ AuthMSchapv2=21,/* MS chap v2 authentication for ppp */
AuthTs=64, /* ticket encrypted with server's key */
AuthTc, /* ticket encrypted with client's key */
AuthAs, /* server generated authenticator */