smb-vc-reset-on-request-20090218
authorAsanka Herath <asanka@secure-endpoints.com>
Thu, 19 Feb 2009 04:04:24 +0000 (04:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 19 Feb 2009 04:04:24 +0000 (04:04 +0000)
commit4eb808d26b1d417189d363924c4e2e32ed832690
tree566de1eded9c6b1b95325000413e208a961907d0
parent5bd86a09eb897cf12f0d08442f956f79ec7d15b3
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.
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