History log of /netbsd-src/libexec/telnetd/state.c (Results 1 – 25 of 35)
Revision Date Author Comments
# a582757c 29-Oct-2024 kre <kre@NetBSD.org>

PR bin/58787 telnetd - handle auto authentication better

Apparently from FreeBSD via RVP -- but FreeBSD deleted telnetd
more than 2 years ago, so I assume instead from
https://github.com/cschuber/

PR bin/58787 telnetd - handle auto authentication better

Apparently from FreeBSD via RVP -- but FreeBSD deleted telnetd
more than 2 years ago, so I assume instead from
https://github.com/cschuber/freebsd-telnet/tree/main/contrib/telnet

show more ...


# a10c2cec 10-Feb-2024 andvar <andvar@NetBSD.org>

fix various typos in comments and log messages.


# 5c6084d5 22-Sep-2023 shm <shm@NetBSD.org>

Fix off by one in telrcv()

In case of "\r" in the data buffer, the code was unconditionally looking ahead
to next character, even if "\r" was last character in the buffer. That
condition leads to re

Fix off by one in telrcv()

In case of "\r" in the data buffer, the code was unconditionally looking ahead
to next character, even if "\r" was last character in the buffer. That
condition leads to read outside of the data (one byte after the array)

Thanks christos@ for the review

show more ...


# 20fff34f 09-Aug-2021 andvar <andvar@NetBSD.org>

s/fist/first/


# fbffadb9 03-Feb-2019 mrg <mrg@NetBSD.org>

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily


# 21cc7f1b 12-Dec-2016 maya <maya@NetBSD.org>

acknowleg -> acknowledg, proceedure -> procedure.
only comments were changed.

from miod


# 8ec0ca78 09-Jan-2012 christos <christos@NetBSD.org>

PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- separate MKCRYPTO from USE_KERBEROS
- WARNS=4


# 1e34420a 23-Dec-2011 christos <christos@NetBSD.org>

there is a macro for that, use it.


# 9c23f96c 21-Feb-2007 hubertf <hubertf@NetBSD.org>

Move ctype.h from headers to files which really need it
From: Slava Semushin <slava.semushin@gmail.com>


# 3baf9430 21-Jun-2005 lha <lha@NetBSD.org>

Remove static local variable so its easier to correctly use strlcpy.


# 4b901290 06-Feb-2005 perry <perry@NetBSD.org>

de-__P, ANSIfy function declarations, remove obsolete "register" declarations.


# 8e6ab883 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.


# 625dced9 14-Jul-2003 itojun <itojun@NetBSD.org>

remove unneeded #ifdefs. improves readability.
(confirmed that exact same *.o is produced)


# f78eb76c 11-Feb-2002 wiz <wiz@NetBSD.org>

achive is not a good word.


# 4538e1ce 24-Aug-2001 wiz <wiz@NetBSD.org>

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.


# 7d38311c 20-Aug-2001 wiz <wiz@NetBSD.org>

Typo fixes and syslog string improvements, from bin/13667 by Brian Ginsbach.


# c54e018e 20-Aug-2001 wiz <wiz@NetBSD.org>

Add some (const char *) casts per bin/13667 by Brian Ginsbach.


# 9b9e7174 27-Jul-2001 wiz <wiz@NetBSD.org>

Fix compilation without -DLINEMODE, per bin/13571 from Onno van der Linden.


# 30f2adec 19-Jul-2001 itojun <itojun@NetBSD.org>

vsnprintf() can return value longer than the actual string. from assar


# 546f0c22 19-Jul-2001 itojun <itojun@NetBSD.org>

try netflush() if buffer is too low.


# eb2e3cb6 19-Jul-2001 itojun <itojun@NetBSD.org>

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 c

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.

show more ...


# 5dea9a59 04-Feb-2001 christos <christos@NetBSD.org>

fix redundant declarations.


# 48052d04 10-Oct-2000 is <is@NetBSD.org>

Format string cleanups by sommerfeld.


# 5c099b14 22-Jun-2000 thorpej <thorpej@NetBSD.org>

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 suppor

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.

show more ...


# ee62445d 08-Oct-1997 mrg <mrg@NetBSD.org>

WARNS?=1. RCS ids.


12