]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-smb-vc-reset-on-request-20090218
authorAsanka Herath <asanka@secure-endpoints.com>
Thu, 19 Feb 2009 04:04:36 +0000 (04:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 19 Feb 2009 04:04:36 +0000 (04:04 +0000)
commita0b49b790d4352008da298949660a8da0ccdeaa1
tree33786ecb80c3801586d3d4cc929064e779d02172
parent4440af00909327cacc035285f6d3f061fbe5253f
DEVEL15-smb-vc-reset-on-request-20090218

LICENSE MIT

When processing SMB_SESSION_SETUP_ANDX in smb_ReceiveV3SessionSetupX
it is possible that the smb client might indicate that it requires an
Mpx Count greater than we are configured to support.  If so, log it
to the Windows Event Log as a warning.

It is also possible that the client might specify that its maximum
receive buffer is smaller than the SMB_PACKETSIZE.  If so, log it
to the Windows Event Log as a warning.

Finally, if the client specifies a virtual circuit number of zero,
the client thinks this is its first time communicating with us.
In which case we should invalidate all prior virtual circuits.
We also log this request to the Windows Event Log as informational.

(cherry picked from commit 4eb808d26b1d417189d363924c4e2e32ed832690)
src/WINNT/afsd/afsd_eventlog.c
src/WINNT/afsd/afsd_eventmessages.mc
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h
src/WINNT/afsd/smb3.c