libsmbclient SMB2 block size

Ross Lagerwall rosslagerwall at gmail.com
Sat Aug 2 09:08:43 MDT 2014


Hi,

While playing around with various block sizes used with libsmbclient, I
noticed the following behavior:
- when reading 2MB chunks, libsmbclient would request 64512 bytes and
  pipeline many of them at once.
- when forced to use SMB2 (against Win7 server), libsmbclient would use
  65536 byte requests and only send 1 at a time.

The latter behavior is in contrast to what I get when using smbclient
and forcing SMB2: smbclient requests two 1MiB requests concurrently.

Is this a bug?

Wiretraces:
http://rossl.org/junk/smbclient.pcap.gz
http://rossl.org/junk/smbget.pcap.gz

Regards
-- 
Ross Lagerwall


More information about the samba-technical mailing list