Wireshark-commits: [Wireshark-commits] master 4651b48: smb2: add support for SMB3.1.1 multiple erro
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4651b48d981daf0ca5f17fadd3f9104089a74be5
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
4651b48 by Aurelien Aptel (aaptel@xxxxxxxx):
smb2: add support for SMB3.1.1 multiple error context responses
This change adds dissectors for all error responses types up to
SMB3.1.1.
It also fixes "Malformed Packet" errors when dissecting error response
within compounded packet responses.
SMB2 Error responses are a bit convoluted. Error data can be a list
of error contexts which themselves can hold an error data field.
See [MS-SMB2] 2.2.2.1.
Pseudo-grammar summary:
ERROR_RESP := ERROR_DATA
ERROR_DATA := ( ERROR_CONTEXT + )
| ERROR_STATUS_STOPPED_ON_SYMLINK
| ERROR_SHARE_ID_SHARE_REDIRECT
| ERROR_BUFFER_TOO_SMALL
ERROR_CONTEXT := ... + ERROR_DATA
| ERROR_SHARE_ID_SHARE_REDIRECT
Change-Id: Ic601bfe53e0495e73736d6b00a5b8ce4d2517edc
Reviewed-on: https://code.wireshark.org/review/32314
Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from f2c77a4 uaudp: added support for StartSig/StartSig ACK messages (DTLS feature)
add 4651b48 smb2: add support for SMB3.1.1 multiple error context responses
Summary of changes:
epan/dissectors/packet-smb2.c | 210 ++++++++++++++++++++++++++++++++++++++++--
1 file changed, 202 insertions(+), 8 deletions(-)