1999-11-27  Assar Westerlund  <assar@sics.se>

	* kxd.c (recv_conn): better errors when getting unrecognized data

1999-11-25  Assar Westerlund  <assar@sics.se>

	* krb4.c (krb4_authenticate): obtain the `local' address when
	doing NAT.  also turn on passive mode.  From <thn@stacken.kth.se>
	
1999-11-18  Assar Westerlund  <assar@sics.se>

	* krb5.c (krb5_destroy): free the correct part of the context
	
1999-11-02  Assar Westerlund  <assar@sics.se>

	* kx.c (main): redo the v4/v5 selection for consistency.  -4 ->
 	try only v4 -5 -> try only v5 none, -45 -> try v5, v4

1999-10-10  Assar Westerlund  <assar@sics.se>

	* Makefile.am (CLEANFILES): add generated files so that they get
 	cleaned away

1999-09-29  Assar Westerlund  <assar@sics.se>

	* common.c (match_local_auth): only look for FamilyLocal (and
 	FamilyWild) cookies.  This will not work when we start talking tcp
 	to the local X-server but `connect_local_xsocket' and the rest of
 	the code doesn't handle it anyway and the old code could (and did)
 	pick up the wrong cookie sometimes.  If we have to match
 	FamilyInternet cookies, the search order has to be changed anyway

1999-09-02  Assar Westerlund  <assar@sics.se>

	* kxd.c (childhandler): watch for child `wait_on_pid' to die.
	(recv_conn): set `wait_on_pid' instead of looping on waitpid here
	also.  This should solve the problem of kxd looping which was
 	caused by the signal handler getting invoked before this waitpid
 	and reaping the child leaving this poor loop without any child

1999-08-19  Assar Westerlund  <assar@sics.se>

	* kxd.c (recv_conn): give better error message
	(doit_active): don't die if fork gives EAGAIN

1999-08-19  Johan Danielsson  <joda@pdc.kth.se>

	* kxd.c (recv_conn): call setjob on crays;
	(doit_passive): if fork fails with EAGAIN, don't shutdown, just close
	the connection re-implement `-t' flag

1999-07-12  Assar Westerlund  <assar@sics.se>

	* Makefile.am: handle not building X programs

1999-06-23  Assar Westerlund  <assar@sics.se>

	* kx.c: conditionalize krb_enable_debug

1999-06-20  Assar Westerlund  <assar@sics.se>

	* kxd.c (main): hopefully do inetd confusion right

1999-06-15  Assar Westerlund  <assar@sics.se>

	* krb4.c (krb4_authenticate): get rid of a warning

	* kx.h: const-pollution

	* kx.c: use get_default_username and resulting const pollution

	* context.c (context_set): const pollution

1999-05-22  Assar Westerlund  <assar@sics.se>

	* kxd.c (recv_conn): fix syslog messages
	(main): fix inetd_flag thinko

1999-05-21  Assar Westerlund  <assar@sics.se>

	* kx.c (main): don't byte-swap the argument to krb5_getportbyname

	* kx.c (main): try to use $USERNAME

1999-05-10  Assar Westerlund  <assar@sics.se>

	* Makefile.in (SOURCES*): update sources list
	
	* kx.c (main): forgot to conditionalize some KRB5 code
	
	* kxd.c (main): use getarg
	(*): handle v4 and/or v5

	* kx.h: update
	
	* kx.c (main): use getarg.
	(*): handle v4 and/or v5

	* common.c (do_enccopy, copy_encrypted): remove use
	net_{read,write} instead of krb_net_{read,write}
	(krb_get_int, krb_put_int): include fallback of these for when we
	compile without krb4
	
	* Makefile.am (*_SOURCES): remove encdata, add krb[45].c,
	context.c
	(LDADD): add krb5

	* krb4.c, krb5.c, context.c: new files

1999-05-08  Assar Westerlund  <assar@sics.se>

	* kxd.c (doit_passive): handle error code from
 	create_and_write_cookie

	* kx.c (doit_active): handle error code from
 	create_and_write_cookie

	* common.c (create_and_write_cookie): try to return better (and
 	correct) errors.  Based on a patch from Love <lha@e.kth.se>

	* common.c (try_pie): more braces
	(match_local_auth): new function
	(find_auth_cookie): new function
	(replace_cookie): don't just take the first auth cookie.  based on
	patch from Ake Sandgren <ake@@cs.umu.se>

Wed Apr  7 23:39:23 1999  Assar Westerlund  <assar@sics.se>
	
	* common.c (get_xsockets): init local variable to get rid of a gcc
 	warning

Thu Apr  1 21:11:36 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* Makefile.in: fix for writeauth.o

Fri Mar 19 15:12:31 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* kx.c: add gcc-braces

Thu Mar 18 11:18:20 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* Makefile.am: include Makefile.am.common

Thu Mar 11 14:58:32 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* writeauth.c: protoize

	* common.c: fix some warnings

Wed Mar 10 19:33:39 1999  Johan Danielsson  <joda@hella.pdc.kth.se>

	* kxd.c: openlog -> roken_openlog

Wed Feb  3 22:01:55 1999  Assar Westerlund  <assar@sics.se>

	* rxtelnet.in: print out what telnet program we are running.  From
 	<nissej@pdc.kth.se>

	* tenletxr.in: add --version, [-h | --help], -v

	* rxterm.in: add --version, [-h | --help], -v

	* rxtelnet.in: add --version, [-h | --help], -v

	* Makefile.in (rxterm, rxtelnet, telnetxr): substitute VERSION and
 	PACKAGE

	* rxtelnet.in: update usage string

Fri Jan 22 23:51:05 1999  Assar Westerlund  <assar@sics.se>

	* common.c (verify_and_remove_cookies): give back a meaningful
 	error message if we're using the wrong cookie

Fri Dec 18 17:42:02 1998  Assar Westerlund  <assar@sics.se>

	* common.c (replace_cookie): try to handle the case of not finding
 	any cookies

Sun Nov 22 10:31:53 1998  Assar Westerlund  <assar@sics.se>

	* Makefile.in (WFLAGS): set

Wed Nov 18 20:25:37 1998  Assar Westerlund  <assar@sics.se>

	* rxtelnet.in: new argument -n for not starting any terminal
 	emulator

	* kx.c (doit_passive): parse $DISPLAY correctly

Fri Oct  2 06:34:51 1998  Assar Westerlund  <assar@sics.se>

	* kx.c (doit_active): check DISPLAY to figure out what local
 	socket to connect to.  From ke Sandgren <ake@cs.umu.se>

Thu Oct  1 23:02:29 1998  Johan Danielsson  <joda@hella.pdc.kth.se>

	* kx.h: case MAY_HAVE_X11_PIPES with Solaris

Tue Sep 29 02:22:44 1998  Assar Westerlund  <assar@sics.se>

	* kx.c: fix from Ake Sandgren <ake@cs.umu.se>

Mon Sep 28 18:04:03 1998  Johan Danielsson  <joda@hella.pdc.kth.se>

	* common.c (try_pipe): return -1 if I_PUSH fails with ENOSYS

Sat Sep 26 17:34:21 1998  Assar Westerlund  <assar@sics.se>

	* kxd.c: create sockets before setuid to handle Solaris' strange
 	permissions on /tmp/.X11-{unix,pipe}

	* common.c (chown_xsockets): new function

	* kx.h (chown_xsockets): new prototype

Sun Aug 16 18:34:30 1998  Assar Westerlund  <assar@sics.se>

	* kxd.c (doit_passive): conditionalize stream pipe code

	* implement support for Solaris's named-pipe X transport

Thu May 28 17:20:39 1998  Johan Danielsson  <joda@emma.pdc.kth.se>

	* common.c: fix for (compiler?) bug in solaris 2.4 bind

	* kx.c: get_xsockets returns int, not unsigned

Wed May 27 04:20:20 1998  Assar Westerlund  <assar@sics.se>

	* kxd.c (doit): better error reporting

Tue May 26 17:41:23 1998  Johan Danielsson  <joda@emma.pdc.kth.se>

	* kx.c: use krb_enable_debug

Mon May 25 05:22:18 1998  Assar Westerlund  <assar@sics.se>

	* Makefile.in (clean): remove encdata.c

Fri May  1 07:16:36 1998  Assar Westerlund  <assar@sics.se>

	* kx.c: unifdef -DHAVE_H_ERRNO

