HIPv2: new and changed parameters

Bug #999668 reported by Xin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
New
Undecided
Unassigned

Bug Description

1) HIP_PUZZLE:
Stayed as it was but the puzzle is now solved and checked with RHASH. This means that the #i and #j length are now aligned with the length of RHASH.

2) DH_GROUP_LIST:
New parameter.

3) DIFFIE_HELLMAN:
It can only contain a singe DH group now. The groups and IDs have changed and the mandatory support hash changed. 512-bit RSA was replaced by 160-bit ECDSA. The group ID also defines the KDF now.

4) HIP CIPHER:
This was HIP_TRANSFORM and was refined to be more useful. It has a new parameter number, too.

5) HOST_ID:
The format has changed and there is a new field for the algorithm. There is also a specification of the expected ECC format. There are new algorithms and new mandatory support for some.

6) HIT_SUITE_LIST:
New parameter.

7) TRANSPORT_FORMAT_LIST:
HIPv1 used a special parameter range for expressing preferences regarding the selected transport formats. This required to ignore the ascending order of the parameters in the BEX packets for these special parameters. This made implementations somewhat complex because special case handling was necessary. HIPv2 uses lists to express preferences and uses this method for the transport-related parameters as well. Compare the end of Sections 5.2 in RFC5201 and HIPv2. This is a new parameter that replaces the special case handling of parameter numbers.

8) HIP_MAC:
This was the HMAC parameter. It was renamed to better reflect its function. It uses RHASH now (not hard-coded SHA-1).

9) HIP_MAC2:
This was the HMAC_2 parameter. It was renamed to better reflect its function.

10) HIP_SIGNATURE:
The format has changed slightly. There are more bits for the signature algorithm now.

11) NOTIFY:
Some codes were renamed. New code: 20

12) R1_COUNTER:
New type number.
Support for the R1 counter is mandatory now. It MUST be echoed now if it is present in an R1. It has a new type number now to reflect that change.

---------------------------------------------------------

The nice list above is from Tobias.

Item 2) and 3) are implemented in branch "hipv2-dh-ecdh". I also implemented general handling functions for list-like parameters in branch "hipv2-modularization". See Bug #913518

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.