NAME

  AbortWithBadTag.seq - ABORT chunk is received with invalid Verification Tag


PURPOSE

  To check that receiving ABORT message with invalid Verification Tag
  and T bit is not set is silently discard.


SYNOPSIS

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


PRE-TEST CONDITION

  Association is established between endpoint A and B. Arrange 
  the data in endpoint A such that an ABORT message is sent to 
  endpoint B containing invalid tag in it.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (ESTABLISHED)                        (ESTABLISHED)
   ABORT             -------------->     Silently discard
   (with invalid Verification Tag and TFlag set to 0)
   ABORT             -------------->     Silently discard
   (with invalid Verification Tag and TFlag set to 0)
  TEST DESCRIPTION:
  1. Attempt to terminate an association between endpoint A and endpoint 
     B by sending ABORT message with no error cause.
  2. ABORT message is sent with invalid Verification Tag and TFlag set to 0.
  3. Check A: ABORT message is silently discard and take no further action.
  3. Repeat above test with TFlag set to 1.


NOTE

  None


REFERENCE

  RFC 4960
  8.5.1.  Exceptions in Verification Tag Rules
    B) Rules for packet carrying ABORT:
    -   The endpoint MUST always fill in the Verification Tag field of
        the outbound packet with the destination endpoint's tag value, if
        it is known.
    -   If the ABORT is sent in response to an OOTB packet, the endpoint
        MUST follow the procedure described in Section 8.4.
    -   The receiver of an ABORT MUST accept the packet if the
        Verification Tag field of the packet matches its own tag and the
        T bit is not set OR if it is set to its peer's tag and the T bit
        is set in the Chunk Flags.  Otherwise, the receiver MUST silently
        discard the packet and take no further action.