Commit Graph

21 Commits

Author SHA1 Message Date
mycroft 9a36a8340f Use the argument to stilloob() for the poll... 2002-09-20 19:13:24 +00:00
mycroft 720a68f0ca select() -> poll() 2002-09-18 20:58:56 +00:00
abs d88a5fe209 If the peer closes the connection in ttloop()
syslog(LOG_ERR, "ttloop:  peer died: %m");
is a little console spammingly excessive. Switch to LOG_INFO.
2002-08-12 09:19:00 +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
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
is 48052d04a3 Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +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
ad 3476632b59 Make 'if' capability from gettytab work. *shudder*. 2000-01-13 13:11:31 +00:00
mikel 2bb7a441c1 kill old-style declaration of strchr()
add back variable needed for -DAUTHENTICATION
1997-10-16 06:55:38 +00:00
mrg ee62445dbf WARNS?=1. RCS ids. 1997-10-08 08:45:07 +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
thorpej 14c6919f1d RCS id cosmetics. 1996-02-28 20:38:08 +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
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 e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00