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
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
mycroft
52efca41cd
Nuke remaining patchkit headers.
1993-08-02 18:17:24 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49
Add RCS indentifiers.
1993-08-01 07:32:48 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
cgd
e541169ce2
after 0.2.2 "stable" patches applied
1993-03-21 18:04:42 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00