xref: /freebsd/crypto/heimdal/appl/rsh/ChangeLog (revision 6a068746777241722b2b32c5d0bc443a2a64d80b)
1*ae771770SStanislav Sedov2007-07-12  Love Hörnquist Åstrand  <lha@it.su.se>
2c19800e8SDoug Rabson
3c19800e8SDoug Rabson	* rsh.c: Fix pointer vs strict alias rules.
4c19800e8SDoug Rabson
5c19800e8SDoug Rabson	* rshd.c: Fix pointer vs strict alias rules.
6c19800e8SDoug Rabson
7*ae771770SStanislav Sedov2007-01-04  Love Hörnquist Åstrand  <lha@it.su.se>
8c19800e8SDoug Rabson
9c19800e8SDoug Rabson	* rshd.c: Declare iruserok if needed, based on bug report from
10c19800e8SDoug Rabson	David Love.
11c19800e8SDoug Rabson
12*ae771770SStanislav Sedov2006-11-14  Love Hörnquist Åstrand  <lha@it.su.se>
13c19800e8SDoug Rabson
14c19800e8SDoug Rabson	* rsh_locl.h: Forward decl.
15c19800e8SDoug Rabson
16*ae771770SStanislav Sedov2006-10-14  Love Hörnquist Åstrand  <lha@it.su.se>
17c19800e8SDoug Rabson
18c19800e8SDoug Rabson	* rsh_locl.h: Include "crypto-headers.h".
19c19800e8SDoug Rabson
20*ae771770SStanislav Sedov2006-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
21c19800e8SDoug Rabson
22c19800e8SDoug Rabson	* Makefile.am: Add man_MANS to EXTRA_DIST
23c19800e8SDoug Rabson
24*ae771770SStanislav Sedov2006-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
25c19800e8SDoug Rabson
26c19800e8SDoug Rabson	* Makefile.am: rshd_SOURCES += add limits_conf.c
27c19800e8SDoug Rabson
28c19800e8SDoug Rabson	* rsh_locl.h: Include "loginpaths.h"
29c19800e8SDoug Rabson
30c19800e8SDoug Rabson	* rshd.c: Read limits from limits.confon non-root login, patch
31c19800e8SDoug Rabson	from Daniel Ahlin
32c19800e8SDoug Rabson
33c19800e8SDoug Rabson2006-02-27 Johan Danielsson <joda@pdc.kth.se>
34c19800e8SDoug Rabson
35c19800e8SDoug Rabson	* rshd.8: grammar (from Thomas Klausner)
36c19800e8SDoug Rabson
37c19800e8SDoug Rabson2006-01-31  Johan Danielsson  <joda@pdc.kth.se>
38c19800e8SDoug Rabson
39c19800e8SDoug Rabson	* rshd.c (krb5_start_session): syslog failures to store cred cache
40c19800e8SDoug Rabson
41*ae771770SStanislav Sedov2005-12-21  Love Hörnquist Åstrand  <lha@it.su.se>
42c19800e8SDoug Rabson
43c19800e8SDoug Rabson	* rshd.c (doit): move creation of users ticket file to later to
44c19800e8SDoug Rabson	avoid seteuid/setuid dance. this breaks DCE, so remove support for
45c19800e8SDoug Rabson	it completely.
46c19800e8SDoug Rabson
47*ae771770SStanislav Sedov2005-10-22  Love Hörnquist Åstrand  <lha@it.su.se>
48c19800e8SDoug Rabson
49c19800e8SDoug Rabson	* rshd.c: Check return value from asprintf instead of string !=
50*ae771770SStanislav Sedov	NULL since it undefined behavior on Linux. From Björn Sandell
51c19800e8SDoug Rabson
52c19800e8SDoug Rabson	* rsh.c: Check return value from asprintf instead of string !=
53*ae771770SStanislav Sedov	NULL since it undefined behavior on Linux. From Björn Sandell
54c19800e8SDoug Rabson
55*ae771770SStanislav Sedov2005-06-08  Love Hörnquist Åstrand  <lha@it.su.se>
56c19800e8SDoug Rabson
57c19800e8SDoug Rabson	* rshd.c: init some important variables and check that they are
58c19800e8SDoug Rabson	set checking authentication, all to please gcc
59c19800e8SDoug Rabson
60*ae771770SStanislav Sedov2005-05-27  Love Hörnquist Åstrand  <lha@it.su.se>
61c19800e8SDoug Rabson
62c19800e8SDoug Rabson	* rshd.c: case uid_t to unsigned long in printf format
63c19800e8SDoug Rabson
64*ae771770SStanislav Sedov2005-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
65c19800e8SDoug Rabson
66c19800e8SDoug Rabson	* rsh_locl.h: Use larger buffer for recving data to be compatible
67c19800e8SDoug Rabson	with older versions of heimdal (0.4 branch specificly)
68c19800e8SDoug Rabson
69c19800e8SDoug Rabson	* rshd.c: Use larger buffer for recving data to be compatible with
70c19800e8SDoug Rabson	older versions of heimdal (0.4 branch specificly)
71c19800e8SDoug Rabson
72*ae771770SStanislav Sedov2005-04-25  Love Hörnquist Åstrand  <lha@it.su.se>
73c19800e8SDoug Rabson
74c19800e8SDoug Rabson	* rshd.c: use snprintf to format tkfile
75c19800e8SDoug Rabson
76*ae771770SStanislav Sedov2005-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
77c19800e8SDoug Rabson
78c19800e8SDoug Rabson	* rsh.c: use strlcat
79c19800e8SDoug Rabson
80c19800e8SDoug Rabson	* rsh.c: use strlcpy
81c19800e8SDoug Rabson
82c19800e8SDoug Rabson	* rsh_locl.h: forward declaration for private structures
83c19800e8SDoug Rabson
84*ae771770SStanislav Sedov2005-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
85c19800e8SDoug Rabson
86c19800e8SDoug Rabson	* rsh.c: cast size_t to unsigned long
87c19800e8SDoug Rabson
88c19800e8SDoug Rabson2004-09-21  Johan Danielsson  <joda@pdc.kth.se>
89c19800e8SDoug Rabson
90c19800e8SDoug Rabson	* rshd.c: rename loop to rshd_loop
91c19800e8SDoug Rabson
92c19800e8SDoug Rabson	* rshd.c: pass errsock status to init_ivecs
93c19800e8SDoug Rabson
94c19800e8SDoug Rabson	* rsh.c: rename loop() to rsh_loop()
95c19800e8SDoug Rabson
96c19800e8SDoug Rabson	* rsh.c (loop): pass errsock status to init_ivecs
97c19800e8SDoug Rabson
98c19800e8SDoug Rabson	* common.c (init_ivecs): if we don't have an errsock the ivecs
99c19800e8SDoug Rabson	should point to the same data
100c19800e8SDoug Rabson
101c19800e8SDoug Rabson	* rshd.c: if we don't have an errsock, dup stdout to stderr (this
102c19800e8SDoug Rabson	would normally be done by inetd, but not by mini_inetd).
103c19800e8SDoug Rabson
104c19800e8SDoug Rabson	* rshd.c: move keepalive setting to after setting up sockets
105c19800e8SDoug Rabson
106c19800e8SDoug Rabson2004-02-20  Johan Danielsson  <joda@pdc.kth.se>
107c19800e8SDoug Rabson
108c19800e8SDoug Rabson	* rsh.1: reorder and document some options
109c19800e8SDoug Rabson
110c19800e8SDoug Rabson	* rsh_locl.h: include kafs.h if krb4 || krb5
111c19800e8SDoug Rabson
112c19800e8SDoug Rabson	* rsh.c: reorder some options
113c19800e8SDoug Rabson
114c19800e8SDoug Rabson2003-09-04  Johan Danielsson  <joda@pdc.kth.se>
115c19800e8SDoug Rabson
116c19800e8SDoug Rabson	* rsh.1: document -d
117c19800e8SDoug Rabson
118c19800e8SDoug Rabson2003-08-19  Johan Danielsson  <joda@pdc.kth.se>
119c19800e8SDoug Rabson
120c19800e8SDoug Rabson	* rshd.c: -P also with KRB5
121c19800e8SDoug Rabson
122*ae771770SStanislav Sedov2003-04-22  Love Hörnquist Åstrand  <lha@it.su.se>
123c19800e8SDoug Rabson
124c19800e8SDoug Rabson	* rsh.1: replace > with \*[Gt]
125c19800e8SDoug Rabson
126bbd80c28SJacques Vidrine2003-04-16  Johan Danielsson  <joda@pdc.kth.se>
127bbd80c28SJacques Vidrine
128bbd80c28SJacques Vidrine	* rsh.c: use krb5_appdefault to get defaults for forward and
129bbd80c28SJacques Vidrine	encrypt
130bbd80c28SJacques Vidrine
131bbd80c28SJacques Vidrine	* rshd.c: use ARG_MAX + 1
132bbd80c28SJacques Vidrine
133bbd80c28SJacques Vidrine	* rshd.c (read_str): return allocated string
134bbd80c28SJacques Vidrine
135bbd80c28SJacques Vidrine	* rsh_locl.h: set NCARGS to 8k if undefined
136bbd80c28SJacques Vidrine
137bbd80c28SJacques Vidrine2003-03-23  Assar Westerlund  <assar@kth.se>
138bbd80c28SJacques Vidrine
139bbd80c28SJacques Vidrine	* rsh.c (loop): only check errsock if it's valid
140bbd80c28SJacques Vidrine
141*ae771770SStanislav Sedov2003-03-18  Love  Love Hörnquist Åstrand <lha@it.su.se>
142bbd80c28SJacques Vidrine
143bbd80c28SJacques Vidrine	* rshd.c: do krb5_afslog when compling with afs support
144bbd80c28SJacques Vidrine
145bbd80c28SJacques Vidrine	* rsh_locl.h: always include kafs.h
146bbd80c28SJacques Vidrine
147bbd80c28SJacques Vidrine2002-11-22  Johan Danielsson  <joda@pdc.kth.se>
148bbd80c28SJacques Vidrine
149bbd80c28SJacques Vidrine	* rshd.8: clarify -x and kerberos 5
150bbd80c28SJacques Vidrine
151bbd80c28SJacques Vidrine2002-11-01  Johan Danielsson  <joda@pdc.kth.se>
152bbd80c28SJacques Vidrine
153bbd80c28SJacques Vidrine	* rsh_locl.h: bump COMMAND_SZ to NCARGS+1
154bbd80c28SJacques Vidrine
1550cadf2f4SJacques Vidrine2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
1560cadf2f4SJacques Vidrine
1570cadf2f4SJacques Vidrine	* rsh.c: free some memory
1580cadf2f4SJacques Vidrine
1590cadf2f4SJacques Vidrine2002-09-04  Assar Westerlund  <assar@kth.se>
1600cadf2f4SJacques Vidrine
1610cadf2f4SJacques Vidrine	* common.c: krb5_crypto_block_size -> krb5_crypto_getblocksize
1620cadf2f4SJacques Vidrine
1630cadf2f4SJacques Vidrine2002-09-04  Johan Danielsson  <joda@pdc.kth.se>
1640cadf2f4SJacques Vidrine
1650cadf2f4SJacques Vidrine	* rsh.1: document -P
1660cadf2f4SJacques Vidrine
1670cadf2f4SJacques Vidrine2002-09-03  Johan Danielsson  <joda@pdc.kth.se>
1680cadf2f4SJacques Vidrine
1690cadf2f4SJacques Vidrine	* rsh.c: revert to protocol v1 if not asked for specific protocol
1700cadf2f4SJacques Vidrine
1710cadf2f4SJacques Vidrine	* rshd.c: handle protocol version 2
1720cadf2f4SJacques Vidrine
1730cadf2f4SJacques Vidrine	* rsh.c: handle protocol version 2
1740cadf2f4SJacques Vidrine
1750cadf2f4SJacques Vidrine	* common.c: handle protocol version 2
1760cadf2f4SJacques Vidrine
1770cadf2f4SJacques Vidrine	* rsh_locl.h: handle protocol version 2
1780cadf2f4SJacques Vidrine
1798373020dSJacques Vidrine2002-02-18  Johan Danielsson  <joda@pdc.kth.se>
1808373020dSJacques Vidrine
1818373020dSJacques Vidrine	* rshd.c: don't show options that doesn't apply
1828373020dSJacques Vidrine
1838373020dSJacques Vidrine	* rsh.c: don't show options that doesn't apply
1848373020dSJacques Vidrine
1858373020dSJacques Vidrine	* rsh_locl.h: if we're not building with any kerberos support,
1868373020dSJacques Vidrine	just call read/write directly
1878373020dSJacques Vidrine
1888373020dSJacques Vidrine	* common.c: if we're not building with any kerberos support, just
1898373020dSJacques Vidrine	call read/write directly
1908373020dSJacques Vidrine
1918373020dSJacques Vidrine	* rshd.c: make this build without krb5; also use the addrinfo
1928373020dSJacques Vidrine	interface to mini_inetd, and set the keepalive option if requested
1938373020dSJacques Vidrine
1948373020dSJacques Vidrine	* rsh.c: make this build without krb5
1958373020dSJacques Vidrine
1968373020dSJacques Vidrine	* rsh_locl.h: make this build without krb5
1978373020dSJacques Vidrine
1988373020dSJacques Vidrine	* common.c: make this build without krb5
1998373020dSJacques Vidrine
2004137ff4cSJacques Vidrine2001-11-30  Johan Danielsson  <joda@pdc.kth.se>
2014137ff4cSJacques Vidrine
2024137ff4cSJacques Vidrine	* rshd.c: make the syslog messages somewhat more informative
2034137ff4cSJacques Vidrine
2044137ff4cSJacques Vidrine2001-08-15  Johan Danielsson  <joda@pdc.kth.se>
2054137ff4cSJacques Vidrine
2064137ff4cSJacques Vidrine	* rsh.c: only complain about encryption flag when old
2074137ff4cSJacques Vidrine	authentication is requested
2084137ff4cSJacques Vidrine
2094137ff4cSJacques Vidrine2001-08-07  Johan Danielsson  <joda@pdc.kth.se>
2104137ff4cSJacques Vidrine
2114137ff4cSJacques Vidrine	* rsh.c: don't try broken auth if rresvport failed; try to give
2124137ff4cSJacques Vidrine	some more informative error messages
2134137ff4cSJacques Vidrine
2144137ff4cSJacques Vidrine2001-07-31  Johan Danielsson  <joda@pdc.kth.se>
2154137ff4cSJacques Vidrine
2164137ff4cSJacques Vidrine	* rshd.8: add an EXAMPLE
2174137ff4cSJacques Vidrine	* rshd.8: manual page
2184137ff4cSJacques Vidrine	* rshd.c: add some compat flags
2194137ff4cSJacques Vidrine	* rsh.1: manual page
2204137ff4cSJacques Vidrine	* rsh.c: iff -d, set the SO_DEBUG flags of the stdout and stderr
2214137ff4cSJacques Vidrine	socket; implement parsing user@host
2224137ff4cSJacques Vidrine
2234137ff4cSJacques Vidrine2001-07-19  Assar Westerlund  <assar@sics.se>
2244137ff4cSJacques Vidrine
2254137ff4cSJacques Vidrine	* rshd.c (fatal): use vsnprintf correctly
2264137ff4cSJacques Vidrine
227adb0ddaeSAssar Westerlund2001-02-07  Assar Westerlund  <assar@sics.se>
228adb0ddaeSAssar Westerlund
229adb0ddaeSAssar Westerlund	* Makefile.am: add login_access
230adb0ddaeSAssar Westerlund	* rshd.c (login_access): add prototype
231adb0ddaeSAssar Westerlund	(syslog_and_die, fatal): add printf attributes
232adb0ddaeSAssar Westerlund	(*): AIX -> _AIX
233adb0ddaeSAssar Westerlund	(doit): use login_access
234adb0ddaeSAssar Westerlund	based on patches from Ake Sandgren <ake@cs.umu.se>
235adb0ddaeSAssar Westerlund
2365e9cd1aeSAssar Westerlund2001-01-09  Assar Westerlund  <assar@sics.se>
2375e9cd1aeSAssar Westerlund
2385e9cd1aeSAssar Westerlund	* rshd.c (save_krb5_creds): use krb5_rd_cred2 instead of
2395e9cd1aeSAssar Westerlund	krb5_rd_cred
2405e9cd1aeSAssar Westerlund
2415e9cd1aeSAssar Westerlund2000-12-31  Assar Westerlund  <assar@sics.se>
2425e9cd1aeSAssar Westerlund
2435e9cd1aeSAssar Westerlund	* rshd.c (main): handle krb5_init_context failure consistently
2445e9cd1aeSAssar Westerlund	* rsh.c (main): handle krb5_init_context failure consistently
2455e9cd1aeSAssar Westerlund
2465e9cd1aeSAssar Westerlund2000-12-05  Johan Danielsson  <joda@pdc.kth.se>
2475e9cd1aeSAssar Westerlund
2485e9cd1aeSAssar Westerlund	* rshd.c: require encryption if passed -x
2495e9cd1aeSAssar Westerlund
2505e9cd1aeSAssar Westerlund2000-11-15  Assar Westerlund  <assar@sics.se>
2515e9cd1aeSAssar Westerlund
2525e9cd1aeSAssar Westerlund	* rshd.c (loop): check that the fd's aren't too large to select on
2535e9cd1aeSAssar Westerlund	* rsh.c (loop, proto): check that the fd's aren't too large to
2545e9cd1aeSAssar Westerlund	select on
2555e9cd1aeSAssar Westerlund
2565e9cd1aeSAssar Westerlund2000-08-10  Assar Westerlund  <assar@sics.se>
2575e9cd1aeSAssar Westerlund
2585e9cd1aeSAssar Westerlund	* rsh.c: move code to do config/command parsing correctly.
2595e9cd1aeSAssar Westerlund
2605e9cd1aeSAssar Westerlund2000-08-09  Assar Westerlund  <assar@sics.se>
2615e9cd1aeSAssar Westerlund
2625e9cd1aeSAssar Westerlund	* rsh.c (main): only fetch stuff from krb5.conf when no option has
2635e9cd1aeSAssar Westerlund	been given
2645e9cd1aeSAssar Westerlund
2655e9cd1aeSAssar Westerlund2000-08-01  Assar Westerlund  <assar@sics.se>
2665e9cd1aeSAssar Westerlund
2675e9cd1aeSAssar Westerlund	* rsh.c (doit): loop until we create an error socket of an
2685e9cd1aeSAssar Westerlund	supported socket family
2695e9cd1aeSAssar Westerlund
2705e9cd1aeSAssar Westerlund2000-07-02  Assar Westerlund  <assar@sics.se>
2715e9cd1aeSAssar Westerlund
2725e9cd1aeSAssar Westerlund	* rshd.c: DCE stuff from Ake Sandgren <ake@cs.umu.se>
2735e9cd1aeSAssar Westerlund	do not call syslog with a variable as format string
2745e9cd1aeSAssar Westerlund
2755e9cd1aeSAssar Westerlund	* rsh_locl.h (_PATH_ETC_ENVIRONMENT): add
2765e9cd1aeSAssar Westerlund
2775e9cd1aeSAssar Westerlund2000-06-09  Assar Westerlund  <assar@sics.se>
2785e9cd1aeSAssar Westerlund
2795e9cd1aeSAssar Westerlund	* rsh.c (main): work-around for setuid and capabilities bug fixed
2805e9cd1aeSAssar Westerlund	in Linux 2.2.16
2815e9cd1aeSAssar Westerlund
2825e9cd1aeSAssar Westerlund2000-06-06  Johan Danielsson  <joda@pdc.kth.se>
2835e9cd1aeSAssar Westerlund
2845e9cd1aeSAssar Westerlund	* rsh.c: nuke long option from -z
2855e9cd1aeSAssar Westerlund
2865e9cd1aeSAssar Westerlund	* rsh.c: don't try to encrypt if auth is broken (Daniel Kouril)
2875e9cd1aeSAssar Westerlund
2885e9cd1aeSAssar Westerlund2000-06-03  Assar Westerlund  <assar@sics.se>
2895e9cd1aeSAssar Westerlund
2905e9cd1aeSAssar Westerlund	* rshd.c (doit): check return value of getspnam.  From
2915e9cd1aeSAssar Westerlund	<haba@pdc.kth.se>
2925e9cd1aeSAssar Westerlund
2935e9cd1aeSAssar Westerlund2000-05-23  Assar Westerlund  <assar@sics.se>
2945e9cd1aeSAssar Westerlund
2955e9cd1aeSAssar Westerlund	* rsh.c (proto): select on the normal socket when waiting for the
2965e9cd1aeSAssar Westerlund	daemon to connect back to the stderr port, so that we discover
2975e9cd1aeSAssar Westerlund	when data arrives there before.  when that happens, we assume that
2985e9cd1aeSAssar Westerlund	the daemon did not manage to connect (because of NAT/whatever) and
2995e9cd1aeSAssar Westerlund	continue as if `-e' was given
3005e9cd1aeSAssar Westerlund	* rshd.c (doit): if we fail to connect back to the stderr port,
3015e9cd1aeSAssar Westerlund	act as if `-e' was given on the client side, i.e. without the
3025e9cd1aeSAssar Westerlund	special TCP-connection.  This tries to make things better when
3035e9cd1aeSAssar Westerlund	running the head against a NAT wall, for example.
3045e9cd1aeSAssar Westerlund
30513e3f4d6SMark Murray2000-02-07  Assar Westerlund  <assar@sics.se>
30613e3f4d6SMark Murray
30713e3f4d6SMark Murray	* Makefile.am (LDADD): make sure we use the heimdal libdes
30813e3f4d6SMark Murray
30913e3f4d6SMark Murray2000-02-06  Assar Westerlund  <assar@sics.se>
31013e3f4d6SMark Murray
31113e3f4d6SMark Murray	* *: conditionalize des stuff on KRB4
31213e3f4d6SMark Murray
313b528cefcSMark Murray1999-12-16  Assar Westerlund  <assar@sics.se>
314b528cefcSMark Murray
315b528cefcSMark Murray	* rsh.c (doit): addrinfo returned from getaddrinfo() is not usable
316b528cefcSMark Murray	directly as hints.  copy it and set AI_PASSIVE.
317b528cefcSMark Murray
318b528cefcSMark Murray1999-11-20  Assar Westerlund  <assar@sics.se>
319b528cefcSMark Murray
320b528cefcSMark Murray	* rsh.c (main): remember to close the priviledged sockets before
321b528cefcSMark Murray 	calling rlogin
322b528cefcSMark Murray
323b528cefcSMark Murray1999-11-02  Assar Westerlund  <assar@sics.se>
324b528cefcSMark Murray
325b528cefcSMark Murray	* rsh.c (main): redo the v4/v5 selection for consistency.  -4 ->
326b528cefcSMark Murray 	try only v4 -5 -> try only v5 none, -45 -> try v5, v4
327b528cefcSMark Murray
328b528cefcSMark Murray1999-10-26  Assar Westerlund  <assar@sics.se>
329b528cefcSMark Murray
330b528cefcSMark Murray	* rshd.c (main): ignore SIGPIPE
331b528cefcSMark Murray
332b528cefcSMark Murray	* common.c (do_read): the encoded length can be longer than the
333b528cefcSMark Murray 	buffer being used, allocate memory for it dynamically.  From Brian
334b528cefcSMark Murray 	A May <bmay@dgs.monash.edu.au>
335b528cefcSMark Murray
336b528cefcSMark Murray1999-10-14  Assar Westerlund  <assar@sics.se>
337b528cefcSMark Murray
338b528cefcSMark Murray	* rsh.c (proto): be more careful and don't print errno when read()
339b528cefcSMark Murray 	returns 0
340b528cefcSMark Murray
341b528cefcSMark Murray1999-09-20  Assar Westerlund  <assar@sics.se>
342b528cefcSMark Murray
343b528cefcSMark Murray	* rshd.c (recv_krb4_auth): set `iv'
344b528cefcSMark Murray
345b528cefcSMark Murray1999-08-16  Assar Westerlund  <assar@sics.se>
346b528cefcSMark Murray
347b528cefcSMark Murray	* common.c (do_read): be careful with the return value from
348b528cefcSMark Murray 	krb5_net_read
349b528cefcSMark Murray
350b528cefcSMark Murray1999-08-05  Assar Westerlund  <assar@sics.se>
351b528cefcSMark Murray
352b528cefcSMark Murray	* rsh.c: call freehostent
353b528cefcSMark Murray
354b528cefcSMark Murray	* rsh.c: remove some dead code
355b528cefcSMark Murray
356b528cefcSMark Murray1999-08-04  Assar Westerlund  <assar@sics.se>
357b528cefcSMark Murray
358b528cefcSMark Murray	* rshd.c: re-write the handling of forwarded credentials and
359b528cefcSMark Murray 	stuff.  From Miroslav Ruda <ruda@ics.muni.cz>
360b528cefcSMark Murray
361b528cefcSMark Murray	* rsh_locl.h: always include kafs.h
362b528cefcSMark Murray
363b528cefcSMark Murray	* rsh.c: add `-z' and `-G' options
364b528cefcSMark Murray
365b528cefcSMark Murray	* rsh.c (loop): shutdown one side of the TCP connection on EOF.
366b528cefcSMark Murray  	From Brian A May <bmay@dgs.monash.edu.au>
367b528cefcSMark Murray
368b528cefcSMark Murray	* common.c (do_read): handle EOF.  From Brian A May
369b528cefcSMark Murray 	<bmay@dgs.monash.edu.au>
370b528cefcSMark Murray
371b528cefcSMark Murray1999-08-01  Assar Westerlund  <assar@sics.se>
372b528cefcSMark Murray
373b528cefcSMark Murray	* rsh.c: const fixes
374b528cefcSMark Murray
375b528cefcSMark Murray1999-07-29  Assar Westerlund  <assar@sics.se>
376b528cefcSMark Murray
377b528cefcSMark Murray	* rshd.c: v6-ify
378b528cefcSMark Murray
379b528cefcSMark Murray	* rsh.c: v6-ify
380b528cefcSMark Murray
381b528cefcSMark Murray1999-07-28  Assar Westerlund  <assar@sics.se>
382b528cefcSMark Murray
383b528cefcSMark Murray	* rsh_locl.h: move around kafs.h
384b528cefcSMark Murray
385b528cefcSMark Murray1999-07-24  Assar Westerlund  <assar@sics.se>
386b528cefcSMark Murray
387b528cefcSMark Murray	* rsh_locl.h: <shadow.h>
388b528cefcSMark Murray
389b528cefcSMark Murray	* rsh.c, rshd.c: improve forwarding and implement unique ccache on
390b528cefcSMark Murray 	server.  From Miroslav Ruda <ruda@ics.muni.cz>
391b528cefcSMark Murray
392b528cefcSMark Murray1999-07-03  Assar Westerlund  <assar@sics.se>
393b528cefcSMark Murray
394b528cefcSMark Murray	* rsh.c (construct_command): handle argc == 0 for generality
395b528cefcSMark Murray
396b528cefcSMark Murray1999-06-23  Assar Westerlund  <assar@sics.se>
397b528cefcSMark Murray
398b528cefcSMark Murray	* rsh.c: new option `-e' for not trying to open an stderr socket
399b528cefcSMark Murray
400b528cefcSMark Murray1999-06-17  Assar Westerlund  <assar@sics.se>
401b528cefcSMark Murray
402b528cefcSMark Murray	* rsh_locl.h (RSH_BUFSIZ): bump to 16 * 1024 to be sure that we
403b528cefcSMark Murray 	don't leave any data inside des_enc_read.  (that constant should
404b528cefcSMark Murray 	really be exported in some way...)
405b528cefcSMark Murray
406b528cefcSMark Murray1999-06-15  Assar Westerlund  <assar@sics.se>
407b528cefcSMark Murray
408b528cefcSMark Murray	* rsh.c: use get_default_username and resulting const pollution
409b528cefcSMark Murray
410b528cefcSMark Murray1999-05-21  Assar Westerlund  <assar@sics.se>
411b528cefcSMark Murray
412b528cefcSMark Murray	* rsh.c (main): try $USERNAME
413b528cefcSMark Murray
414b528cefcSMark Murray1999-05-14  Assar Westerlund  <assar@sics.se>
415b528cefcSMark Murray
416b528cefcSMark Murray	* rshd.c (doit): afslog correctly
417b528cefcSMark Murray
418b528cefcSMark Murray1999-05-11  Assar Westerlund  <assar@sics.se>
419b528cefcSMark Murray
420b528cefcSMark Murray	* rsh.c (main): add fallback to rlogin
421b528cefcSMark Murray
422b528cefcSMark Murray1999-05-10  Assar Westerlund  <assar@sics.se>
423b528cefcSMark Murray
424b528cefcSMark Murray	* rsh.c (send_krb5_auth): call krb5_sendauth with ccache == NULL.
425b528cefcSMark Murray	check return value from krb5_crypto_init
426b528cefcSMark Murray
427b528cefcSMark Murray	* common.c (do_write, do_read): always return -1 for failure
428b528cefcSMark Murray	(net_write, net_read): remove.  they already exist in libroken
429b528cefcSMark Murray
430b528cefcSMark Murray1999-05-09  Assar Westerlund  <assar@sics.se>
431b528cefcSMark Murray
432b528cefcSMark Murray	* rsh.c: make sure it tries with all other authentication methods
433b528cefcSMark Murray	after one has failed
434b528cefcSMark Murray	* rsh.c (main): detect the case of no command given.
435b528cefcSMark Murray
436b528cefcSMark Murray1999-04-11  Assar Westerlund  <assar@sics.se>
437b528cefcSMark Murray
438b528cefcSMark Murray	* rsh.c: new option --forwardable. use print_version
439b528cefcSMark Murray
440b528cefcSMark MurraySat Apr 10 17:10:55 1999  Assar Westerlund  <assar@sics.se>
441b528cefcSMark Murray
442b528cefcSMark Murray	* rshd.c (setup_copier): use `socketpair' instead of `pipe'.  Some
443b528cefcSMark Murray 	shells don't think it's a rsh session if they find a pipe at the
444b528cefcSMark Murray 	other end.
445b528cefcSMark Murray	(setup_environment): add SSH_CLIENT just to make bash happy
446b528cefcSMark Murray
447b528cefcSMark Murray	* common.c (do_read): use krb5_get_wrapped_length
448b528cefcSMark Murray
449b528cefcSMark MurrayWed Mar 24 03:59:42 1999  Assar Westerlund  <assar@sics.se>
450b528cefcSMark Murray
451b528cefcSMark Murray	* rsh.c (loop): more braces to make gcc happy
452b528cefcSMark Murray
453b528cefcSMark MurrayTue Mar 23 17:08:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
454b528cefcSMark Murray
455b528cefcSMark Murray	* rsh_locl.h: kafs.h
456b528cefcSMark Murray
457b528cefcSMark Murray	* rshd.c: add `-P', `-v', and `-L' flags
458b528cefcSMark Murray
459b528cefcSMark MurrayThu Mar 18 11:37:24 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
460b528cefcSMark Murray
461b528cefcSMark Murray	* Makefile.am: include Makefile.am.common
462b528cefcSMark Murray
463b528cefcSMark MurrayTue Dec  1 14:44:44 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
464b528cefcSMark Murray
465b528cefcSMark Murray	* appl/rsh/rshd.c: update to new crypto framework
466b528cefcSMark Murray
467b528cefcSMark Murray	* appl/rsh/rsh_locl.h: update to new crypto framework
468b528cefcSMark Murray
469b528cefcSMark Murray	* appl/rsh/rsh.c: update to new crypto framework
470b528cefcSMark Murray
471b528cefcSMark Murray	* appl/rsh/common.c: update to new crypto framework
472b528cefcSMark Murray
473b528cefcSMark MurrayMon Nov  2 01:15:06 1998  Assar Westerlund  <assar@sics.se>
474b528cefcSMark Murray
475b528cefcSMark Murray	* appl/rsh/rsh.c (main): initialize host
476b528cefcSMark Murray
477b528cefcSMark Murray	* appl/rsh/rshd.c (recv_krb5_auth): disable `do_encrypt' if not
478b528cefcSMark Murray 	encrypting.
479b528cefcSMark Murray
480b528cefcSMark MurrayThu Jul 30 23:12:17 1998  Assar Westerlund  <assar@sics.se>
481b528cefcSMark Murray
482b528cefcSMark Murray	* appl/rsh/rsh.c: kludges for parsing `rsh hostname -l user'
483b528cefcSMark Murray
484b528cefcSMark MurrayThu Jul 23 19:49:03 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
485b528cefcSMark Murray
486b528cefcSMark Murray	* appl/rsh/rshd.c: use krb5_verify_authenticator_checksum
487b528cefcSMark Murray
488b528cefcSMark MurraySat Apr 18 21:13:06 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
489b528cefcSMark Murray
490b528cefcSMark Murray	* appl/rsh/rsh.c: Don't try v5 if (only) `-4' is specified.
491b528cefcSMark Murray
492b528cefcSMark MurraySun Dec 21 09:44:05 1997  Assar Westerlund  <assar@sics.se>
493b528cefcSMark Murray
494b528cefcSMark Murray	* appl/rsh/rshd.c (recv_krb5_auth): swap the order of the
495b528cefcSMark Murray 	`local_user' and the `remote_user'
496b528cefcSMark Murray
497b528cefcSMark Murray	* appl/rsh/rsh.c (send_krb5_auth): swap the order of the
498b528cefcSMark Murray 	`local_user' and the `remote_user'
499b528cefcSMark Murray
500b528cefcSMark MurraySat Nov 29 07:10:11 1997  Assar Westerlund  <assar@sics.se>
501b528cefcSMark Murray
502b528cefcSMark Murray	* appl/rsh/rshd.c: updated to use getarg.
503b528cefcSMark Murray	changed `struct fd_set' to `fd_set'.
504b528cefcSMark Murray	implemented broken/BSD authentication (requires iruserok)
505b528cefcSMark Murray
506b528cefcSMark MurrayWed Nov 12 02:35:57 1997  Assar Westerlund  <assar@sics.se>
507b528cefcSMark Murray
508b528cefcSMark Murray	* appl/rsh/rsh_locl.h: add AUTH_BROKEN and PATH_RSH
509b528cefcSMark Murray
510b528cefcSMark Murray	* appl/rsh/Makefile.am: set BINDIR
511b528cefcSMark Murray
512b528cefcSMark Murray	* appl/rsh/rsh.c: implemented BSD-style reserved port
513b528cefcSMark Murray 	`authentication'
514b528cefcSMark Murray
515b528cefcSMark MurraySun Aug 24 08:06:54 1997  Assar Westerlund  <assar@sics.se>
516b528cefcSMark Murray
517b528cefcSMark Murray	* appl/rsh/rshd.c: syslog remote shells
518b528cefcSMark Murray
519b528cefcSMark MurrayTue Aug 12 01:29:46 1997  Assar Westerlund  <assar@sics.se>
520b528cefcSMark Murray
521b528cefcSMark Murray	* appl/rshd/rshd.c: Use `krb5_sock_to_principal'.  Send server
522b528cefcSMark Murray 	parameter to krb5_rd_req/krb5_recvauth.  Set addresses in
523b528cefcSMark Murray 	auth_context.
524b528cefcSMark Murray
525b528cefcSMark MurrayFri Jul 25 17:32:12 1997  Assar Westerlund  <assar@sics.se>
526b528cefcSMark Murray
527b528cefcSMark Murray	* appl/rsh/rshd.c: implement forwarding
528b528cefcSMark Murray
529b528cefcSMark Murray	* appl/rsh/rsh.c: Use getarg.  Implement forwarding.
530b528cefcSMark Murray
531b528cefcSMark MurraySun Jul 13 00:32:16 1997  Assar Westerlund  <assar@sics.se>
532b528cefcSMark Murray
533b528cefcSMark Murray	* appl/rsh: Conditionalize the krb4-support.
534b528cefcSMark Murray
535b528cefcSMark MurrayWed Jul  9 06:58:00 1997  Assar Westerlund  <assar@sics.se>
536b528cefcSMark Murray
537b528cefcSMark Murray	* appl/rsh/rsh.c: use the correct user for the checksum
538b528cefcSMark Murray
539b528cefcSMark MurrayMon Jul  7 11:15:51 1997  Assar Westerlund  <assar@sics.se>
540b528cefcSMark Murray
541b528cefcSMark Murray	* appl/rsh/rshd.c: Now works.  Also implementd encryption and
542b528cefcSMark Murray 	`-p'.
543b528cefcSMark Murray
544b528cefcSMark Murray	* appl/rsh/common.c: new file
545b528cefcSMark Murray
546b528cefcSMark MurrayMon Jun 30 06:08:14 1997  Assar Westerlund  <assar@sics.se>
547b528cefcSMark Murray
548b528cefcSMark Murray	* appl/rsh: New program.
549b528cefcSMark Murray
550