NAME

  OOTB_ShutdownCompleteChunk.seq - SHUTDOWN-COMPLETE chunk is received from an address with which endpoint has no association


PURPOSE

  To check that if SHUTDOWN-COMPLETE chunk is received from an address
  with which endpoint has no association, the enpoint should silently
  discard the packet.


SYNOPSIS

  ./OOTB_ShutdownCompleteChunk.seq [-tooloption ...] -pkt ./OOTB_ShutdownCompleteChunk.def
    -tooloption : v6eval tool option
  See Also: ../common/STD_PKT_COMMON.def
            ../common/SCTP_COMMON.def


PRE-TEST CONDITION

  Association is not established between endpoint A and B. Arrange the data
  in endpoint A such that SHUTDOWN-COMPLETE is sent to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  SHUTDOWN-COMPLETE ---------------->    Silently discard
  (with T bit set to 0)
  SHUTDOWN-COMPLETE ---------------->    Silently discard
  (with T bit set to 1)
  TEST DESCRIPTION:
  1. Send SHUTDOWN-COMPLETE message from endpoint A to B, when there
     is no association between them. 
  2. Check A: SHUTDOWN-COMPLETE message will be discarded.
  3. Check B: State of endpoint B is not disturbed.
  4. Repeat the test case with T bit set to 0 and 1.


NOTE

  None


REFERENCE

  RFC 4960
  8.4.  Handle "Out of the Blue" Packets
    5)  If the packet contains a SHUTDOWN ACK chunk, the receiver should
        respond to the sender of the OOTB packet with a SHUTDOWN
        COMPLETE.  When sending the SHUTDOWN COMPLETE, the receiver of
        the OOTB packet must fill in the Verification Tag field of the
        outbound packet with the Verification Tag received in the
        SHUTDOWN ACK and set the T bit in the Chunk Flags to indicate
        that the Verification Tag is reflected.  Otherwise,
    6)  If the packet contains a SHUTDOWN COMPLETE chunk, the receiver
        should silently discard the packet and take no further action.
        Otherwise,
    7)  If the packet contains a "Stale Cookie" ERROR or a COOKIE ACK,
        the SCTP packet should be silently discarded.  Otherwise,