** Description changed:

+ [Impact]
+ 
  For Bionic release, current cifs-utils package version is 6.8-1. This
  version is missing below two commits
  
  
https://git.samba.org/?p=cifs-utils.git;a=commit;h=74a1ced5f706ea6a9cab885693c7755657b81a2a
  
https://git.samba.org/?p=cifs-utils.git;a=commit;h=6df98da5cd3fbb33f6f535c6784f037bbadadb84
  
- [Impact]
  
-  * Without above feature, we won’t be able to analyze most part of
- network traces on a client side in case customers have problems
- accessing Azure Files service from VMs running Ubuntu Bionic.
+  * Without above feature, we won’t be able to analyze most part of network 
traces on a client side in case customers have problems accessing Azure Files 
service from VMs running Ubuntu Bionic.
+ 
+ [Test Case]
+ Setup a windows vm to share a directory and an ubuntu host with cifs-utils 
installed.
+ 
+ # mount -v -t cifs //<widnows-IP>/<windows-share>/ /path/to/mount -o
+ username=<username>,password=<password>,domain=<domain>,seal,vers=3.0
+ 
+ Once the share is mounted successfully, we can manually test the various 
commands available in smbinfo utility.
+ The syntax is :
+ # smbinfo <command> <file>
+ 
+ For the available smbinfo commands :
+ # smbinfo -h
+ 
+ For example :
+ 
+ # smbinfo keys joalif.txt
+ SMB3.0 CCM encryption
+ Session Id:   69 00 00 1c 00 18 00 00
+ Session Key:  d7 a5 b3 11 06 a0 3b 94 6a 52 3a 01 98 73 6b d3
+ Server Encryption Key:  9d eb 4c 89 28 62 39 66 a9 e0 0d 57 b9 33 30 40
+ Server Decryption Key:  e6 9a a9 46 c1 a4 7b 6c 3d 2b 18 54 b4 93 a2 42
+ 
+ 
+ [Regression Potential]
+ 
+ These patches cherry pick and touch 2 files : smbinfo.c and smbinfo.rst.
+ They add the smbinfo utility which is required for the 2 commits mentioned in 
the <Impact> section. Since smbinfo does not interact with the rest of the code 
any regression potential would involve smbinfo itself.
+ 
+ [Other]
+ 
+ The smbinfo utility to work properly requires kernel >5.0  and the
+ 'keys' command which is the one used for dumping session id, encryption
+ and decryption keys requires kernel > 5.4.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886551

Title:
   wireshark trace decryption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1886551/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to