DeleteSourceAddress.seq - ASCONF chunk is received with Delete IP Address to delete an IP address that is also the source address
To check if ASCONF chunk is received to delete an IP address that is also the source address of the ASCONF chunk, the receiver MUST send an Error Cause TLV with the error cause set to the new error code 'Request to Delete Source IP Address'.
./DeleteSourceAddress.seq [-tooloption ...] -pkt ./DeleteSourceAddress.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 ASCONF in endpoint A such that ASCONF chunk with delete source address IP address parameter is sent to endpoint B.
Endpoint A Endpoint B ULP (ESTABLISHED) (ESTABLISHED)
ASCONF ----------------> (Delete Source IP Address) <----------------- ASCONF-ACK (Delete Source IP Address Error)
TEST DESCRIPTION:
1. Send ASCONF chunk from endpoint A to B with delete delete an IP address that is also the source address. 2. Check A: ASCONF-ACK with delete source IP address error should be received at endpoint A.
None
RFC 5061
5.3. General Rules for Address Manipulation
When building TLV parameters for the ASCONF Chunk that will add or delete IP addresses, the following rules MUST be applied:
F8) If a request is received to delete an IP address that is also the source address of the IP packet that contained the ASCONF chunk, the receiver MUST reject this request. To reject the request, the receiver MUST send an Error Cause TLV set to the new error code 'Request to Delete Source IP Address' (unless Rule F5 has also been violated, in which case the error code 'Request to Delete Last Remaining IP Address' is sent).