status of smb2 and smb3 development in samba sdc 2012
play

Status of SMB2 and SMB3 development in Samba SDC 2012 Michael Adam - PowerPoint PPT Presentation

Status of SMB2 and SMB3 development in Samba SDC 2012 Michael Adam obnox@samba.org Samba Team / SerNet 2012-09-17 Hi there! Oh ... ... please interrupt with questions! Michael Adam SMB2+ in Samba (3 / 20) SMB2 in Samba Only SMB 2.0


  1. Status of SMB2 and SMB3 development in Samba SDC 2012 Michael Adam obnox@samba.org Samba Team / SerNet 2012-09-17

  2. Hi there!

  3. Oh ... ... please interrupt with questions! Michael Adam SMB2+ in Samba (3 / 20)

  4. SMB2 in Samba ◮ Only SMB 2.0 supported in currently released code ◮ experimental support in version 3.5 ◮ SMB 2.0 officially supported in Samba 3.6 ◮ Missing feature: durable file handles Michael Adam SMB2+ in Samba (4 / 20)

  5. SMB2 in Samba ◮ Only SMB 2.0 supported in currently released code ◮ experimental support in version 3.5 ◮ SMB 2.0 officially supported in Samba 3.6 ◮ Missing feature: durable file handles Michael Adam SMB2+ in Samba (4 / 20)

  6. SMB2 in Samba ◮ Only SMB 2.0 supported in currently released code ◮ experimental support in version 3.5 ◮ SMB 2.0 officially supported in Samba 3.6 ◮ Missing feature: durable file handles Michael Adam SMB2+ in Samba (4 / 20)

  7. SMB2 in Samba ◮ Only SMB 2.0 supported in currently released code ◮ experimental support in version 3.5 ◮ SMB 2.0 officially supported in Samba 3.6 ◮ Missing feature: durable file handles Michael Adam SMB2+ in Samba (4 / 20)

  8. SMB2 in Samba ◮ Only SMB 2.0 supported in currently released code ◮ experimental support in version 3.5 ◮ SMB 2.0 officially supported in Samba 3.6 ◮ Missing feature: durable file handles Michael Adam SMB2+ in Samba (4 / 20)

  9. SMB2+ ◮ SMB 2.0: ◮ durable file handles ◮ SMB 2.1: ◮ multi-credit / large mtu ◮ dynamic reauthentication ◮ leasing ◮ resilient file handles ◮ SMB 3.0 (tpfka SMB 2.2): ◮ new crypto (sign/encrypt) ◮ secure negotiation ◮ durable handles v2 ◮ persistent file handles ◮ multi-channel ◮ SMB direct ◮ cluster features ◮ ... Michael Adam SMB2+ in Samba (5 / 20)

  10. SMB2+ ◮ SMB 2.0: ◮ durable file handles ◮ SMB 2.1: ◮ multi-credit / large mtu ◮ dynamic reauthentication ◮ leasing ◮ resilient file handles ◮ SMB 3.0 (tpfka SMB 2.2): ◮ new crypto (sign/encrypt) ◮ secure negotiation ◮ durable handles v2 ◮ persistent file handles ◮ multi-channel ◮ SMB direct ◮ cluster features ◮ ... Michael Adam SMB2+ in Samba (5 / 20)

  11. SMB2+ ◮ SMB 2.0: ◮ durable file handles ◮ SMB 2.1: ◮ multi-credit / large mtu ◮ dynamic reauthentication ◮ leasing ◮ resilient file handles ◮ SMB 3.0 (tpfka SMB 2.2): ◮ new crypto (sign/encrypt) ◮ secure negotiation ◮ durable handles v2 ◮ persistent file handles ◮ multi-channel ◮ SMB direct ◮ cluster features ◮ ... Michael Adam SMB2+ in Samba (5 / 20)

  12. SMB2+ ◮ SMB 2.0: ◮ durable file handles ◮ SMB 2.1: ◮ multi-credit / large mtu ◮ dynamic reauthentication ◮ leasing ◮ resilient file handles ◮ SMB 3.0 (tpfka SMB 2.2): ◮ new crypto (sign/encrypt) ◮ secure negotiation ◮ durable handles v2 ◮ persistent file handles ◮ multi-channel ◮ SMB direct ◮ cluster features ◮ ... Michael Adam SMB2+ in Samba (5 / 20)

  13. SMB2+ ◮ SMB 2.0: ◮ durable file handles [(almost)DONE] ◮ SMB 2.1: ◮ multi-credit / large mtu [DONE] ◮ dynamic reauthentication [DONE] ◮ leasing [TODO] ◮ resilient file handles [TODO] ◮ SMB 3.0 (tpfka SMB 2.2): ◮ new crypto (sign/encrypt) [DONE] ◮ secure negotiation [DONE] ◮ durable handles v2 [WIP] ◮ persistent file handles [BEGUN] ◮ multi-channel [TODO] ◮ SMB direct [TODO] ◮ cluster features [TODO] ◮ ... Michael Adam SMB2+ in Samba (5 / 20)

  14. The Construction Squad ... Michael Adam SMB2+ in Samba (6 / 20)

  15. The Construction Squad ... ◮ Jeremy Allison ◮ Stefan Metzmacher ◮ Michael Adam ◮ Volker Lendecke ◮ Christian Ambach ◮ Gregor Beck ◮ Bj¨ orn Baumbach ◮ + ... Michael Adam SMB2+ in Samba (6 / 20)

  16. Durable Handles Michael Adam SMB2+ in Samba (7 / 20)

  17. Durable Handles ◮ target: short network outages ◮ client reconnects session (cleanup) ◮ then reconnects durable handle ◮ threaded file server keeps disconnected handle open Michael Adam SMB2+ in Samba (7 / 20)

  18. Durable Handles ◮ target: short network outages ◮ client reconnects session (cleanup) ◮ then reconnects durable handle ◮ threaded file server keeps disconnected handle open Michael Adam SMB2+ in Samba (7 / 20)

  19. Durable Handles ◮ target: short network outages ◮ client reconnects session (cleanup) ◮ then reconnects durable handle ◮ threaded file server keeps disconnected handle open Michael Adam SMB2+ in Samba (7 / 20)

  20. Durable Handles ◮ target: short network outages ◮ client reconnects session (cleanup) ◮ then reconnects durable handle ◮ threaded file server keeps disconnected handle open Michael Adam SMB2+ in Samba (7 / 20)

  21. Durable Handles And Samba Michael Adam SMB2+ in Samba (8 / 20)

  22. Durable Handles And Samba ◮ need to find old session by session-ID ◮ need to find file handle by persistent file ID ◮ threaded vs. multi-process: keep files open vs. reopen files ◮ need to serialize state that had before been in memory only ◮ new structures in samba: separate smb-layer and file system layer ◮ ⇒ foundation for all further SMB2 work Michael Adam SMB2+ in Samba (8 / 20)

  23. Durable Handles And Samba ◮ need to find old session by session-ID ◮ need to find file handle by persistent file ID ◮ threaded vs. multi-process: keep files open vs. reopen files ◮ need to serialize state that had before been in memory only ◮ new structures in samba: separate smb-layer and file system layer ◮ ⇒ foundation for all further SMB2 work Michael Adam SMB2+ in Samba (8 / 20)

  24. Durable Handles And Samba ◮ need to find old session by session-ID ◮ need to find file handle by persistent file ID ◮ threaded vs. multi-process: keep files open vs. reopen files ◮ need to serialize state that had before been in memory only ◮ new structures in samba: separate smb-layer and file system layer ◮ ⇒ foundation for all further SMB2 work Michael Adam SMB2+ in Samba (8 / 20)

  25. Durable Handles And Samba ◮ need to find old session by session-ID ◮ need to find file handle by persistent file ID ◮ threaded vs. multi-process: keep files open vs. reopen files ◮ need to serialize state that had before been in memory only ◮ new structures in samba: separate smb-layer and file system layer ◮ ⇒ foundation for all further SMB2 work Michael Adam SMB2+ in Samba (8 / 20)

  26. Durable Handles And Samba ◮ need to find old session by session-ID ◮ need to find file handle by persistent file ID ◮ threaded vs. multi-process: keep files open vs. reopen files ◮ need to serialize state that had before been in memory only ◮ new structures in samba: separate smb-layer and file system layer ◮ ⇒ foundation for all further SMB2 work Michael Adam SMB2+ in Samba (8 / 20)

  27. Durable Handles And Samba ◮ need to find old session by session-ID ◮ need to find file handle by persistent file ID ◮ threaded vs. multi-process: keep files open vs. reopen files ◮ need to serialize state that had before been in memory only ◮ new structures in samba: separate smb-layer and file system layer ◮ ⇒ foundation for all further SMB2 work Michael Adam SMB2+ in Samba (8 / 20)

  28. Preparations: tests and client libraries ◮ tests to explore protocol details: use client libraries ◮ we had 4 independed client libraries: [smb1, smb2] × [source3, source4] (each incomplete and with its own problems) ◮ ⇒ created one low level library for smb1 and smb2 (the others are just wrappers now) libcli/smb/smbXcli base.h ◮ we have written a lot of new tests: reauth, multi-credit, multi-channel, durable/persistent handles, ... ◮ tests still use the old interfaces ⇒ TODO: write a higher level protocol independed library for use in generic tests and client tools Michael Adam SMB2+ in Samba (9 / 20)

  29. Preparations: tests and client libraries ◮ tests to explore protocol details: use client libraries ◮ we had 4 independed client libraries: [smb1, smb2] × [source3, source4] (each incomplete and with its own problems) ◮ ⇒ created one low level library for smb1 and smb2 (the others are just wrappers now) libcli/smb/smbXcli base.h ◮ we have written a lot of new tests: reauth, multi-credit, multi-channel, durable/persistent handles, ... ◮ tests still use the old interfaces ⇒ TODO: write a higher level protocol independed library for use in generic tests and client tools Michael Adam SMB2+ in Samba (9 / 20)

  30. Preparations: tests and client libraries ◮ tests to explore protocol details: use client libraries ◮ we had 4 independed client libraries: [smb1, smb2] × [source3, source4] (each incomplete and with its own problems) ◮ ⇒ created one low level library for smb1 and smb2 (the others are just wrappers now) libcli/smb/smbXcli base.h ◮ we have written a lot of new tests: reauth, multi-credit, multi-channel, durable/persistent handles, ... ◮ tests still use the old interfaces ⇒ TODO: write a higher level protocol independed library for use in generic tests and client tools Michael Adam SMB2+ in Samba (9 / 20)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend