AsconfWithSetNoExists.seq - ASCONF chunk is received with Set Primary Address Parameter which contain a address not part of the association
To check that if ASCONF chunk is received with Set Primary Address Parameter which contain a address not part of the association then the endpoint should responded with ASCONF-ACK chunk including cause of Unresolvable Address.
./AsconfWithSetNoExists.seq [-tooloption ...] -pkt ./AsconfWithSetNoExists.def -tooloption : v6eval tool option See Also: ../common/STD_PKT_COMMON.def ../common/SCTP_COMMON.def
Association is established between endpoint A and B. Arrange the date in endpoint A such that ASCONF chunk with Set Primary Address Parameter which contain a address not part of the association is sent to endpoint B.
Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED)
ASCONF -----------------> (Set Primary Address Parameter) <----------------- ASCONF-ACK (Unresolvable Address)
TEST DESCRIPTION:
1. Send ASCONF chunk from endpoint A to B with Set Primary Address Parameter which contain a address not part of the association. 2. Check A: ASCONF-ACK with with Error Cause Indication Parameter which including cause of Unresolvable Address should be received at endpoint A.
None
RFC 5061
4.2.4. Set Primary IP Address
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type =0xC004 | Length = Variable | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ASCONF-Request Correlation ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Parameter | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
ASCONF-Request Correlation ID: 32 bits
This is an opaque integer assigned by the sender to identify each request parameter. The receiver of the ASCONF Chunk will copy this 32-bit value into the ASCONF Response Correlation ID field of the ASCONF-ACK response parameter. The sender of the ASCONF can use this same value in the ASCONF-ACK to find which request the response is for. Note that the receiver MUST NOT change this 32-bit value.
Address Parameter: TLV
This field contains an IPv4 or IPv6 address parameter as described in Section 3.3.2.1 of [RFC4960]. The complete TLV is wrapped within this parameter. It requests the receiver to mark the specified address as the primary address to send data to (see Section 5.1.2 of [RFC4960]). The receiver MAY mark this as its primary address upon receiving this request. If the address 0.0.0.0 or ::0 is provided, the receiver MAY mark the source address of the packet as its primary.