| 1 |
|
| 2 |
distributed.net client documentation |
| 3 |
document revision $Id: dnetc.txt,v 1.5 2007/10/22 16:48:28 jlawson Exp $ |
| 4 |
|
| 5 |
Copyright distributed.net 1997-2005 - All Rights Reserved |
| 6 |
For use in distributed.net projects only. |
| 7 |
Any other distribution violates copyright. |
| 8 |
|
| 9 |
Use of the distributed.net client implies agreement with |
| 10 |
the prize terms listed on http://www.distributed.net/ |
| 11 |
|
| 12 |
|
| 13 |
Index --------------------------------------------------------------- |
| 14 |
|
| 15 |
1.0 Introduction |
| 16 |
2.0 General system requirements |
| 17 |
refer to platform specific readme.s for details |
| 18 |
3.0 Getting and starting the client |
| 19 |
refer to platform specific readme.s for details |
| 20 |
4.0 Upgrading from a client older than the 2.9xxx |
| 21 |
5.0 Fetching and flushing work |
| 22 |
5.1 over a TCP/IP network connection (and/or through a firewall) |
| 23 |
5.2 via e-mail |
| 24 |
5.3 to/from "remote" buffers that are serviced by another client |
| 25 |
6.0 Help! |
| 26 |
|
| 27 |
|
| 28 |
1.0 Introduction --------------------------------------------------- |
| 29 |
|
| 30 |
Congratulations! This distributed.net client will make your computer |
| 31 |
a part of the world's largest computer, distributed.net. The client |
| 32 |
you have downloaded is capable of working on two of distributed.net's |
| 33 |
ongoing projects: The brute-force decryption of a RC5-72 message, and |
| 34 |
the search for Optimal Golomb Rulers (OGR). Both are long-term projects |
| 35 |
that will go on for some time. |
| 36 |
|
| 37 |
|
| 38 |
2.0 General system requirements ------------------------------------ |
| 39 |
|
| 40 |
The system requirements for the client vary from platform to platform |
| 41 |
and are detailed in the platform-specific readme.* you should have |
| 42 |
received when you downloaded the client. |
| 43 |
|
| 44 |
In general, all that is required is: |
| 45 |
- a 32-bit processor |
| 46 |
- one megabyte of free memory |
| 47 |
- a method to update local buffers (fetch/flush work). See section 5. |
| 48 |
- less than a megabyte of disk space (optional) |
| 49 |
|
| 50 |
The most important requirement for running the distributed.net client, |
| 51 |
of course, is authorization to run the client on the computer that it |
| 52 |
is installed on. This is not an issue with your home computer, but |
| 53 |
many companies and schools have policies against running outside |
| 54 |
programs on their computers. In cases where such a policy exists, ask |
| 55 |
your system administrator BEFORE attempting to install the client. |
| 56 |
It is very possible that he/she will like the idea, and choose to |
| 57 |
install the client on all computers at that site. However, if the |
| 58 |
answer is a 'no', do not push the issue. RSA's contest rules stipulate |
| 59 |
that all clients must be run on authorized systems. The only support |
| 60 |
we will give to unauthorized installations is help in uninstalling |
| 61 |
them. |
| 62 |
|
| 63 |
Although there are a number of platforms that meet these requirements, |
| 64 |
distributed.net cannot create or maintain clients for them all. The |
| 65 |
prerequisites for creating a client for a platform are: |
| 66 |
- a C++ compiler is available for that platform |
| 67 |
- the compiler 'understands' 64bit quanta ('long long', 'wide' etc) |
| 68 |
- distributed.net must have access to such a machine |
| 69 |
|
| 70 |
If you know of a platform that fulfills these requirements, and would |
| 71 |
like to have a client for the platform, you can request it at |
| 72 |
http://www.distributed.net/porting/ |
| 73 |
|
| 74 |
|
| 75 |
3.0 Getting and starting the client -------------------------------- |
| 76 |
|
| 77 |
Official clients are generally *only* available from |
| 78 |
http://www.distributed.net/download/ or from FTP servers linked |
| 79 |
from that page. |
| 80 |
|
| 81 |
Once you have downloaded the client, starting it is easy. Simply |
| 82 |
unpack/unzip/unarc the archive you downloaded and fire it up. |
| 83 |
|
| 84 |
If you have never run the client before, it will initiate the |
| 85 |
menu-driven configuration. Save and quit when done, the |
| 86 |
configuration file will be saved in the same directory as the |
| 87 |
client. Then, simply restart the client. From that point on it will |
| 88 |
use the saved configuration. |
| 89 |
|
| 90 |
Each configuration option is accompanied by a description that will |
| 91 |
assist you in making the right decisions. Most default values can be |
| 92 |
accepted as-is. Refer to the Help! section at the end of this document |
| 93 |
for sources of assistance. |
| 94 |
|
| 95 |
A complete step-by-step guide to running your first client is |
| 96 |
available at: http://www.distributed.net/docs/tutor_clients.php |
| 97 |
There is also a great deal of useful information at the |
| 98 |
FAQ-O-Matic: http://faq.distributed.net/ |
| 99 |
|
| 100 |
The client's configuration may be adjusted at any time by starting |
| 101 |
the client with the -config switch. A list of other command line |
| 102 |
options can be obtained by starting the client with -help. |
| 103 |
|
| 104 |
|
| 105 |
4.0 Upgrading from a client older than the 2.9xxx ------------------ |
| 106 |
|
| 107 |
If you are upgrading from a version of the client older than the |
| 108 |
2.9xxx series, please stop the existing client, flush its buffers, |
| 109 |
delete all of its files before installing the new client. Buffer |
| 110 |
files formats have changed, and this will help prevent compatibility |
| 111 |
problems. If you are sharing buffer files between multiple clients, |
| 112 |
please make sure that the clients have compatible buffer formats. |
| 113 |
|
| 114 |
If you use a personal proxy with your client, please make sure |
| 115 |
that you upgrade it at the same time as your client. Clients in |
| 116 |
version 2.9xxx or later will only work with personal proxy builds |
| 117 |
of at least build 330 or later. |
| 118 |
|
| 119 |
|
| 120 |
5.0 Fetching and flushing work ------------------------------------- |
| 121 |
|
| 122 |
The distributed.net client can fetch/flush work using 3 methods: |
| 123 |
1) over a TCP/IP network connection |
| 124 |
2) via e-mail |
| 125 |
3) to/from "remote" buffers that are serviced by another client |
| 126 |
In addition, it can share buffers with another client. |
| 127 |
|
| 128 |
|
| 129 |
5.1 Fetching and flushing work over a TCP/IP connection ----- |
| 130 |
|
| 131 |
The client uses normal TCP/IP to communicate with keyservers. |
| 132 |
It connects to port TCP port 2064 by default. |
| 133 |
|
| 134 |
distributed.net keyserver hostnames follow the following naming |
| 135 |
convention: <us|euro|asia|aussie|jp>[port].v29.distributed.net |
| 136 |
The "port" is an optional field and may be either "80" or "23". |
| 137 |
All other numbers cause the client to ignore it and automatically |
| 138 |
select a hostname (see next paragraph). |
| 139 |
|
| 140 |
It is generally not necessary to set a specific distributed.net |
| 141 |
keyserver hostname. The client can automatically pick one in your |
| 142 |
approximate vicinity if you leave it blank. |
| 143 |
|
| 144 |
If you do not connect through a firewall, or access to port 2064 is |
| 145 |
permitted, you can leave all network-related options at their |
| 146 |
default values. |
| 147 |
|
| 148 |
If you are connected through a strict firewall, port 2064 may |
| 149 |
be blocked by default. There are a number of methods to allow your |
| 150 |
client to fetch/flush... |
| 151 |
|
| 152 |
Configuring for firewall support is easy. |
| 153 |
a) Enter the configuration |
| 154 |
b) Select "Buffer and Buffer Update Options" menu |
| 155 |
If "Disable buffer updates to/from a keyserver" is "on", |
| 156 |
turn it off. |
| 157 |
c) Select in the "Keyserver<->client connectivity" submenu. |
| 158 |
Read on... |
| 159 |
|
| 160 |
If you have administrative access to the firewall machine, it is |
| 161 |
probably easiest to use a "data pipe" or if you are using WinGate |
| 162 |
or Internet Gate, using "direct port mapping". Both describe |
| 163 |
essentially the same thing: A piece of software, either internal |
| 164 |
to or separate from the firewall software itself, map ports on one |
| 165 |
side of the firewall to ports on the other side. That is, the "data |
| 166 |
pipe" listens for connections on a particular port on the inside of |
| 167 |
the firewall, and forwards these to a predefined host/port on the |
| 168 |
other side. Set the client's "keyserver host" and "keyserver port" |
| 169 |
to point to the datapipe, and configure the datapipe to connect |
| 170 |
to a distributed.net host (refer to the beginning of this section |
| 171 |
for information on distributed.net host names). |
| 172 |
|
| 173 |
Another method requiring administrative access, but with great |
| 174 |
advantages if you have a number of clients running inside the |
| 175 |
firewall, is to use a distributed.net personal proxy on the |
| 176 |
firewall machine. Personal proxies may be downloaded from |
| 177 |
http://www.distributed.net/download/. Configuration guides for |
| 178 |
setting up a personal proxy are beyond the scope of this document, |
| 179 |
but for the client, configuration is the same as that for a |
| 180 |
"datapipe" (in the section above). |
| 181 |
|
| 182 |
If your firewall permits access to telnet ports (port 23), or |
| 183 |
to HTTP ports (port 80), simply set the "Keyserver port" to that |
| 184 |
port. If it doesn't work, and you are sure that access to telnet |
| 185 |
ports is permitted, it is possible that your firewall does not |
| 186 |
cleanly handle 8bit data. Try again after enabling "Always use |
| 187 |
UUEncoding". UUE converts the 8bit data that that the client tries |
| 188 |
to send into 7bit data, permitting buffer updates to work even when |
| 189 |
8bit data is not handled cleanly. This situation does not happen |
| 190 |
very often, but it does occur now and then. |
| 191 |
|
| 192 |
In addition to these "native" connectivity methods, the client |
| 193 |
also has HTTP and SOCKS proxy support: |
| 194 |
|
| 195 |
Select the "Firewall/proxy protocol" option from the menu and... |
| 196 |
|
| 197 |
For SOCKS support: |
| 198 |
|
| 199 |
Both SOCKS[4] and SOCKSv5 are supported. If you are unsure about |
| 200 |
which to use, try SOCKS4 first. Now, edit the "HTTP/SOCKS host" and |
| 201 |
"HTTP/SOCKS proxy port" and ensure that they point to the SOCKS |
| 202 |
proxy you will be communicating through. If you must use a SOCKS |
| 203 |
userid/password, enter it in the appropriate field as well. (Note: |
| 204 |
only SOCKS5 uses passwords, so that field is invisible if you |
| 205 |
select SOCKS4). |
| 206 |
|
| 207 |
For HTTP proxy support: |
| 208 |
|
| 209 |
The most compatible firewall communications method is to select |
| 210 |
"HTTP proxy" support. Next, enter the name/address of the HTTP |
| 211 |
proxy in the "HTTP/SOCKS proxy host" field and the port number |
| 212 |
of the HTTP proxy in the "HTTP/SOCKS proxy port" field. If you |
| 213 |
cannot connect to a host without explicitely specifying one, |
| 214 |
select one based on the naming conventions described in the |
| 215 |
beginning of this section. |
| 216 |
|
| 217 |
Firewall software known to work with the distributed.net client. |
| 218 |
|
| 219 |
Software Platform Method Download from |
| 220 |
--------------------- ----------- ------------ ------------------- |
| 221 |
Squid Unix HTTP Proxy http://www.squid-cache.org |
| 222 |
Internet Gate OS/2 Port Mapping |
| 223 |
MS Proxy Server WinNT HTTP Proxy |
| 224 |
Novell BorderManager NetWare HTTP Proxy |
| 225 |
Purveyor HTTP Proxy VMS/NetWare HTTP Proxy |
| 226 |
Wingate 2.x Win32 HTTP Proxy http://www.wingate.com |
| 227 |
Port Mapping |
| 228 |
AltaVista 97 proxy Unix/Win32 HTTP |
| 229 |
|
| 230 |
|
| 231 |
5.2 Flushing and fetching via e-mail ------------------------ |
| 232 |
|
| 233 |
If you can not get your client to flush/fetch directly (due to a |
| 234 |
very stringent firewall), or are running a networkless client, |
| 235 |
such as the MS-DOS client, there is one last way for your client |
| 236 |
to fetch and flush: e-mail. |
| 237 |
|
| 238 |
1. Send a message to [email protected]; an auto-responder |
| 239 |
will reply with information on the proper options to use. |
| 240 |
2. Once you know the correct format, send a correctly formatted |
| 241 |
message in. You should quickly receive a message back with |
| 242 |
the specified amount of work attached as "buff-in.r72". |
| 243 |
3. Stop the client. |
| 244 |
4. Save the file to the directory from which you are running the |
| 245 |
client. |
| 246 |
5. Restart the client. |
| 247 |
|
| 248 |
Once your client has completed the work provided to it, you may |
| 249 |
send in back via e-mail as follows: |
| 250 |
|
| 251 |
1. Create a message to [email protected] with the file |
| 252 |
"buff-out.r72" attached as a MIME/base64 or UUencoded (UUE) file. |
| 253 |
You will be send a "receipt" of the proper flushing within a few |
| 254 |
minutes. |
| 255 |
2. Delete the buff-out.r72 file so that you do not accidently |
| 256 |
send part of its contents twice. |
| 257 |
|
| 258 |
|
| 259 |
5.3 Flushing and fetching using remote buffers -------------- |
| 260 |
|
| 261 |
"Remote buffers" are simply buffers that are serviced by another |
| 262 |
client. When fetching/flushing from/to remote buffers, the client |
| 263 |
opens the remote files and moves what it needs from/to its "local" |
| 264 |
buffer files. The difference betwees "remote buffers" and "shared |
| 265 |
buffers" is of course the fact that with "remote buffers" each |
| 266 |
client has its own files. Lock contention is thus minimized and |
| 267 |
they can work without the user having to worry about the network |
| 268 |
(if one exists) between them failing. |
| 269 |
|
| 270 |
|
| 271 |
6.0 Help! ---------------------------------------------------------- |
| 272 |
|
| 273 |
If you've having a problem with the client, the first place you |
| 274 |
should visit is http://www.distributed.net/download/ to |
| 275 |
see if a newer version is available. It is likely that a given |
| 276 |
bug you have been experiencing will be fixed by the new version. |
| 277 |
|
| 278 |
If you are still having problems, here are a few places you can |
| 279 |
find help (in order of responsiveness). |
| 280 |
|
| 281 |
- If you need further assistance with client use or operation, refer |
| 282 |
to the distributed.net FAQ-O-Matic (Frequently Asked Questions) |
| 283 |
available online at: http://faq.distributed.net/ |
| 284 |
Documents there include every aspect of running the client, |
| 285 |
common questions about distributed.net projects, and the ever- |
| 286 |
popular statistics questions. |
| 287 |
|
| 288 |
- Another way to get question(s) answered about the operation and |
| 289 |
setup of the client is to connect to the distributed.net IRC |
| 290 |
network and join the channel #distributed. To connect, point |
| 291 |
your IRC client at the server irc.distributed.net, port 6667. |
| 292 |
If your IRC client supports SSL, you may also use port 994. |
| 293 |
For more info on using IRC and distributed.net, see the IRC |
| 294 |
Tutorial: http://www.distributed.net/docs/tutor_irc.php |
| 295 |
|
| 296 |
- If you don't mind your mailbox receiving a few messages a day, |
| 297 |
you may consider subscribing to the general client mailing list |
| 298 |
at <[email protected]> (To subscribe to the mailing list, |
| 299 |
send a message to <[email protected]> with |
| 300 |
"subscribe rc5" as the message text). |
| 301 |
|
| 302 |
- More user support is available from <[email protected]> |
| 303 |
as well as from our regional support representatives listed at |
| 304 |
http://www.distributed.net/regional/ |
| 305 |
|
| 306 |
- If you believe you have found a bug in the client or would like |
| 307 |
to make a suggestion, please use our Bugzilla bug tracking pages |
| 308 |
located at: http://bugs.distributed.net/ |
| 309 |
DO NOT FORGET TO PROVIDE THE **FULL** VERSION NUMBER OF YOUR CLIENT |
| 310 |
Don't fret if you don't get a response right away - porters are |
| 311 |
usually very busy and it may take weeks before they get around to |
| 312 |
answering your message. |
| 313 |
|
| 314 |
|
| 315 |
We thank you for running our client and contributing your idle |
| 316 |
computing power to our projects. If you are feeling especially |
| 317 |
generous, we also appreciate other types of contributions in |
| 318 |
order to support our equipment and networking costs: |
| 319 |
http://www.distributed.net/donation.php |