[7068] in Kerberos
Re: kstream - example?
daemon@ATHENA.MIT.EDU (Mark Eichin)
Thu Apr 11 17:35:51 1996
To: kerberos@MIT.EDU
Date: 11 Apr 1996 16:20:02 -0400
From: Mark Eichin <eichin@cygnus.com>
I've never seen any use of kstream outside of rlogin/rcp. (Possibly,
in part, because it is only in CNS/V4, not in the ancient but last MIT
V4 release.)
create_from_fd is pretty easy to get working, since it basically does
*nothing*, just passes the bytes through both ways... the difference
between create_rlogin and create_rcp is that rlogin will skip bad
bytes (the misguided "OOB" data discussed earlier) and rcp won't, plus
rcp and rlogin use opposite padding of the last 8-byte block, for no
good reason (this is to stay compatible with the MIT code, which was
apparently written by different people.)