freebsd-skq/eBones
gibbs 2734551417 Kerberos can now deal with multi-homed clients.
Kerberos obtains a network address for the local host from the routing
tables and uses it consistently for all Kerberos transactions.  This ensures
that packets only leave the *authenticated* interface.  Clients who open
and use their own sockets for encrypted or authenticated correspondance
to kerberos services should bind their sockets to the same address as that
used by kerberos.  krb_get_local_addr() and krb_bind_local_addr() allow
clients to obtain the local address or bind a socket to the local address
used by Kerberos respectively.

Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman>
Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
1995-10-05 21:30:21 +00:00
..
acl Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
compile_et Initial import of eBones. 1994-09-30 14:50:09 +00:00
des Bring in a hand written replacement for MIT's file of the same name. 1995-09-16 20:44:27 +00:00
ext_srvtab Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
include Kerberos can now deal with multi-homed clients. 1995-10-05 21:30:21 +00:00
kadmin Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kadmind Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kdb Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kdb_destroy Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kdb_edit Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kdb_init Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kdb_util Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kdestroy Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kerberos Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kinit Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
klist Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kprop Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kpropd Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
krb Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
ksrvtgt Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
ksrvutil Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
kstash Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
lib Kerberos can now deal with multi-homed clients. 1995-10-05 21:30:21 +00:00
libexec Correct a lie in the man pages: /etc/athena/srvtab -> /etc/kerberosIV/srvtab 1995-09-17 07:58:21 +00:00
libkadm Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
make_keypair Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
man Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
passwd Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
register Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
registerd Major cleanup of eBones code: 1995-09-07 21:39:00 +00:00
usr.bin Add -L paths for all locally built eBones libraries. Many of the programs 1995-09-26 02:36:08 +00:00
usr.sbin Kerberos can now deal with multi-homed clients. 1995-10-05 21:30:21 +00:00
ARTISTIC.libdes Initial import of eBones. 1994-09-30 14:50:09 +00:00
Copyright.MIT Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
Copyright.SIPB Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
Makefile After the Great eBones Repository Copy (tm), make ebones actually 1995-09-13 17:24:36 +00:00
Makefile.inc Integrate rkinit into the build. 1995-09-15 06:20:48 +00:00
patchlevel.h Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
README.libdes Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00

			libdes, Version 3.00 93/10/07

		Copyright (c) 1993, Eric Young
			  All rights reserved.

    This program is free software; you can redistribute it and/or modify
    it under the terms of either:

	a) the GNU General Public License as published by the Free
	Software Foundation; either version 1, or (at your option) any
	later version, or

	b) the "Artistic License" which comes with this Kit.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
    the GNU General Public License or the Artistic License for more details.

    You should have received a copy of the Artistic License with this
    Kit, in the file named "Artistic".  If not, I'll be glad to provide one.

    You should also have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
---
This kit builds a DES encryption library and a DES encryption program.
It suports ecb, cbc, ofb, cfb, triple ecb, triple cbc and MIT's pcbc
encryption modes and also has a fast implementation of crypt(3).
It contains support routines to read keys from a terminal,
generate a random key, generate a key from an arbitary length string,
read/write encrypted data from/to a file descriptor.

The implementation was written so as to conform with the manual entry
for the des_crypt(3) library routines from MIT's project Athena.

destest should be run after compilation to test the des routines.
rpw should be run after compilation to test the read password routines.
The des program is a replacement for the sun des command.  I believe it
conforms to the sun version.

The Imakefile is setup for use in the kerberos distribution.

These routines are best compiled with gcc or any other good
optimising compiler.
Just turn you optimiser up to the highest settings and run destest
after the build to make sure everything works.

I believe these routines are close to the fastest and most portable DES
routines that use small lookup tables (4.5k) that are publicly available.
The fcrypt routine is faster than ufc's fcrypt (when compiling with
gcc2 -O2) on the sparc 2 (1410 vs 1270) but is not so good on other machines
(on a sun3/260 168 vs 336).

Eric Young (eay@psych.psy.uq.oz.au)