PDU digests and discovery sessions
I have discovered that open-iscsi treats discovery and normal sessions differently with respect to login parameters. Regardless of the PDU digest settings in the /etc/iscsid.conf configuration file, open-iscsi _always_ attempts to establish discovery sessions with digests disabled. Is this by design? For example, my configuration file contains: node.conn[0].iscsi.HeaderDigest = CRC32C,None One would reasonably expect that the initiator would use this value for session logins. However I have observed that the digest parameter sent by the initiator to a given target is _always_ None. For the case that I have configured the target to enable CRC32C digests for the PDU header, the discovery login sessions will fail. For subsequent (normal sessions), open-iscsi does use the digest values as set in the configuration file. Note: the iSCSI RFC 3720 does not preclude this behaviour -- distinguishing between discovery and normal session login parameters. However I feel it is an error to not allow a user of open-iscsi to have control over this. Comments? --Eric -- You received this message because you are subscribed to the Google Groups open-iscsi group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/groups/opt_out.
Re: PDU digests and discovery sessions
On Dec 3, 2013, at 10:59 AM, wireis...@gmail.com wrote: I have discovered that open-iscsi treats discovery and normal sessions differently with respect to login parameters. Regardless of the PDU digest settings in the /etc/iscsid.conf configuration file, open-iscsi _always_ attempts to establish discovery sessions with digests disabled. Is this by design? For example, my configuration file contains: node.conn[0].iscsi.HeaderDigest = CRC32C,None open-iscsi does not support header/data digests during discovery sessions. That is why there is no setting to config it and it is always None. The above setting is just for normal sessions. What target are you using? I think you are the first person to ask about digest support for discovery sessions. I do not think I have seen a target with it supported (or if I did I never noticed it), so we never implemented it. -- You received this message because you are subscribed to the Google Groups open-iscsi group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/groups/opt_out.