Commit Graph

21 Commits

Author SHA1 Message Date
markm
60a1d6bd12 Rename des_set_key -> des_set_key_krb. This was a name conflict with a
documented routine in libdes.
1996-02-03 11:40:16 +00:00
markm
86c893fd83 Bring Jordan's 2.1 dependancy fixes into current.
Incorporate some dependancy fixes from John Hay
Submitted by:	jkh, John Hay<jhay@mikom.csir.co.za>
1995-11-12 08:13:23 +00:00
gibbs
6c453c40e2 Bump SHLIB_MINOR for krb_get_local_addr() and krb_bind_local_addr() 1995-10-06 17:37:54 +00:00
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
gibbs
ba56b5eab2 Fix printf formatting error %ls -> %s. 1995-09-16 23:11:25 +00:00
gibbs
2844f37986 Bring back the multi-homed server fixes from revision 1.6. They got
klobered when the formating changes were "undone".
1995-09-14 20:58:35 +00:00
gibbs
f0975436e0 Bmake fixes for the eBones tree. 1995-09-14 04:06:18 +00:00
markm
a0abe974dc After the Great eBones Repository Copy (tm), make ebones actually
compile
1) remove rubbish no longer needed
2) correct existing Makefiles
3) add new makefiles where needed
4) correct code, header files and man pages where necessary

PLEASE NOTE - after this you will need to make install in eBones/include,
and mamake obj depend all install in eBones/lib before doing a
make obj depend all install in eBones/. (I am going 6to fix src/Makefile
next)
PS - I hate slow international links - apologies for all the typos
1995-09-13 17:24:36 +00:00
markm
2539acf77b Major cleanup of eBones code:
- Get all functions prototyped or at least defined before use.
- Make code compile (Mostly) clean with -Wall set
- Start to reduce the degree to which DES aka libdes is built in.
- get all functions to the same uniform standard of definition:
int
foo(a, b)
int a;
int *b;
{
   :
}
- fix numerous bugs exposed by above processes.

Note - this replaces the previous work which used an unpopular function
 definition style.
1995-09-07 21:39:00 +00:00
gibbs
1ca77c224f Save and check against all address of kerberos servers. This completes
the fixes for multi-homed kerberos servers.  We're still debating on how
we want to fix the client side.

Reviewed by: Garrett Wollman <wollman>, Mark Murray <markm>
Obtained from: Dieter Dworkin Muller <dworkin@village.org> (small changes by me)
1995-09-06 03:47:14 +00:00
markm
a83b802bad Start the eBones cleanup ball rolling.
These are the start of a lot of work to clean up the FreeBSD eBones code.
these changes include, but are not limited to:
- Create prototypes for all the library routines
- Make all the libraries compile clean with -Wall set
- Fix numerous small bugs shown up in the above process
- Prepare the code for libdes's removal to secure/
- add register, registerd and make_keypair to the make
Lots more will follow in days to come.

OK'ed by: rgrimes
1995-08-25 22:52:32 +00:00
rgrimes
a14d555c87 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
jkh
3e142d3ad3 Various documentation changes.
Submitted by:	Mark Murray <mark@grondar.za>
1995-02-08 10:54:30 +00:00
gibbs
98c3cd0728 Less expensive fix for the freeing of uninitialized fields in the hostdata
struct.  Simply test the "no_host" variable, which if true implies that
the hostdata contains bogus data, and act accordingly.
1995-01-25 06:37:33 +00:00
gibbs
a7eba01d13 bzero hostdata in send_to_kdc so that if we immediately jump to the
cleanup routine, we don't look at bogus data to determine wheter or not
to free the fields of the hostdata struct.  This cures the "klogin segfaults
when no kerberos servers are availible" problem.
1995-01-25 05:40:00 +00:00
wollman
b907b7bf50 Don't break existing users of libkrb.so.2.0 who aren't using libcom_err. 1995-01-20 01:44:47 +00:00
wollman
1817f78d2f A more correct fix for the new compile_et. Also, add beforeinstall
rule to ensure that krb_err.h gets installed (some other programs need
it).
1995-01-20 01:12:19 +00:00
wollman
589544ea3b Remove obsolete `-n' flag from compile_et command line. 1995-01-14 22:32:48 +00:00
wollman
e3a72f4e75 Reflect the fact that compile_et is now a `system' utility. 1995-01-14 20:51:05 +00:00
csgr
105186eeee Initial import of eBones.
(Including all changes for FreeBSD - importing the original eBones distribution
would be too complex at this stage, since I don't have access to Piero's 
CVS.)
(If you want to include eBones in your system, don't forget to include
MAKE_EBONES in /etc/make.conf.)
(This stuff is now also suppable from braae.ru.ac.za.)

Bones originally from MIT SIPB.
Original port to FreeBSD 1.x  by Piero Serini.
Moved to FreeBSD 2.0 by Doug Rabson and Geoff Rehmet.
Nice bug fixes from Doug Rabson.
1994-09-30 14:50:09 +00:00
rgrimes
2bb6688eb2 BSD 4.4 Lite KerberosIV Sources 1994-05-27 05:12:12 +00:00