|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Data integrity
Currently, the data and header digests are completely separate.
This makes it impossible to guarantee data integrity because an iSCSI
initiator or target cannot detect when data with a correct digest has
been incorrectly associated with the wrong command (perhaps because of
defective hardware, firmware, or software).
A PDU layout like this
Byte / 0 | 1 | 2 | 3 |
/ | | | |
|7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0|7 6 5 4 3 2 1 0|
+---------------+---------------+---------------+---------------+
0 / BHS /
+/ /
+---------------+---------------+---------------+---------------+
48/ AHS (optional) /
+/ /
+---------------+---------------+---------------+---------------+
----
+---------------+---------------+---------------+---------------+
m/ Data-Digest (optional) /
+/ /
+---------------+---------------+---------------+---------------+
m/ Header-Digest (optional) /
+/ /
+---------------+---------------+---------------+---------------+
n/ Data Segment(optional) /
+/ /
+---------------+---------------+---------------+---------------+
where the Header-Digest includes the Data-Digest would avoid that problem
and not require Data-Digest recalculation when the PDU is being forwarded
with a re-written header.
--
<a href="http://www.poohsticks.org/drew/">Home Page</a>
For those who do, no explanation is necessary.
For those who don't, no explanation is possible.
Home Last updated: Wed Sep 26 15:17:19 2001 6767 messages in chronological order |