Commit Graph

56 Commits

Author SHA1 Message Date
tsarna c89a574ffa Execute ttyaction on termination of rlogind/telnetd sessions.
Also, say a little bit about ttyaction in the getty and login manpages.
1998-08-29 17:31:55 +00:00
perry bfd526219d bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
perry b791320225 Fix for pr 5904 from Zdenek Salvet; we now use openpty() to get a pty. 1998-08-05 00:15:25 +00:00
scottr ebc77f0f62 Ack! I misunderstood a problem reported to me. We don't need to do
anything special to handle obj directories; bsd.man.mk does it for us
already.  Back out that part of the previos commit.
1998-07-27 04:45:23 +00:00
scottr b894fb7eed Fix two problems with my previous change:
- We must include bsd.own.mk to get EXPORTABLE_SYSTEM from mk.conf.
   Noted by Bernd Ernesti.
 - If we're only generating man pages, we should deal with obj
   directories as appropriate.  Both Perry Metzger and I found this
   independently.

This completes the tasks necessary to close PR 5519.
1998-07-27 04:16:19 +00:00
scottr 8f01a044f4 Unlike other domestic bits, telnet and telnetd are never built as a part
of the domestic build process.  No domestic program actually builds its
own man pages but instead relies on those built in the exportable tree.
The result is missing telnet(1) and telnet(8) pages.

Fix this problem descending into the telnet and telnetd directories
regardless of whether we're doing an exportable build or not.  Once there,
we generate only the man pages if we're building a non-exportable system.
1998-07-22 22:30:07 +00:00
msaitoh 4944940fcf Declare ints, too, don't default them. 1998-07-09 18:32:52 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
kleink 60cfe27506 Need <time.h> for various definitions, so just include it in this one place. 1998-04-01 15:05:10 +00:00
kleink ce38478eb8 No need to include <sys/tty.h>. 1998-04-01 15:02:47 +00:00
perry 6982982f8d macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:39:31 +00:00
lukem e8cebc9784 use CPPFLAGS instead of CFLAGS 1997-10-22 05:55:52 +00:00
enami 27ffa06956 Fix .Nm usage. 1997-10-20 02:19:24 +00:00
enami ea62d80033 .Nm telnetd. -> .Nm telnetd . 1997-10-20 02:14:56 +00:00
enami 71d6ede458 No need to declare optind and optarg. 1997-10-20 02:12:17 +00:00
mikel b006e71442 startslave() prototype is independent of AUTHENTICATION 1997-10-16 06:59:09 +00:00
mikel 2bb7a441c1 kill old-style declaration of strchr()
add back variable needed for -DAUTHENTICATION
1997-10-16 06:55:38 +00:00
mikel 0b47cd38cf don't include <sys/cdefs.h> twice, kill old-style getpty() declaration 1997-10-16 06:52:52 +00:00
mikel 61d5a37185 add commented CFLAGS for AUTHENTICATION, remove list of crypto files 1997-10-16 06:49:11 +00:00
mikel 60f096100c kill old-style getenv() declaration 1997-10-16 06:46:50 +00:00
mikel fa8a687958 kill some excess whitespace 1997-10-16 06:45:45 +00:00
lukem 2ce4ef15e6 use <termcap.h> 1997-10-14 01:14:20 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
mrg ee62445dbf WARNS?=1. RCS ids. 1997-10-08 08:45:07 +00:00
enami f002de2f5a Put a whitespace after the keyword `switch'. 1997-10-08 01:09:02 +00:00
enami 7c92c8b774 Compare a return value of getopt() against -1 instead of EOF. 1997-10-08 01:04:31 +00:00
kleink 66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
christos d59123b39b - Makefile cleanups 1997-03-24 22:15:37 +00:00
thorpej 3d93807910 Don't truncate long host names.
From SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp>, PR #2676.
1996-09-27 02:30:05 +00:00
explorer ec9e28aab1 Block ENV and BASH_ENV from client. From David Holland <dholland@hcs.harvard.edu> 1996-09-07 21:45:52 +00:00
tls 9f01fb5000 apply Thorsten's patch to add gettytab support to telnetd. 1996-03-20 04:25:53 +00:00
thorpej 14c6919f1d RCS id cosmetics. 1996-02-28 20:38:08 +00:00
thorpej 7c0f11b167 Move the RCS id to the proper place in the file. 1996-02-28 20:30:33 +00:00
jtk 47dc9102de restore lost local change (be careful with 'long' vs. 'int'
distinctions)
1996-02-24 19:13:37 +00:00
jtk aefee90c37 RCS Id Police 1996-02-24 01:34:44 +00:00
jtk 42e1b6b73d update to telnetd from 95.10.23 version. Includes Borman's scrub_env()
to keep stuff out of the environment on the way to exec (we already have
one in the state machine that keeps them from arriving over the wire, so
this should be redundant, but it'll make any further updates easier to
have it present).

also, RCS Id police.
1996-02-24 01:22:12 +00:00
mycroft 90f0c26840 Make sure that the user name cannot ever be interpreted as an option to
login(8).  Note: This does *not* fix any security holes.
1996-02-08 06:05:31 +00:00
tls 0f47839ca2 fix small documentation bug -- we have no bftp(1). 1996-01-05 04:10:10 +00:00
ghudson 75ec1de458 Cleanup, from Mark Eichin. 1995-10-19 12:47:28 +00:00
ghudson 070618219e Filter potentially dangerous environment variables passed from
telnet client.
1995-10-18 05:44:26 +00:00
cgd b54e75897f be a bit more careful with types, casts, and and function declarations. 1994-12-23 14:29:31 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
mycroft 8f58e94ed3 Import original 4.4-Lite version. 1994-09-24 00:41:59 +00:00
cgd 7972ccad6f update to match 4.4-Lite 1994-06-05 14:31:15 +00:00
cgd b1e3471d49 version number update 1994-06-05 14:27:12 +00:00
cgd 600f45bda9 add uname % format stuff back in 1994-02-25 03:26:26 +00:00
cgd 290a2c4f88 new telnetd from ftp.cray.com. Encryption support ripped out, pending
figuring out what to do about it...
1994-02-25 03:20:39 +00:00
mycroft b8302e3744 Excuse me while I be braindead for a minute. 1993-08-30 18:53:06 +00:00
mycroft f597ddb137 Add new uname() cookies like getty.
(I had thought telnetd spawned a getty.  Sigh.)
1993-08-30 18:50:53 +00:00