Installation instructions for dnetj.

Server:

The server requires a copy of the patched version of john the ripped compiled in "master" mode.
This is done by editing the Makefile in the "src" subdirectory and adding "-DMASTER" to the CFLAGS
line, then compiling it as per the usual john the ripper method. The resulting binary will be automatically
placed in the "run" directory.

The distributed server can be compiled by changing to the "dist" directory and typing make. This will
automatically build both the client and server.

The example file "conf" needs to be edited to specify the listening port, as well as the desired password
file to crack and the work unit size etc. Documentation of most of the options is included as coments in the 
example configuration file.

The client or server binary, and it's accompanying configuration file need to be copied to the "run" directory
prior to execution. If this is a server build, the password hash file also needs to be placed in the same
directory.

To execute the server, simply start the server binary with the configuration file as the argument, eg:
./server conf

Once compiled, only the run directory is required. The doc, dist and src directories can safely be discarded
and the run directory can be moved elsewhere on the filesystem or transported to other compatible hosts.

Client:

The server required a copy of the patched version of john.
This can be made by compiling the bundled version of john located in the "src" directory, the resulting
binary will be automatically placed in the "run" directory.

The distributed client can be compiled by changing to the "dist" directory and typing make. This will
automatically build both the client and server.

The example file conf-client needs to be edited to specify the IP address and port of the server. 
Documentation of most of the options is included as coments in the example configuration file.

The configuration file and the "client" binary need to be copied into the "run" directory alongside the
binary of John. 

If the client system has multiple processors, it is necessary to run multiple instances of the client. This
is easily accomplished by duplicating the "run" directory. If the client has already been executed and a
"dnetj.pass" file exists, it must be removed from the copy prior to execution.

To execute the client, simply start the client binary with the configuration file as argument, eg:
./client conf-client

Once compiled, only the run directory is required. The doc, dist and src directories can safely be discarded
and the run directory can be moved elsewhere on the filesystem or transported to other compatible hosts.
