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
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
|
2001-10-09 Ken Raeburn <raeburn@mit.edu>
* defs.h, state.c, sys_term.c, telnetd-ktd.c, telnetd.c: Make
prototypes unconditional.
Sat Sep 8 08:24:51 2001 Ezra Peisach <epeisach@mit.edu>
* telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so
that malloc prototype povided.
2001-08-30 Ken Raeburn <raeburn@mit.edu>
* configure.in: Check for ipv6 support.
* ext.h: Always use prototype declarations.
(P): Definitions deleted.
* defs.h: Don't include socket-utils.h until after netinet/in.h.
2001-08-29 Ken Raeburn <raeburn@mit.edu>
* defs.h: Include socket-utils.h.
* telnetd.c: Include fake-addrinfo.c.
(FAI_PREFIX): Define.
(doit): Now static, and takes sockaddr pointer rather than
sockaddr_in pointer. Use getnameinfo instead of gethostbyaddr to
verify that host name was available.
(main): Use sockaddr_storage for remote address buffer; clear
before using. Only do IP_TOS processing for IPv4.
* termio-tn.c, termios-tn.c: Define dummy variables if STREAMSPTY
isn't defined, to silence compiler complaints about empty files.
2001-08-02 Tom Yu <tlyu@mit.edu>
* authenc.c (net_write): Rewrite in terms of netwrite().
* configure.in: Check for vsnprintf().
* ext.h: New prototypes for netprintf, netprintf_urg,
netprintf_noflush, netwrite, netputs.
* slc.c: Fix to use new NETOBUF-handling functions.
* state.c: Fix to use new NETOBUF-handling functions.
* telnetd.c: Fix to use new NETOBUF-handling functions.
* termstat.c: Fix to use new NETOBUF-handling functions.
* utility.c: General rework to be more paranoid about
bounds-checking of NETOBUF and NFRONTP. Abstract away
interactions with NETOBUF to eliminate explicit references to
NFRONTP in many places.
(netwrite): New function; copies a buffer to the
NETOBUF "ring buffer", checking bounds and calling netflush() if
needed.
(netputs): New function; calls netwrite() with a nul-terminated
string.
(netprintf, netprintf_ext): New function; wrap sprintf() with
bounds checking for use with NETOBUF.
(netprintf_urg): New function; like netprintf() except sets neturg
to point at last char written.
(netprintf_noflush): New function; like netprintf() except
silently fails if NETOBUF is full.
(ttloop, printoption, printsub, printdata): Fix to use new
NETOBUF-handling functions.
2001-07-23 Ezra Peisach <epeisach@mit.edu>
* sys_term.c (startslave): Get rid of extra argument in call to
getptyslave().
2001-07-06 Ezra Peisach <epeisach@mit.edu>
* sys_term.c (addarg): Cast char to long in indexing array.
2001-07-01 Ezra Peisach <epeisach@mit.edu>
* state.c: Declate doclientstat() static and conditionalize
inclusion if LINEMODE defined.
* sys_term.c: Declare getptyslave() and addard() static.
* telnetd.c: Declare _gettermname() and getterminaltype() static.
* utility.c: Declare putstr() and nextitem() static.
2001-06-22 Ezra Peisach <epeisach@mit.edu>
* telnetd.c (main): Change variable sin to sin4.
(encrypt_failure): Change to not shadow global error_message.
2001-06-21 Ezra Peisach <epeisach@mit.edu>
* telnetd.c: Add prototypes for getent() and tgetent().
2001-06-21 Ezra Peisach <epeisach@mit.edu>
* configure.in: Test if prototypes needed for setenv and unsetenv.
* ext.h: Provide prototypes for unsetenv and setenv if needed.
2001-06-19 Ezra Peisach <epeisach@mit.edu>
* utility.c (printsub): Ensure variable set before use.
2001-06-18 Ezra Peisach <epeisach@mit.edu>
* utility.c (printdata): Cast argument to isprint() to int.
2001-06-07 Ezra Peisach <epeisach@mit.edu>
* ext.h: Remove unused prototype for start_slave() and replace
with one for startslave().
* state.c: Add libtlnet/encrypt.h for missing prototypes.
* sys_term.c: Add prototype for dup_tty(). Change getptyslave()
from int to void. Cleanup an assignment in conditional warning.
* telnetd.c: Include libtelnet/misc-proto.h. Declare return from
terminaltypeok() and main() as int.
* utility.c: Include libtelnet/auth.h and libtelnet/encrypt.h for
prototypes.
2001-04-27 Ken Raeburn <raeburn@mit.edu>
* telnetd.c (valid_opts): Note that 'w' takes a parameter.
Reported by Nico Williams, <Nicolas.Williams@ubsw.com>.
(main): Delete options 'N', 'u', 'i' that were removed from
valid_opts in 1999.
(usage): Don't show -u option. Align output columns better.
2001-01-25 Tom Yu <tlyu@mit.edu>
* state.c (envvarok): Disallow LC_* and NLSPATH.
2000-12-06 Ken Raeburn <raeburn@mit.edu>
* telnetd.c (doit): Cast pty_make_sane_hostname first argument to
sockaddr pointer.
2000-11-01 Ezra Peisach <epeisach@mit.edu>
* configure.in: Use AC_CHECK_HEADER and AC_CHECK_FUNC instead of
AC_HEADER_CHECK and AC_FUNC_CHECK.
2000-06-29 Tom Yu <tlyu@mit.edu>
* telnetd.c (doit): Change test for "no authentication" as per
Jeffrey Altman's patch.
2000-06-29 Nalin Dahyabhai <nalin@redhat.com>
* sys_term.c (start_login, Solaris): forcefully terminate "termbuf"
in case the "TERM" environment variable isn't.
* telnet-ktd.c (getterminaltype): Don't overflow buffers "first" and
"netobuf".
(recv_ayt): Forcibly terminate buffer "netobuf".
2000-05-31 Wilfredo Sanchez <tritan@mit.edu>
* configure.in, defs.h: Check for existance of <memory.h>.
[from Nathan Neulinger <nneul@umr.edu>]
2000-03-20 Ken Raeburn <raeburn@mit.edu>
Jeffrey Altman <jaltman@watsun.cc.columbia.edu>
* state.c (telrcv): Fix off-by-one error dealing with full
buffer.
2000-02-24 Ezra Peisach <epeisach@mit.edu>
* configure.in: Remove dependency on libdes425 when krb4 support
is not compiled in.
2000-02-21 Bear Giles <bgiles@coyotesong.com>
Ken Raeburn <raeburn@mit.edu>
* telnetd.c (doit): Provide a more useful error message than
"authentication failed" if no authentication was even attempted.
1999-10-26 Wilfredo Sanchez <tritan@mit.edu>
* Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
LOCAL_INCLUDES such that one can override CFLAGS from the command
line without losing CPP search patchs and defines. Some associated
Makefile cleanup.
Thu Apr 15 17:02:49 1999 Theodore Y. Ts'o <tytso@mit.edu>
* configure.in: Fix typo in test below; fixed name of the autoconf
cache variable which indicates if sys/streams.h exists.
1999-04-13 <tytso@rsts-11.mit.edu>
* configure.in: Check for setupterm() in libncurses in addition to
libcurses. Only set STREAMSPTY if both grantpt and
sys/streams.h exists. (Will be needed for Linux/Redhat 6.0)
Wed Mar 31 00:05:58 1999 Tom Yu <tlyu@mit.edu>
* sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
failure.
Tue Mar 30 23:59:15 1999 Tom Yu <tlyu@mit.edu>
* termios-tn.c: Include termio.h under AIX due to brokenness.
Wed Feb 24 20:12:10 1999 Tom Yu <tlyu@mit.edu>
* telnetd.8: Resync manpage.
* telnetd.c: Rework flags controlling hostname logging.
Mon Feb 22 18:27:38 1999 Tom Yu <tlyu@mit.edu>
* telnetd.8: Document hostname logging changes.
* telnetd.c: Add options to control logging of remote hostname to
login(1).
Wed Feb 3 22:57:52 1999 Theodore Y. Ts'o <tytso@mit.edu>
* state.c: Increase size of subbufer so that we don't truncate
mongo-gram tickets from Microsoft. [telnet/688]
1998-11-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
* configure.in: Add check for <sys/utsname.h>.
* utility.c (putf): Add support for %s, %m, %r, %v using
information from the uname() system call.
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
|