Skip to content

An implementation of SCTP Conformance Tests according to ETSI TS 102 369 for packetdrill

License

Notifications You must be signed in to change notification settings

nplab/ETSI-SCTP-Conformance-Testsuite

Repository files navigation

ETSI-SCTP-Conformance-Testsuite

An implementation of the SCTP Conformance Tests for packetdrill according to ETSI TS 102 369. The initial focus is on supporting FreeBSD and Linux.

The testsuite contains of 121 test purposes. Four of those are not applicable to SCTP implementations using the socket API defined in RFC 6458 and two test purposes can't be implemented in packetdrill due to conceptual limits. Therefore, 115 test purposes can be implemented with packetdrill.

The following table shows the status of the test purposes splitted up in the 11 main functionalities:

Main Functionality Number of Test Purposes Implemented Finalized
Association Setup (AS) 33 30 (Note 1) 27 (Note 2)
Association Termination (AT) 16 16 16
Invalid Message Handling (IMH) 10 10 10
Duplicate Messages (DM) 15 15 15
Fault Handling (FH) 8 8 7 (Note 3)
Error (E) 6 6 6
Bundling of Data Chunks with Control Chunks (BDC) 8 8 8
Data (D) 15 12 (Note 4) 11 (Note 2)
Acknowledgement (A) 3 3 3
Miscellaneous (M) 4 4 4
Retransmission Timer (RT) 3 3 2 (Note 2)

Notes

  1. One test is not applicable since the maximum number of associations supported by the SCTP stack can't be controlled via the socket API. Two tests are not implementable within packetdrill since checking the randomness of the initiate tags is not supported.
  2. Support for multi-homing is required in packetdrill. This is currently missing and tracked in packetdrill issue 28.
  3. Support for injecting packets with non-unicast source addresses is required in packetdrill. This is currenty missing and tracked in packetdrill issue 26.
  4. Three tests are not applicable, since the socket layer does not have a message size limit for receiving messages. Partial delivery is used in the case the message can't be delivered atomically.

Fixes for FreeBSD

  1. Fix for sctp-d-i-8-11: r286206.
  2. Fix for sctp-at-i-2-5: r287294.
  3. Fix for sctp-at-i-2-7-2: r287444.
  4. Fix for sctp-bdc-i-7-1: r287535.
  5. Fix for sctp-e-i-6-5: r287669.
  6. Fix for sctp-e-i-6-4: r287717 and r287719.
  7. Fix for sctp-imh-i-3-3: r290023.
  8. Fix for sctp-dm-o-4-2-1, sctp-dm-o-4-2-2, sctp-as-o-1-9-1, sctp-as-o-1-9-2: r294057.
  9. Fix for sctp-imh-i-3-9: b621fbb1.

About

An implementation of SCTP Conformance Tests according to ETSI TS 102 369 for packetdrill

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages