ATTRIBUTE PEAP-Version 1023 integer
ATTRIBUTE Client-Shortname 1024 string
ATTRIBUTE Load-Balance-Key 1025 string
-
-#
-# Range: 1025-1026
-# unused
-#
+ATTRIBUTE Raw-Attribute 1026 octets
ATTRIBUTE TNC-VLAN-Access 1027 string
ATTRIBUTE TNC-VLAN-Isolate 1028 string
ATTRIBUTE User-Category 1029 string
#define PW_ARAP_CHALLENGE_RESPONSE 84
#define PW_NAS_PORT_ID_STRING 87
#define PW_FRAMED_POOL 88
+#define PW_CHARGEABLE_USER_IDENTITY 89
#define PW_NAS_IPV6_ADDRESS 95
#define PW_EXTENDED_ATTRIBUTE 192
#define PW_EAP_TLS_REQUIRE_CLIENT_CERT 1019
#define PW_CLIENT_SHORTNAME 1024
#define PW_LOAD_BALANCE_KEY 1025
-
+#define PW_RAW_ATTRIBUTE 1026
#define PW_TNC_VLAN_ACCESS 1027
#define PW_TNC_VLAN_ISOLATE 1028
#define PW_USER_CATEGORY 1029
*/
if ((VENDOR(reply->attribute) == 0) &&
((reply->attribute & 0xFFFF) > 0xff)) {
+#ifndef NDEBUG
+ /*
+ * Permit the admin to send BADLY formatted
+ * attributes with a debug build.
+ */
+ if (reply->attribute == PW_RAW_ATTRIBUTE) {
+ memcpy(ptr, reply->vp_octets, reply->length);
+ len = reply->length;
+ goto next;
+ }
+#endif
continue;
}
break;
}
+ next:
ptr += len;
total_length += len;
} /* done looping over all attributes */