summaryrefslogtreecommitdiffstats
path: root/usr.sbin/keyserv
Commit message (Collapse)AuthorAgeFilesLines
* Use libcrypto.so.2 instead of .1, since we have it now. It should enablejmallett2002-07-091-3/+3
| | | | | | | | DES for keyserv again. Submitted by: mbr Kill a stray __P while I'm here.
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-24/+24
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Readded the svc_create() and the registering of the local transport,alfred2002-02-061-1/+35
| | | | | | | | | | | | | | | now it is fixed. This should get us a working keyserv again, since it depends on local transport for key exchange. Since we do not have any KEYFILE name hardcoded anymore, set the umask that way that the keyserver socket can be created with with the appropriate permissions. Re-add the accidently removed signal(SIGPIPE, SIG_IGN); to the code which makes sense to avoid SIGPIPE when a disconnect on rpc socket occurs. Submitted by: mbr
* Fixed bitrot in DPADD in previous commit.bde2001-07-301-1/+1
|
* Enable the new libmp in the build, and disable libgmp and itsdd2001-07-291-1/+1
| | | | henchmen.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-2/+1
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-5/+5
|
* Nuke unused variables.dd2001-06-242-6/+0
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+2
| | | | - MAN[1-9] -> MAN.
* Hopefully fix some of the bugs in passing credentials over UNIX ↵alfred2001-03-224-80/+5
| | | | | | | | | | | | domain sockets. Make struct cmessage visible from socket.h (about 4 places were defining it for themselves which wasn't good) Make __rpc_get_local_uid() useable and give it prototype that's visible. Fix some issues with printing out usernames from rpcbind and keyserv.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Use libcrypto instead of libdes.markm2000-02-241-6/+6
|
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Remove irrelevant section.jkoshy1998-10-131-2/+0
| | | | | PR: 8286 Submitted-by: yohta@bres.tsukuba.ac.jp
* Apply patch from Stefan Esser to close PR #7941: add code to handlewpaul1998-09-162-2/+17
| | | | | dynamic loading of libdes on ELF systems. The patch looks correct to me.
* Fixed the usual dependency bugs. This Makefile accidentally usuallybde1998-05-091-3/+3
| | | | worked for `make -j9', but failed for `make -j4'.
* Fixed DPADD.bde1997-12-161-2/+3
|
* Use err(3). Put includes in alphabetical order.charnier1997-09-235-132/+113
| | | | | Rewrote man page in mdoc format. Document -v and -p flags.
* Correct the section number in the cross-reference for the publickeyjdp1997-06-171-1/+1
| | | | file.
* Work around a bug (deficiency?) in the libdes Secure RPC compat interface.wpaul1997-06-171-24/+58
| | | | | | | | | | | | | | | | | | | | | | | | The way Secure RPC is set up, the ecb_crypt() routine is expected to be able to encrypt a buffer of any size up to 8192 bytes. However, the des_ecb_encrypt() routine in libdes only encrypts 8 bytes (64 bits) at a time. The rpc_enc.c module should compensate for this by calling des_ecb_encrypt() repeatedly until it has encrypted the entire supplied buffer, but it does not do this. As a workaround, keyserv now handles this itself: if we're using DES encryption, and the caller requested ECB mode, keyserv will do the right thing. Also changed all references to 'rc4' into 'arcfour' just in case some litigious bastard from RSA is watching. Note that I discovered and fixed this problem while trying to get a part of NIS+ working: rpc.nisd signs directory objects with a 16-byte MD5 digest that is encrypted with ecb_crypt(). Previously, only the first 8 bytes of the digest were being properly encrypted, which caused the Sun nis_cachemgr to reject the signatures as invalid. I failed to notice this before since Secure RPC usually never has to encrypt more than 8 bytes of data during normal operations.
* This commit was generated by cvs2svn to compensate for changes in r26234,wpaul1997-05-287-0/+1833
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud