Hi,The iSCSI target is expected to send a Login reject when it receives the CHAP_C value which target or initiator has used in previous attempts for authentication (as stated in RFC 1994,section 4.1). However , i find that LIO is accepting the reuse of CHAP_C values,and sends a Login success which is an error.
RFC 1994 section 4.1 -------------<snip>--------------The Challenge Value MUST be changed each time a Challenge is sent. Originators MUST NOT reuse the CHAP challenge sent by the Responder for the other direction of a bidirectional authentication. Responders MUST
check for this condition and close the iSCSI TCP connection if it occurs. -------------<snip>-------------- i have attached the pcap for the same. -- Thanks and regards. Tejas Vaykole Development Engineer. Calsoft Inc.
Attachment:
chap_c reflected
Description: Binary data