Hi,
I am sending login PDU with CSG=Security Negotiation, T=0, NSG=2.
Note: We deliberately setting NSG to invalid value of 2.
Now, the Target is failing the login with 'Initiator Error
(miscellaneous error)'.
It's my understanding that since T bit is 0, NSG is reserved and invalid
NSG should not cause login to fail.
As per RFC "The next stage value is only valid when the T bit is 1;
otherwise, it is reserved."
"10.12.3. CSG and NSG
Through these fields, Current Stage (CSG) and Next Stage (NSG), the
Login negotiation requests and responses are associated with a
specific stage in the session (SecurityNegotiation,
LoginOperationalNegotiation, FullFeaturePhase) and may indicate the
next stage to which they want to move (see Chapter 5). The next
stage value is only valid when the T bit is 1; otherwise, it is
reserved.
The stage codes are:
- 0 - SecurityNegotiation
- 1 - LoginOperationalNegotiation
- 3 - FullFeaturePhase
All other codes are reserved."
Is this an expected behavior?
FYKI:
cat /sys/kernel/config/target/iscsi/lio_version
RisingTide Systems Linux-iSCSI Target v4.1.0-rc1
Regards,
Sumit Rai
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html