SoC/Ideas: Difference between revisions

From SambaWiki
(Update Ceph RADOS KV store proposal and slightly rework cifs.ko introduction)
(following discussion with Andreas, add back the MS-PAR task, but change its focus to Wireshark dissectors)
Line 70: Line 70:
*Possible Mentors: Noel Power
*Possible Mentors: Noel Power


-->
=== Print System Asynchronous Remote Protocol client library and torture tests===
=== Print System Asynchronous Remote Protocol Wireshark Dissectors ===


The Print System Asynchronous Remote Protocol ([https://msdn.microsoft.com/en-us/library/cc238080.aspx MS-PAR]) is a replacement for the synchronous Print System Remote Protocol (MS-RPRN). MS-PAR inherits many message and buffer formats from the old protocol, but allows for asynchronous submission and notification of print jobs. Further details of the protocol can be found in Günther and Andreas' [http://archive.sambaxp.org/fileadmin/user_upload/SambaXP2013-DATA/thu/track2/Guenther_Deschner_Andreas_Schneider-Printing_Samba_4.pdf SambaXP presentation].
The Print System Asynchronous Remote Protocol ([https://msdn.microsoft.com/en-us/library/cc238080.aspx MS-PAR]) is a replacement for the synchronous Print System Remote Protocol (MS-RPRN). MS-PAR inherits many message and buffer formats from the old protocol, but allows for asynchronous submission and notification of print jobs. Further details of the protocol can be found in Günther and Andreas' [http://archive.sambaxp.org/fileadmin/user_upload/SambaXP2013-DATA/thu/track2/Guenther_Deschner_Andreas_Schneider-Printing_Samba_4.pdf SambaXP presentation].


The student should write a (un)marshalling library to push and pull MS-PAR PDUs, and an asynchronous client library on top of the Samba raw smb client library.
The student should write Wireshark dissectors for MS-PAR.
The student should improve existing smbtorture tests, which demonstrate how the protocol works against a Windows server.


*Difficulty: Medium
The student should write sub-tests for smbtorture which should demonstrate how the protocol works against a Windows server.
The student doesn't have to implement the Samba server code.

*Difficulty: Medium, Hard
*Language(s): C
*Language(s): C
*Possible Mentors: Andreas Schneider
*Possible Mentors: Andreas Schneider



-->
===dbwrap back-end for Ceph RADOS key-value storage===
===dbwrap back-end for Ceph RADOS key-value storage===


Line 121: Line 120:




==Linux Kernel SMB client improvements==
==Linux Kernel SMB Client Improvements==
Interested students should contact Steve French or the [mailto:linux-cifs@vger.kernel.org linux-cifs mailing list] to discuss possible improvements to the Linux Kernel CIFS VFS client.
Interested students should contact Steve French or the [mailto:linux-cifs@vger.kernel.org linux-cifs mailing list] to discuss possible improvements to the Linux Kernel CIFS VFS client.


Line 128: Line 127:
* Language: C
* Language: C
* Difficulty: Low
* Difficulty: Low



=== Write the One-True-Tool to unify probe/setup/configuration cifs.ko properly ===
=== Write the One-True-Tool to unify probe/setup/configuration cifs.ko properly ===
* Too many knobs in different places at the moment: request-keys, idmap, cifscreds, /proc stuff
* Too many knobs in different places at the moment: request-keys, idmap, cifscreds, /proc stuff
* Would handle ACL stuff as well (nice gui to get/set)
* Would handle ACL stuff as well (nice gui to get/set)



=== Improve smbcmp, the capture diff tool ===
=== Improve smbcmp, the capture diff tool ===

Revision as of 12:37, 16 January 2019

Google Summer of Code: Suggested Project ideas

The following are the Samba project ideas for Summer of Code. Of course you are free to come up with ideas not listed here. Please discuss the your planned project by either joining us on irc://irc.freenode.net/#samba-technical or by sending email to samba-technical@lists.samba.org

Samba

Some additional possible GSoC topics can be found in Bugzilla in the form of bugs which are marked as "Feature request": here. Questions regarding complexity and requirements should be directed to the technical mailing list.

Print System Asynchronous Remote Protocol Wireshark Dissectors

The Print System Asynchronous Remote Protocol (MS-PAR) is a replacement for the synchronous Print System Remote Protocol (MS-RPRN). MS-PAR inherits many message and buffer formats from the old protocol, but allows for asynchronous submission and notification of print jobs. Further details of the protocol can be found in Günther and Andreas' SambaXP presentation.

The student should write Wireshark dissectors for MS-PAR. The student should improve existing smbtorture tests, which demonstrate how the protocol works against a Windows server.

  • Difficulty: Medium
  • Language(s): C
  • Possible Mentors: Andreas Schneider


dbwrap back-end for Ceph RADOS key-value storage

Ceph offers a highly scalable and fault-tolerant storage system. Samba is already capable of sharing data located on the Ceph Filesystem, however scale-out sharing (the same data exposed by multiple Samba nodes) currently requires the use of CTDB for consistent and coherent state across Samba cluster nodes. In such a setup CTDB provides a clustered database with persistent key-value data storage and locking. Database usage is abstracted out via a generic dbwrap interface.

Ceph's librados library provides an API for the storage and retrieval of arbitrary key-value data via the omap functions. A watch/notify protocol is also provided as a mechanism for synchronising client state (locking). Key-value data stored in the RADOS back-end inherits the same redundancy features as regular objects, making it a potentially good candidate as a replacement for CTDB in scale-out Samba clusters.

This task involves the implementation and testing of a new dbwrap back-end that uses librados for the storage, retrieval and locking of Samba key-value state. Ideally, the candidate would also allow time for benchmarking.

  • Difficulty: Medium
  • Language(s): C
  • Possible Mentors: David Disseldorp


Linux Kernel SMB Client Improvements

Interested students should contact Steve French or the linux-cifs mailing list to discuss possible improvements to the Linux Kernel CIFS VFS client.

Add machine-readable debug & stats /proc file

  • Stop outputing free format text that breaks all parsers out there everytime we add things to it. Clean up the cifsdebug.c file (its kind of messy). Possibly generate a hierarchy of files (e.g. a dir per tcp connection, subdirs for session, files for tcons). Make a nice native/console/web UI for it.
  • Language: C
  • Difficulty: Low


Write the One-True-Tool to unify probe/setup/configuration cifs.ko properly

  • Too many knobs in different places at the moment: request-keys, idmap, cifscreds, /proc stuff
  • Would handle ACL stuff as well (nice gui to get/set)


Improve smbcmp, the capture diff tool

  • Use or combine current tshark output with the XML output to do better diffs
  • Better UI?
  • Language: Python (rewrite in something else is OK)