ChangeLog revision 57419
157419Smarkm2000-02-12  Assar Westerlund  <assar@sics.se>
257419Smarkm
357419Smarkm	* telnet/commands.c (tn): only set tos for AF_INET.  From
457419Smarkm	itojun@iijlab.net
557419Smarkm
657416Smarkm2000-02-07  Assar Westerlund  <assar@sics.se>
757416Smarkm
857416Smarkm	* libtelnet/kerberos.c (kerberos4_is): send a reject back to the
957416Smarkm	client when we're not authorized
1057416Smarkm
1157416Smarkm2000-02-06  Assar Westerlund  <assar@sics.se>
1257416Smarkm
1357416Smarkm	* telnet/ring.h (ring_encrypt): better proto
1457416Smarkm	* telnet/ring.c (ring_encrypt): better proto
1557416Smarkm
1657416Smarkm2000-02-04  Assar Westerlund  <assar@sics.se>
1757416Smarkm
1857416Smarkm	* telnet/telnet_locl.h: klduge-around KLUDGELINEMODE
1957416Smarkm
2057416Smarkm2000-01-18  Assar Westerlund  <assar@sics.se>
2157416Smarkm
2257416Smarkm	* libtelnet/misc.c (auth_encrypt_user): const-ify
2357416Smarkm	* libtelnet/misc.h (RemoteHostName, LocalHostName): const-ify
2457416Smarkm	* libtelnet/misc.c (auth_encrypt_init, RemoteHostName,
2557416Smarkm	LocalHostName): const-ify
2657416Smarkm	* libtelnet/misc-proto.h (auth_encrypt_init, auth_encrypt_user):
2757416Smarkm	const-ify
2857416Smarkm	* libtelnet/encrypt.c (encrypt_init, Name): const-ify
2957416Smarkm	* libtelnet/enc-proto.h (encrypt_init): const-ify
3057416Smarkm	* libtelnet/auth.c (auth_init, Name): const-ify
3157416Smarkm	* libtelnet/auth-proto.h (auth_init): const-ify
3257416Smarkm
3357416Smarkm2000-01-08  Assar Westerlund  <assar@sics.se>
3457416Smarkm
3557416Smarkm	* telnet/commands.c (tn): handle ai_canonname being set in any of
3657416Smarkm	the addresses returnedby getaddrinfo.  glibc apparently returns
3757416Smarkm	the reverse lookup of every address in ai_canonname.  remove some
3857416Smarkm	unused variables.
3957416Smarkm
4057416Smarkm2000-01-01  Assar Westerlund  <assar@sics.se>
4157416Smarkm
4257416Smarkm	* telnetd/sys_term.c (addarg): make void (return value isn't check
4357416Smarkm	anyway).  fatal error when malloc fails
4457416Smarkm
4557416Smarkm1999-12-16  Assar Westerlund  <assar@sics.se>
4657416Smarkm
4757416Smarkm	* telnet/commands.c (*): handle ai_canonname not being set
4857416Smarkm
4957416Smarkm1999-12-04  Assar Westerlund  <assar@sics.se>
5057416Smarkm
5157416Smarkm	* telnetd/telnetd.c (doit): use getnameinfo_verified
5257416Smarkm	* telnetd/telnetd.c: use getnameinfo
5357416Smarkm	* telnet/commands.c: re-write to using getaddrinfo.  disable
5457416Smarkm	source-routing for the moment, it doesn't seem to be used anyways.
5557416Smarkm	
5657416Smarkm1999-09-16  Assar Westerlund  <assar@sics.se>
5757416Smarkm
5857416Smarkm	* telnet/commands.c: revert 1.54, get_default_username should DTRT
5957416Smarkm 	now
6057416Smarkm
6157416Smarkm1999-09-05  Assar Westerlund  <assar@sics.se>
6257416Smarkm
6357416Smarkm	* telnetd/utility.c (ttloop): make it return 1 if interrupted by a
6457416Smarkm 	signal, which must have been what was meant from the beginning
6557416Smarkm
6657416Smarkm	* telnetd/ext.h (ttloop): update prototype
6757416Smarkm
6857416Smarkm	* telnetd/authenc.c (telnet_spin): actually return the value from
6957416Smarkm 	ttloop (otherwise it's kind of bogus)
7057416Smarkm
7157416Smarkm1999-08-05  Assar Westerlund  <assar@sics.se>
7257416Smarkm
7357416Smarkm	* telnetd/sys_term.c (rmut): free utxp
7457416Smarkm
7557416Smarkm1999-08-04  Assar Westerlund  <assar@sics.se>
7657416Smarkm
7757416Smarkm	* telnet/main.c: add -G and config file support.  From Miroslav
7857416Smarkm 	Ruda <ruda@ics.muni.cz>
7957416Smarkm
8057416Smarkm	* telnetd/sys_term.c (rmut): work around utmpx strangness.  From
8157416Smarkm 	Miroslav Ruda <ruda@ics.muni.cz>
8257416Smarkm
8357416Smarkm1999-08-02  Assar Westerlund  <assar@sics.se>
8457416Smarkm
8557416Smarkm	* telnetd/telnetd.c (doit): only free hp if != NULL.  From: Jonas
8657416Smarkm 	Oberg <jonas@coyote.org>
8757416Smarkm
8857416Smarkm1999-07-29  Assar Westerlund  <assar@sics.se>
8957416Smarkm
9057416Smarkm	* telnetd/telnetd.c (doit): remove unused variable mapped_sin
9157416Smarkm
9257416Smarkm1999-07-26  Assar Westerlund  <assar@sics.se>
9357416Smarkm
9457416Smarkm	* telnetd/ext.h: update prototypes
9557416Smarkm	
9657416Smarkm	* telnetd/telnetd.c: make it handle v4 and v6 sockets.  (it
9757416Smarkm	doesn't handle being given a v6 socket that's really talking to an
9857416Smarkm	v4 adress (mapped) because the rest of the code in telnetd is not
9957416Smarkm	able to handle it anyway).  please run two telnetd from your
10057416Smarkm	inetd, one for v4 and one for v6.
10157416Smarkm
10257416Smarkm1999-07-07  Assar Westerlund  <assar@sics.se>
10357416Smarkm
10457416Smarkm	* telnet/commands.c (tn): extra bogus const-cast
10557416Smarkm
10657416Smarkm1999-07-06  Assar Westerlund  <assar@sics.se>
10757416Smarkm
10857416Smarkm	* telnetd/sys_term.c (start_login): print a different warning with
10957416Smarkm 	`-a otp'
11057416Smarkm
11157416Smarkm1999-06-24  Assar Westerlund  <assar@sics.se>
11257416Smarkm
11357416Smarkm	* libtelnet/kerberos5.c (kerberos5_send): set the addresses in the
11457416Smarkm 	auth_context
11557416Smarkm
11657416Smarkm1999-06-23  Assar Westerlund  <assar@sics.se>
11757416Smarkm
11857416Smarkm	* telnet/Makefile.am (INCLUDES): add $(INCLUDE_krb4)
11957416Smarkm
12057416Smarkm	* telnet/commands.c (togkrbdebug): conditionalize on
12157416Smarkm 	krb_disable_debug
12257416Smarkm
12357416Smarkm1999-06-16  Johan Danielsson  <joda@pdc.kth.se>
12457416Smarkm
12557416Smarkm	* telnet/commands.c: add kerberos debugging option
12657416Smarkm
12757416Smarkm1999-06-15  Assar Westerlund  <assar@sics.se>
12857416Smarkm
12957416Smarkm	* telnet/commands.c (tn): use get_default_username
13057416Smarkm
13157416Smarkm1999-05-14  Assar Westerlund  <assar@sics.se>
13257416Smarkm
13357416Smarkm	* telnetd/state.c (telrcv): magic patch to make it work against
13457416Smarkm 	DOS Clarkson Telnet.  From Miroslav Ruda <ruda@ics.muni.cz>
13557416Smarkm
13657416Smarkm1999-04-25  Assar Westerlund  <assar@sics.se>
13757416Smarkm
13857416Smarkm	* libtelnet/kerberos5.c (kerberos5_send): use
13957416Smarkm	`krb5_auth_setkeytype' instead of `krb5_auth_setenctype' to make
14057416Smarkm	sure we get a DES session key.
14157416Smarkm
14257416SmarkmThu Apr  1 16:59:27 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
14357416Smarkm
14457416Smarkm	* telnetd/Makefile.am: don't run check-local
14557416Smarkm
14657416Smarkm	* telnet/Makefile.am: don't run check-local
14757416Smarkm
14857416SmarkmMon Mar 29 16:11:33 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
14957416Smarkm
15057416Smarkm	* telnetd/sys_term.c: _CRAY -> HAVE_STRUCT_UTMP_UT_ID
15157416Smarkm
15257416SmarkmSat Mar 20 00:12:54 1999  Assar Westerlund  <assar@sics.se>
15357416Smarkm
15457416Smarkm	* telnet/authenc.c (telnet_gets): remove old extern declarations
15557416Smarkm
15657416SmarkmThu Mar 18 11:20:16 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
15757416Smarkm
15857416Smarkm	* telnetd/Makefile.am: include Makefile.am.common
15957416Smarkm
16057416Smarkm	* telnet/Makefile.am: include Makefile.am.common
16157416Smarkm
16257416Smarkm	* libtelnet/Makefile.am: include Makefile.am.common
16357416Smarkm
16457416Smarkm	* Makefile.am: include Makefile.am.common
16557416Smarkm
16657416SmarkmMon Mar 15 17:40:53 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
16757416Smarkm
16857416Smarkm	* telnetd/telnetd.c: replace perror/exit with fatalperror
16957416Smarkm
17057416SmarkmSat Mar 13 22:18:57 1999  Assar Westerlund  <assar@sics.se>
17157416Smarkm
17257416Smarkm	* telnetd/telnetd.c (main): 0 -> STDIN_FILENO.  remove abs
17357416Smarkm
17457416Smarkm	* libtelnet/kerberos.c (kerberos4_is): syslog root logins
17557416Smarkm
17657416SmarkmThu Mar 11 14:48:54 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
17757416Smarkm
17857416Smarkm	* telnetd/Makefile.in: add WFLAGS
17957416Smarkm
18057416Smarkm	* telnet/Makefile.in: add WFLAGS
18157416Smarkm
18257416Smarkm	* libtelnet/Makefile.in: add WFLAGS
18357416Smarkm
18457416Smarkm	* telnetd/sys_term.c: remove unused variables
18557416Smarkm
18657416Smarkm	* telnet/telnet.c: fix some warnings
18757416Smarkm
18857416Smarkm	* telnet/main.c: fix some warnings
18957416Smarkm
19057416Smarkm	* telnet/commands.c: fix types in format string
19157416Smarkm
19257416Smarkm	* libtelnet/auth.c: fix types in format string
19357416Smarkm
19457416SmarkmMon Mar  1 10:50:30 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
19557416Smarkm
19657416Smarkm	* telnetd/sys_term.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
19757416Smarkm
19857416SmarkmMon Feb  1 04:08:36 1999  Assar Westerlund  <assar@sics.se>
19957416Smarkm
20057416Smarkm	* telnet/commands.c (tn): only call gethostbyname2 with AF_INET6
20157416Smarkm 	if we actually have IPv6.  From "Brandon S. Allbery KF8NH"
20257416Smarkm 	<allbery@kf8nh.apk.net>
20357416Smarkm
20457416SmarkmSat Nov 21 16:51:00 1998  Johan Danielsson  <joda@hella.pdc.kth.se>
20557416Smarkm
20657416Smarkm	* telnetd/sys_term.c (cleanup): don't call vhangup() on sgi:s
20757416Smarkm
20857416SmarkmFri Aug 14 16:29:18 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
20957416Smarkm
21057416Smarkm	* libtelnet/kerberos.c: krb_put_int -> KRB_PUT_INT
21157416Smarkm
21257416SmarkmThu Jul 23 20:29:05 1998  Johan Danielsson  <joda@emma.pdc.kth.se>
21357416Smarkm
21457416Smarkm	* libtelnet/kerberos5.c: use krb5_verify_authenticator_checksum
21557416Smarkm
21657416SmarkmMon Jul 13 22:00:09 1998  Assar Westerlund  <assar@sics.se>
21757416Smarkm
21857416Smarkm	* telnet/commands.c (tn): don't advance hostent->h_addr_list, use
21957416Smarkm 	a copy instead
22057416Smarkm
22157416SmarkmWed May 27 04:19:17 1998  Assar Westerlund  <assar@sics.se>
22257416Smarkm
22357416Smarkm	* telnet/sys_bsd.c (process_rings): correct call to `stilloob'
22457416Smarkm
22557416SmarkmFri May 15 19:38:19 1998  Johan Danielsson  <joda@blubb.pdc.kth.se>
22657416Smarkm
22757416Smarkm	* libtelnet/kerberos5.c: Always print errors from mk_req.
22857416Smarkm
22957416SmarkmFri May  1 07:16:59 1998  Assar Westerlund  <assar@sics.se>
23057416Smarkm
23157416Smarkm	* telnet/commands.c: unifdef -DHAVE_H_ERRNO
23257416Smarkm
23357416SmarkmSat Apr  4 15:00:29 1998  Assar Westerlund  <assar@sics.se>
23457416Smarkm
23557416Smarkm	* telnet/commands.c (tn): moved the printing of `trying...' to the
23657416Smarkm 	loop
23757416Smarkm
23857416SmarkmThu Mar 12 02:33:48 1998  Assar Westerlund  <assar@sics.se>
23957416Smarkm
24057416Smarkm	* telnet/telnet_locl.h: include <term.h>. From Gregory S. Stark
24157416Smarkm 	<gsstark@mit.edu>
24257416Smarkm
24357416SmarkmSat Feb 21 15:12:38 1998  Assar Westerlund  <assar@sics.se>
24457416Smarkm
24557416Smarkm	* telnetd/ext.h: add prototype for login_tty
24657416Smarkm
24757416Smarkm	* telnet/utilities.c (printsub): `direction' is now an int.
24857416Smarkm
24957416Smarkm	* libtelnet/misc-proto.h: add prototype for `printsub'
25057416Smarkm
25157416SmarkmTue Feb 17 02:45:01 1998  Assar Westerlund  <assar@sics.se>
25257416Smarkm
25357416Smarkm	* libtelnet/kerberos.c (kerberos4_is): cred.pname should be
25457416Smarkm 	cred.pinst.  From <art@stacken.kth.se>
25557416Smarkm
25657416SmarkmSun Feb 15 02:46:39 1998  Assar Westerlund  <assar@sics.se>
25757416Smarkm
25857416Smarkm	* telnet/*/*.c: renamed `telnet' to `my_telnet' to avoid
25957416Smarkm 	conflicts with system header files on mklinux.
26057416Smarkm
26157416SmarkmTue Feb 10 02:09:03 1998  Assar Westerlund  <assar@sics.se>
26257416Smarkm
26357416Smarkm	* telnetd/telnetd.c: new signature for `getterminaltype' and
26457416Smarkm 	`auth_wait'
26557416Smarkm
26657416Smarkm	* libtelnet: changed the signature of the authentication method
26757416Smarkm 	`status'
26857416Smarkm
26957416SmarkmSat Feb  7 07:21:29 1998  Assar Westerlund  <assar@sics.se>
27057416Smarkm
27157416Smarkm	* */*.c: replace HAS_GETTOS by HAVE_PARSETOS and HAVE_GETTOSBYNAME
27257416Smarkm
27357416SmarkmFri Dec 26 16:17:10 1997  Assar Westerlund  <assar@sics.se>
27457416Smarkm
27557416Smarkm	* telnet/commands.c (tn): repair support for numeric addresses
27657416Smarkm
27757416SmarkmSun Dec 21 09:40:31 1997  Assar Westerlund  <assar@sics.se>
27857416Smarkm
27957416Smarkm	* libtelnet/kerberos.c: fix up lots of stuff related to the
28057416Smarkm 	forwarding of v4 tickets.
28157416Smarkm
28257416Smarkm	* libtelnet/kerberos5.c (kerberos5_forward): zero out `creds'.
28357416Smarkm
28457416SmarkmMon Dec 15 20:53:13 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
28557416Smarkm
28657416Smarkm	* telnet/sys_bsd.c: Don't turn off OPOST in 8bit-mode.
28757416Smarkm
28857416SmarkmTue Dec  9 19:26:50 1997  Assar Westerlund  <assar@sics.se>
28957416Smarkm
29057416Smarkm	* telnet/main.c (main): add 'b' to getopt
29157416Smarkm
29257416SmarkmSat Nov 29 03:28:54 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
29357416Smarkm
29457416Smarkm	* telnet/telnet.c: Change binary mode to do just that, and add a
29557416Smarkm 	eight-bit mode for just passing all characters.
29657416Smarkm
29757416SmarkmSun Nov 16 04:37:02 1997  Assar Westerlund  <assar@sics.se>
29857416Smarkm
29957416Smarkm	* libtelnet/kerberos5.c (kerberos5_send): always ask for a session
30057416Smarkm 	key of type DES
30157416Smarkm
30257416Smarkm	* libtelnet/kerberos5.c: remove old garbage and fix call to
30357416Smarkm 	krb5_auth_con_setaddrs_from_fd
30457416Smarkm
30557416SmarkmFri Nov 14 20:35:18 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
30657416Smarkm
30757416Smarkm	* telnetd/telnetd.c: Output contents of /etc/issue.
30857416Smarkm
30957416SmarkmMon Nov  3 07:09:16 1997  Assar Westerlund  <assar@sics.se>
31057416Smarkm
31157416Smarkm	* telnet/telnet_locl.h: only include <sys/termio.h> iff
31257416Smarkm 	!defined(HAVE_TERMIOS_H)
31357416Smarkm
31457416Smarkm	* libtelnet/kerberos.c (kerberos4_is): send the peer address to
31557416Smarkm 	krb_rd_req
31657416Smarkm
31757416Smarkm	* telnetd/telnetd.c (terminaltypeok): always return OK.  It used
31857416Smarkm 	to call `tgetent' to figure if it was a defined terminal type.
31957416Smarkm  	It's possible to overflow tgetent so that's a bad idea.  The worst
32057416Smarkm 	that could happen by saying yes to all terminals is that the user
32157416Smarkm 	ends up with a terminal that has no definition on the local
32257416Smarkm 	system.  And besides, most telnet client has no support for
32357416Smarkm 	falling back to a different terminal type.
32457416Smarkm
32557416SmarkmMon Oct 20 05:47:19 1997  Assar Westerlund  <assar@sics.se>
32657416Smarkm
32757416Smarkm	* libtelnet/kerberos5.c: remove lots of old junk.  clean-up.
32857416Smarkm  	better error checking and reporting.  tell the user permission
32957416Smarkm 	denied much earlier.
33057416Smarkm
33157416Smarkm	* libtelnet/kerberos.c (kerberos4_is): only print
33257416Smarkm 	UserNameRequested if != NULL
33357416Smarkm
334