1999-12-16  Assar Westerlund  <assar@sics.se>

	* rsh.c (doit): addrinfo returned from getaddrinfo() is not usable
	directly as hints.  copy it and set AI_PASSIVE.

1999-11-20  Assar Westerlund  <assar@sics.se>

	* rsh.c (main): remember to close the priviledged sockets before
 	calling rlogin

1999-11-02  Assar Westerlund  <assar@sics.se>

	* rsh.c (main): redo the v4/v5 selection for consistency.  -4 ->
 	try only v4 -5 -> try only v5 none, -45 -> try v5, v4

1999-10-26  Assar Westerlund  <assar@sics.se>

	* rshd.c (main): ignore SIGPIPE

	* common.c (do_read): the encoded length can be longer than the
 	buffer being used, allocate memory for it dynamically.  From Brian
 	A May <bmay@dgs.monash.edu.au>

1999-10-14  Assar Westerlund  <assar@sics.se>

	* rsh.c (proto): be more careful and don't print errno when read()
 	returns 0

1999-09-20  Assar Westerlund  <assar@sics.se>

	* rshd.c (recv_krb4_auth): set `iv'

1999-08-16  Assar Westerlund  <assar@sics.se>

	* common.c (do_read): be careful with the return value from
 	krb5_net_read

1999-08-05  Assar Westerlund  <assar@sics.se>

	* rsh.c: call freehostent

	* rsh.c: remove some dead code

1999-08-04  Assar Westerlund  <assar@sics.se>

	* rshd.c: re-write the handling of forwarded credentials and
 	stuff.  From Miroslav Ruda <ruda@ics.muni.cz>

	* rsh_locl.h: always include kafs.h

	* rsh.c: add `-z' and `-G' options

	* rsh.c (loop): shutdown one side of the TCP connection on EOF.
  	From Brian A May <bmay@dgs.monash.edu.au>

	* common.c (do_read): handle EOF.  From Brian A May
 	<bmay@dgs.monash.edu.au>

1999-08-01  Assar Westerlund  <assar@sics.se>

	* rsh.c: const fixes

1999-07-29  Assar Westerlund  <assar@sics.se>

	* rshd.c: v6-ify

	* rsh.c: v6-ify

1999-07-28  Assar Westerlund  <assar@sics.se>

	* rsh_locl.h: move around kafs.h

1999-07-24  Assar Westerlund  <assar@sics.se>

	* rsh_locl.h: <shadow.h>

	* rsh.c, rshd.c: improve forwarding and implement unique ccache on
 	server.  From Miroslav Ruda <ruda@ics.muni.cz>

1999-07-03  Assar Westerlund  <assar@sics.se>

	* rsh.c (construct_command): handle argc == 0 for generality

1999-06-23  Assar Westerlund  <assar@sics.se>

	* rsh.c: new option `-e' for not trying to open an stderr socket

1999-06-17  Assar Westerlund  <assar@sics.se>

	* rsh_locl.h (RSH_BUFSIZ): bump to 16 * 1024 to be sure that we
 	don't leave any data inside des_enc_read.  (that constant should
 	really be exported in some way...)

1999-06-15  Assar Westerlund  <assar@sics.se>

	* rsh.c: use get_default_username and resulting const pollution

1999-05-21  Assar Westerlund  <assar@sics.se>

	* rsh.c (main): try $USERNAME

1999-05-14  Assar Westerlund  <assar@sics.se>

	* rshd.c (doit): afslog correctly

1999-05-11  Assar Westerlund  <assar@sics.se>

	* rsh.c (main): add fallback to rlogin

1999-05-10  Assar Westerlund  <assar@sics.se>

	* rsh.c (send_krb5_auth): call krb5_sendauth with ccache == NULL.
	check return value from krb5_crypto_init
	
	* common.c (do_write, do_read): always return -1 for failure
	(net_write, net_read): remove.  they already exist in libroken

1999-05-09  Assar Westerlund  <assar@sics.se>

	* rsh.c: make sure it tries with all other authentication methods
	after one has failed
	* rsh.c (main): detect the case of no command given.
	
1999-04-11  Assar Westerlund  <assar@sics.se>

	* rsh.c: new option --forwardable. use print_version
	
Sat Apr 10 17:10:55 1999  Assar Westerlund  <assar@sics.se>

	* rshd.c (setup_copier): use `socketpair' instead of `pipe'.  Some
 	shells don't think it's a rsh session if they find a pipe at the
 	other end.
	(setup_environment): add SSH_CLIENT just to make bash happy

	* common.c (do_read): use krb5_get_wrapped_length

Wed Mar 24 03:59:42 1999  Assar Westerlund  <assar@sics.se>

	* rsh.c (loop): more braces to make gcc happy

Tue Mar 23 17:08:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* rsh_locl.h: kafs.h

	* rshd.c: add `-P', `-v', and `-L' flags

Thu Mar 18 11:37:24 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* Makefile.am: include Makefile.am.common

Tue Dec  1 14:44:44 1998  Johan Danielsson  <joda@hella.pdc.kth.se>

	* appl/rsh/rshd.c: update to new crypto framework

	* appl/rsh/rsh_locl.h: update to new crypto framework

	* appl/rsh/rsh.c: update to new crypto framework

	* appl/rsh/common.c: update to new crypto framework

Mon Nov  2 01:15:06 1998  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rsh.c (main): initialize host

	* appl/rsh/rshd.c (recv_krb5_auth): disable `do_encrypt' if not
 	encrypting.

Thu Jul 30 23:12:17 1998  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rsh.c: kludges for parsing `rsh hostname -l user'

Thu Jul 23 19:49:03 1998  Johan Danielsson  <joda@emma.pdc.kth.se>

	* appl/rsh/rshd.c: use krb5_verify_authenticator_checksum

Sat Apr 18 21:13:06 1998  Johan Danielsson  <joda@emma.pdc.kth.se>

	* appl/rsh/rsh.c: Don't try v5 if (only) `-4' is specified.

Sun Dec 21 09:44:05 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rshd.c (recv_krb5_auth): swap the order of the
 	`local_user' and the `remote_user'

	* appl/rsh/rsh.c (send_krb5_auth): swap the order of the
 	`local_user' and the `remote_user'

Sat Nov 29 07:10:11 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rshd.c: updated to use getarg.
	changed `struct fd_set' to `fd_set'.
	implemented broken/BSD authentication (requires iruserok)

Wed Nov 12 02:35:57 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rsh_locl.h: add AUTH_BROKEN and PATH_RSH

	* appl/rsh/Makefile.am: set BINDIR

	* appl/rsh/rsh.c: implemented BSD-style reserved port
 	`authentication'

Sun Aug 24 08:06:54 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rshd.c: syslog remote shells

Tue Aug 12 01:29:46 1997  Assar Westerlund  <assar@sics.se>

	* appl/rshd/rshd.c: Use `krb5_sock_to_principal'.  Send server
 	parameter to krb5_rd_req/krb5_recvauth.  Set addresses in
 	auth_context.

Fri Jul 25 17:32:12 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rshd.c: implement forwarding

	* appl/rsh/rsh.c: Use getarg.  Implement forwarding.

Sun Jul 13 00:32:16 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh: Conditionalize the krb4-support.

Wed Jul  9 06:58:00 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rsh.c: use the correct user for the checksum

Mon Jul  7 11:15:51 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh/rshd.c: Now works.  Also implementd encryption and
 	`-p'.
	
	* appl/rsh/common.c: new file

Mon Jun 30 06:08:14 1997  Assar Westerlund  <assar@sics.se>

	* appl/rsh: New program.

