CIFS Library Source
...as a rule there is not such great perfection in works composed of
several parts, and proceeding from the hands of various artists, as in
those on which one man has worked alone.
-- René Descartes
This is a small and very unfinished collection of code that I started
writing as I was working on my CIFS documentation.
In the source directory you will find:
- Header files
- Common include files.
A set of header files common to the system as a whole. When
writing code using this library, simply include the "cifs.h" file.
The "cifs.h" file combines all the required headers for you.
- Basic encryption tools needed for SMB Challenge/Response
authentication. Included are tidy implemtations of DES, MD4, and MD5.
There is also a small module that uses DES to create LM hashes and
- Modules that implement NetBIOS over TCP/IP (NBT).
NBT provides three important services: the Name Service,
the Datagram Distribution Service, and the Session Service.
- Modules that implement the Server Message Block (SMB) protocol.
(Currently contains only SMB:// URL parsing code.)
- Simple programs that utilize the modules in the rest of the tree.
These provide example code, and are used to test the library.
- Dumb stuff I gotta do. (Utility modules that help the rest of the
This code is made available with the following caveats:
- This is developer code. It is semi-random and
definitely incomplete. There is no Makefile. There is no
packaging. In order to use this stuff, you need to know how to program
in C and how to build your own tools from parts.
- The code is heavily documented in the comments. You
will find that there is a 2-to-1 or higher (sometimes much higher)
ratio of comments to code. I'm trying to pack a lot of information
into every module. There are tools available on the web that will
strip out the code if you just want the comments (and vice-versa).
- This is not any sort of finished or polished product.
This is raw geek stuff. I find it useful (very) but you might not.
Have fun. Chris -)-----
Name Last modified Size Description
Apache/2.2.3 (CentOS) Server at www.ubiqx.org Port 80
Parent Directory -
GNU-GPL.txt 24-Mar-2001 22:36 18K GNU License
GNU-LesserGPL.txt 24-Mar-2001 22:41 26K GNU License
GNU-LibGPL.txt 24-Mar-2001 22:38 25K GNU License
Readme.txt 21-Mar-2004 03:34 2.1K Project Information
TermsOfUse.html 30-Apr-2011 21:00 2.4K It's funny. Laugh.
source/ 26-Apr-2011 02:16 - Source code