summaryrefslogtreecommitdiffstats
path: root/usr.sbin/keyserv/keyserv.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup of userland __P usekevlo2007-11-071-7/+7
|
* Use arc4random() instead of random() when generating the master key.kris2003-02-181-2/+3
| | | | MFC after: 1 week
* Use sranddev()/srandomdev() for FreeBSDache2003-02-111-2/+10
|
* Port to TI/RPC and/or IPV6.alfred2002-07-151-3/+3
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* 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
* Nuke unused variables.dd2001-06-241-2/+0
|
* Hopefully fix some of the bugs in passing credentials over UNIX ↵alfred2001-03-221-1/+1
| | | | | | | | | | | | 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.
* 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
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Use err(3). Put includes in alphabetical order.charnier1997-09-231-65/+40
| | | | | Rewrote man page in mdoc format. Document -v and -p flags.
* This commit was generated by cvs2svn to compensate for changes in r26234,wpaul1997-05-281-0/+828
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud