x
[heimdal.git] / appl / kx / ChangeLog
blobaeae856e745bf53c91ecdc1397dbd1f5f8c2874e
1 2007-04-19  Love Hörnquist Åstrand  <lha@it.su.se>
3         * make encoding function independent of krb4 and krb5, enable
4         removal of krb4
6 2006-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
8         * Makefile.am: Add man_MANS to EXTRA_DIST
9         
10 2006-05-05  Love Hörnquist Åstrand  <lha@it.su.se>
11         
12         * Rename u_intXX_t to uintXX_t
13         
14 2005-07-09  Love Hörquist Åstrand  <lha@it.su.se>
15         
16         * kxd.c (doit): only cleaup for active sockets, passive does it
17         own cleaning up
19         * fix unconst and shadow warnings
20         
21 2005-07-07  Assar Westerlund  <assar@kth.se>
23         * krb4.c: Do not assume that des_key_schedule is an
24         array.
26 2005-06-07  Love Hörquist Åstrand  <lha@it.su.se>
28         * (recv_conn): init variables to using them uninitialized
30 2005-04-30  Love Hörquist Åstrand  <lha@it.su.se>
32         * kx.c (connect_host): make sure s is initialized
33         
34 2005-04-20  Love Hörquist Åstrand  <lha@it.su.se>
36         * krb5.c: cast size_t to unsigned long
37         
38 2004-03-15  Love Hörquist Åstrand  <lha@it.su.se>
40         * krb5.c (krb5_destroy): free allocated memory, not something else
41         
42 2004-03-07  Love Hörquist Åstrand  <lha@it.su.se>
44         * rxtelnet.1: document new behavior
45         
46         * rxtelnet.in: even if kx failes, start anyway From: Harald Barth
47         <haba@pdc.kth.se>
48         
49 2004-02-18  Love Hörquist Åstrand  <lha@it.su.se>
51         * krb4.c: remove dup on
52         
53 2004-01-08  Love Hörquist Åstrand  <lha@it.su.se>
55         * krb5.c: clean up krb5 support, log to syslog instead of stdout
56         (very confusing for the other end tcp connection), patch
57         originally from joda
59 2003-11-13  Johan Danielsson  <joda@pdc.kth.se>
61         * rxtelnet.in: add telnet -F option
63 2003-05-15  Love Hörquist Åstrand  <lha@it.su.se>
65         * kxd.c (recv_conn): pass pointer to sockaddr, not pointer to
66         pointer
68         * kxd.c (recv_conn): get sizeof of the sockaddr_storage, not the
69         sockaddr pointer
71         * kxd.c (recv_conn): if getnameinfo failes, send error to client
72         (and syslog)
74 2003-04-16  Johan Danielsson  <joda@pdc.kth.se>
76         * kx.c (doit_{passive,active}): use kc->thataddr directly
78         * kx.h: don't directly use sockaddr_storage, since we can't always
79         know what it looks like
81 2003-04-11  Love Hörquist Åstrand  <lha@it.su.se>
83         * rxterm.1: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
84         * rxtelnet.1: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
85         * kxd.8: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
86         * kx.1: spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
87         
88 2003-02-25  Love Hörquist Åstrand  <lha@it.su.se>
90         * krb4.c: remove \n from warnx, from NetBSD
91         
92 2002-12-11  Johan Danielsson  <joda@pdc.kth.se>
94         * kx.c (connect_host): pass size of thisaddr_ss to getsockname
96 2002-10-15  Johan Danielsson  <joda@pdc.kth.se>
98         * some ipv6 support (from Love)
100 2002-09-09  Johan Danielsson  <joda@pdc.kth.se>
102         * krb5.c (krb5_authenticate): use subkey
104 2002-08-22  Johan Danielsson  <joda@pdc.kth.se>
106         * common.c: remove only reference to strndup
108 2002-05-07  Johan Danielsson  <joda@pdc.kth.se>
110         * krb5.c: use krb5_warn where appropriate
112 2002-03-18  Johan Danielsson  <joda@pdc.kth.se>
114         * rxtelnet.in, rxterm.in: add forward (-f) option
116 2001-09-17  Assar Westerlund  <assar@sics.se>
118         * kx.h: add a kludge to make it build on aix (that defines NOERROR
119         in both sys/stream.h and arpa/nameser.h and considers that a fatal
120         error)
122 2001-07-12  Assar Westerlund  <assar@sics.se>
124         * common.c (connect_local_xsocket): handle a tcp socket as last
125         resort
127         * rxterm.in: add -K (send arguments to kx)
128         * rxtelnet.in: add -K (send arguments to kx)
129         
130 2001-06-21  Assar Westerlund  <assar@sics.se>
132         * rxterm.in: add -b for pointing to the rsh program.  from
133         <mikan@mikan.net>
134         * rxtelnet.in: add -b for pointing to the telnet program.  from
135         <mikan@mikan.net>
137 2001-01-17  Johan Danielsson  <joda@pdc.kth.se>
139         * common.c: don't write to string constants
141 2000-12-31  Assar Westerlund  <assar@sics.se>
143         * krb5.c (krb5_make_context): handle krb5_init_context failure
144         consistently
146 2000-10-08  Assar Westerlund  <assar@sics.se>
148         * kxd.c (doit_passive): check that fds are not too large to select
149         on
150         * kx.c (doit_active): check that fds are not too large to select
151         on
152         * krb5.c (krb5_copy_encrypted): check that fds are not too large
153         to select on
154         * krb4.c (krb4_copy_encrypted): check that fds are not too large
155         to select on
157 2000-07-17  Johan Danielsson  <joda@pdc.kth.se>
159         * Makefile.am: use conditional for X
161 2000-06-10  Assar Westerlund  <assar@sics.se>
163         * Makefile.in: use INSTALL_SCRIPT for installing rxterm, rxtelnet,
164         tenletxr
166 2000-04-19  Assar Westerlund  <assar@sics.se>
168         * common.c: try hostname uncanonified if getaddrinfo() fails
170 2000-02-06  Assar Westerlund  <assar@sics.se>
172         * kx.h: remove old prorotypes
174 2000-01-08  Assar Westerlund  <assar@sics.se>
176         * common.c (match_local_auth): handle ai_canonname being set in
177         any of the addresses returnedby getaddrinfo.  glibc apparently
178         returns the reverse lookup of every address in ai_canonname.
180 1999-12-28  Assar Westerlund  <assar@sics.se>
182         * kxd.c (main): call krb5_getportbyname with the default in
183         host-byte-order
185 1999-12-17  Assar Westerlund  <assar@sics.se>
187         * common.c (match_local_auth): remove extra brace.  spotted by
188         Jakob Schlyter <jakob@cdg.chalmers.se>
190 1999-12-16  Assar Westerlund  <assar@sics.se>
192         * common.c (match_local_auth): handle ai_canonname not being set
194 1999-12-06  Assar Westerlund  <assar@sics.se>
196         * krb4.c (krb4_authenticate): the NAT address might not be the one
197         for the relevant realm, try anyway.
198         * kxd.c (recv_conn): type correctness
199         * kx.c (connect_host): typo
201 1999-12-05  Assar Westerlund  <assar@sics.se>
203         * common.c (INADDR_LOOPBACK): remove.  now in roken.
205         * kxd.c (recv_conn): use getnameinfo_verified
206         * kxd.c (recv_conn): replace inaddr2str with getnameinfo
208 1999-12-04  Assar Westerlund  <assar@sics.se>
210         * kx.c (connect_host): use getaddrinfo
211         * common.c (find_auth_cookie, match_local_auth): re-write to use
212         getaddrinfo
214 1999-11-27  Assar Westerlund  <assar@sics.se>
216         * kxd.c (recv_conn): better errors when getting unrecognized data
218 1999-11-25  Assar Westerlund  <assar@sics.se>
220         * krb4.c (krb4_authenticate): obtain the `local' address when
221         doing NAT.  also turn on passive mode.  From <thn@stacken.kth.se>
222         
223 1999-11-18  Assar Westerlund  <assar@sics.se>
225         * krb5.c (krb5_destroy): free the correct part of the context
226         
227 1999-11-02  Assar Westerlund  <assar@sics.se>
229         * kx.c (main): redo the v4/v5 selection for consistency.  -4 ->
230         try only v4 -5 -> try only v5 none, -45 -> try v5, v4
232 1999-10-10  Assar Westerlund  <assar@sics.se>
234         * Makefile.am (CLEANFILES): add generated files so that they get
235         cleaned away
237 1999-09-29  Assar Westerlund  <assar@sics.se>
239         * common.c (match_local_auth): only look for FamilyLocal (and
240         FamilyWild) cookies.  This will not work when we start talking tcp
241         to the local X-server but `connect_local_xsocket' and the rest of
242         the code doesn't handle it anyway and the old code could (and did)
243         pick up the wrong cookie sometimes.  If we have to match
244         FamilyInternet cookies, the search order has to be changed anyway
246 1999-09-02  Assar Westerlund  <assar@sics.se>
248         * kxd.c (childhandler): watch for child `wait_on_pid' to die.
249         (recv_conn): set `wait_on_pid' instead of looping on waitpid here
250         also.  This should solve the problem of kxd looping which was
251         caused by the signal handler getting invoked before this waitpid
252         and reaping the child leaving this poor loop without any child
254 1999-08-19  Assar Westerlund  <assar@sics.se>
256         * kxd.c (recv_conn): give better error message
257         (doit_active): don't die if fork gives EAGAIN
259 1999-08-19  Johan Danielsson  <joda@pdc.kth.se>
261         * kxd.c (recv_conn): call setjob on crays;
262         (doit_passive): if fork fails with EAGAIN, don't shutdown, just close
263         the connection re-implement `-t' flag
265 1999-07-12  Assar Westerlund  <assar@sics.se>
267         * Makefile.am: handle not building X programs
269 1999-06-23  Assar Westerlund  <assar@sics.se>
271         * kx.c: conditionalize krb_enable_debug
273 1999-06-20  Assar Westerlund  <assar@sics.se>
275         * kxd.c (main): hopefully do inetd confusion right
277 1999-06-15  Assar Westerlund  <assar@sics.se>
279         * krb4.c (krb4_authenticate): get rid of a warning
281         * kx.h: const-pollution
283         * kx.c: use get_default_username and resulting const pollution
285         * context.c (context_set): const pollution
287 1999-05-22  Assar Westerlund  <assar@sics.se>
289         * kxd.c (recv_conn): fix syslog messages
290         (main): fix inetd_flag thinko
292 1999-05-21  Assar Westerlund  <assar@sics.se>
294         * kx.c (main): don't byte-swap the argument to krb5_getportbyname
296         * kx.c (main): try to use $USERNAME
298 1999-05-10  Assar Westerlund  <assar@sics.se>
300         * Makefile.in (SOURCES*): update sources list
301         
302         * kx.c (main): forgot to conditionalize some KRB5 code
303         
304         * kxd.c (main): use getarg
305         (*): handle v4 and/or v5
307         * kx.h: update
308         
309         * kx.c (main): use getarg.
310         (*): handle v4 and/or v5
312         * common.c (do_enccopy, copy_encrypted): remove use
313         net_{read,write} instead of krb_net_{read,write}
314         (krb_get_int, krb_put_int): include fallback of these for when we
315         compile without krb4
316         
317         * Makefile.am (*_SOURCES): remove encdata, add krb[45].c,
318         context.c
319         (LDADD): add krb5
321         * krb4.c, krb5.c, context.c: new files
323 1999-05-08  Assar Westerlund  <assar@sics.se>
325         * kxd.c (doit_passive): handle error code from
326         create_and_write_cookie
328         * kx.c (doit_active): handle error code from
329         create_and_write_cookie
331         * common.c (create_and_write_cookie): try to return better (and
332         correct) errors.  Based on a patch from Love <lha@e.kth.se>
334         * common.c (try_pie): more braces
335         (match_local_auth): new function
336         (find_auth_cookie): new function
337         (replace_cookie): don't just take the first auth cookie.  based on
338         patch from Ake Sandgren <ake@@cs.umu.se>
340 Wed Apr  7 23:39:23 1999  Assar Westerlund  <assar@sics.se>
341         
342         * common.c (get_xsockets): init local variable to get rid of a gcc
343         warning
345 Thu Apr  1 21:11:36 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
347         * Makefile.in: fix for writeauth.o
349 Fri Mar 19 15:12:31 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
351         * kx.c: add gcc-braces
353 Thu Mar 18 11:18:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
355         * Makefile.am: include Makefile.am.common
357 Thu Mar 11 14:58:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
359         * writeauth.c: protoize
361         * common.c: fix some warnings
363 Wed Mar 10 19:33:39 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
365         * kxd.c: openlog -> roken_openlog
367 Wed Feb  3 22:01:55 1999  Assar Westerlund  <assar@sics.se>
369         * rxtelnet.in: print out what telnet program we are running.  From
370         <nissej@pdc.kth.se>
372         * tenletxr.in: add --version, [-h | --help], -v
374         * rxterm.in: add --version, [-h | --help], -v
376         * rxtelnet.in: add --version, [-h | --help], -v
378         * Makefile.in (rxterm, rxtelnet, telnetxr): substitute VERSION and
379         PACKAGE
381         * rxtelnet.in: update usage string
383 Fri Jan 22 23:51:05 1999  Assar Westerlund  <assar@sics.se>
385         * common.c (verify_and_remove_cookies): give back a meaningful
386         error message if we're using the wrong cookie
388 Fri Dec 18 17:42:02 1998  Assar Westerlund  <assar@sics.se>
390         * common.c (replace_cookie): try to handle the case of not finding
391         any cookies
393 Sun Nov 22 10:31:53 1998  Assar Westerlund  <assar@sics.se>
395         * Makefile.in (WFLAGS): set
397 Wed Nov 18 20:25:37 1998  Assar Westerlund  <assar@sics.se>
399         * rxtelnet.in: new argument -n for not starting any terminal
400         emulator
402         * kx.c (doit_passive): parse $DISPLAY correctly
404 Fri Oct  2 06:34:51 1998  Assar Westerlund  <assar@sics.se>
406         * kx.c (doit_active): check DISPLAY to figure out what local
407         socket to connect to.  From Åke Sandgren <ake@cs.umu.se>
409 Thu Oct  1 23:02:29 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
411         * kx.h: case MAY_HAVE_X11_PIPES with Solaris
413 Tue Sep 29 02:22:44 1998  Assar Westerlund  <assar@sics.se>
415         * kx.c: fix from Ake Sandgren <ake@cs.umu.se>
417 Mon Sep 28 18:04:03 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
419         * common.c (try_pipe): return -1 if I_PUSH fails with ENOSYS
421 Sat Sep 26 17:34:21 1998  Assar Westerlund  <assar@sics.se>
423         * kxd.c: create sockets before setuid to handle Solaris' strange
424         permissions on /tmp/.X11-{unix,pipe}
426         * common.c (chown_xsockets): new function
428         * kx.h (chown_xsockets): new prototype
430 Sun Aug 16 18:34:30 1998  Assar Westerlund  <assar@sics.se>
432         * kxd.c (doit_passive): conditionalize stream pipe code
434         * implement support for Solaris's named-pipe X transport
436 Thu May 28 17:20:39 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
438         * common.c: fix for (compiler?) bug in solaris 2.4 bind
440         * kx.c: get_xsockets returns int, not unsigned
442 Wed May 27 04:20:20 1998  Assar Westerlund  <assar@sics.se>
444         * kxd.c (doit): better error reporting
446 Tue May 26 17:41:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
448         * kx.c: use krb_enable_debug
450 Mon May 25 05:22:18 1998  Assar Westerlund  <assar@sics.se>
452         * Makefile.in (clean): remove encdata.c
454 Fri May  1 07:16:36 1998  Assar Westerlund  <assar@sics.se>
456         * kx.c: unifdef -DHAVE_H_ERRNO