IP-ID shall be transmitted verbatim in IR and IR-DYN packets

Bug #1210498 reported by Didier Barvaux on 2013-08-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
Rohc-1.5.x
Medium
Didier Barvaux
Rohc-1.6.x
Medium
Didier Barvaux
Rohc-main
Medium
Didier Barvaux

Bug Description

According to RFC 4815 (https://tools.ietf.org/html/rfc4815) and discussion on the IETF list (http://www.ietf.org/mail-archive/web/rohc/current/msg01675.html):
 - "IP-ID" means that the Identification field is transmitted encoded
   with the method "Offset IP-ID", ie. offset between SN and IP-ID and then
   byte-swapped according to the NBO flag.
 - "Identification" means that the Identification field is transmitted
   verbatim, ie. unchanged wrt the non compressed packet.

So, the ROHC library is not conform: the dynamic part of the IPv4 header in the IR and IR-DYN packets shall contain the verbation Identification field, not the byte-swapped value.

Problem discovered with the help of Fabrice Bellard.

Didier Barvaux (didier-barvaux) wrote :

Confirmed on trunk, 1.6.x and 1.5.x.

tags: added: conformance ipv4 library
description: updated
Didier Barvaux (didier-barvaux) wrote :

Bug won't be fixed on 1.5.x and 1.6.x branches because the fixes changes the ROHC packet format. This is forbidden between 1.5.x and 1.6.x releases.

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

Other bug subscribers