telnetd/libtelnet/Makefile
nsayer 0f2c0f75fe 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.


git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@49887 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
1999-08-16 11:24:29 +00:00

20 lines
463 B
Makefile

# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $Id: Makefile,v 1.1.1.1.6.5 1996/06/30 12:50:37 markm Exp $
INTERNALSTATICLIB= YES
LIB= telnet
SRCS= encrypt.c genget.c getent.c misc.c
# SRA Authentication & DES Encryption
CFLAGS+= -I.. -DHAS_CGETENT -DENCRYPTION -DAUTHENTICATION -DSRA
CFLAGS+= -DDES_ENCRYPTION
LDADD+= -ldes -lmp
SRCS+= auth.c enc_des.c sra.c pk.c
#don't bother to install
install:
/usr/bin/true
.include <bsd.lib.mk>