1 2004-03-16 Love Hörquist Åstrand <lha@it.su.se>
3 * krb5.c: 1.12: (krb5_destroy): free allocated memory, not
6 2004-02-18 Love Hörquist Åstrand <lha@it.su.se>
8 * krb4.c: 1.12: remove dup on
10 2004-01-08 Love Hörquist Åstrand <lha@it.su.se>
12 * krb5.c: 1.10->1.11: clean up krb5 support, log to syslog instead
14 (very confusing for the other end tcp connection), patch originally
17 2003-05-15 Love Hörquist Åstrand <lha@it.su.se>
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
25 2003-04-16 Johan Danielsson <joda@pdc.kth.se>
27 * kx.c (doit_{passive,active}): use kc->thataddr directly
29 * kx.h: don't directly use sockaddr_storage, since we can't always
30 know what it looks like
32 2003-04-11 Love Hörquist Åstrand <lha@it.su.se>
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>
39 2003-02-25 Love Hörquist Åstrand <lha@it.su.se>
41 * krb4.c: remove \n from warnx, from NetBSD
43 2002-12-11 Johan Danielsson <joda@pdc.kth.se>
45 * kx.c (connect_host): pass size of thisaddr_ss to getsockname
47 2002-10-15 Johan Danielsson <joda@pdc.kth.se>
49 * some ipv6 support (from Love)
51 2002-09-09 Johan Danielsson <joda@pdc.kth.se>
53 * krb5.c (krb5_authenticate): use subkey
55 2002-08-22 Johan Danielsson <joda@pdc.kth.se>
57 * common.c: remove only reference to strndup
59 2002-05-07 Johan Danielsson <joda@pdc.kth.se>
61 * krb5.c: use krb5_warn where appropriate
63 2002-03-18 Johan Danielsson <joda@pdc.kth.se>
65 * rxtelnet.in, rxterm.in: add forward (-f) option
67 2001-09-17 Assar Westerlund <assar@sics.se>
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
73 2001-07-12 Assar Westerlund <assar@sics.se>
75 * common.c (connect_local_xsocket): handle a tcp socket as last
78 * rxterm.in: add -K (send arguments to kx)
79 * rxtelnet.in: add -K (send arguments to kx)
81 2001-06-21 Assar Westerlund <assar@sics.se>
83 * rxterm.in: add -b for pointing to the rsh program. from
85 * rxtelnet.in: add -b for pointing to the telnet program. from
88 2001-01-17 Johan Danielsson <joda@pdc.kth.se>
90 * common.c: don't write to string constants
92 2000-12-31 Assar Westerlund <assar@sics.se>
94 * krb5.c (krb5_make_context): handle krb5_init_context failure
97 2000-10-08 Assar Westerlund <assar@sics.se>
99 * kxd.c (doit_passive): check that fds are not too large to select
101 * kx.c (doit_active): check that fds are not too large to select
103 * krb5.c (krb5_copy_encrypted): check that fds are not too large
105 * krb4.c (krb4_copy_encrypted): check that fds are not too large
108 2000-07-17 Johan Danielsson <joda@pdc.kth.se>
110 * Makefile.am: use conditional for X
112 2000-06-10 Assar Westerlund <assar@sics.se>
114 * Makefile.in: use INSTALL_SCRIPT for installing rxterm, rxtelnet,
117 2000-04-19 Assar Westerlund <assar@sics.se>
119 * common.c: try hostname uncanonified if getaddrinfo() fails
121 2000-02-06 Assar Westerlund <assar@sics.se>
123 * kx.h: remove old prorotypes
125 2000-01-08 Assar Westerlund <assar@sics.se>
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.
131 1999-12-28 Assar Westerlund <assar@sics.se>
133 * kxd.c (main): call krb5_getportbyname with the default in
136 1999-12-17 Assar Westerlund <assar@sics.se>
138 * common.c (match_local_auth): remove extra brace. spotted by
139 Jakob Schlyter <jakob@cdg.chalmers.se>
141 1999-12-16 Assar Westerlund <assar@sics.se>
143 * common.c (match_local_auth): handle ai_canonname not being set
145 1999-12-06 Assar Westerlund <assar@sics.se>
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
152 1999-12-05 Assar Westerlund <assar@sics.se>
154 * common.c (INADDR_LOOPBACK): remove. now in roken.
156 * kxd.c (recv_conn): use getnameinfo_verified
157 * kxd.c (recv_conn): replace inaddr2str with getnameinfo
159 1999-12-04 Assar Westerlund <assar@sics.se>
161 * kx.c (connect_host): use getaddrinfo
162 * common.c (find_auth_cookie, match_local_auth): re-write to use
165 1999-11-27 Assar Westerlund <assar@sics.se>
167 * kxd.c (recv_conn): better errors when getting unrecognized data
169 1999-11-25 Assar Westerlund <assar@sics.se>
171 * krb4.c (krb4_authenticate): obtain the `local' address when
172 doing NAT. also turn on passive mode. From <thn@stacken.kth.se>
174 1999-11-18 Assar Westerlund <assar@sics.se>
176 * krb5.c (krb5_destroy): free the correct part of the context
178 1999-11-02 Assar Westerlund <assar@sics.se>
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
183 1999-10-10 Assar Westerlund <assar@sics.se>
185 * Makefile.am (CLEANFILES): add generated files so that they get
188 1999-09-29 Assar Westerlund <assar@sics.se>
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
197 1999-09-02 Assar Westerlund <assar@sics.se>
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
205 1999-08-19 Assar Westerlund <assar@sics.se>
207 * kxd.c (recv_conn): give better error message
208 (doit_active): don't die if fork gives EAGAIN
210 1999-08-19 Johan Danielsson <joda@pdc.kth.se>
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
216 1999-07-12 Assar Westerlund <assar@sics.se>
218 * Makefile.am: handle not building X programs
220 1999-06-23 Assar Westerlund <assar@sics.se>
222 * kx.c: conditionalize krb_enable_debug
224 1999-06-20 Assar Westerlund <assar@sics.se>
226 * kxd.c (main): hopefully do inetd confusion right
228 1999-06-15 Assar Westerlund <assar@sics.se>
230 * krb4.c (krb4_authenticate): get rid of a warning
232 * kx.h: const-pollution
234 * kx.c: use get_default_username and resulting const pollution
236 * context.c (context_set): const pollution
238 1999-05-22 Assar Westerlund <assar@sics.se>
240 * kxd.c (recv_conn): fix syslog messages
241 (main): fix inetd_flag thinko
243 1999-05-21 Assar Westerlund <assar@sics.se>
245 * kx.c (main): don't byte-swap the argument to krb5_getportbyname
247 * kx.c (main): try to use $USERNAME
249 1999-05-10 Assar Westerlund <assar@sics.se>
251 * Makefile.in (SOURCES*): update sources list
253 * kx.c (main): forgot to conditionalize some KRB5 code
255 * kxd.c (main): use getarg
256 (*): handle v4 and/or v5
260 * kx.c (main): use getarg.
261 (*): handle v4 and/or v5
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
268 * Makefile.am (*_SOURCES): remove encdata, add krb[45].c,
272 * krb4.c, krb5.c, context.c: new files
274 1999-05-08 Assar Westerlund <assar@sics.se>
276 * kxd.c (doit_passive): handle error code from
277 create_and_write_cookie
279 * kx.c (doit_active): handle error code from
280 create_and_write_cookie
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>
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>
291 Wed Apr 7 23:39:23 1999 Assar Westerlund <assar@sics.se>
293 * common.c (get_xsockets): init local variable to get rid of a gcc
296 Thu Apr 1 21:11:36 1999 Johan Danielsson <joda@hella.pdc.kth.se>
298 * Makefile.in: fix for writeauth.o
300 Fri Mar 19 15:12:31 1999 Johan Danielsson <joda@hella.pdc.kth.se>
302 * kx.c: add gcc-braces
304 Thu Mar 18 11:18:20 1999 Johan Danielsson <joda@hella.pdc.kth.se>
306 * Makefile.am: include Makefile.am.common
308 Thu Mar 11 14:58:32 1999 Johan Danielsson <joda@hella.pdc.kth.se>
310 * writeauth.c: protoize
312 * common.c: fix some warnings
314 Wed Mar 10 19:33:39 1999 Johan Danielsson <joda@hella.pdc.kth.se>
316 * kxd.c: openlog -> roken_openlog
318 Wed Feb 3 22:01:55 1999 Assar Westerlund <assar@sics.se>
320 * rxtelnet.in: print out what telnet program we are running. From
323 * tenletxr.in: add --version, [-h | --help], -v
325 * rxterm.in: add --version, [-h | --help], -v
327 * rxtelnet.in: add --version, [-h | --help], -v
329 * Makefile.in (rxterm, rxtelnet, telnetxr): substitute VERSION and
332 * rxtelnet.in: update usage string
334 Fri Jan 22 23:51:05 1999 Assar Westerlund <assar@sics.se>
336 * common.c (verify_and_remove_cookies): give back a meaningful
337 error message if we're using the wrong cookie
339 Fri Dec 18 17:42:02 1998 Assar Westerlund <assar@sics.se>
341 * common.c (replace_cookie): try to handle the case of not finding
344 Sun Nov 22 10:31:53 1998 Assar Westerlund <assar@sics.se>
346 * Makefile.in (WFLAGS): set
348 Wed Nov 18 20:25:37 1998 Assar Westerlund <assar@sics.se>
350 * rxtelnet.in: new argument -n for not starting any terminal
353 * kx.c (doit_passive): parse $DISPLAY correctly
355 Fri Oct 2 06:34:51 1998 Assar Westerlund <assar@sics.se>
357 * kx.c (doit_active): check DISPLAY to figure out what local
358 socket to connect to. From Åke Sandgren <ake@cs.umu.se>
360 Thu Oct 1 23:02:29 1998 Johan Danielsson <joda@hella.pdc.kth.se>
362 * kx.h: case MAY_HAVE_X11_PIPES with Solaris
364 Tue Sep 29 02:22:44 1998 Assar Westerlund <assar@sics.se>
366 * kx.c: fix from Ake Sandgren <ake@cs.umu.se>
368 Mon Sep 28 18:04:03 1998 Johan Danielsson <joda@hella.pdc.kth.se>
370 * common.c (try_pipe): return -1 if I_PUSH fails with ENOSYS
372 Sat Sep 26 17:34:21 1998 Assar Westerlund <assar@sics.se>
374 * kxd.c: create sockets before setuid to handle Solaris' strange
375 permissions on /tmp/.X11-{unix,pipe}
377 * common.c (chown_xsockets): new function
379 * kx.h (chown_xsockets): new prototype
381 Sun Aug 16 18:34:30 1998 Assar Westerlund <assar@sics.se>
383 * kxd.c (doit_passive): conditionalize stream pipe code
385 * implement support for Solaris's named-pipe X transport
387 Thu May 28 17:20:39 1998 Johan Danielsson <joda@emma.pdc.kth.se>
389 * common.c: fix for (compiler?) bug in solaris 2.4 bind
391 * kx.c: get_xsockets returns int, not unsigned
393 Wed May 27 04:20:20 1998 Assar Westerlund <assar@sics.se>
395 * kxd.c (doit): better error reporting
397 Tue May 26 17:41:23 1998 Johan Danielsson <joda@emma.pdc.kth.se>
399 * kx.c: use krb_enable_debug
401 Mon May 25 05:22:18 1998 Assar Westerlund <assar@sics.se>
403 * Makefile.in (clean): remove encdata.c
405 Fri May 1 07:16:36 1998 Assar Westerlund <assar@sics.se>
407 * kx.c: unifdef -DHAVE_H_ERRNO