[comp.protocols.tcp-ip] TCP/IP/TELNET Problem on SYSV

mbb@trotter.usma.edu (MAJ Mark B. Bilodeau) (09/29/88)

REQUEST FOR HELP WITH TCP/IP WIN/3B.

Recently we have installed a small LAN consisting of 4 3b2s interconnected
by a DECNet DELNI and standard 3b2 ethernet cards and drop cables.
At first all appears to be well.  Telnet, ftp, tftp, etc. all work.
"rcp -r" dies every so often but other than that no problems.  The uucp 
utilities do not work as they do not recognize the network.  In order to
resolve this problem, I modified the sources to the utilities by:
1) defining TCP, 2) changing the include files to the directories used in
this version, 3) set the master to use service 'telnet' with login nuucp
rather than service 'uucp', and 3) setting the 'e' protocol to use the
standard system calls to read and write when the interface is TCP.  Upon
testing, this setup works for SMALL files (< 1024 bytes).  However, on
large files (>1024 bytes) uucico hangs.  The master is waiting for a 'C'
message and the receiver is waiting for the last bytes of the files.
Diging through the debugging files leads me to believe that the last byte
of every uucp packet (1024 byte block) is being lost.  I've dumped the
write buffer to a file just prior to the write call on the socket and all
1024 bytes look good.  On the other side just after the read from the socket
I've dumped the the packet to a file only to find that the last byte of
the buffer is what should be the first byte of the next 1024 byte block.

I would appreciate any and all help with this problem.  I can be reached at
the above email address or mbb@westpoint.arpa.

	Thanks In Advance,
	Mark