Issue 7611: Issue/Telecom Wireless CORBA: Sequence numbers of UTP messages (wireless-rtf) Source: Nokia (Dr. Kimmo Raatikainen, kimmo.raatikainen@nokia.com kimmo.raatikainen@cs.helsinki.fi kraatika@cs.helsinki.fi) Nature: Uncategorized Issue Severity: Summary: Usage of sequence numbers in UDP Tunneling Protocol messages in section 7.4 needs refinements. We have found the following two problems: 1) If the first sequence number is arbitrary, then the receiver must examine the playload before it can detect whether or not the beginning of the message sequence is received. 2) If UTP messages containing only Acknowledge chunck are acknowledged, then we will have an infinite loop of ackning acks. Resolution: 1) Start sequence numbers always from 0x0001. 2) Reserve sequence number 0x0000 for UTP messages that are not to be acknowledged (messages that only contain Acknowledge and/or Pause chunk). Received text: Add a new subsection 'Sequence Numberging' after the subsection 7.4.1 'UDP Tunneling Protocol': Each communication session must start sequence numbering from 0x0001. In other words the UTP message containing the InitialAccessRequest chunk (or its first fragment) and the associated reply containing the InitialAccessReply chunk (or its first fragment) MUST have UTP Sequence Number 0x0001. The sequence number counting follows the usual modulo arithmetic with the exception that the sequence number 0x0001 follows the sequence number 0xFFFF. The UTP Sequence Number 0x0000 is reserved for UTP messages that only contain the Acknowledge chunk and/or the Pause chunk. These messages MUST NOT be acknowledged. Add the following note at the end of subsections 7.4.3 'InitialAccessRequest' and 7.4.4 'InitialAccessReply': Note: UTP message containing this chunk (or its first fragment) MUST have sequence number 0x0001. Add the following two notes at the end of subsection 7.4.5 'Pause': Note 1: If the UTP message contains only the Pause chunk (with or without the Acknowledge chunk), then the UTP Sequence Number MUST be 0x0000. The receiver SHOULD NOT acknowledge such a message. Note 2: After sending the Pause chunk, the sender SHOULD reply to each arriving message by a UTP message containing the Pause chunk. The UTP message MAY also contain ACknowledge and/or GTPData chunks. Add the following note at the end of subsection 7.4.7 'Acknowledge': Note: If the UTP message contains only the Acknowledge chunk (with or without the Pause chunk), then the UTP Sequence Number MUST be 0x0000. The receiver SHOULD NOT acknowledge such a message. Resolution: Revised Text: 3.1 Resolution 1) Start sequence numbers always from 0x0001. 2) Reserve sequence number 0x0000 for UTP messages that are not to be acknowledged (messages that only contain Acknowledge and/or Pause chunk). 3.2 Revised text Add a new subsection 'Sequence Numbering' after the subsection 7.4.1 'UDP Tunneling Protocol': Each communication session must start sequence numbering from 0x0001. In other words the UTP message containing the InitialAccessRequest chunk (or its first fragment) and the associated reply containing the InitialAccessReply chunk (or its first fragment) MUST have UTP Sequence Number 0x0001. The sequence number counting follows the usual modulo arithmetic with the exception that the sequence number 0x0001 follows the sequence number 0xFFFF. The UTP Sequence Number 0x0000 is reserved for UTP messages that only contain the Acknowledge chunk and/or the Pause chunk. These messages MUST NOT be acknowledged. Add the following note at the end of subsections 7.4.3 'InitialAccessRequest' and 7.4.4 'InitialAccessReply': Note: UTP message containing this chunk (or its first fragment) MUST have sequence number 0x0001. Add the following two notes at the end of subsection 7.4.5 'Pause': Note 1: If the UTP message contains only the Pause chunk (with or without the Acknowledge chunk), then the UTP Sequence Number MUST be 0x0000. The receiver SHOULD NOT acknowledge such a message. Note 2: After sending the Pause chunk, the sender SHOULD reply to each arriving message by a UTP message containing the Pause chunk. The UTP message MAY also contain Acknowledge and/or GTPData chunks. Add the following note at the end of subsection 7.4.7 'Acknowledge': Note: If the UTP message contains only the Acknowledge chunk (with or without the Pause chunk), then the UTP Sequence Number MUST be 0x0000. The receiver SHOULD NOT acknowledge such a message. Actions taken: August 2, 2004: received issue March 10, 2005: closed issue Discussion: End of Annotations:===== canned: Mon, 2 Aug 2004 14:16:44 +0300 Nokia Message Protector V1.3.31 2004060815 - RELEASE Subject: Issue/Telecom Wireless CORBA: Sequence numbers of UTP messages Date: Mon, 2 Aug 2004 14:13:35 +0300 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Issue/Telecom Wireless CORBA: Sequence numbers of UTP messages Thread-Index: AcR4gcGVbidmKe+6RHma3/50CrolRw== From: To: Cc: X-OriginalArrivalTime: 02 Aug 2004 11:13:37.0479 (UTC) FILETIME=[C20A5D70:01C47881] X-MIME-Autoconverted: from quoted-printable to 8bit by amethyst.omg.org id i72BRnlj031225 Usage of sequence numbers in UDP Tunneling Protocol messages in section 7.4 needs refinements. We have found the following two problems: 1) If the first sequence number is arbitrary, then the receiver must examine the playload before it can detect whether or not the beginning of the message sequence is received. 2) If UTP messages containing only Acknowledge chunck are acknowledged, then we will have an infinite loop of ackning acks. Resolution: 1) Start sequence numbers always from 0x0001. 2) Reserve sequence number 0x0000 for UTP messages that are not to be acknowledged (messages that only contain Acknowledge and/or Pause chunk). Received text: Add a new subsection 'Sequence Numberging' after the subsection 7.4.1 'UDP Tunneling Protocol': Each communication session must start sequence numbering from 0x0001. In other words the UTP message containing the InitialAccessRequest chunk (or its first fragment) and the associated reply containing the InitialAccessReply chunk (or its first fragment) MUST have UTP Sequence Number 0x0001. The sequence number counting follows the usual modulo arithmetic with the exception that the sequence number 0x0001 follows the sequence number 0xFFFF. The UTP Sequence Number 0x0000 is reserved for UTP messages that only contain the Acknowledge chunk and/or the Pause chunk. These messages MUST NOT be acknowledged. Add the following note at the end of subsections 7.4.3 'InitialAccessRequest' and 7.4.4 'InitialAccessReply': Note: UTP message containing this chunk (or its first fragment) MUST have sequence number 0x0001. Add the following two notes at the end of subsection 7.4.5 'Pause': Note 1: If the UTP message contains only the Pause chunk (with or without the Acknowledge chunk), then the UTP Sequence Number MUST be 0x0000. The receiver SHOULD NOT acknowledge such a message. Note 2: After sending the Pause chunk, the sender SHOULD reply to each arriving message by a UTP message containing the Pause chunk. The UTP message MAY also contain ACknowledge and/or GTPData chunks. Add the following note at the end of subsection 7.4.7 'Acknowledge': Note: If the UTP message contains only the Acknowledge chunk (with or without the Pause chunk), then the UTP Sequence Number MUST be 0x0000. The receiver SHOULD NOT acknowledge such a message.