1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
|
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
relative to buildtop and thisconfigdir, respectively.)
Wed Aug 12 00:17:09 1998 Matthew D Hancher <mdh@mit.edu>
* Makefile.in (AUTH_DEF): Undefine LOGIN_CAP_F so that telnetd
runs login with -f rather than -F for preauthenticated login,
following the changes in appl/bsd/.
1998-05-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
* sys_term.c: #include utmp.h if present, and use _PATH_WTMP and
_PATH_UTMP if defined to determine location of the wtmp
and utmp files.
* configure.in: Add check for utmp.h
1998-05-06 Theodore Ts'o <tytso@rsts-11.mit.edu>
* telnetd.c (main):
* telnetd-ktd.c (main): POSIX states that getopt returns -1 when it
is done parsing options, not EOF.
Tue Mar 3 14:26:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* configure.in: Rename HAS_* to HAVE_* for the following tests:
sac.h, sys/ptyvar.h, sys/filio.h, sys/stream.h,
gettosbyname(), and make appropriate adjustments in the
rest of the .c files. Remove tests which aren't being
used anymore: vhangup, utmpx.h, utmp.h, etc.
* defs.h: Use HAVE_SYS_FILIO_H instead of FILIO_H
* sys_term.c: Use HAVE_SAC_H and HAVE_SYS_STREAM_H instead of
HAS_SAC and STREAMS.
* telnetd.c, telnetd-ktd.c: Use HAVE_GETTOSBYNAME instead of
HAS_GETTOS
* telnetd.c: Use HAVE_SYS_PTYVAR_H instead of HAS_PTYVAR.
Mon Feb 23 22:58:22 1998 Tom Yu <tlyu@mit.edu>
* utility.c (ptyflush, netflush): Explicitly reset SIGCHLD handler
before calling cleanup(). [telnet/546]
* telnetd.c (telnet): Explicitly reset SIGCHLD handler before
calling cleanup(). [telnet/546]
* state.c (dooption): Explicitly reset SIGCHLD handler before
calling cleanup(). [telnet/546]
Wed Feb 18 15:38:31 1998 Tom Yu <tlyu@mit.edu>
* Makefile.in: Remove trailing slash from thisconfigdir. Fix up
BUILDTOP for new conventions.
Sat Feb 14 10:35:36 1998 Ezra Peisach <epeisach@kangaroo.mit.edu>
* configure.in: Remove USE_ANAME.
Mon Feb 2 17:02:29 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile
Wed Jan 28 17:21:08 1998 Dan Winship <danw@mit.edu>
* telnetd.c (doit): additional fix for previous terminaltype change
Tue Jan 27 18:27:16 1998 Dan Winship <danw@mit.edu>
* telnetd.c (getterminaltype): Null-terminate strings and avoid a
buffer overrun.
* ext.h: make terminaltype a char[] instead of a char * for
telnetd.c change
* state.c (suboption): redo handling of terminaltype
Fri Jan 23 22:13:02 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* telnetd.c (telnet, get_default_IM): Instead of using a hardcoded
IM variable, use one which is dynamically generated from
the uname() system call.
* ext.h: Remove definition of DEFAULT_IM, since it's no longer used.
Thu Dec 4 21:32:37 1997 Tom Yu <tlyu@mit.edu>
* telnetd.c (doit): Fix up slave buffer length.
Thu Oct 23 13:59:32 1997 Theodore Y. Ts'o <tytso@mit.edu>
* state.c (envvarok): Prohibit the passing of TERMCAP, TERMPATH,
TERMINFO, and HOME, since they can be used to exploit a
security hole in tgetent.
Wed Apr 9 23:46:40 1997 Tom Yu <tlyu@mit.edu>
* sys_term.c (start_login): Bounds check the constructed "speed"
passed in to login.
Wed Feb 12 15:22:53 1997 Tom Yu <tlyu@voltage-multiplier.mit.edu>
* configure.in: Fix DES425_DEPLIB
Wed Feb 5 22:08:58 1997 Tom Yu <tlyu@mit.edu>
* Makefile.in:
* configure.in: Update to new program build procedure.
Thu Nov 7 15:32:06 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* telnetd.c (main): Check the error return from
krb5_init_context(), and print an error message if
necessary.
Mon Oct 14 01:55:41 1996 Sam Hartman <hartmans@mit.edu>
* utility.c (printsub): Patch from jhawk@bbnplannet.com to deal
with bug printing out authentication name. [71]
Sat Sep 21 03:38:31 1996 Sam Hartman <hartmans@mit.edu>
(printsub): Fix encrypt promise bit option parsing [74]
* utility.c (ttloop): Continue on eintr.
Tue Sep 10 14:10:41 1996 Tom Yu <tlyu@mit.edu>
* telnetd.8: remove ".so man1/header.doc"
Mon Aug 19 23:22:55 1996 Theodore Y. Ts'o <tytso@mit.edu>
* state.c (envvarok): Don't allow the environment variable
RESOLV_HOST_CONF to be set for Linux's sake.
Thu Jun 13 17:05:17 1996 Sam Hartman <hartmans@mit.edu>
* telnetd.8: Remove documentation of desupported -u options.
* sys_term.c: Remove last fragments of PARENT_DOES_UTMP, and
remove dependence on utmp.h and utmpx.h
* telnetd.c: Remove support for -u option as that type of utmp
mucking is below the libpty abstraction and I do not see it as
useful enough to export outside libpty.
Tue Jun 4 00:27:09 1996 Tom Yu <tlyu@mit.edu>
* configure.in: Ezra's changes to allow compiling w/o krb4
Wed May 1 21:14:45 1996 Ken Raeburn <raeburn@cygnus.com>
* configure.in: Fix typo in Apr 16 HP-UX change.
Thu Apr 18 16:17:55 1996 Mark Eichin <eichin@cygnus.com>
* state.c (envvarok): nuke all KRB5* environment variables, not
just the previously selected ones.
Fri Mar 29 01:21:29 1996 Marc Horowitz <marc@mit.edu>
* telnetd.c (telnet -> doit): moved SIGTTOU handler before the
first thing which would cause the terminal driver to get upset.
Mon Mar 25 01:05:50 1996 Ken Raeburn <raeburn@cygnus.com>
* sys_term.c (line): Remove initialization silliness. The
non-GNUC method was Just Wrong, do it the other way always.
(Xline): Specify length, not contents.
Wed Feb 28 22:27:46 1996 Mark Eichin <eichin@cygnus.com>
* termio-tn.c (readstream_termio): new file, provides isolated
version of M_IOCTL handling for systems where termio and termios
can't be compiled together.
* termios-tn.c (readstream_termios): new file, provides isolated
version of M_IOCTL handling for systems where termio and termios
can't be compiled together.
* telnetd.c (readstream): use readstream_termios and
readstream_termio to handle getmsg with M_IOCTL.
Thu Apr 18 16:33:42 1996 Sam Hartman <hartmans@mit.edu>
* state.c (suboption): Don't accept authentication suboptions
after authentication negotiation complete.
(envvarok): exclude KRB5_KTNAME and KRB5CCNAME
Tue Apr 16 12:23:02 1996 Sam Hartman <hartmans@mit.edu>
* configure.in : Treat HPUX as if it doesn't have streams.
* state.c (suboption): For certain options like environment and X
display, require authentication and encryption to be established
or not established before processing the option.
(sb_auth_complete): Fail and kill telnetd if authentication
negotiation is not complete.
* ext.h: Define new global variable indicating whether encryption
wait has happened.
Thu Apr 11 21:44:39 1996 Richard Basch <basch@lehman.com>
* sys_term.c (cleanup): Call the Kerberos 5 cleanup routine, also.
Wed Mar 27 00:27:32 1996 Tom Yu <tlyu@dragons-lair.MIT.EDU>
* telnetd.c: remove inclusion of netdb.h; it's already in defs.h,
and #$%&* ultrix doesn't protect it from multiple
inclusions.
Sat Mar 23 01:33:09 1996 Sam Hartman <hartmans@tertius.mit.edu>
* sys_term.c: Remove utmpx stuff so libpty can do it.
(start_login): Remove utmpx handling here as well.
(rmut): expunged; libpty should deal.
* configure.in : Do not use streamspty on SGIs; it really doesn't
work, even though all the interfaces are prsent.
* telnetd.c: Move prototype for doit to be global instead of
streams-specific.
Tue Mar 19 18:43:46 1996 Ken Raeburn <raeburn@cygnus.com>
For environments not supporting common storage:
* defs.h (P): Add definition here.
(line, encrypt_output, decrypt_input): Declare here.
* ext.h (line, encrypt_output, decrypt_input): Not here.
(terminaltype): Declare explicitly "extern".
* telnetd.c (auth_level, require_SecurID): Don't initialize here.
Mon Mar 18 20:29:05 1996 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in: Added flags which turn on the encryption option.
* telnetd.c (getterminaltype): If the authentication option which
was negotiated requires that encryption be turned on, then
enforce this here.
Sun Mar 3 14:43:04 1996 Mark W. Eichin <eichin@cygnus.com>
* configure.in: if we don't have termcap, check for curses lib.
Wed Feb 28 21:07:42 1996 Mark Eichin <eichin@cygnus.com>
* telnetd.c (telnet): rename HE to HEstr to avoid conflict with
HP/UX 10.01 "Fields within IO_STATUS register" values in cpu.h.
Mon Feb 26 03:33:48 1996 Sam Hartman <hartmans@tertius.mit.edu>
* configure.in: Call USE_ANAME
Sun Feb 25 20:26:00 1996 Sam Hartman <hartmans@tertius.mit.edu>
* telnetd.c: Use MAXDNAME not MAXHOSTNAMELEN; MAXHOSTNAMELEN is
only for gethostname() and sethostname() and has nothing to do
with domains.
* configure.in : Check for arpa/nameser.h for MAXDNAME
Tue Feb 13 16:23:23 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* ext.h, utility.c (fatalperror, fatal): Add const to argument.
Mon Jan 15 17:35:25 1996 Sam Hartman <hartmans@tertius.mit.edu>
* sys_term.c: Call pty_update_utmp with PTY_TTYSLOT_USABLE flag.
Mon Nov 27 15:55:50 1995 Tom Yu <tlyu@dragons-lair.MIT.EDU>
* state.c: use P properly so it won't break non-ansi compilers.
Sun Nov 12 04:56:15 1995 Mark W. Eichin <eichin@cygnus.com>
* telnetd.8: source tmac.doc for correct parsing.
Sat Oct 21 15:37:55 1995 Sam Hartman <hartmans@tertius.mit.edu>
* state.c (envvarok): Also check for variables involving =.
Thu Oct 19 01:28:23 1995 Mark W. Eichin <eichin@cygnus.com>
* state.c (envvarok): New function, checks environment variables
for exceptions that should not be passed to login.
(suboption): don't do anything to propagated environment variables
if they fail the exception test above.
Mon Oct 9 23:01:36 1995 Sam Hartman <hartmans@tertius.mit.edu>
* telnetd.c (getterminaltype): If ENCRYPTION defined, send do
encryption, *not* just will encrypt. if you don't do this, then you won't encrypt the input to the server; your password prompt is encrypted, but your password isn't.
Tue Aug 8 11:26:54 1995 Sam Hartman <hartmans@pao.mit.edu>
* sys_term.c: Fail if the slave side dies.
(dup_tty): Renamed from login_tty because OSF already has that function and it isn't compatible.
(getptyslave): Fix argument to fatalperror by including com_err.h instead of casting.
Tue Aug 8 17:25:22 EDT 1995 Paul Park (pjpark@mit.edu)
* sys_term.c - Cast argument to fatalperror().
* sys_term.c: Use new interface to pty_update_utmp.
(getptyslave): Handle error return from pty_open_slave
Close syncpipe[1] before we read from it.
Mon Aug 7 14:44:21 EDT 1995 Paul Park (pjpark@mit.edu)
* configure.in, sys_term.c - Use utmpx.h if present, then check for
utmp.h. Add logic to handle ut_tv from utmpx.h.
Mon Aug 7 13:08:39 EDT 1995 Paul Park (pjpark@mit.edu)
* configure.in - Add check for utmp.h. Make check for utmpx.h define
additional symbol to work with libpty.h.
* sys_term.c - Fix syntax error and reinstate #ifdef LINEMODE deleted
by last checkin.
Fri Aug 4 20:22:28 1995 Sam Hartman <hartmans@tertius.mit.edu>
* sys_term.c (getptyslave): Select terminal settings more likely
to work.
(cleanup): Pass pid to cleanup so it can killpg if necessary.
Tue Aug 1 11:28:55 1995 Sam Hartman <hartmans@tertius.mit.edu>
* telnetd.c (doit): Use pty_getpty.
* Makefile.in (LOCAL_LIBRARIES): Add -lpty
* sys_term.c (startslave): Use pty_update_utmp. Export slave's
pid so it's global for pty_cleanup. Use pipe to synchronize so
that slave is opened before parent writes.
(cleanopen): removed in favor of pty_open_slave
(login_tty): Don't set controlling terminal; libpty does this. Just dup2 the terminals.
(getpty): removed.
(getptyslave): Use libpty.
* telnetd-ktd.c: Use libpty.
Tue Jul 11 11:32:56 1995 Sam Hartman <hartmans@tertius.mit.edu>
Sat Jul 29 04:40:04 1995 Tom Yu <tlyu@dragons-lair.MIT.EDU>
* telnetd-ktd.c (doit): Remove special casing of Convex PTY
handling here. There isn't enough code here for me to understand
what to do on a Convex system, so if it breaks, it should be
special cased in a more-appropriate manner.
* configure.in: Don't link with -lkadm.
Fri Jul 7 15:51:03 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Remove explicit library handling.
* configure.in - Add USE_{KRB4,KADM}_LIBRARY and KRB5_LIBRARIES.
Tue Jun 20 14:25:01 1995 Tom Yu (tlyu@dragons-lair)
* defs.h: NO_STRING_H -> HAVE_STRING_H
* configure.in: add test for string.h
Thu Jun 15 17:43:21 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change explicit library names to -l<lib> form, and
change target link line to use $(LD) and associated flags.
Also, remove DBMLIB, it was not used. Also, for K4, use
KRB4_LIB and KRB4_CRYPTO_LIB, these were
split out.
* configure.in - Remove dbm library checks, these are no longer needed
with the Berkeley database code. Also, add shared library
usage check.
Thu Jun 15 16:18:39 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
* sys_term.c (getpty): On AIX, open /dev/ptc for master and use
ttyname() to get slave side; much simpler and doesn't get used
ptys.
(cleanopen): Revoke on AIX as well. This may cause problems on early 3.2 versions, but not revoking causes disconnected sessions to be partially connected to new telnets. The complete fix will be to make sure telnetd cleans up when it dies.
Fri Jun 9 18:29:56 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
are now handled by CONFIG_RULES.
Wed May 3 16:50:05 1995 Mark Eichin <eichin@cygnus.com>
* telnetd.c: respect HAVE_SYS_TTY_H.
Mon May 1 11:33:28 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* defs.h: Temporary hack for the alpha. Undefine STREAMSPTY if
defined. This will be removed in a later release.
Fri Apr 28 18:07:34 1995 Mark Eichin <eichin@cygnus.com>
* Makefile.in (KLIB): put KRB4_LIB inside KLIB.
Thu Apr 27 13:57:03 1995 Mark Eichin <eichin@cygnus.com>
* Makefile.in (telnetd): use KRB4_LIB directly.
* configure.in: use WITH_KRB4 as-is.
Wed Apr 25 22:53:20 1995 Chris Provenzano (proven@mit.edu)
* configure.in, sys_term.c, telnetd.c : Have configure check for
sys/ptyvar.h and sac.h before .c files include it.
Sat Apr 22 00:52:01 1995 Theodore Y. Ts'o (tytso@dcl)
* telnetd.c (main): Don't use krb5_override_default_realm, as it
is obsolete (non-existent). Use krb5_set_default_realm
instead.
Fri Apr 21 12:47:57 1995 Mark Eichin <eichin@cygnus.com>
From Ian Taylor <ian@cygnus.com>.
* telnetd.c (valid_opts): Add 'L'. If KRB5, add -R and -t.
(main): Handle -L. If KRB5, handle -R and -t.
* sys_term.c (login_program): New global variable.
(start_login): Use login_program instead of LOGIN_PROGRAM.
Wed Mar 29 15:39:39 1995 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Add dependency on libtelnet.a
Tue Mar 7 19:59:30 1995 Mark Eichin <eichin@cygnus.com>
* configure.in: take out ISODE_INCLUDE.
Thu Mar 2 12:30:32 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
Wed Mar 1 16:25:58 1995 Theodore Y. Ts'o <tytso@dcl>
* configure.in: Remove ISODE_INCLUDE and ISODE_DEFS, replace check
for -lsocket and -lnsl with WITH_NETLIB check.
Tue Feb 28 01:50:22 1995 John Gilmore (gnu at toad.com)
* sys_term.c: Avoid <krb5/...> includes.
Wed Jan 11 15:23:07 1995 Mark Eichin <eichin@cygnus.com>
* configure.in (K4LIB): fix quoting so $(KRB4) actually survives
to the Makefile.
Fri Nov 18 01:23:13 1994 Mark Eichin <eichin@cygnus.com>
* Makefile.in (install): install telnetd manpage
(from Ted Lemon <mellon@ipd.wellsfargo.com>).
Fri Nov 18 00:44:05 1994 Mark Eichin <eichin@cygnus.com>
* configure.in: use WITH_KRB4, cache cc_t in termio check, cache
SETPGRP_TWOARG check.
* Makefile.in (K4LIB): use @K4LIB@.
(telnetd): use $(K4LIB). (from epeisach)
Mon Nov 7 22:16:51 1994 Theodore Y. Ts'o (tytso@dcl)
* configure.in:
sys_term.c: Only include <sys/tty.h> if HAVE_SYS_TTY_H is
defined by configure.
* configure.in: Check for sys/time.h and time.h.
* defs.h: Pull in <sys/time.h> and <time.h> as necessary.
* sys_term.c (startslave): Don't define time() manually.
* configure.in: Add check for util library (needed for the Alpha)
Thu Sep 29 22:51:52 1994 Theodore Y. Ts'o (tytso@dcl)
* Makefile.in: Relink executables if libraries change
Tue Aug 16 18:04:58 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
* configure.in: check for vhangup.
sys_term.c (cleanup): check for HAVE_VHANGUP.
(cleanopen): ditto.
Mon Aug 8 01:15:27 1994 Mark Eichin (eichin@cygnus.com)
* utility.c (putf): don't misdeclare index/rindex, strings.h
already got included. Don't even use them -- use str*chr instead.
Thu Aug 4 03:37:26 1994 Tom Yu (tlyu@dragons-lair)
* configure.in: pick up dbm libs
* sys_term.h: fix linux lossage, i.e. <linux/tty.h>
* configure.in: check for STREAMSPTY (hopefully)
* Makefile.in:
* configure.in: make install changes
Tue Jul 26 18:23:01 1994 Tom Yu (tlyu@dragons-lair)
* Makefile.in: fix missing $(srcdir)
Mon Jul 25 02:35:16 1994 Tom Yu (tlyu@dragons-lair)
* configure.in: check for utmpx
|