summaryrefslogtreecommitdiffstats
path: root/usr.sbin/portmap
Commit message (Collapse)AuthorAgeFilesLines
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-1910-1445/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Treat all interface aliases as local addresses.brian2000-08-091-15/+40
| | | | | | | The new rtiparse() function should really be in libc IMHO.... I'm sick of writing this code :-( PR: 20381
* Mention that portmap(8) utilizes hosts_access(5).cwt2000-03-021-1/+8
| | | | Reviewed by: asmodai
* K&Rifybrian2000-01-156-41/+81
|
* As we parse the interface list, ignore sockaddr_dl's thatbrian2000-01-126-103/+108
| | | | | | | | | | | | | | | | don't have an interface index that's the same as the if_msghdr interface index. This prevents the occasional perror("SIOCGIFFLAGS") from appearing at boot time. While I'm there: Make a couple of error messages more useful. Add a missing include. Add some braces to silence gccs dumb complaints. Add some consts Ansify decls Add copyright to pmap_check.h (well, you could say it's been rewritten)
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* 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
* Fixed world breakage in previous commit. -lwrap was in LDFLAGS wherebde1999-03-291-3/+3
| | | | | | it has no effect. Fixed the usual style bugs for DPADD and LDADD.
* Enable tcp_wrapper support by default.markm1999-03-281-2/+4
|
* Ad #include stdlib.h to get the prototype for malloc().jb1998-08-171-1/+2
|
* Don't clobber errno when reaping child processes.tegge1998-04-261-1/+6
|
* Don't assume that a computer can have no more thanbrian1998-01-211-49/+82
| | | | | 256 interfaces (mine doesn't). Instead, find local interface addresses using sysctl().
* Use err(3). Add usage().charnier1997-10-096-42/+86
| | | | | Correct the .Nd string: in real life, portmap is translating rpc prog numbers to darpa ports, not the opposite.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Sort cross references.wosch1997-01-201-2/+2
|
* This is purely a bandaid to lower the risk of running out of slotspeter1997-01-111-1/+1
| | | | | | for the local interfaces. It's not uncommon to have >32 interfaces these days. This is a temporary patch until it's fixed to use sysctl or whatever.
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-3/+6
| | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* Typo.joerg1996-02-051-1/+1
| | | | Submitted by: somebody in Usenet whose name i forgot
* Correct ip protocol in error message, when binding the tcp port.adam1995-10-271-1/+1
|
* Close:jkh1995-08-051-0/+1
| | | | | | | >Number: 656 >Category: docs >Synopsis: -v is not fully documented in portmap.8 Submitted by: Mike Grupenhoff <kashmir@umiacs.umd.edu>
* Remove trailing whitespace.rgrimes1995-05-305-31/+31
|
* Fix conflicts from importpst1994-09-291-0/+5
|
* This commit was generated by cvs2svn to compensate for changes in r3192,pst1994-09-299-4/+620
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Portmap 3.0 from win.tue.nlpst1994-09-2910-7/+625
| |
* | Delete obsolete references to librpc.a.wollman1994-08-081-2/+0
| |
* | Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
|/ | | | (and rename a few in the process).
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-263-0/+659
OpenPOWER on IntegriCloud