Cart
Free US shipping over $10
Proud to be B-Corp

Implementing CIFS Christopher Hertel

Implementing CIFS By Christopher Hertel

Implementing CIFS by Christopher Hertel


$11.69
Condition - Very Good
Only 2 left

Summary

The focus of this book is the inner workings of CIFS filesharing. Through necessity it will also cover browsing, basic SMB authentication, and NetBIOS LAN emulation over ICP/IP.

Implementing CIFS Summary

Implementing CIFS: The Common Internet File System by Christopher Hertel

This book gathers together and presents-in a readable, accessible form- the arcane knowledge of the Samba Team in understanding the CIFS protocol. The content is based on years of experience asking and answering questions on the Samba Technical and jCIFS Developer's mailing lists, as well as countless hours spent pouring over obscure documentation, packet traces, and source code. The approach is layered with basic concepts first introduced and then discussed before drilling down into the actual workings and internals. The goal is to help the reader, no matter what platform they are working in, develop an understanding of the protocols, and to act as a guide to the more detailed specifications and technical references that are available.The large installed base of Windows systems has granted de facto standard status to the CIFS (Microsoft's filesharing system) protocol suite. It lets programs make requests for files and services on remote computers on the Internet. Unfortunately, implementation documentation and detailed protocol specs are scarce, incomplete, or inconsistent. This is a problem both for network administrators and third-party CIFS implementors and so the need for this book is clear.Samba is an Open Source CIFS server that ships with most distributions of Linux and several commercial UNIX flavors. JCIFS is an SMB/CIFS implementation in Java.

About Christopher Hertel

CHRISTOPHER R. HERTEL is a member of the Samba Team and a founding member of the jCIFS Team. He has worked with SMB/CIFS networks since the 1980s, when he designed and installed a large-scale network based on DEC Pathworks, using Microsoft and IBM (R) networking protocols. Hertel is Network Design Engineer at the University of Minnesota.

Series Editor BRUCE PERENS is an Open Source evangelist and developer whose software is a major component of most commercial Linux (R) offerings. He founded or co-founded Linux Standard Base, Open Source Initiative, and Software in the Public Interest. As Debian GNU/Linux Project Leader, he was instrumental in getting Linux on two U.S. Space Shuttle flights, bringing respect to Linux when few people were taking it seriously. He now consults with companies on Open Source policies and processes.

Table of Contents



Foreword.


Introduction.

I. NBT: NETBIOS OVER TCP/IP.

1. A Short Bio of NetBIOS.

NetBIOS and DOS: The Early Years.

2. Speaking NetBIOS.

Emulating "NetBIOS LANs". Scope: The Final Frontier. Thus Endeth the Overview.

3. The Basics of NBT Implementation.

You Got the Name, Look Up the Number. Interlude.

4. The Name Service in Detail.

NBT Names: Once More with Feeling. NBT Name Service Packets. Conversations with the Name Service. Enough Already.

5. The Datagram Service in Detail.

Datagram Distribution over Routed IP Internetworks. The NBDD and the Damage Done. Implementing a Workable Datagram Service.

6. The Session Service in Detail.

Session Service Header. Creating an NBT Session. Maintaining an NBT Session. Closing an NBT Session.

7. Where It All Went Wrong.

The 0x1Dirty Little Secret. Twenty-five IPs or Less. Special Handling Required for 0x1B Names. Alternate Name Resolution. The Awful Truth.

II. SMB: THE SERVER MESSAGE BLOCK PROTOCOL.

8. A Little Background on SMB.

Getting Started. NBT or Not NBT.

9. An Introductory Tour of SMB.

The Server Identifier. The Directory Path. The File. The SMB URL. Was That Trip Really Necessary?

10. First Contact: Reaching the Server.

Interpreting the Server Identifier. The Destination Port. Transport Discovery. Connecting to the Server.

11. SMB in Its Natural Habitat.

Our Very First Live SMBs. SMB Message Structure. Case in Point: NEGOTIATE PROTOCOL. The AndX Mutation. The Flow of Conversation. A Little More Code. Take a Break.

12. The SMB Header in Detail.

The SMB_HEADER.STATUS Field Exposed. The FLAGS and FLAGS2 Fields Tell All. EXTRA! EXTRA! Read All About It! TID and UID: Separated at Birth? PID and MID Revealed. SMB Header Final Report.

13. Protocol Negotiation.

A Smattering of SMB Dialects. Greetings: The NEGOTIATE PROTOCOL REQUEST. Gesundheit: The NEGOTIATE PROTOCOL RESPONSE. Are We There Yet?

14. Session Setup.

SESSION SETUP ANDX REQUEST Parameters. SESSION SETUP ANDX REQUEST Data. The SESSION SETUP ANDX RESPONSE SMB.

15. Authentication.

Anonymous and Guest Login. Plaintext Passwords. LM Challenge/Response. NTLM Challenge/Response. NTLM Version 2. Extended Security: That Light at the End of the Tunnel. Kerberos. Random Notes on W2K and NT Domain Authentication. Random Notes on Message Authentication Codes. Non Sequitur Time. Further Study.

16. Building Your SMB Vocabulary.

That TREE CONNECT Thingy. SMB Echo. Readin', Writin', and 'Rithmatic. Transaction SMBs.

17. The Remaining Oddities.

Opportunistic Locks (OpLocks). Distributed File System (DFS). DOS Attributes, Extended File Attributes, Long Filenames, and Suchlike.

18. That Just about Wraps Things Up for SMB.

III. THE BROWSE SERVICE.

19. A Beautiful Day in the Network Neighborhood.

History: From Frontier Town to Bustling Metropolis. Sociology. Politics.

20. Meet the Neighbors.

Browse Service Clientele. The Local Master Browser. Becoming a Backup Browser. Crossing the Street with the DMB. Elections.

21. Infrastructure: The Mailslot and Named Pipe Abstractions.

Meet the Plumbing: Named Pipes. The Mailslot Metaphor.

22. The Talk on the Street.

Making Sense of SMBtrans. Browse Service Mailslot Messages. RAPture.

23. The Better Browser Bureau.

Running an Election. Timing Is Everything.

24. Samba Browse Service Enhancements.

Automatic LANMAN. UnBrowsable. NBNS Wildcard DMB Queries and Enhanced Browsing. Remote Announce. Remote Browse Sync. DMB != PDC.

25. It Can't Happen Here.

Misconfigured Hosts. Misconfigured Networks. Implementation Bugs. Troublemakers. Design Flaws.

26. At Home in the Network Neighborhood.

IV. APPENDICES.

Appendix A: Making a Good Cup of Tea.

Basics of Making Tea. About Tea. Nasty Habits. Decaffeinating Tea.

Appendix B: Known NetBIOS Suffix Values.

NetBIOS Name Suffix Bytes. Special Handling of NetBIOS Names in WINS.

Appendix C: The SMB URL.

The Origins of the SMB URL. Of Round Pegs, Square Holes, and Big Mallets. Form Versus Function. Additional Parts. A Simple SMB URL Parser.

Appendix D: CIFS Technical Reference.

Glossary.

References.
Index.

Additional information

GOR010735346
9780130471161
013047116X
Implementing CIFS: The Common Internet File System by Christopher Hertel
Used - Very Good
Paperback
Pearson Education (US)
2003-03-31
672
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - Implementing CIFS