You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating a test failure of iSCSI.iSCSICHAP.Invalid test, we noticed that the test is sending CHAP_A=5 instead of CHAP_A=56 or null using tcpdump.
In chap_mod_strip_replace_queue, this part is the culprit:
ret = test_iscsi_strip_tag(iscsi, pdu, "CHAP_A=");
if (ret == -ENOENT) {
logging(LOG_VERBOSE, "ignoring login PDU without CHAP_A");
goto out;
}
as the strip_tag returns -ENOENT and the replace_queue function goes directly to return orig_queue_pdu(iscsi, pdu);, which leads to above-mentioned sending of CHAP_A=5, which results in test wrongly assuming iSCSI login should fail.
The text was updated successfully, but these errors were encountered:
While investigating a test failure of
iSCSI.iSCSICHAP.Invalid
test, we noticed that the test is sending CHAP_A=5 instead of CHAP_A=56 or null using tcpdump.libiscsi/test-tool/test_iscsi_chap.c
Line 93 in 03e9ddc
In
chap_mod_strip_replace_queue
, this part is the culprit:as the strip_tag returns -ENOENT and the replace_queue function goes directly to
return orig_queue_pdu(iscsi, pdu);
, which leads to above-mentioned sending of CHAP_A=5, which results in test wrongly assuming iSCSI login should fail.The text was updated successfully, but these errors were encountered: