AsconfWithAddOtherAddress.seq - ASCONF chunk is received with Add IP Address Parameter which contain a different address type
To check that if ASCONF chunk is received with Add IP Address Parameter
which contain a different address type then the endpoint should add the
source address of the packet to association under IPv6 and responded with
ASCONF-ACK chunk including cause of Unresolvable Address under IPv4.
./AsconfWithAddOtherAddress.seq [-tooloption ...] -pkt ./AsconfWithAddOtherAddress.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 data
in endpoint A such that ASCONF message with Add IP Address Parameter
which contain a different address type is sent to endpoint B.
Endpoint A Endpoint B ULP
(ESTABLISHED) (ESTABLISHED)
ASCONF ----------------->
(with different address type)
<----------------- ASCONF-ACK
TEST DESCRIPTION:
1. Send ASCONF chunk from endpoint A to B with Add IP Address Parameter
which contain a different address type.
2. Check A: ASCONF-ACK with complete success should be received at
endpoint A under IPv6 or SCONF-ACK with Error Cause Indication
Parameter which including cause of Unresolvable Address should be
received at endpoint A under IPv4.
None
RFC 5061
4.2.1. Add 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 = 0xC001 | 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
2-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 informs the receiver that the address specified
is to be added to the existing association. This parameter MUST NOT
contain a broadcast or multicast address. If the address 0.0.0.0 or
::0 is provided, the source address of the packet MUST be added.