[PROXYPER] Linux 442 client won't speak with Solaris 306 proxy, 432 will.

Andrew Donkin ard at scms.waikato.ac.nz
Mon May 24 13:00:04 EDT 1999


Linux 442 client won't speak with Solaris 306 proxy, 432 will.  This may
be a reported bug, but hopefully there is useful information for you
here.


I hope you can correct this problem, since I'd like to upgrade the
clients because of their better logging and large block sizes, and the
proxy because of its duplicate checking (I'm submitting dupes, it
seems).

Regarding the dupe checking - the 304 proxy handles 50,000 blocks per day
from 250 hosts with no noticeable CPU use on a P133.  I can play quake
without slowdown :-) However the 306 proxy spikes at 10-20%.  And don't
laugh at my running a proxy on a P133 - it submits one four-hundredth of
the daily completions, and only four other participants submitted more
yesterday.  <raspberry>


I set up a Linux 442 client with half a dozen blocks in the out buffer
and tried to flush them to a SunOS 5.6 306 proxy.  It didn't work (strace
further below):

    ./rc5des -flush -a IP_ADDRESS_OF_306_PROXY

RC5DES client - a project of distributed.net
(Full version string is RC5DES v2.7110.442)
Copyright 1997-1999 distributed.net
DES bitslice driver Copyright 1997-1998, Andrew Meggs
DES sboxes routines Copyright 1997-1998, Matthew Kwan
DES search routines Copyright 1997-1998, Svend Olaf Mikkelsen
Please visit http://www.distributed.net/ for up-to-date contest information.
Start the client with '-help' for a list of valid command line options.

Setting keyserver to IP_ADDRESS_OF_306_PROXY
[...short pause...]
[May 23 22:04:05 UTC] Network services are not available or not supported.
                      --fetch and --flush services are not available.

The server reported:

05/23/99 22:04:05,Client: Accepted connection with x.x.x.x
05/23/99 22:04:05,Client: x.x.x.x is requesting server status
05/23/99 22:04:05,Client x.x.x.x has ended communications.
05/23/99 22:04:05,Client: Closing client connection with x.x.x.x


So then I tried an older, 432, client with the same proxy and all was
well:

    cp rc5des.ini rc5des.342.ini
    ./rc5des.432 -flush -a IP_ADDRESS_OF_306_PROXY

RC5DES v2.7105.432 client - a project of distributed.net
Copyright 1997-1999 distributed.net
DES bitslice driver Copyright 1997-1998, Andrew Meggs
DES sboxes routines Copyright 1997-1998, Matthew Kwan
DES search routines Copyright 1997-1998, Svend Olaf Mikkelsen
Please visit http://www.distributed.net/ for up-to-date contest information.
Start the client with '-help' for a list of valid command line options.

Setting keyserver to IP_ADDRESS_OF_306_PROXY
[May 23 22:04:43 UTC] Connecting to IP_ADDRESS_OF_306_PROXY:2064...
[May 23 22:04:43 UTC] The perproxy says: "Test 306 proxy"
[May 23 22:04:43 UTC] Sent RC5 block 6 of 6 (100.00% transferred in batch mode)
[May 23 22:04:43 UTC] Sent 6 blocks (6*2^28 keys) to server.



Here's the relevant part of the "strace ./rc5des -flush -a ...".


connect(3, {sin_family=AF_INET, sin_port=htons(2064), sin_addr=inet_addr("x.x.x.x")}, 16) = 0
time(NULL)                              = 927497000
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
send(3, "\255-H\252\365K\367\n=j\245\247\205\211TD\315\250\2\341\25\306\261~]\345`\33\246\4\16\270\356\"\275U6Ak\362~`\32\217\306~\311,\16\235w\311V\274&f\236\332\325\3\346\371\203\240/\0302=w6\340\332\277U\217w\7t>\24O\222\354\261\227\261\233N\337\320I\353\'\356\370\210p\r\247%\270,U\302\0K\4_Hi\262\374\220\210a\231\330\247\0206 \305\276\323h\344mp\261\3\34\r\371!\312\252A at yG\211_\'\344\325\262.\213\31\234\205\36a\2733\273\251\331\342U\276_\311\10\361\n1K", 168, 0) = 168
time([927497000])                       = 927497000
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
select(1, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
time(NULL)                              = 927497000
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
select(1, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
time(NULL)                              = 927497000
select(4, [3], NULL, NULL, {0, 0})      = 1 (in [3], left {0, 0})
recv(3, "\255-H\215\376\223{\31\261\3102U\205\211TD\315\250\2\341\25\306\261~]\345`\33\246\4\16\270\356\"\275U6Ak\362Y\220JD\246<\231\272\265}F\331,\334V\230\16\22\234\3\346\371\203\240/\0302=w6\340\332\277U\217w\7t>\24O\222\354\261\227\261\233N\337\320I\353\'\356\370\210p\r\247%\270,U\302\0K\4_Hi\262\374\220\210a\31x\247\0206 \305\276\323h\344mp\261\3\34\rn\242\220\233\274\36\211<\211_\'\344\321}\320\366\31\234\205\36a\2733\273\251\331\342U\n\327\202\330\361\n1K", 500, 0) = 168
time(NULL)                              = 927497000
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(3, F_SETFL, O_RDONLY)             = 0
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
shutdown(3, 2 /* send and receive */)   = 0
close(3)                                = 0
gettimeofday({927497000, 872768}, {4294966576, 1}) = 0
open("/usr/lib/zoneinfo/GMT", O_RDONLY) = 3
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\0\0GMT\0\0\0", 6460) = 56
close(3)                                = 0
gettimeofday({927497000, 874688}, {4294966576, 1}) = 0
write(1, "[May 23 22:07:45 UTC] Network services are not available or not supported.\n                      --fetch and --flush services are not available.\n", 145[May 23 22:07:45 UTC] Network services are not available or not supported.
                      --fetch and --flush services are not available.
) = 145
_exit(0)                                = ?



-- 
_________________________________________________________________________
Andrew Donkin                                           Technical Support
School of Computing and Maths, Waikato University, Hamilton,  New Zealand
--
To unsubscribe, send 'unsubscribe proxyper' to majordomo at lists.distributed.net



More information about the proxyper mailing list