ChangeLog revision 57416
157416Smarkm2000-02-07  Assar Westerlund  <assar@sics.se>
257416Smarkm
357416Smarkm	* Makefile.am (LDADD): make sure we use the heimdal libdes
457416Smarkm
557416Smarkm2000-02-06  Assar Westerlund  <assar@sics.se>
657416Smarkm
757416Smarkm	* *: conditionalize des stuff on KRB4
857416Smarkm
955682Smarkm1999-12-16  Assar Westerlund  <assar@sics.se>
1055682Smarkm
1155682Smarkm	* rsh.c (doit): addrinfo returned from getaddrinfo() is not usable
1255682Smarkm	directly as hints.  copy it and set AI_PASSIVE.
1355682Smarkm
1455682Smarkm1999-11-20  Assar Westerlund  <assar@sics.se>
1555682Smarkm
1655682Smarkm	* rsh.c (main): remember to close the priviledged sockets before
1755682Smarkm 	calling rlogin
1855682Smarkm
1955682Smarkm1999-11-02  Assar Westerlund  <assar@sics.se>
2055682Smarkm
2155682Smarkm	* rsh.c (main): redo the v4/v5 selection for consistency.  -4 ->
2255682Smarkm 	try only v4 -5 -> try only v5 none, -45 -> try v5, v4
2355682Smarkm
2455682Smarkm1999-10-26  Assar Westerlund  <assar@sics.se>
2555682Smarkm
2655682Smarkm	* rshd.c (main): ignore SIGPIPE
2755682Smarkm
2855682Smarkm	* common.c (do_read): the encoded length can be longer than the
2955682Smarkm 	buffer being used, allocate memory for it dynamically.  From Brian
3055682Smarkm 	A May <bmay@dgs.monash.edu.au>
3155682Smarkm
3255682Smarkm1999-10-14  Assar Westerlund  <assar@sics.se>
3355682Smarkm
3455682Smarkm	* rsh.c (proto): be more careful and don't print errno when read()
3555682Smarkm 	returns 0
3655682Smarkm
3755682Smarkm1999-09-20  Assar Westerlund  <assar@sics.se>
3855682Smarkm
3955682Smarkm	* rshd.c (recv_krb4_auth): set `iv'
4055682Smarkm
4155682Smarkm1999-08-16  Assar Westerlund  <assar@sics.se>
4255682Smarkm
4355682Smarkm	* common.c (do_read): be careful with the return value from
4455682Smarkm 	krb5_net_read
4555682Smarkm
4655682Smarkm1999-08-05  Assar Westerlund  <assar@sics.se>
4755682Smarkm
4855682Smarkm	* rsh.c: call freehostent
4955682Smarkm
5055682Smarkm	* rsh.c: remove some dead code
5155682Smarkm
5255682Smarkm1999-08-04  Assar Westerlund  <assar@sics.se>
5355682Smarkm
5455682Smarkm	* rshd.c: re-write the handling of forwarded credentials and
5555682Smarkm 	stuff.  From Miroslav Ruda <ruda@ics.muni.cz>
5655682Smarkm
5755682Smarkm	* rsh_locl.h: always include kafs.h
5855682Smarkm
5955682Smarkm	* rsh.c: add `-z' and `-G' options
6055682Smarkm
6155682Smarkm	* rsh.c (loop): shutdown one side of the TCP connection on EOF.
6255682Smarkm  	From Brian A May <bmay@dgs.monash.edu.au>
6355682Smarkm
6455682Smarkm	* common.c (do_read): handle EOF.  From Brian A May
6555682Smarkm 	<bmay@dgs.monash.edu.au>
6655682Smarkm
6755682Smarkm1999-08-01  Assar Westerlund  <assar@sics.se>
6855682Smarkm
6955682Smarkm	* rsh.c: const fixes
7055682Smarkm
7155682Smarkm1999-07-29  Assar Westerlund  <assar@sics.se>
7255682Smarkm
7355682Smarkm	* rshd.c: v6-ify
7455682Smarkm
7555682Smarkm	* rsh.c: v6-ify
7655682Smarkm
7755682Smarkm1999-07-28  Assar Westerlund  <assar@sics.se>
7855682Smarkm
7955682Smarkm	* rsh_locl.h: move around kafs.h
8055682Smarkm
8155682Smarkm1999-07-24  Assar Westerlund  <assar@sics.se>
8255682Smarkm
8355682Smarkm	* rsh_locl.h: <shadow.h>
8455682Smarkm
8555682Smarkm	* rsh.c, rshd.c: improve forwarding and implement unique ccache on
8655682Smarkm 	server.  From Miroslav Ruda <ruda@ics.muni.cz>
8755682Smarkm
8855682Smarkm1999-07-03  Assar Westerlund  <assar@sics.se>
8955682Smarkm
9055682Smarkm	* rsh.c (construct_command): handle argc == 0 for generality
9155682Smarkm
9255682Smarkm1999-06-23  Assar Westerlund  <assar@sics.se>
9355682Smarkm
9455682Smarkm	* rsh.c: new option `-e' for not trying to open an stderr socket
9555682Smarkm
9655682Smarkm1999-06-17  Assar Westerlund  <assar@sics.se>
9755682Smarkm
9855682Smarkm	* rsh_locl.h (RSH_BUFSIZ): bump to 16 * 1024 to be sure that we
9955682Smarkm 	don't leave any data inside des_enc_read.  (that constant should
10055682Smarkm 	really be exported in some way...)
10155682Smarkm
10255682Smarkm1999-06-15  Assar Westerlund  <assar@sics.se>
10355682Smarkm
10455682Smarkm	* rsh.c: use get_default_username and resulting const pollution
10555682Smarkm
10655682Smarkm1999-05-21  Assar Westerlund  <assar@sics.se>
10755682Smarkm
10855682Smarkm	* rsh.c (main): try $USERNAME
10955682Smarkm
11055682Smarkm1999-05-14  Assar Westerlund  <assar@sics.se>
11155682Smarkm
11255682Smarkm	* rshd.c (doit): afslog correctly
11355682Smarkm
11455682Smarkm1999-05-11  Assar Westerlund  <assar@sics.se>
11555682Smarkm
11655682Smarkm	* rsh.c (main): add fallback to rlogin
11755682Smarkm
11855682Smarkm1999-05-10  Assar Westerlund  <assar@sics.se>
11955682Smarkm
12055682Smarkm	* rsh.c (send_krb5_auth): call krb5_sendauth with ccache == NULL.
12155682Smarkm	check return value from krb5_crypto_init
12255682Smarkm	
12355682Smarkm	* common.c (do_write, do_read): always return -1 for failure
12455682Smarkm	(net_write, net_read): remove.  they already exist in libroken
12555682Smarkm
12655682Smarkm1999-05-09  Assar Westerlund  <assar@sics.se>
12755682Smarkm
12855682Smarkm	* rsh.c: make sure it tries with all other authentication methods
12955682Smarkm	after one has failed
13055682Smarkm	* rsh.c (main): detect the case of no command given.
13155682Smarkm	
13255682Smarkm1999-04-11  Assar Westerlund  <assar@sics.se>
13355682Smarkm
13455682Smarkm	* rsh.c: new option --forwardable. use print_version
13555682Smarkm	
13655682SmarkmSat Apr 10 17:10:55 1999  Assar Westerlund  <assar@sics.se>
13755682Smarkm
13855682Smarkm	* rshd.c (setup_copier): use `socketpair' instead of `pipe'.  Some
13955682Smarkm 	shells don't think it's a rsh session if they find a pipe at the
14055682Smarkm 	other end.
14155682Smarkm	(setup_environment): add SSH_CLIENT just to make bash happy
14255682Smarkm
14355682Smarkm	* common.c (do_read): use krb5_get_wrapped_length
14455682Smarkm
14555682SmarkmWed Mar 24 03:59:42 1999  Assar Westerlund  <assar@sics.se>
14655682Smarkm
14755682Smarkm	* rsh.c (loop): more braces to make gcc happy
14855682Smarkm
14955682SmarkmTue Mar 23 17:08:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
15055682Smarkm
15155682Smarkm	* rsh_locl.h: kafs.h
15255682Smarkm
15355682Smarkm	* rshd.c: add `-P', `-v', and `-L' flags
15455682Smarkm
15555682SmarkmThu Mar 18 11:37:24 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
15655682Smarkm
15755682Smarkm	* Makefile.am: include Makefile.am.common
15855682Smarkm
15955682SmarkmTue Dec  1 14:44:44 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
16055682Smarkm
16155682Smarkm	* appl/rsh/rshd.c: update to new crypto framework
16255682Smarkm
16355682Smarkm	* appl/rsh/rsh_locl.h: update to new crypto framework
16455682Smarkm
16555682Smarkm	* appl/rsh/rsh.c: update to new crypto framework
16655682Smarkm
16755682Smarkm	* appl/rsh/common.c: update to new crypto framework
16855682Smarkm
16955682SmarkmMon Nov  2 01:15:06 1998  Assar Westerlund  <assar@sics.se>
17055682Smarkm
17155682Smarkm	* appl/rsh/rsh.c (main): initialize host
17255682Smarkm
17355682Smarkm	* appl/rsh/rshd.c (recv_krb5_auth): disable `do_encrypt' if not
17455682Smarkm 	encrypting.
17555682Smarkm
17655682SmarkmThu Jul 30 23:12:17 1998  Assar Westerlund  <assar@sics.se>
17755682Smarkm
17855682Smarkm	* appl/rsh/rsh.c: kludges for parsing `rsh hostname -l user'
17955682Smarkm
18055682SmarkmThu Jul 23 19:49:03 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
18155682Smarkm
18255682Smarkm	* appl/rsh/rshd.c: use krb5_verify_authenticator_checksum
18355682Smarkm
18455682SmarkmSat Apr 18 21:13:06 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
18555682Smarkm
18655682Smarkm	* appl/rsh/rsh.c: Don't try v5 if (only) `-4' is specified.
18755682Smarkm
18855682SmarkmSun Dec 21 09:44:05 1997  Assar Westerlund  <assar@sics.se>
18955682Smarkm
19055682Smarkm	* appl/rsh/rshd.c (recv_krb5_auth): swap the order of the
19155682Smarkm 	`local_user' and the `remote_user'
19255682Smarkm
19355682Smarkm	* appl/rsh/rsh.c (send_krb5_auth): swap the order of the
19455682Smarkm 	`local_user' and the `remote_user'
19555682Smarkm
19655682SmarkmSat Nov 29 07:10:11 1997  Assar Westerlund  <assar@sics.se>
19755682Smarkm
19855682Smarkm	* appl/rsh/rshd.c: updated to use getarg.
19955682Smarkm	changed `struct fd_set' to `fd_set'.
20055682Smarkm	implemented broken/BSD authentication (requires iruserok)
20155682Smarkm
20255682SmarkmWed Nov 12 02:35:57 1997  Assar Westerlund  <assar@sics.se>
20355682Smarkm
20455682Smarkm	* appl/rsh/rsh_locl.h: add AUTH_BROKEN and PATH_RSH
20555682Smarkm
20655682Smarkm	* appl/rsh/Makefile.am: set BINDIR
20755682Smarkm
20855682Smarkm	* appl/rsh/rsh.c: implemented BSD-style reserved port
20955682Smarkm 	`authentication'
21055682Smarkm
21155682SmarkmSun Aug 24 08:06:54 1997  Assar Westerlund  <assar@sics.se>
21255682Smarkm
21355682Smarkm	* appl/rsh/rshd.c: syslog remote shells
21455682Smarkm
21555682SmarkmTue Aug 12 01:29:46 1997  Assar Westerlund  <assar@sics.se>
21655682Smarkm
21755682Smarkm	* appl/rshd/rshd.c: Use `krb5_sock_to_principal'.  Send server
21855682Smarkm 	parameter to krb5_rd_req/krb5_recvauth.  Set addresses in
21955682Smarkm 	auth_context.
22055682Smarkm
22155682SmarkmFri Jul 25 17:32:12 1997  Assar Westerlund  <assar@sics.se>
22255682Smarkm
22355682Smarkm	* appl/rsh/rshd.c: implement forwarding
22455682Smarkm
22555682Smarkm	* appl/rsh/rsh.c: Use getarg.  Implement forwarding.
22655682Smarkm
22755682SmarkmSun Jul 13 00:32:16 1997  Assar Westerlund  <assar@sics.se>
22855682Smarkm
22955682Smarkm	* appl/rsh: Conditionalize the krb4-support.
23055682Smarkm
23155682SmarkmWed Jul  9 06:58:00 1997  Assar Westerlund  <assar@sics.se>
23255682Smarkm
23355682Smarkm	* appl/rsh/rsh.c: use the correct user for the checksum
23455682Smarkm
23555682SmarkmMon Jul  7 11:15:51 1997  Assar Westerlund  <assar@sics.se>
23655682Smarkm
23755682Smarkm	* appl/rsh/rshd.c: Now works.  Also implementd encryption and
23855682Smarkm 	`-p'.
23955682Smarkm	
24055682Smarkm	* appl/rsh/common.c: new file
24155682Smarkm
24255682SmarkmMon Jun 30 06:08:14 1997  Assar Westerlund  <assar@sics.se>
24355682Smarkm
24455682Smarkm	* appl/rsh: New program.
24555682Smarkm
246