NAME

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


PURPOSE

  To check that if SHUTDOWN chunk is received from an address with
  which endpoint has no association, the enpoint should responds it
  with ABORT message.


SYNOPSIS

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


PRE-TEST CONDITION

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


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  SHUTDOWN    ----------------->
              <-----------------       ABORT
                                       Discard the COOKIE-ECHO
  TEST DESCRIPTION:
  1. Send SHUTDOWN message from endpoint A to B, when there is no
     association between them. 
     Record the message sequence using a signal emulator.
  2. Check A: ABORT message will be sent at endpoint B.
  3. Check B: Verification tag in the ABORT will be set equal to the 
     verification tag in the received SHUTDOWN.
  4. Check C: DATA is discarded.
  5. Check D: State of endpoint B is not disturbed.
  6. Check E: T-Bit in the ABORT chunk is set to 1.


NOTE

  None


REFERENCE

  RFC 4960
  8.4.  Handle "Out of the Blue" Packets
    7)  If the packet contains a "Stale Cookie" ERROR or a COOKIE ACK,
        the SCTP packet should be silently discarded.  Otherwise,
    8)  The receiver should respond to the sender of the OOTB packet with
        an ABORT.  When sending the ABORT, the receiver of the OOTB
        packet MUST fill in the Verification Tag field of the outbound
        packet with the value found in the Verification Tag field of the
        OOTB packet and set the T bit in the Chunk Flags to indicate that
        the Verification Tag is reflected.  After sending this ABORT, the
        receiver of the OOTB packet shall discard the OOTB packet and
        take no further action.