NAME

  OOTB_CookieEchoChunk.seq - COOKIE-ECHO chunk is received from an address with which endpoint has no association


PURPOSE

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


SYNOPSIS

  ./OOTB_CookieEchoChunk.seq [-tooloption ...] -pkt ./OOTB_CookieEchoChunk.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 COOKIE-ECHO is sent to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  COOKIE-ECHO ----------------->
              <-----------------       ABORT
                                       Discard the COOKIE-ECHO
  TEST DESCRIPTION:
  1. From endpoint A, send valid COOKIE-ECHO message to endpoint 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 COOKIE-ECHO. 
  4. Check C: COOKIE-ECHO 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.