History log of /freebsd-current/contrib/telnet/libtelnet/encrypt.c
Revision Date Author Comments
# a3c85800 27-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

telnet: remove locally added __FBSDID

This partially reverts 77b7cdf1999ee965ad494fddd184b18f532ac91a.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D42704


# 42b4e3fb 28-Mar-2020 Kyle Evans <kevans@FreeBSD.org>

Revert 359399: telnet -fno-common bits

There was a large misfire from my local diff that I need to investigate, and
this version committed did not build.


# c1b2af73 28-Mar-2020 Kyle Evans <kevans@FreeBSD.org>

telnet: remove some duplicate definitions, mark terminaltype extern

Most of these were already properly declared and defined elsewhere, this is
effectively just a minor cleanup that fixes the -fno-common build.

-fno-common will become the default in GCC10/LLVM11.

MFC after: 3 days


# 83129c0b 15-Aug-2019 Ed Maste <emaste@FreeBSD.org>

telnet: remove 3rd clause from Berkeley copyrights

Per the July 22, 1999 letter (in /COPYRIGHT) from
William Hoskins
Director, Office of Technology Licensing
University of California, Berkeley

MFC after: 1 week


# 3e65b9c6 23-Dec-2011 Colin Percival <cperciva@FreeBSD.org>

Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06]

Add an API for alerting internal libc routines to the presence of
"unsafe" paths post-chroot, and use it in ftpd. [11:07]

Fix a buffer overflow in telnetd. [11:08]

Make pam_ssh ignore unpassphrased keys unless the "nullok" option is
specified. [11:09]

Add sanity checking of service names in pam_start. [11:10]

Approved by: so (cperciva)
Approved by: re (bz)
Security: FreeBSD-SA-11:06.bind
Security: FreeBSD-SA-11:07.chroot
Security: FreeBSD-SA-11:08.telnetd
Security: FreeBSD-SA-11:09.pam_ssh
Security: FreeBSD-SA-11:10.pam


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 78455da4 26-Jun-2002 Mark Murray <markm@FreeBSD.org>

Warnings fixes. Sort out some variable types.


# 3138440a 30-Nov-2001 Mark Murray <markm@FreeBSD.org>

Damn. The previous mega-commit was incomplete WRT ANSIfication. This
fixes that.


# 8fa113e5 30-Nov-2001 Mark Murray <markm@FreeBSD.org>

Very large style makeover.

1) ANSIfy.
2) Clean up ifdefs so that
a) ones that never/always apply are appropriately either
fully removed, or just the #if junk is removed.
b) change #if defined(FOO) for appropiate values of FOO.
(currently AUTHENTICATION and ENCRYPTION)
3) WARNS=2 fixing
4) GC other unused stuff

This code can now be unifdef(1)ed to make non-crypto telnet.


# f2ac7de9 01-Oct-2001 Mark Murray <markm@FreeBSD.org>

Add __FBSDID() to diff-reduce with "base" telnet.


# ecece7e3 15-Jul-2000 Peter Wemm <peter@FreeBSD.org>

Add missing $FreeBSD$ to files that are NOT still on vendor a branch.


# 0f8c8396 16-Aug-1999 Nick Sayer <nsayer@FreeBSD.org>

Add SRA authentication to src/crypto/telnet.

SRA does a Diffie-Hellmen exchange and then DES-encrypts the
authentication data. If the authentication is successful, it also
sets up a session key for DES encryption.

SRA was originally developed at Texas A&M University.

This code is probably export restricted (despite the fact that I
originally found it at a University in Germany).

SRA is not perfect. It is vulnerable to monkey-in-the-middle attacks
and does not use tremendously large DH constants (and thus an individual
exchange probably could be factored in a few days on modern CPU
horsepower). It does not, however, require any changes in user or
administrative behavior and foils session hijacking and sniffing.
The goal of this commit is that telnet and telnetd end up in the DES
distribution and that therefore an encrypted session telnet becomes
standard issue for FreeBSD.


# 04c426cc 07-Sep-1997 Mark Murray <markm@FreeBSD.org>

Bring the FreeBSD changes to the virgin sources.


# 81cb6ddc 04-Sep-1997 Mark Murray <markm@FreeBSD.org>

Initial import of BSD telnet. This will be used to build the kerberised
telnet, and after userland diffs have been merged in, will be used to
build the non-kerberised sources as well. (See unifdef(1) for details)