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.
- Auth/
- 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
LM responses.
- NBT/
- Modules that implement NetBIOS over TCP/IP (NBT).
NBT provides three important services: the Name Service,
the Datagram Distribution Service, and the Session Service.
- SMB/
- Modules that implement the Server Message Block (SMB) protocol.
(Currently contains only SMB:// URL parsing code.)
- tools/
- Simple programs that utilize the modules in the rest of the tree.
These provide example code, and are used to test the library.
- util/
- Dumb stuff I gotta do. (Utility modules that help the rest of the
system run.)
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
Parent Directory -
GNU-LesserGPL.txt 2001-03-24 22:41 26K GNU License
GNU-LibGPL.txt 2001-03-24 22:38 25K GNU License
GNU-GPL.txt 2001-03-24 22:36 18K GNU License
TermsOfUse.html 2011-04-30 21:00 2.4K It's funny. Laugh.
Readme.txt 2004-03-21 03:34 2.1K Project Information
source/ 2011-04-26 02:16 - Source code