310 lines
4.9 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
|
|
|
|
<B>rpcbind</B>
|
|
|
|
- universal addresses to RPC program number mapper
|
|
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B></B>
|
|
|
|
|
|
[-<B>adhiLlsr</B>
|
|
|
|
]
|
|
|
|
<A NAME="lbAD"> </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"> </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 "warm start" 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"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
If "/etc/default/rpcbind" exists, rpcbind will use the specified options at launch time
|
|
<B></B>
|
|
|
|
|
|
Otherwise rpcbind will try to load configuration from "/etc/rppcbind.conf"
|
|
<B></B>
|
|
|
|
|
|
The default options are set as "-w -f".
|
|
<A NAME="lbAG"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
All RPC servers must be restarted if
|
|
<B></B>
|
|
|
|
|
|
is restarted.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?8+rpcinfo">rpcinfo</A>(8)
|
|
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>LINUX PORT</H2>
|
|
|
|
Aurelien Charbon <<A HREF="mailto:aurelien.charbon@bull.net">aurelien.charbon@bull.net</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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>
|