[cifs-protocol] [REG:111051857287367] BranchCache and SMB2: Questions specific to BranchCache.
Christopher R. Hertel
crh at samba.org
Wed May 18 11:48:24 MDT 2011
Christopher R. Hertel wrote:
> Edgar,
>
> Before I send the captures, here is an analysis I did. I simply copied
> the raw hex values from Wireshark, so the numeric values are displayed
> in wire order.
>
> Note that there are only two differences between the MS IIS output and
> the "CRH Test" output. The different values are marked with an
> asterisk ('*'), but you can ignore the differences between the
> *SegmentHashOfData* values since that difference is expected.
Ooops. I meant *SegmentSecret*. The *SegmentSecret* should differ between
responses from different servers.
> The key field, then, is *dwReadBytesInLastSegment*. Note that in my
> output, the value of *dwReadBytesInLastSegment* matches the value of
> *cbSegment*. This matches the description in the [MS-PCCRC] document
> and also the example given in that document. IIS, however, returns zero
> in that field.
>
> Chris -)-----
>
>
> MS IIS:
>
> Version(2): 0001
>
> dwHashAlgo(4): 0c800000
>
> dwOffsetInFirstSegment(4): 00000000
>
> dwReadBytesInLastSegment(4): 00000000 *
>
> cSegments(4): 01000000
>
> S0:ullOffsetInContent(8): 0000000000000000
>
> S0:cbSegment(4): 9bce0b00
>
> S0:cbBlockSize(4): 00000100
>
> S0:SegmentHashOfData(32): efab36dee4c3d86b2c3ee1170ad5b99eebddb73399c5cc80070bfa9a8a5bf230
>
> S0:SegmentSecret(32): 67bca7ad0092d0467ab74728983ce08540198c38f4cdba9e8a245d9c82c779d8 *
>
> B0:cBlocks(4): 0c000000
>
> B0:BlockHash[0](32): d4aea98c53a8df7eec3496bae930dbdb152358b0917dda8be811c2ed55613ed5
>
> B0:BlockHash[1](32): 148b440e24010bf86e3cc6f9e517ef2198af8df1e8c1f299f3dc7c4e27328829
>
> B0:BlockHash[2](32): 0c09c0e8d3924fd9903272e571dd6c50a2d5d931c7bc86ba354189e69ec0535f
>
> B0:BlockHash[3](32): 32dbd42bc185f214af428858a33cc77efe97e8050abbd83b4243e360e32995dc
>
> B0:BlockHash[4](32): bd22b097902b9174cf3decaef9f6208618bd18636c3b4283174a1054396bde20
>
> B0:BlockHash[5](32): 08911bbb59f43dc69f4b3019ce5dbb43ff1e8d48ae48e1cac375c7f0464bd696
>
> B0:BlockHash[6](32): 3c8c5d2fd0c9ea5576e0bc274308b2e47491922f97411abaa1345eaae58b8496
>
> B0:BlockHash[7](32): dda2e978a0a060e59d935af347e0811f20a74aeeb8720d847a8227a8b4c604e6
>
> B0:BlockHash[8](32): 32ddf8fa5fc939578b0b855427d49ff39592dcd6006b711216990b5b9281bd92
>
> B0:BlockHash[9](32): 32ad5e61ae07971833b7f197b5fa7cf897f1e4d6f6a76969037ef0c6e8d0eea4
>
> B0:BlockHash[A](32): 6df71b63601c9bffa26defcd8775c8d9e171f28a6e228349afbbc43cede32a8b
>
> B0:BlockHash[B](32): 32311bd60095b7510dba2a5d970dbe594829879e5d889428822d3ada005e6225
>
>
> CRH Test:
>
> Version(2): 0001
>
> dwHashAlgo(4): 0c800000
>
> dwOffsetInFirstSegment(4): 00000000
>
> dwReadBytesInLastSegment(4): 9bce0b00 *
>
> cSegments(4): 01000000
>
> S0:ullOffsetInContent(8): 0000000000000000
>
> S0:cbSegment(4): 9bce0b00
>
> S0:cbBlockSize(4): 00000100
>
> S0:SegmentHashOfData(32): efab36dee4c3d86b2c3ee1170ad5b99eebddb73399c5cc80070bfa9a8a5bf230
>
> S0:SegmentSecret(32): 3031323334353637383961626364656630313233343536373839414243444546 *
>
> B0:cBlocks(4): 0c000000
>
> B0:BlockHash[0](32): d4aea98c53a8df7eec3496bae930dbdb152358b0917dda8be811c2ed55613ed5
>
> B0:BlockHash[1](32): 148b440e24010bf86e3cc6f9e517ef2198af8df1e8c1f299f3dc7c4e27328829
>
> B0:BlockHash[2](32): 0c09c0e8d3924fd9903272e571dd6c50a2d5d931c7bc86ba354189e69ec0535f
>
> B0:BlockHash[3](32): 32dbd42bc185f214af428858a33cc77efe97e8050abbd83b4243e360e32995dc
>
> B0:BlockHash[4](32): bd22b097902b9174cf3decaef9f6208618bd18636c3b4283174a1054396bde20
>
> B0:BlockHash[5](32): 08911bbb59f43dc69f4b3019ce5dbb43ff1e8d48ae48e1cac375c7f0464bd696
>
> B0:BlockHash[6](32): 3c8c5d2fd0c9ea5576e0bc274308b2e47491922f97411abaa1345eaae58b8496
>
> B0:BlockHash[7](32): dda2e978a0a060e59d935af347e0811f20a74aeeb8720d847a8227a8b4c604e6
>
> B0:BlockHash[8](32): 32ddf8fa5fc939578b0b855427d49ff39592dcd6006b711216990b5b9281bd92
>
> B0:BlockHash[9](32): 32ad5e61ae07971833b7f197b5fa7cf897f1e4d6f6a76969037ef0c6e8d0eea4
>
> B0:BlockHash[A](32): 6df71b63601c9bffa26defcd8775c8d9e171f28a6e228349afbbc43cede32a8b
>
> B0:BlockHash[B](32): 32311bd60095b7510dba2a5d970dbe594829879e5d889428822d3ada005e6225
>
>
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the cifs-protocol
mailing list