man-pages/man8/rpcbind.8.html
2021-03-31 01:06:50 +01:00

310 lines
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of RPCBIND</TITLE>
</HEAD><BODY>
<H1>RPCBIND</H1>
Section: Maintenance Commands (8)<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<BR>BSD mandoc<BR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
<B>rpcbind</B>
- universal addresses to RPC program number mapper
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B></B>
[-<B>adhiLlsr</B>
]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<B></B>
utility is a server that converts
<B>RPC</B>
program numbers into
universal addresses.
It must be running on the host to be able to make
<B>RPC</B>
calls
on a server on that machine.
<P>
When an
<B>RPC</B>
service is started,
it tells
<B></B>
the address at which it is listening,
and the
<B>RPC</B>
program numbers it is prepared to serve.
When a client wishes to make an
<B>RPC</B>
call to a given program number,
it first contacts
<B></B>
on the server machine to determine
the address where
<B>RPC</B>
requests should be sent.
<P>
The
<B></B>
utility should be started before any other RPC service.
Normally, standard
<B>RPC</B>
servers are started by port monitors, so
<B></B>
must be started before port monitors are invoked.
<P>
When
<B></B>
is started, it checks that certain name-to-address
translation-calls function correctly.
If they fail, the network configuration databases may be corrupt.
Since
<B>RPC</B>
services cannot function correctly in this situation,
<B></B>
reports the condition and terminates.
<P>
The
<B></B>
utility can only be started by the super-user.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<P>
<DT id="1"><B>-a</B>
<DD>
When debugging
(-<B>d</B>
)
do an abort on errors.
<DT id="2"><B>-d</B>
<DD>
Run in debug mode.
In this mode,
<B></B>
will log additional information during operation,
and will abort on certain errors if
-<B>a</B>
is also specified.
With this option, the name-to-address translation consistency
checks are shown in detail.
<DT id="3"><B>-f</B>
<DD>
Do not fork and become a background process.
<DT id="4"><B>-h</B>
<DD>
Specify specific IP addresses to bind to for UDP requests.
This option
may be specified multiple times and is typically necessary when running
on a multi-homed host.
If no
-<B>h</B>
option is specified,
<B></B>
will bind to
<B>INADDR_ANY</B>
which could lead to problems on a multi-homed host due to
<B></B>
returning a UDP packet from a different IP address than it was
sent to.
Note that when specifying IP addresses with
-<B>h</B>
<B></B>
will automatically add
<B>127.0.0.1</B>
and if IPv6 is enabled,
<B>::1</B>
to the list.
<DT id="5"><B>-i</B>
<DD>
``Insecure''
mode.
Allow calls to SET and UNSET from any host.
Normally
<B></B>
accepts these requests only from the loopback interface for security reasons.
This change is necessary for programs that were compiled with earlier
versions of the rpc library and do not make those requests using the
loopback interface.
<DT id="6"><B>-l</B>
<DD>
Turn on libwrap connection logging.
<DT id="7"><B>-s</B>
<DD>
Cause
<B></B>
to change to the user daemon as soon as possible.
This causes
<B></B>
to use non-privileged ports for outgoing connections, preventing non-privileged
clients from using
<B></B>
to connect to services from a privileged port.
<DT id="8"><B>-w</B>
<DD>
Cause
<B></B>
to do a &quot;warm start&quot; by read a state file when
<B></B>
starts up. The state file is created when
<B></B>
terminates.
<DT id="9"><B>-r</B>
<DD>
Turn on remote calls. Cause
<B></B>
to open up random listening ports. Note that rpcinfo need this feature turned on
for work properly.
</DL>
<P>
<A NAME="lbAF">&nbsp;</A>
<H2>FILES</H2>
If &quot;/etc/default/rpcbind&quot; exists, rpcbind will use the specified options at launch time
<B></B>
Otherwise rpcbind will try to load configuration from &quot;/etc/rppcbind.conf&quot;
<B></B>
The default options are set as &quot;-w -f&quot;.
<A NAME="lbAG">&nbsp;</A>
<H2>NOTES</H2>
All RPC servers must be restarted if
<B></B>
is restarted.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?8+rpcinfo">rpcinfo</A>(8)
<A NAME="lbAI">&nbsp;</A>
<H2>LINUX PORT</H2>
Aurelien Charbon &lt;<A HREF="mailto:aurelien.charbon@bull.net">aurelien.charbon@bull.net</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="14"><A HREF="#lbAF">FILES</A><DD>
<DT id="15"><A HREF="#lbAG">NOTES</A><DD>
<DT id="16"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="17"><A HREF="#lbAI">LINUX PORT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:15 GMT, March 31, 2021
</BODY>
</HTML>