7e010cbde2
The smb_shadow module can confirm the server smb version supported with the ConfirmServerDialect option. The shadow_mitm_dispatcher closes each stream before opening a new one to prevent leaking file descriptors.