aboutsummaryrefslogtreecommitdiffstats
path: root/diameter/Microsoft.xml
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-08-15 00:19:33 +0100
committerAnders Broman <a.broman58@gmail.com>2019-08-15 04:10:16 +0000
commita537edfdfff3be7366ae691e6e5403b1972322bf (patch)
tree7382470b1994d6359fae43fbc5fa6c0703f48830 /diameter/Microsoft.xml
parent4a795a457a112e57126810e1587c1bcfcea4fd4f (diff)
Diameter: Add MS-CHAP/MS-CHAPv2 AVP support for EAP-TLS
Created the Microsoft Diameter file based on MS-CHAP-* AVPs listed at https://www.iana.org/assignments/eap-numbers/eap-numbers.xhtml#eap-numbers-10 Many values are displayed as bytes for simplicit. The MS-CHAP2-Success attribute could for example be dissected further as 1 byte followed by a string, but that requires more effort. Allow padding to be missing since the eap-ttls-mschapv2.pcapng capture would throw a Malformed Packet exception otherwise. Bug: 15603 Change-Id: I9efc322a86802e78bb6cd4bc3df1c1282a45fe9e Reviewed-on: https://code.wireshark.org/review/34291 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'diameter/Microsoft.xml')
-rw-r--r--diameter/Microsoft.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/diameter/Microsoft.xml b/diameter/Microsoft.xml
new file mode 100644
index 0000000000..442f02fb5c
--- /dev/null
+++ b/diameter/Microsoft.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Microsoft vendor-specific AVPs as specified in RFC 2548 for RADIUS.
+ These are not defined for Diameter, but were converted anyway to enable
+ use with EAP-TTLS (RFC 5281). -->
+
+<vendor vendor-id="Microsoft" code="311" name="Microsoft">
+ <avp name="MS-CHAP-Response" code="1" vendor-id="Microsoft">
+ <type type-name="OctetString" />
+ </avp>
+ <avp name="MS-CHAP-Error" code="2" vendor-id="Microsoft">
+ <type type-name="UTF8String" />
+ </avp>
+ <avp name="MS-CHAP-NT-Enc-PW" code="6" vendor-id="Microsoft">
+ <type type-name="OctetString" />
+ </avp>
+ <avp name="MS-CHAP-Domain" code="10" vendor-id="Microsoft">
+ <type type-name="UTF8String" />
+ </avp>
+ <avp name="MS-CHAP-Challenge" code="11" vendor-id="Microsoft">
+ <type type-name="OctetString" />
+ </avp>
+ <avp name="MS-CHAP2-Response" code="25" vendor-id="Microsoft">
+ <type type-name="OctetString" />
+ </avp>
+ <avp name="MS-CHAP2-Success" code="26" vendor-id="Microsoft">
+ <type type-name="OctetString" />
+ </avp>
+ <avp name="MS-CHAP2-CPW" code="27" vendor-id="Microsoft">
+ <type type-name="OctetString" />
+ </avp>
+</vendor>