ETSI's Bug Tracker - IPv6 Testing Conformance (TTCN3 + TPs)
View Issue Details
0000009IPv6 Testing Conformance (TTCN3 + TPs)Test Case (TTCN3)public31-08-2006 15:4504-03-2016 11:17
user9 
Alexandre Berge 
normalminoralways
resolvedfixed 
0000009: TC_COR_1059_01 Routing Header address swapping error
In the test-case TC_COR_1059_01, the Echo Request with Routing Header sent by the 1st test-component, v_refHs01, is expected to be forwarded by the IUT, and is thus, received by the 2nd test-component, v_refHs02.

In your test-case, the address in the Routing Header of the received (forwarded) Echo Request is same as the address passed in the Routing Header of the original (sent) Echo Request, viz. v_paramsHs02.gla i.e., the Global Unicast Address of Host 2, which is our final destination. But as per RFC-2460, when the IPv6 Packet carrying Routing Header of Type 0 reaches an Address[i] in the Routing Header, the IPv6 Destination Address and the Address[i] are swapped.

Hence, the received (forwarded) Echo Request should contain the previous IPv6 Destination Address, viz. PX_GLA_IUT_A, in its Routing Header. (Please note that we will have to use the Module-Parameter PX_GLA_IUT_A instead of accessing the address of IUT_A through the CfMessage, as in the CfMessage passed to the 2nd test-component v_refHs02, the IUT’s Global Unicast Address is that of IUT_B, viz. PX_GLA_IUT_B.)

 

RFC Text: if Address [i] or the IPv6 Destination Address is multicast {

                                   discard the packet

                             }

                            else {

                                   swap the IPv6 Destination Address and Address[i]

 

No tags attached.
related to 0000012resolved Alexandre Berge TP_COR_1059_01 
Issue History
31-08-2006 15:45user8New Issue
31-08-2006 15:56user1Reporteruser8 => user9
31-08-2006 15:56user1Category => Test Case
31-08-2006 16:16user10Note Added: 0000002
31-08-2006 16:16user10Statusnew => acknowledged
31-08-2006 16:52user10Relationship addedrelated to 0000012
31-08-2006 18:03user10Project@2@ => @3@
22-09-2006 14:45user1Source (company - Author) => Huawey
07-11-2006 11:25Alexandre BergeAssigned To => Alexandre Berge
07-11-2006 11:25Alexandre BergeStatusacknowledged => confirmed
07-11-2006 11:26Alexandre BergeStatusconfirmed => assigned
07-11-2006 16:15Alexandre BergeStatusassigned => resolved
07-11-2006 16:15Alexandre BergeFixed in Version => Next Release
07-11-2006 16:15Alexandre BergeResolutionopen => fixed
07-11-2006 16:15Alexandre BergeNote Added: 0000213
12-09-2007 18:48user10Project@3@ => IPv6 Testing Conformance (TTCN3 + TPs)
04-03-2016 10:03Yann GarciaCheckin
04-03-2016 10:03Yann GarciaNote Added: 0013875
04-03-2016 10:03Yann GarciaCheckin
04-03-2016 10:03Yann GarciaNote Added: 0013876
04-03-2016 10:06Yann GarciaCheckin
04-03-2016 10:06Yann GarciaNote Added: 0013877
04-03-2016 11:17Yann GarciaCheckin
04-03-2016 11:17Yann GarciaNote Added: 0013878

Notes
(0000002)
user10   
31-08-2006 16:16   
Correct, our code does not swap the addresses although it should.
Reply sent Wed 30/08/2006 11:28
(0000213)
Alexandre Berge   
07-11-2006 16:15   
I had to fix it a different way (I recomputed the address of IUT on Net A), because PX_GLA_IUT_A is not available anymore (change in config handling).
(0013875)
Yann Garcia   
04-03-2016 10:03   
STF507 week#9:
. Implement additional TPs
. Review of the PICS, TSS&TPs & PIXITs documents
. Start validation using simulation
. Minor bug fixed in TA
U /branches/STF507/ttcn/AtsSecurity/AtsSecurity_Functions.ttcn3 [^]
U /branches/STF507/ttcn/AtsSecurity/ItsSecurity_TestCases.ttcn3 [^]
U /branches/STF507/ttcn/AtsSecurity/ItsSecurity_TestControl.ttcn3 [^]
(0013876)
Yann Garcia   
04-03-2016 10:03   
STF507 week#9:
. Implement additional TPs
. Review of the PICS, TSS&TPs & PIXITs documents
. Start validation using simulation
. Minor bug fixed in TA
U /branches/STF507/ttcn/Security/LibItsSecurity_Functions.ttcn3 [^]
U /branches/STF507/ttcn/Security/LibItsSecurity_Templates.ttcn3 [^]
U /branches/STF507/ttcn/Security/LibItsSecurity_TestSystem.ttcn3 [^]
U /branches/STF507/ttcn/Security/LibItsSecurity_TypesAndValues.ttcn3 [^]
(0013877)
Yann Garcia   
04-03-2016 10:06   
STF507 week#9:
. Implement additional TPs
. Review of the PICS, TSS&TPs & PIXITs documents
. Start validation using simulation
. Minor bug fixed in TA
TODO: Logs should be commented later
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/PcapMultiplexer.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/SecurityHelper.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/layers/EthernetLayer.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/layers/GnLayer.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/ports/GnPort.java [^]
(0013878)
Yann Garcia   
04-03-2016 11:17   
STF507 week#9:
. Implement additional TPs
. Review of the PICS, TSS&TPs & PIXITs documents
. Start validation using simulation
. Minor bug fixed in TA
TODO: Logs should be commented later
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/SecurityHelper.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/layers/GnLayer.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/ports/GnPort.java [^]
U /branches/STF507/javasrc/adapter/org/etsi/its/adapter/ports/UpperTesterPort.java [^]