wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +00:00
wiz
0b273592ec
-edebug should only be mentioned in the help #ifdef ENCRYPTION, not #ifdef
...
AUTHENTICATION. Noted (with patch) by Brian Ginsbach.
2001-09-02 18:56:26 +00:00
wiz
00ed7f60d7
Describe -S option, and remove mention of /etc/inittab in FILES section.
...
Patch by Brian Ginsbach.
2001-09-02 18:33:39 +00:00
wiz
4b8f5ccd37
Fix #ifdef indentation after recent removal of #ifdef NEWINIT-code.
...
Patch by Brian Ginsbach.
2001-09-02 18:32:35 +00:00
wiz
9731e34bd0
Remove code #ifdef'd on NEWINIT (never used on NetBSD).
...
Sync with Cray, patch by Brian Ginsbach in private mail.
2001-08-30 23:25:15 +00:00
wiz
be3b9c2ec5
Cray-only patch (sync with cray). Patch by Brian Ginsbach in private mail.
2001-08-29 00:32:26 +00:00
wiz
13237636e2
Remove description of an option that only applies to UNICOS < 7.0.
2001-08-25 16:50:18 +00:00
wiz
4538e1cec2
Remove lots of #ifdef's for dead Cray hardware and obsolete UNICOS releases;
...
also some Cray-specific fixes. No change for NetBSD.
From Brian Ginsbach of Cray Inc. in bin/13614 and private mail.
2001-08-24 00:14:03 +00:00
wiz
45130205ff
Add extern before terminaltype. (Definition is in global.c via
...
`#define extern' and `#include <ext.h>'.)
Last part of bin/13667 by Brian Ginsbach.
2001-08-20 13:53:47 +00:00
wiz
3fc7637d44
Rename variable to avoid shadowing.
2001-08-20 11:34:01 +00:00
wiz
53adc1dbf2
Improve whitespace a bit, per bin/13667 by Brian Ginsbach.
2001-08-20 11:19:29 +00:00
wiz
b96d0a9c47
Fix typo, and duplicate ';'. From bin/13667 by Brian Ginsbach.
2001-08-20 11:14:05 +00:00
wiz
7d38311c3e
Typo fixes and syslog string improvements, from bin/13667 by Brian Ginsbach.
2001-08-20 11:13:17 +00:00
wiz
8e747ced58
Move #endif so that inclusion of libtelnet/auth.h and
...
libtelnet/encrypt.h do not depend upon DEFAULT_IM being undefined.
From bin/13667 by Brian Ginsbach.
2001-08-20 11:12:19 +00:00
wiz
c27e877f37
Fix type of last execl argument, inspired by bin/13667.
2001-08-20 11:04:52 +00:00
wiz
c54e018e90
Add some (const char *) casts per bin/13667 by Brian Ginsbach.
2001-08-20 11:01:48 +00:00
wiz
f79a6c5d8c
Add missing braces, per bin/13612 by Brian Ginsbach.
2001-08-01 16:41:14 +00:00
wiz
9b9e7174b0
Fix compilation without -DLINEMODE, per bin/13571 from Onno van der Linden.
2001-07-27 22:21:46 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
itojun
30f2adec05
vsnprintf() can return value longer than the actual string. from assar
2001-07-19 16:00:59 +00:00
itojun
546f0c22a1
try netflush() if buffer is too low.
2001-07-19 07:26:53 +00:00
itojun
eb2e3cb617
bound-check all "*nfrontp++" code. from openbsd/heimdal.
...
bark if file descriptor goes above FD_SETSIZE. from openbsd.
XXX needs more checking.
XXX what is tab stop size for this code? need more consistency...
XXX we should really remove #ifdef CRAY, UNICOS5 and such.
we just cannot read it through.
2001-07-19 04:57:49 +00:00
wiz
ccfe29f3cf
Symmetric has one s and two m's.
2001-06-18 11:23:00 +00:00
christos
5dea9a59e1
fix redundant declarations.
2001-02-04 22:32:15 +00:00
lukem
412ee5c5f1
use LOG_ERR for fatal errors, LOG_WARNING for other errors
...
minor knf
deprecate LOG_ODELAY; it's the default
2001-01-10 02:51:37 +00:00
sommerfeld
1d442ae998
${MAKE} print-objdir -> ${PRINTOBJDIR}
2000-12-30 17:29:24 +00:00
assar
142187795f
(scrub_env): change to only accept a listed set of variables,
...
including only non-filename contents for TERMCAP
2000-12-09 00:50:21 +00:00
christos
5135a422f1
Buffer overflow and environment passing fixes [originally inspired from
...
FreeBSD]. We really didn't need the environment fixes, but for the sake
of keeping the code as close as possible...
2000-11-19 20:17:39 +00:00
garbled
1403ef3b87
Remove direct calls to "make" and replace with ${MAKE}
2000-10-26 05:52:54 +00:00
is
48052d04a3
Format string cleanups by sommerfeld.
2000-10-10 19:54:37 +00:00
itojun
697db6345c
make error case handling in -daemon case meet with other portion of the code.
...
(use fprintf-then-exit, not errx - costmetic)
2000-08-18 03:25:52 +00:00
assar
4bb88e6fb1
forced: previous was really: remove libvers, it's not being used
2000-08-03 22:58:32 +00:00
assar
fc90224f06
link against the not-installed libvers
2000-08-03 22:47:37 +00:00
assar
549a4d9cdc
update build infrastructure for heimdal 0.3a
2000-08-03 04:02:29 +00:00
thorpej
df83a2a3cd
Add MK... variables to enable/disable various aspects of building
...
crypto support into the system. See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
thorpej
5c099b14c1
Bring the telnet situation back into better shape. Specifically,
...
pull in just about all of the differences from the crypto-us telnet
suite (which includes Kerberos 4 and connection encryption support).
Also bring in the Kerberos 5 support from the Heimdal telnet, and
frob a little so that it can work with the non-Heimdal telnet suite.
There is still some work left to do, specifically:
- Add Heimdal's ticket forwarding support to the Berkeley Kerberos 4
module.
- Add connection encryption support to the Heimdal Kerberos 5
module. Hints on this can be taken from the MIT Kerberos 5
module which still exists in crypto-us.
However, even with the shortcomings listed above, this is a
better situation than using the stock Heimdal telnet suite,
which does not understand the IPSec policy stuff, and is also
based on much older code which contains bugs that we have already
fixed in the NetBSD sources.
2000-06-22 06:47:42 +00:00
thorpej
e7d6b96938
Merge a bunch of things from crypto-us and crypto-intl into basesrc,
...
adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate
bsd.crypto.mk.
There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
assar
f73a2b64ec
(net_write): rename to telnet_net_write
2000-02-01 02:30:43 +00:00
mycroft
f5d7100e26
Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
...
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
ad
3476632b59
Make 'if' capability from gettytab work. *shudder*.
2000-01-13 13:11:31 +00:00
tron
18c5f3d5f1
Abort if memory for execv(2) argument array cannot be allocated instead
...
of passing an array with incomplete contents to login(1).
Fix provided by Jun-ichiro itojun Hagino in PR bin/9082.
1999-12-31 12:42:35 +00:00
itojun
2c4f20dd99
do not touch __ss_len directly, they are not supposed to be touched.
1999-12-16 06:00:24 +00:00
aidan
d4403adecd
Kerberos5 ticket forwarding works.
1999-09-17 19:00:32 +00:00
aidan
b7519caaf7
Added kerberos5_cleanup() to cleanup if KRB5 defined. This is to destroy
...
a forwarded ccache on cleanup.
1999-08-12 23:05:22 +00:00
mrg
51a96a002f
optionally include CRYPTOPATH Makefile.frag files.
1999-07-20 09:35:18 +00:00
thorpej
a3281f7249
Use bsd.crypto.mk.
1999-07-12 22:04:09 +00:00
thorpej
b4da0f0b3c
Nuke some whitespace.
1999-07-11 03:04:14 +00:00
thorpej
580c3519b7
Put the RCS ID in the correct place.
1999-07-11 03:00:07 +00:00
itojun
5b5d822bce
dual-stack telnetd.
1999-07-02 06:32:08 +00:00
thorpej
1cfcfaddc7
Treat crypto-us like domestic.
1999-06-07 00:53:09 +00:00
cgd
b22750720f
change:
...
.Sh "SEE ALSO"
to:
.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +00:00
mrg
3a4a79d477
add missing .Bl.
1999-03-17 01:51:04 +00:00
msaitoh
aade0aa230
sort SEE ALSO section by "sort |sort -n"
1999-02-28 20:15:50 +00:00
dean
63f386cdd0
Fix for PR 5821
...
- s/SecurID/SECURELOGIN/g and define SECURELOGIN in Makefile
- update man page to reflect S/Key and Kerboros authentication used
not SecurID
1999-02-12 05:30:11 +00:00
cjs
74f6e33bdf
Descend on obj, as well as clean, cleandir, etc.
1999-01-03 21:56:42 +00:00
msaitoh
2861f340a6
delete .Sh ENVIRONMENT.
...
delete extra period.
1998-11-17 16:26:51 +00:00
lukem
06b0ffe181
distclean is a synonym for cleandir
1998-09-05 14:46:13 +00:00
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