NAME

  SG_R_RFC2408_5_5_2_1_P - [Responder Test] Check the Protocol-ID field to confirm it is valid


TARGET

  SGW


SYNOPSIS

  SG_R_RFC2408_5_5_2_1_P.seq [-tooloption ...] -pkt SG_R_RFC2408_5_5_2_1_P.def -tooloption : v6eval tool option
  See also ike_common.def and ike_ipsec.def and ike_addr.def and ike_pkt_ph1_recv.def and ike_pkt_ph2_recv.def


INITIALIZATION


TEST PROCEDURE

  This test check is following.

IDENTITY PROTECTION EXCHANGE
# Initiator(TN) Direction Responder(NUT) (1) HDR; SA ========> <-----Protocol-ID field : 248 (invalid value)
(2-A) X <======== HDR; SA <-----Must not transmit or (2-B) <======== HDR; N/D Judgement (Check *1)
1. Send the first message from TN In the first message (1), the initiator generates a proposal it considers adequate to protect traffic for the given situation. The Security Association, Proposal, and Transform payloads are included in the Security Association payload (for notation purposes).
2. Receive the second message from NUT In the second message (2-B), the responder indicates either an ISAKMP Notify Payload or an ISAKMP delete Payload.


JUDGEMENT

      The first message must not be accepted. And the second message(2-A) 
      must not be returned (* or INVALID-PROTOCOL-ID message(2-B) is returned).
      *option : if you want to check the retruned Notify message.


TERMINATION

  Clean up SAD and SPD


REFERENCE

  RFC2408
  5.5 Proposal Payload Processing

(omit)
When a Proposal payload is received, the receiving entity (initiator or responder) MUST do the following:
1. Determine if the Protocol is supported. If the Protocol-ID field is invalid, the payload is discarded and the following actions are taken:
(a) The event, INVALID PROTOCOL, MAY be logged in the appropriate system audit file.
(b) An Informational Exchange with a Notification payload containing the INVALID-PROTOCOL-ID message type MAY be sent to the transmitting entity. This action is dictated by a system security policy.
2. Determine if the SPI is valid. If the SPI is invalid, the payload is discarded and the following actions are taken:
(a) The event, INVALID SPI, MAY be logged in the appropriate system audit file.
(b) An Informational Exchange with a Notification payload containing the INVALID-SPI message type MAY be sent to the transmitting entity. This action is dictated by a system security policy.
3. Ensure the Proposals are presented according to the details given in section 3.5 and 4.2. If the proposals are not formed correctly, the following actions are taken:
(a) Possible events, BAD PROPOSAL SYNTAX, INVALID PROPOSAL, are logged in the appropriate system audit file.
(b) An Informational Exchange with a Notification payload containing the BAD-PROPOSAL-SYNTAX or PAYLOAD-MALFORMED message type MAY be sent to the transmitting entity. This action is dictated by a system security policy.
4. Process the Proposal and Transform payloads as defined by the Next Payload field. Examples of processing these payloads are given in section 4.2.1.


SEE ALSO

  perldoc V6evalTool
  IKE.html IKE Test Common Utility