NAME

  OOTB_StaleCookieErrorChunk.seq - ERROR chunk with Stale Cookie ERROR is received from an address with which endpoint has no association


PURPOSE

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


SYNOPSIS

  ./OOTB_StaleCookieErrorChunk.seq [-tooloption ...] -pkt ./OOTB_StaleCookieErrorChunk.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 ERROR chunk with Stale Cookie ERROR is sent to
  endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (CLOSED)                             (CLOSED)
  COOKIE-ACK     ---------------->      Silently discard
  (with Stale Cookie ERROR)
  TEST DESCRIPTION:
  1. Send ERROR message with Stale Cookie ERROR from endpoint A to B,
     when there is no association between them. 
  2. Check A: ERROR message with Stale Cookie ERROR will be discarded.
  3. Check B: State of endpoint B is not disturbed.


NOTE

  None


REFERENCE

  RFC 4960
  8.4.  Handle "Out of the Blue" Packets
    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,
    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.