source: heimdal/trunk/appl/rsh/ChangeLog@ 4

Last change on this file since 4 was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

File size: 14.7 KB
Line 
12007-07-12 Love Hörnquist Å
2strand <lha@it.su.se>
3
4 * rsh.c: Fix pointer vs strict alias rules.
5
6 * rshd.c: Fix pointer vs strict alias rules.
7
82007-01-04 Love Hörnquist Å
9strand <lha@it.su.se>
10
11 * rshd.c: Declare iruserok if needed, based on bug report from
12 David Love.
13
142006-11-14 Love Hörnquist Å
15strand <lha@it.su.se>
16
17 * rsh_locl.h: Forward decl.
18
192006-10-14 Love Hörnquist Å
20strand <lha@it.su.se>
21
22 * rsh_locl.h: Include "crypto-headers.h".
23
242006-10-07 Love Hörnquist Å
25strand <lha@it.su.se>
26
27 * Makefile.am: Add man_MANS to EXTRA_DIST
28
292006-04-27 Love Hörnquist Å
30strand <lha@it.su.se>
31
32 * Makefile.am: rshd_SOURCES += add limits_conf.c
33
34 * rsh_locl.h: Include "loginpaths.h"
35
36 * rshd.c: Read limits from limits.confon non-root login, patch
37 from Daniel Ahlin
38
392006-02-27 Johan Danielsson <joda@pdc.kth.se>
40
41 * rshd.8: grammar (from Thomas Klausner)
42
432006-01-31 Johan Danielsson <joda@pdc.kth.se>
44
45 * rshd.c (krb5_start_session): syslog failures to store cred cache
46
472005-12-21 Love Hörnquist Å
48strand <lha@it.su.se>
49
50 * rshd.c (doit): move creation of users ticket file to later to
51 avoid seteuid/setuid dance. this breaks DCE, so remove support for
52 it completely.
53
542005-10-22 Love Hörnquist Å
55strand <lha@it.su.se>
56
57 * rshd.c: Check return value from asprintf instead of string !=
58 NULL since it undefined behavior on Linux. From Björn Sandell
59
60 * rsh.c: Check return value from asprintf instead of string !=
61 NULL since it undefined behavior on Linux. From Björn Sandell
62
632005-06-08 Love Hörnquist Å
64strand <lha@it.su.se>
65
66 * rshd.c: init some important variables and check that they are
67 set checking authentication, all to please gcc
68
692005-05-27 Love Hörnquist Å
70strand <lha@it.su.se>
71
72 * rshd.c: case uid_t to unsigned long in printf format
73
742005-04-27 Love Hörnquist Å
75strand <lha@it.su.se>
76
77 * rsh_locl.h: Use larger buffer for recving data to be compatible
78 with older versions of heimdal (0.4 branch specificly)
79
80 * rshd.c: Use larger buffer for recving data to be compatible with
81 older versions of heimdal (0.4 branch specificly)
82
832005-04-25 Love Hörnquist Å
84strand <lha@it.su.se>
85
86 * rshd.c: use snprintf to format tkfile
87
882005-04-24 Love Hörnquist Å
89strand <lha@it.su.se>
90
91 * rsh.c: use strlcat
92
93 * rsh.c: use strlcpy
94
95 * rsh_locl.h: forward declaration for private structures
96
972005-04-20 Love Hörnquist Å
98strand <lha@it.su.se>
99
100 * rsh.c: cast size_t to unsigned long
101
1022004-09-21 Johan Danielsson <joda@pdc.kth.se>
103
104 * rshd.c: rename loop to rshd_loop
105
106 * rshd.c: pass errsock status to init_ivecs
107
108 * rsh.c: rename loop() to rsh_loop()
109
110 * rsh.c (loop): pass errsock status to init_ivecs
111
112 * common.c (init_ivecs): if we don't have an errsock the ivecs
113 should point to the same data
114
115 * rshd.c: if we don't have an errsock, dup stdout to stderr (this
116 would normally be done by inetd, but not by mini_inetd).
117
118 * rshd.c: move keepalive setting to after setting up sockets
119
1202004-02-20 Johan Danielsson <joda@pdc.kth.se>
121
122 * rsh.1: reorder and document some options
123
124 * rsh_locl.h: include kafs.h if krb4 || krb5
125
126 * rsh.c: reorder some options
127
1282003-09-04 Johan Danielsson <joda@pdc.kth.se>
129
130 * rsh.1: document -d
131
1322003-08-19 Johan Danielsson <joda@pdc.kth.se>
133
134 * rshd.c: -P also with KRB5
135
1362003-04-22 Love Hörnquist Å
137strand <lha@it.su.se>
138
139 * rsh.1: replace > with \*[Gt]
140
1412003-04-16 Johan Danielsson <joda@pdc.kth.se>
142
143 * rsh.c: use krb5_appdefault to get defaults for forward and
144 encrypt
145
146 * rshd.c: use ARG_MAX + 1
147
148 * rshd.c (read_str): return allocated string
149
150 * rsh_locl.h: set NCARGS to 8k if undefined
151
1522003-03-23 Assar Westerlund <assar@kth.se>
153
154 * rsh.c (loop): only check errsock if it's valid
155
1562003-03-18 Love Love Hörnquist Å
157strand <lha@it.su.se>
158
159 * rshd.c: do krb5_afslog when compling with afs support
160
161 * rsh_locl.h: always include kafs.h
162
1632002-11-22 Johan Danielsson <joda@pdc.kth.se>
164
165 * rshd.8: clarify -x and kerberos 5
166
1672002-11-01 Johan Danielsson <joda@pdc.kth.se>
168
169 * rsh_locl.h: bump COMMAND_SZ to NCARGS+1
170
1712002-09-04 Johan Danielsson <joda@pdc.kth.se>
172
173 * rsh.c: free some memory
174
1752002-09-04 Assar Westerlund <assar@kth.se>
176
177 * common.c: krb5_crypto_block_size -> krb5_crypto_getblocksize
178
1792002-09-04 Johan Danielsson <joda@pdc.kth.se>
180
181 * rsh.1: document -P
182
1832002-09-03 Johan Danielsson <joda@pdc.kth.se>
184
185 * rsh.c: revert to protocol v1 if not asked for specific protocol
186
187 * rshd.c: handle protocol version 2
188
189 * rsh.c: handle protocol version 2
190
191 * common.c: handle protocol version 2
192
193 * rsh_locl.h: handle protocol version 2
194
1952002-02-18 Johan Danielsson <joda@pdc.kth.se>
196
197 * rshd.c: don't show options that doesn't apply
198
199 * rsh.c: don't show options that doesn't apply
200
201 * rsh_locl.h: if we're not building with any kerberos support,
202 just call read/write directly
203
204 * common.c: if we're not building with any kerberos support, just
205 call read/write directly
206
207 * rshd.c: make this build without krb5; also use the addrinfo
208 interface to mini_inetd, and set the keepalive option if requested
209
210 * rsh.c: make this build without krb5
211
212 * rsh_locl.h: make this build without krb5
213
214 * common.c: make this build without krb5
215
2162001-11-30 Johan Danielsson <joda@pdc.kth.se>
217
218 * rshd.c: make the syslog messages somewhat more informative
219
2202001-08-15 Johan Danielsson <joda@pdc.kth.se>
221
222 * rsh.c: only complain about encryption flag when old
223 authentication is requested
224
2252001-08-07 Johan Danielsson <joda@pdc.kth.se>
226
227 * rsh.c: don't try broken auth if rresvport failed; try to give
228 some more informative error messages
229
2302001-07-31 Johan Danielsson <joda@pdc.kth.se>
231
232 * rshd.8: add an EXAMPLE
233 * rshd.8: manual page
234 * rshd.c: add some compat flags
235 * rsh.1: manual page
236 * rsh.c: iff -d, set the SO_DEBUG flags of the stdout and stderr
237 socket; implement parsing user@host
238
2392001-07-19 Assar Westerlund <assar@sics.se>
240
241 * rshd.c (fatal): use vsnprintf correctly
242
2432001-02-07 Assar Westerlund <assar@sics.se>
244
245 * Makefile.am: add login_access
246 * rshd.c (login_access): add prototype
247 (syslog_and_die, fatal): add printf attributes
248 (*): AIX -> _AIX
249 (doit): use login_access
250 based on patches from Ake Sandgren <ake@cs.umu.se>
251
2522001-01-09 Assar Westerlund <assar@sics.se>
253
254 * rshd.c (save_krb5_creds): use krb5_rd_cred2 instead of
255 krb5_rd_cred
256
2572000-12-31 Assar Westerlund <assar@sics.se>
258
259 * rshd.c (main): handle krb5_init_context failure consistently
260 * rsh.c (main): handle krb5_init_context failure consistently
261
2622000-12-05 Johan Danielsson <joda@pdc.kth.se>
263
264 * rshd.c: require encryption if passed -x
265
2662000-11-15 Assar Westerlund <assar@sics.se>
267
268 * rshd.c (loop): check that the fd's aren't too large to select on
269 * rsh.c (loop, proto): check that the fd's aren't too large to
270 select on
271
2722000-08-10 Assar Westerlund <assar@sics.se>
273
274 * rsh.c: move code to do config/command parsing correctly.
275
2762000-08-09 Assar Westerlund <assar@sics.se>
277
278 * rsh.c (main): only fetch stuff from krb5.conf when no option has
279 been given
280
2812000-08-01 Assar Westerlund <assar@sics.se>
282
283 * rsh.c (doit): loop until we create an error socket of an
284 supported socket family
285
2862000-07-02 Assar Westerlund <assar@sics.se>
287
288 * rshd.c: DCE stuff from Ake Sandgren <ake@cs.umu.se>
289 do not call syslog with a variable as format string
290
291 * rsh_locl.h (_PATH_ETC_ENVIRONMENT): add
292
2932000-06-09 Assar Westerlund <assar@sics.se>
294
295 * rsh.c (main): work-around for setuid and capabilities bug fixed
296 in Linux 2.2.16
297
2982000-06-06 Johan Danielsson <joda@pdc.kth.se>
299
300 * rsh.c: nuke long option from -z
301
302 * rsh.c: don't try to encrypt if auth is broken (Daniel Kouril)
303
3042000-06-03 Assar Westerlund <assar@sics.se>
305
306 * rshd.c (doit): check return value of getspnam. From
307 <haba@pdc.kth.se>
308
3092000-05-23 Assar Westerlund <assar@sics.se>
310
311 * rsh.c (proto): select on the normal socket when waiting for the
312 daemon to connect back to the stderr port, so that we discover
313 when data arrives there before. when that happens, we assume that
314 the daemon did not manage to connect (because of NAT/whatever) and
315 continue as if `-e' was given
316 * rshd.c (doit): if we fail to connect back to the stderr port,
317 act as if `-e' was given on the client side, i.e. without the
318 special TCP-connection. This tries to make things better when
319 running the head against a NAT wall, for example.
320
3212000-02-07 Assar Westerlund <assar@sics.se>
322
323 * Makefile.am (LDADD): make sure we use the heimdal libdes
324
3252000-02-06 Assar Westerlund <assar@sics.se>
326
327 * *: conditionalize des stuff on KRB4
328
3291999-12-16 Assar Westerlund <assar@sics.se>
330
331 * rsh.c (doit): addrinfo returned from getaddrinfo() is not usable
332 directly as hints. copy it and set AI_PASSIVE.
333
3341999-11-20 Assar Westerlund <assar@sics.se>
335
336 * rsh.c (main): remember to close the priviledged sockets before
337 calling rlogin
338
3391999-11-02 Assar Westerlund <assar@sics.se>
340
341 * rsh.c (main): redo the v4/v5 selection for consistency. -4 ->
342 try only v4 -5 -> try only v5 none, -45 -> try v5, v4
343
3441999-10-26 Assar Westerlund <assar@sics.se>
345
346 * rshd.c (main): ignore SIGPIPE
347
348 * common.c (do_read): the encoded length can be longer than the
349 buffer being used, allocate memory for it dynamically. From Brian
350 A May <bmay@dgs.monash.edu.au>
351
3521999-10-14 Assar Westerlund <assar@sics.se>
353
354 * rsh.c (proto): be more careful and don't print errno when read()
355 returns 0
356
3571999-09-20 Assar Westerlund <assar@sics.se>
358
359 * rshd.c (recv_krb4_auth): set `iv'
360
3611999-08-16 Assar Westerlund <assar@sics.se>
362
363 * common.c (do_read): be careful with the return value from
364 krb5_net_read
365
3661999-08-05 Assar Westerlund <assar@sics.se>
367
368 * rsh.c: call freehostent
369
370 * rsh.c: remove some dead code
371
3721999-08-04 Assar Westerlund <assar@sics.se>
373
374 * rshd.c: re-write the handling of forwarded credentials and
375 stuff. From Miroslav Ruda <ruda@ics.muni.cz>
376
377 * rsh_locl.h: always include kafs.h
378
379 * rsh.c: add `-z' and `-G' options
380
381 * rsh.c (loop): shutdown one side of the TCP connection on EOF.
382 From Brian A May <bmay@dgs.monash.edu.au>
383
384 * common.c (do_read): handle EOF. From Brian A May
385 <bmay@dgs.monash.edu.au>
386
3871999-08-01 Assar Westerlund <assar@sics.se>
388
389 * rsh.c: const fixes
390
3911999-07-29 Assar Westerlund <assar@sics.se>
392
393 * rshd.c: v6-ify
394
395 * rsh.c: v6-ify
396
3971999-07-28 Assar Westerlund <assar@sics.se>
398
399 * rsh_locl.h: move around kafs.h
400
4011999-07-24 Assar Westerlund <assar@sics.se>
402
403 * rsh_locl.h: <shadow.h>
404
405 * rsh.c, rshd.c: improve forwarding and implement unique ccache on
406 server. From Miroslav Ruda <ruda@ics.muni.cz>
407
4081999-07-03 Assar Westerlund <assar@sics.se>
409
410 * rsh.c (construct_command): handle argc == 0 for generality
411
4121999-06-23 Assar Westerlund <assar@sics.se>
413
414 * rsh.c: new option `-e' for not trying to open an stderr socket
415
4161999-06-17 Assar Westerlund <assar@sics.se>
417
418 * rsh_locl.h (RSH_BUFSIZ): bump to 16 * 1024 to be sure that we
419 don't leave any data inside des_enc_read. (that constant should
420 really be exported in some way...)
421
4221999-06-15 Assar Westerlund <assar@sics.se>
423
424 * rsh.c: use get_default_username and resulting const pollution
425
4261999-05-21 Assar Westerlund <assar@sics.se>
427
428 * rsh.c (main): try $USERNAME
429
4301999-05-14 Assar Westerlund <assar@sics.se>
431
432 * rshd.c (doit): afslog correctly
433
4341999-05-11 Assar Westerlund <assar@sics.se>
435
436 * rsh.c (main): add fallback to rlogin
437
4381999-05-10 Assar Westerlund <assar@sics.se>
439
440 * rsh.c (send_krb5_auth): call krb5_sendauth with ccache == NULL.
441 check return value from krb5_crypto_init
442
443 * common.c (do_write, do_read): always return -1 for failure
444 (net_write, net_read): remove. they already exist in libroken
445
4461999-05-09 Assar Westerlund <assar@sics.se>
447
448 * rsh.c: make sure it tries with all other authentication methods
449 after one has failed
450 * rsh.c (main): detect the case of no command given.
451
4521999-04-11 Assar Westerlund <assar@sics.se>
453
454 * rsh.c: new option --forwardable. use print_version
455
456Sat Apr 10 17:10:55 1999 Assar Westerlund <assar@sics.se>
457
458 * rshd.c (setup_copier): use `socketpair' instead of `pipe'. Some
459 shells don't think it's a rsh session if they find a pipe at the
460 other end.
461 (setup_environment): add SSH_CLIENT just to make bash happy
462
463 * common.c (do_read): use krb5_get_wrapped_length
464
465Wed Mar 24 03:59:42 1999 Assar Westerlund <assar@sics.se>
466
467 * rsh.c (loop): more braces to make gcc happy
468
469Tue Mar 23 17:08:32 1999 Johan Danielsson <joda@hella.pdc.kth.se>
470
471 * rsh_locl.h: kafs.h
472
473 * rshd.c: add `-P', `-v', and `-L' flags
474
475Thu Mar 18 11:37:24 1999 Johan Danielsson <joda@hella.pdc.kth.se>
476
477 * Makefile.am: include Makefile.am.common
478
479Tue Dec 1 14:44:44 1998 Johan Danielsson <joda@hella.pdc.kth.se>
480
481 * appl/rsh/rshd.c: update to new crypto framework
482
483 * appl/rsh/rsh_locl.h: update to new crypto framework
484
485 * appl/rsh/rsh.c: update to new crypto framework
486
487 * appl/rsh/common.c: update to new crypto framework
488
489Mon Nov 2 01:15:06 1998 Assar Westerlund <assar@sics.se>
490
491 * appl/rsh/rsh.c (main): initialize host
492
493 * appl/rsh/rshd.c (recv_krb5_auth): disable `do_encrypt' if not
494 encrypting.
495
496Thu Jul 30 23:12:17 1998 Assar Westerlund <assar@sics.se>
497
498 * appl/rsh/rsh.c: kludges for parsing `rsh hostname -l user'
499
500Thu Jul 23 19:49:03 1998 Johan Danielsson <joda@emma.pdc.kth.se>
501
502 * appl/rsh/rshd.c: use krb5_verify_authenticator_checksum
503
504Sat Apr 18 21:13:06 1998 Johan Danielsson <joda@emma.pdc.kth.se>
505
506 * appl/rsh/rsh.c: Don't try v5 if (only) `-4' is specified.
507
508Sun Dec 21 09:44:05 1997 Assar Westerlund <assar@sics.se>
509
510 * appl/rsh/rshd.c (recv_krb5_auth): swap the order of the
511 `local_user' and the `remote_user'
512
513 * appl/rsh/rsh.c (send_krb5_auth): swap the order of the
514 `local_user' and the `remote_user'
515
516Sat Nov 29 07:10:11 1997 Assar Westerlund <assar@sics.se>
517
518 * appl/rsh/rshd.c: updated to use getarg.
519 changed `struct fd_set' to `fd_set'.
520 implemented broken/BSD authentication (requires iruserok)
521
522Wed Nov 12 02:35:57 1997 Assar Westerlund <assar@sics.se>
523
524 * appl/rsh/rsh_locl.h: add AUTH_BROKEN and PATH_RSH
525
526 * appl/rsh/Makefile.am: set BINDIR
527
528 * appl/rsh/rsh.c: implemented BSD-style reserved port
529 `authentication'
530
531Sun Aug 24 08:06:54 1997 Assar Westerlund <assar@sics.se>
532
533 * appl/rsh/rshd.c: syslog remote shells
534
535Tue Aug 12 01:29:46 1997 Assar Westerlund <assar@sics.se>
536
537 * appl/rshd/rshd.c: Use `krb5_sock_to_principal'. Send server
538 parameter to krb5_rd_req/krb5_recvauth. Set addresses in
539 auth_context.
540
541Fri Jul 25 17:32:12 1997 Assar Westerlund <assar@sics.se>
542
543 * appl/rsh/rshd.c: implement forwarding
544
545 * appl/rsh/rsh.c: Use getarg. Implement forwarding.
546
547Sun Jul 13 00:32:16 1997 Assar Westerlund <assar@sics.se>
548
549 * appl/rsh: Conditionalize the krb4-support.
550
551Wed Jul 9 06:58:00 1997 Assar Westerlund <assar@sics.se>
552
553 * appl/rsh/rsh.c: use the correct user for the checksum
554
555Mon Jul 7 11:15:51 1997 Assar Westerlund <assar@sics.se>
556
557 * appl/rsh/rshd.c: Now works. Also implementd encryption and
558 `-p'.
559
560 * appl/rsh/common.c: new file
561
562Mon Jun 30 06:08:14 1997 Assar Westerlund <assar@sics.se>
563
564 * appl/rsh: New program.
565
Note: See TracBrowser for help on using the repository browser.