libimcv: Implementation of RFC 8412 SWIMA

This commit is contained in:
Andreas Steffen 2018-06-12 18:09:12 +02:00
parent 27ec213d0b
commit 2a26566ed3
6 changed files with 10 additions and 7 deletions

3
NEWS
View File

@ -4,6 +4,9 @@ strongswan-5.7.0
- The pki tool accepts a xmppAddr otherName as a subjectAlternativeName using - The pki tool accepts a xmppAddr otherName as a subjectAlternativeName using
the syntax --san xmppaddr:<jid>. the syntax --san xmppaddr:<jid>.
- Implementation of RFC 8412 "Software Inventory Message and Attributes (SWIMA)
for PA-TNC"
strongswan-5.6.3 strongswan-5.6.3
---------------- ----------------

View File

@ -32,7 +32,7 @@ typedef enum ietf_attr_t ietf_attr_t;
*/ */
enum ietf_attr_t { enum ietf_attr_t {
/* RFC 5792 */ /* RFC 5792 PA-TNC */
IETF_ATTR_TESTING = 0, IETF_ATTR_TESTING = 0,
IETF_ATTR_ATTRIBUTE_REQUEST = 1, IETF_ATTR_ATTRIBUTE_REQUEST = 1,
IETF_ATTR_PRODUCT_INFORMATION = 2, IETF_ATTR_PRODUCT_INFORMATION = 2,
@ -47,7 +47,7 @@ enum ietf_attr_t {
IETF_ATTR_FORWARDING_ENABLED = 11, IETF_ATTR_FORWARDING_ENABLED = 11,
IETF_ATTR_FACTORY_DEFAULT_PWD_ENABLED = 12, IETF_ATTR_FACTORY_DEFAULT_PWD_ENABLED = 12,
/* draft-ietf-sacm-nea-swid-patnc */ /* RFC 8412 SWIMA */
IETF_ATTR_SWIMA_REQUEST = 13, IETF_ATTR_SWIMA_REQUEST = 13,
IETF_ATTR_SW_ID_INVENTORY = 14, IETF_ATTR_SW_ID_INVENTORY = 14,
IETF_ATTR_SW_ID_EVENTS = 15, IETF_ATTR_SW_ID_EVENTS = 15,

View File

@ -39,7 +39,7 @@ enum pa_tnc_error_code_t {
PA_ERROR_ATTR_TYPE_NOT_SUPPORTED = 3, PA_ERROR_ATTR_TYPE_NOT_SUPPORTED = 3,
PA_ERROR_PA_TNC_MSG_ROOF = 3, PA_ERROR_PA_TNC_MSG_ROOF = 3,
/* draft-ietf-sacm-nea-swid-patnc (SWIMA) */ /* RFC 8412 SWIMA */
PA_ERROR_SWIMA = 4, PA_ERROR_SWIMA = 4,
PA_ERROR_SWIMA_SUBSCRIPTION_DENIED = 5, PA_ERROR_SWIMA_SUBSCRIPTION_DENIED = 5,
PA_ERROR_SWIMA_RESPONSE_TOO_LARGE = 6, PA_ERROR_SWIMA_RESPONSE_TOO_LARGE = 6,

View File

@ -26,7 +26,7 @@ typedef struct private_ietf_swima_attr_req_t private_ietf_swima_attr_req_t;
/** /**
* SW Request * SW Request
* see section 5.7 of IETF SW Inventory Message and Attributes for PA-TNC * see section 5.7 of RFC 8412 SWIMA
* *
* 1 2 3 * 1 2 3
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

View File

@ -27,7 +27,7 @@ typedef struct private_ietf_swima_attr_sw_ev_t private_ietf_swima_attr_sw_ev_t;
/** /**
* Software [Identifier] Events * Software [Identifier] Events
* see sections 5.9/5.11 of IETF SW Inventory Message and Attributes for PA-TNC * see sections 5.9/5.11 of RFC 8412 SWIMA
* *
* 1 2 3 * 1 2 3
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

View File

@ -26,7 +26,7 @@ typedef struct private_ietf_swima_attr_sw_inv_t private_ietf_swima_attr_sw_inv_t
/** /**
* Software [Identifier] Inventory * Software [Identifier] Inventory
* see sections 5.8/5.10 of IETF SW Inventory Message and Attributes for PA-TNC * see sections 5.8/5.10 of RFC 8412 SWIMA
* *
* 1 2 3 * 1 2 3
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1