libsmb2 icon indicating copy to clipboard operation
libsmb2 copied to clipboard

A couple of questions: (mainly SMBv3 traffic generation)

Open RidaShamasneh opened this issue 1 year ago • 1 comments

  • Is this library supported on Ubunto?
  • Can it generate an SMBv3 traffic?
  • I need a library that has a support for byte range lock and change notification features? I could not see any of these features implemented in this repo? I wonder if repo is ready to accept changes intended to accomplish these features?

RidaShamasneh avatar Feb 22 '24 12:02 RidaShamasneh

Hi,

On Thu, 22 Feb 2024 at 22:54, Rida Shamasneh @.***> wrote:

  • Is this library supported on Ubunto?

Yes.

  • Can it generate an SMBv3 traffic?

Yes. It supports smb 3.0 including AES-256-CCM signing and encryption. There is partial support for 3.1.1 but I have not had need for that dialect yet, so have not implemented it. It does not support AES-256-GCM, mostly because most of the platforms I target has no vector instruction set and thus can not benefit fom GCM instead of CCM.

  • I need a library that has a support for byte range lock and change notification features? I could not see any of these features implemented in this repo? I wonder if repo is ready to accept changes intended to accomplish these features?

It does not support SMB2 LOCK command but it should be fairly trivial to add. Same for SMB2 CHANGE NOTIFY. Not implemented but should be trivial to add.

If you want to implement LOCK and CHANGE NOTIFY and contribute it, that would be great. Make sure to mimic how things are done in the other smb2-cmd-*.c files Conributions need to be made under he LGPLv2.1 license

Regards ronnie sahlberg

— Reply to this email directly, view it on GitHub https://github.com/sahlberg/libsmb2/issues/322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADY3EAWXPCBWUDVDYCOPM3YU45XVAVCNFSM6AAAAABDU4VBUKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DSMBRGQ3TKOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sahlberg avatar Feb 25 '24 08:02 sahlberg

I think that all the features mentioned in this thread are supported in the ynq library which is written in C: https://visualitynq.com/products/ynq/

smbproton avatar Mar 31 '24 06:03 smbproton