Discussion:
[Samba] SMB3 verification in Wireshark
Shivappa Sangapur
2014-02-11 06:51:11 UTC
Permalink
Hi,

I am running samba-4.1.4 on my Fedora OS.

I have provided the "client max protocol = SMB3" and "server max protocol = SMB3" parameters in smb.conf file
I'm able to get only SMB2.1 packets using wireshark after fileshare access from my windows 7 machine. And not SMB3 packets.

SMB2->NegotiateProtocol Response
0x0202
0x0210

Samba-4.1.4 is supporting SMB3 also. So how can I confirm that I'm supporting SMB3.
Please let me know the way.

Thanks & Regards,
Shivappa

The information contained in this e-mail message and in any
attachments/annexure/appendices is confidential to the
recipient and may contain privileged information.
If you are not the intended recipient, please notify the
sender and delete the message along with any
attachments/annexure/appendices. You should not disclose,
copy or otherwise use the information contained in the
message or any annexure. Any views expressed in this e-mail
are those of the individual sender except where the sender
specifically states them to be the views of
Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.

Although this transmission and any attachments are believed to be
free of any virus or other defect that might affect any computer
system into which it is received and opened, it is the responsibility
of the recipient to ensure that it is virus free and no responsibility
is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
damage arising in any way from its use.
Jones
2014-02-11 07:54:45 UTC
Permalink
Hello Shivappa,

I'm able to get only SMB2.1 packets using wireshark after fileshare access
Post by Shivappa Sangapur
from my windows 7 machine. And not SMB3 packets.
This result is as expected because windows 7 machine only support to SMB
2.1,
SMB3 is not included.
Windows 8, Windows Server 2012 or later would support SMB3.
Post by Shivappa Sangapur
Samba-4.1.4 is supporting SMB3 also. So how can I confirm that I'm supporting SMB3.
Wireshark negotiate response dialect column is a good way to confirm,
another is powershell command 'Get-SmbConnection',
please refer to following link:

http://blogs.technet.com/b/josebda/archive/2013/10/02/windows-server-2012-r2-which-version-of-the-smb-protocol-smb-1-0-smb-2-0-smb-2-1-smb-3-0-or-smb-3-02-you-are-using.aspx
--
Jones
Shivappa Sangapur
2014-02-11 08:37:38 UTC
Permalink
Hi Jones,

Thank you for the information.
Now I'm able to get SMB3 packets.
The provided link helped me a lot.


Thanks & Regards,
Shivappa

From: Jones [mailto:jones.kstw at gmail.com]
Sent: Tuesday, February 11, 2014 1:25 PM
To: Shivappa Sangapur
Cc: samba at lists.samba.org
Subject: Re: [Samba] SMB3 verification in Wireshark

Hello Shivappa,

I'm able to get only SMB2.1 packets using wireshark after fileshare access from my windows 7 machine. And not SMB3 packets.

This result is as expected because windows 7 machine only support to SMB 2.1,
SMB3 is not included.
Windows 8, Windows Server 2012 or later would support SMB3.

Samba-4.1.4 is supporting SMB3 also. So how can I confirm that I'm supporting SMB3.

Wireshark negotiate response dialect column is a good way to confirm,
another is powershell command 'Get-SmbConnection',
please refer to following link:

http://blogs.technet.com/b/josebda/archive/2013/10/02/windows-server-2012-r2-which-version-of-the-smb-protocol-smb-1-0-smb-2-0-smb-2-1-smb-3-0-or-smb-3-02-you-are-using.aspx


--
Jones
The information contained in this e-mail message and in any
attachments/annexure/appendices is confidential to the
recipient and may contain privileged information.
If you are not the intended recipient, please notify the
sender and delete the message along with any
attachments/annexure/appendices. You should not disclose,
copy or otherwise use the information contained in the
message or any annexure. Any views expressed in this e-mail
are those of the individual sender except where the sender
specifically states them to be the views of
Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.

Although this transmission and any attachments are believed to be
free of any virus or other defect that might affect any computer
system into which it is received and opened, it is the responsibility
of the recipient to ensure that it is virus free and no responsibility
is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
damage arising in any way from its use.

Loading...