Commit Graph

64 Commits

Author SHA1 Message Date
Jordan K. Hubbard 18f72dfed8 Remove some bogus malloc family declarations. 1997-07-13 23:45:34 +00:00
Satoshi Asami 0166ec8fe9 Remove bogus ("char *") malloc(), calloc() and realloc().
Found by:	jkh and the new world patch
1997-07-13 21:29:17 +00:00
Andrey A. Chernov d69246f42b Replace random() by arc4random() since random() can't be used
in libraries, it may damage its predictable sequence
1997-06-14 04:05:01 +00:00
Andrey A. Chernov d3eb45042a Remove srandomdev fallback code 1997-06-14 02:29:19 +00:00
Andrey A. Chernov 42a7afc08c Use srandomdev() now 1997-03-24 14:52:51 +00:00
Peter Wemm c0ec1f37ef Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Mark Murray 4d188f4586 First round of moving secure telnet (AKA kerberised telnet) to its new home
in eBones/. Peter has already (ages ago) done the repository copy. These
are mainly -Wall cleanups. The makefile changes will follow in a day or so.
1996-10-26 17:20:52 +00:00
Paul Traina 79b3126fb3 Fix up some compilation warnings. 1996-09-22 00:55:46 +00:00
Peter Wemm 92ad3ce10a Fix my typo here from last commit.
(same bug on both US and internat version)

Submitted by: Juha Inkari <inkari@cc.hut.fi>
1996-09-02 23:49:09 +00:00
Peter Wemm e7d24931fe cmp -s || install -c --> install -C 1996-08-30 04:07:04 +00:00
Mark Murray 6bbf987509 Ensure that each Kerberised applet has CFLAGS containing -DKERBEROS. 1996-07-30 21:16:34 +00:00
Mark Murray f3d1114f33 Some breakeages sneaked in. This fixes them.
(this relates to a name change in a library that was not properly backed
up by the author)
Reported by: too mant :-(
1996-07-30 21:09:48 +00:00
Jordan K. Hubbard cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Mark Murray 7186ff1d02 Fix oder of subdirs so this will rebuild if .depends are blown away. 1996-04-16 06:06:53 +00:00
Mark Murray 6dd8a38202 Big clean-up job. Remove ancient and never-to-be used stuff.
The look much more like BSD Makefiles now.
1996-03-11 16:17:58 +00:00
Mark Murray 7c9dcdde00 Fix typo #ifdef -> .if defined().
Tidy uo this file a bit.
1996-03-11 06:22:50 +00:00
Mark Murray d825f2fad0 Fix typo - -des -> -ldes 1996-03-10 21:15:00 +00:00
Andrey A. Chernov a0e2ca089a Sense MAKE_EBONES, DESTDIR
SRCS cleanup
DPADD cleanup
1996-03-09 13:36:34 +00:00
Mark Murray 9e084cdbbc 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
Andrey A. Chernov 7c2f9a038e Fix typo in bind argument
Submitted by: gibbs
1995-12-24 12:02:34 +00:00
Mark Murray e7ade28530 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
Justin T. Gibbs 9d01cc32c6 Remove MAKE_EBONES conditionals. They were originally placed here because
of missing functionality in our libkrb which is no longer a problem.
1995-10-11 00:04:09 +00:00
Justin T. Gibbs 24d6908188 Bump SHLIB_MINOR for krb_get_local_addr() and krb_bind_local_addr() 1995-10-06 17:37:54 +00:00
Justin T. Gibbs f4390542d7 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
Justin T. Gibbs 69c1a301a3 Remove duplicate rkinit_err.c entry in the SRCS line. 1995-09-24 02:33:42 +00:00
Justin T. Gibbs adad30bca2 Fix printf formatting error %ls -> %s. 1995-09-16 23:11:25 +00:00
Justin T. Gibbs 1d36423686 Fix this file for the last time. My last diff was screwed up. 1995-09-15 06:20:23 +00:00
Justin T. Gibbs 95081b095a Integrate librkinit into the build. 1995-09-15 06:19:31 +00:00
Justin T. Gibbs b00d18e592 MIT's librkinit. Part of the rkinit suite. Rkinit allows you to forward
tickets to other kerberos hosts safely in one easy step.
1995-09-15 06:09:30 +00:00
Justin T. Gibbs 9d6965ac06 Enable kerberosIV authentication/encryption conditionalized on MAKE_EBONES.
Fix up some of the des calls to be compatible with eBones.
1995-09-14 21:29:08 +00:00
Justin T. Gibbs 794087e9b8 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
Justin T. Gibbs a7c8d68774 Forgot to bring this patch over. 1995-09-14 19:52:28 +00:00
Justin T. Gibbs a032b44df6 Fix a few problems with the depend target.
Pointed out by: Mark Murray <markm>
1995-09-14 18:16:18 +00:00
Justin T. Gibbs a7c207ecf4 Bmake fixes for the eBones tree. 1995-09-14 04:06:18 +00:00
Mark Murray c103e9bd14 added Makefile.inc in the necessary places.
Pointed out by: Garrett Wollman
Obtained from: equivalent directoies rooted in src/
1995-09-13 17:47:41 +00:00
Mark Murray 02c78a9c21 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
Mark Murray d79d4a7ced 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
Justin T. Gibbs 233cd1e776 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
Mark Murray b1ebdd50cb 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
Andrey A. Chernov 0a06628ab2 Comment out LDADD+=-ldescrypt, it is not yet active due to
missng defines for krb4encpwd and rsaencpwd and missing rsa library too.
1995-08-05 19:10:25 +00:00
Paul Traina 278022fad4 Make the DB/DBM routines generic (ifdef FreeBSD considered evil), and
also fix a string allocation bug.

Submitted by: Havard Eidnes
1995-08-02 23:08:18 +00:00
Andrey A. Chernov 9ed77b336f Final cleanup pass through Makefiles, now this stuff
autodetect kerberos/eBones and work even with eBones,
but with reduced functionality (don't pick up des/krb stuff
in this case)
1995-07-24 22:55:59 +00:00
Andrey A. Chernov 6b370f4c7e Add LDADD+= -ldescrypt
Reviewed by:
Submitted by:
Obtained from:
1995-07-24 21:57:58 +00:00
Andrey A. Chernov b6c080f6bc Move -ldes under kerb stuff, my fault
Reviewed by:
Submitted by:
Obtained from:
1995-07-24 21:49:06 +00:00
Andrey A. Chernov 3b901a0b79 Since this stuff not works with eBones, ifdef kerberos stuff
with MAKE_KERBEROS to allow other things to live
Submitted by:
Obtained from:
1995-07-24 21:38:32 +00:00
Andrey A. Chernov 7170827e21 Add comment about new_rbd_key.c module needed from
original libdes
1995-07-24 21:10:47 +00:00
Andrey A. Chernov bfdd0041fc Fix many bogus things, typing error, dependance errors, etc.,
now it compiles.
Note: this stuff requires original libdes, not libdes from
Eric Yang which we have in eBones.
1995-07-24 20:29:12 +00:00
Paul Traina 9809ff32f6 Update telnet to the 95.05.31 release.
Obtained from:	Dave Borman <dab@cray.com>
1995-07-20 11:40:06 +00:00
Rodney W. Grimes 7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00