remove gcc34
[dragonfly.git] / crypto / heimdal-0.6.3 / appl / kx / ChangeLog
1 2004-03-16  Love Hörquist Åstrand  <lha@it.su.se>
2
3         * krb5.c: 1.12: (krb5_destroy): free allocated memory, not
4         something else
5
6 2004-02-18  Love Hörquist Åstrand  <lha@it.su.se>
7
8         * krb4.c: 1.12: remove dup on
9         
10 2004-01-08  Love Hörquist Åstrand  <lha@it.su.se>
11
12         * krb5.c: 1.10->1.11: clean up krb5 support, log to syslog instead
13         of stdout
14         (very confusing for the other end tcp connection), patch originally
15         from joda
16
17 2003-05-15  Love Hörquist Åstrand  <lha@it.su.se>
18
19         * kxd.c: 1.71->1.74:
20         (recv_conn): pass pointer to sockaddr, not pointer to pointer
21         (recv_conn): if getnameinfo failes, send error to client (and syslog)
22         (recv_conn): get sizeof of the sockaddr_storage, not the sockaddr
23         pointer
24
25 2003-04-16  Johan Danielsson  <joda@pdc.kth.se>
26
27         * kx.c (doit_{passive,active}): use kc->thataddr directly
28
29         * kx.h: don't directly use sockaddr_storage, since we can't always
30         know what it looks like
31
32 2003-04-11  Love Hörquist Åstrand  <lha@it.su.se>
33
34         * rxterm.1: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
35         * rxtelnet.1: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
36         * kxd.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
37         * kx.1: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
38         
39 2003-02-25  Love Hörquist Åstrand  <lha@it.su.se>
40
41         * krb4.c: remove \n from warnx, from NetBSD
42         
43 2002-12-11  Johan Danielsson  <joda@pdc.kth.se>
44
45         * kx.c (connect_host): pass size of thisaddr_ss to getsockname
46
47 2002-10-15  Johan Danielsson  <joda@pdc.kth.se>
48
49         * some ipv6 support (from Love)
50
51 2002-09-09  Johan Danielsson  <joda@pdc.kth.se>
52
53         * krb5.c (krb5_authenticate): use subkey
54
55 2002-08-22  Johan Danielsson  <joda@pdc.kth.se>
56
57         * common.c: remove only reference to strndup
58
59 2002-05-07  Johan Danielsson  <joda@pdc.kth.se>
60
61         * krb5.c: use krb5_warn where appropriate
62
63 2002-03-18  Johan Danielsson  <joda@pdc.kth.se>
64
65         * rxtelnet.in, rxterm.in: add forward (-f) option
66
67 2001-09-17  Assar Westerlund  <assar@sics.se>
68
69         * kx.h: add a kludge to make it build on aix (that defines NOERROR
70         in both sys/stream.h and arpa/nameser.h and considers that a fatal
71         error)
72
73 2001-07-12  Assar Westerlund  <assar@sics.se>
74
75         * common.c (connect_local_xsocket): handle a tcp socket as last
76         resort
77
78         * rxterm.in: add -K (send arguments to kx)
79         * rxtelnet.in: add -K (send arguments to kx)
80         
81 2001-06-21  Assar Westerlund  <assar@sics.se>
82
83         * rxterm.in: add -b for pointing to the rsh program.  from
84         <mikan@mikan.net>
85         * rxtelnet.in: add -b for pointing to the telnet program.  from
86         <mikan@mikan.net>
87
88 2001-01-17  Johan Danielsson  <joda@pdc.kth.se>
89
90         * common.c: don't write to string constants
91
92 2000-12-31  Assar Westerlund  <assar@sics.se>
93
94         * krb5.c (krb5_make_context): handle krb5_init_context failure
95         consistently
96
97 2000-10-08  Assar Westerlund  <assar@sics.se>
98
99         * kxd.c (doit_passive): check that fds are not too large to select
100         on
101         * kx.c (doit_active): check that fds are not too large to select
102         on
103         * krb5.c (krb5_copy_encrypted): check that fds are not too large
104         to select on
105         * krb4.c (krb4_copy_encrypted): check that fds are not too large
106         to select on
107
108 2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
109
110         * Makefile.am: use conditional for X
111
112 2000-06-10  Assar Westerlund  <assar@sics.se>
113
114         * Makefile.in: use INSTALL_SCRIPT for installing rxterm, rxtelnet,
115         tenletxr
116
117 2000-04-19  Assar Westerlund  <assar@sics.se>
118
119         * common.c: try hostname uncanonified if getaddrinfo() fails
120
121 2000-02-06  Assar Westerlund  <assar@sics.se>
122
123         * kx.h: remove old prorotypes
124
125 2000-01-08  Assar Westerlund  <assar@sics.se>
126
127         * common.c (match_local_auth): handle ai_canonname being set in
128         any of the addresses returnedby getaddrinfo.  glibc apparently
129         returns the reverse lookup of every address in ai_canonname.
130
131 1999-12-28  Assar Westerlund  <assar@sics.se>
132
133         * kxd.c (main): call krb5_getportbyname with the default in
134         host-byte-order
135
136 1999-12-17  Assar Westerlund  <assar@sics.se>
137
138         * common.c (match_local_auth): remove extra brace.  spotted by
139         Jakob Schlyter <jakob@cdg.chalmers.se>
140
141 1999-12-16  Assar Westerlund  <assar@sics.se>
142
143         * common.c (match_local_auth): handle ai_canonname not being set
144
145 1999-12-06  Assar Westerlund  <assar@sics.se>
146
147         * krb4.c (krb4_authenticate): the NAT address might not be the one
148         for the relevant realm, try anyway.
149         * kxd.c (recv_conn): type correctness
150         * kx.c (connect_host): typo
151
152 1999-12-05  Assar Westerlund  <assar@sics.se>
153
154         * common.c (INADDR_LOOPBACK): remove.  now in roken.
155
156         * kxd.c (recv_conn): use getnameinfo_verified
157         * kxd.c (recv_conn): replace inaddr2str with getnameinfo
158
159 1999-12-04  Assar Westerlund  <assar@sics.se>
160
161         * kx.c (connect_host): use getaddrinfo
162         * common.c (find_auth_cookie, match_local_auth): re-write to use
163         getaddrinfo
164
165 1999-11-27  Assar Westerlund  <assar@sics.se>
166
167         * kxd.c (recv_conn): better errors when getting unrecognized data
168
169 1999-11-25  Assar Westerlund  <assar@sics.se>
170
171         * krb4.c (krb4_authenticate): obtain the `local' address when
172         doing NAT.  also turn on passive mode.  From <thn@stacken.kth.se>
173         
174 1999-11-18  Assar Westerlund  <assar@sics.se>
175
176         * krb5.c (krb5_destroy): free the correct part of the context
177         
178 1999-11-02  Assar Westerlund  <assar@sics.se>
179
180         * kx.c (main): redo the v4/v5 selection for consistency.  -4 ->
181         try only v4 -5 -> try only v5 none, -45 -> try v5, v4
182
183 1999-10-10  Assar Westerlund  <assar@sics.se>
184
185         * Makefile.am (CLEANFILES): add generated files so that they get
186         cleaned away
187
188 1999-09-29  Assar Westerlund  <assar@sics.se>
189
190         * common.c (match_local_auth): only look for FamilyLocal (and
191         FamilyWild) cookies.  This will not work when we start talking tcp
192         to the local X-server but `connect_local_xsocket' and the rest of
193         the code doesn't handle it anyway and the old code could (and did)
194         pick up the wrong cookie sometimes.  If we have to match
195         FamilyInternet cookies, the search order has to be changed anyway
196
197 1999-09-02  Assar Westerlund  <assar@sics.se>
198
199         * kxd.c (childhandler): watch for child `wait_on_pid' to die.
200         (recv_conn): set `wait_on_pid' instead of looping on waitpid here
201         also.  This should solve the problem of kxd looping which was
202         caused by the signal handler getting invoked before this waitpid
203         and reaping the child leaving this poor loop without any child
204
205 1999-08-19  Assar Westerlund  <assar@sics.se>
206
207         * kxd.c (recv_conn): give better error message
208         (doit_active): don't die if fork gives EAGAIN
209
210 1999-08-19  Johan Danielsson  <joda@pdc.kth.se>
211
212         * kxd.c (recv_conn): call setjob on crays;
213         (doit_passive): if fork fails with EAGAIN, don't shutdown, just close
214         the connection re-implement `-t' flag
215
216 1999-07-12  Assar Westerlund  <assar@sics.se>
217
218         * Makefile.am: handle not building X programs
219
220 1999-06-23  Assar Westerlund  <assar@sics.se>
221
222         * kx.c: conditionalize krb_enable_debug
223
224 1999-06-20  Assar Westerlund  <assar@sics.se>
225
226         * kxd.c (main): hopefully do inetd confusion right
227
228 1999-06-15  Assar Westerlund  <assar@sics.se>
229
230         * krb4.c (krb4_authenticate): get rid of a warning
231
232         * kx.h: const-pollution
233
234         * kx.c: use get_default_username and resulting const pollution
235
236         * context.c (context_set): const pollution
237
238 1999-05-22  Assar Westerlund  <assar@sics.se>
239
240         * kxd.c (recv_conn): fix syslog messages
241         (main): fix inetd_flag thinko
242
243 1999-05-21  Assar Westerlund  <assar@sics.se>
244
245         * kx.c (main): don't byte-swap the argument to krb5_getportbyname
246
247         * kx.c (main): try to use $USERNAME
248
249 1999-05-10  Assar Westerlund  <assar@sics.se>
250
251         * Makefile.in (SOURCES*): update sources list
252         
253         * kx.c (main): forgot to conditionalize some KRB5 code
254         
255         * kxd.c (main): use getarg
256         (*): handle v4 and/or v5
257
258         * kx.h: update
259         
260         * kx.c (main): use getarg.
261         (*): handle v4 and/or v5
262
263         * common.c (do_enccopy, copy_encrypted): remove use
264         net_{read,write} instead of krb_net_{read,write}
265         (krb_get_int, krb_put_int): include fallback of these for when we
266         compile without krb4
267         
268         * Makefile.am (*_SOURCES): remove encdata, add krb[45].c,
269         context.c
270         (LDADD): add krb5
271
272         * krb4.c, krb5.c, context.c: new files
273
274 1999-05-08  Assar Westerlund  <assar@sics.se>
275
276         * kxd.c (doit_passive): handle error code from
277         create_and_write_cookie
278
279         * kx.c (doit_active): handle error code from
280         create_and_write_cookie
281
282         * common.c (create_and_write_cookie): try to return better (and
283         correct) errors.  Based on a patch from Love <lha@e.kth.se>
284
285         * common.c (try_pie): more braces
286         (match_local_auth): new function
287         (find_auth_cookie): new function
288         (replace_cookie): don't just take the first auth cookie.  based on
289         patch from Ake Sandgren <ake@@cs.umu.se>
290
291 Wed Apr  7 23:39:23 1999  Assar Westerlund  <assar@sics.se>
292         
293         * common.c (get_xsockets): init local variable to get rid of a gcc
294         warning
295
296 Thu Apr  1 21:11:36 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
297
298         * Makefile.in: fix for writeauth.o
299
300 Fri Mar 19 15:12:31 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
301
302         * kx.c: add gcc-braces
303
304 Thu Mar 18 11:18:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
305
306         * Makefile.am: include Makefile.am.common
307
308 Thu Mar 11 14:58:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
309
310         * writeauth.c: protoize
311
312         * common.c: fix some warnings
313
314 Wed Mar 10 19:33:39 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
315
316         * kxd.c: openlog -> roken_openlog
317
318 Wed Feb  3 22:01:55 1999  Assar Westerlund  <assar@sics.se>
319
320         * rxtelnet.in: print out what telnet program we are running.  From
321         <nissej@pdc.kth.se>
322
323         * tenletxr.in: add --version, [-h | --help], -v
324
325         * rxterm.in: add --version, [-h | --help], -v
326
327         * rxtelnet.in: add --version, [-h | --help], -v
328
329         * Makefile.in (rxterm, rxtelnet, telnetxr): substitute VERSION and
330         PACKAGE
331
332         * rxtelnet.in: update usage string
333
334 Fri Jan 22 23:51:05 1999  Assar Westerlund  <assar@sics.se>
335
336         * common.c (verify_and_remove_cookies): give back a meaningful
337         error message if we're using the wrong cookie
338
339 Fri Dec 18 17:42:02 1998  Assar Westerlund  <assar@sics.se>
340
341         * common.c (replace_cookie): try to handle the case of not finding
342         any cookies
343
344 Sun Nov 22 10:31:53 1998  Assar Westerlund  <assar@sics.se>
345
346         * Makefile.in (WFLAGS): set
347
348 Wed Nov 18 20:25:37 1998  Assar Westerlund  <assar@sics.se>
349
350         * rxtelnet.in: new argument -n for not starting any terminal
351         emulator
352
353         * kx.c (doit_passive): parse $DISPLAY correctly
354
355 Fri Oct  2 06:34:51 1998  Assar Westerlund  <assar@sics.se>
356
357         * kx.c (doit_active): check DISPLAY to figure out what local
358         socket to connect to.  From Åke Sandgren <ake@cs.umu.se>
359
360 Thu Oct  1 23:02:29 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
361
362         * kx.h: case MAY_HAVE_X11_PIPES with Solaris
363
364 Tue Sep 29 02:22:44 1998  Assar Westerlund  <assar@sics.se>
365
366         * kx.c: fix from Ake Sandgren <ake@cs.umu.se>
367
368 Mon Sep 28 18:04:03 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
369
370         * common.c (try_pipe): return -1 if I_PUSH fails with ENOSYS
371
372 Sat Sep 26 17:34:21 1998  Assar Westerlund  <assar@sics.se>
373
374         * kxd.c: create sockets before setuid to handle Solaris' strange
375         permissions on /tmp/.X11-{unix,pipe}
376
377         * common.c (chown_xsockets): new function
378
379         * kx.h (chown_xsockets): new prototype
380
381 Sun Aug 16 18:34:30 1998  Assar Westerlund  <assar@sics.se>
382
383         * kxd.c (doit_passive): conditionalize stream pipe code
384
385         * implement support for Solaris's named-pipe X transport
386
387 Thu May 28 17:20:39 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
388
389         * common.c: fix for (compiler?) bug in solaris 2.4 bind
390
391         * kx.c: get_xsockets returns int, not unsigned
392
393 Wed May 27 04:20:20 1998  Assar Westerlund  <assar@sics.se>
394
395         * kxd.c (doit): better error reporting
396
397 Tue May 26 17:41:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
398
399         * kx.c: use krb_enable_debug
400
401 Mon May 25 05:22:18 1998  Assar Westerlund  <assar@sics.se>
402
403         * Makefile.in (clean): remove encdata.c
404
405 Fri May  1 07:16:36 1998  Assar Westerlund  <assar@sics.se>
406
407         * kx.c: unifdef -DHAVE_H_ERRNO
408