1
2RPCBIND(8) BSD System Manager's Manual RPCBIND(8)
3
5 rpcbind — universal addresses to RPC program number mapper
6
8 rpcbind [-adhiLls]
9
11 The rpcbind utility is a server that converts RPC program numbers into
12 universal addresses. It must be running on the host to be able to make
13 RPC calls on a server on that machine.
14
15 When an RPC service is started, it tells rpcbind the address at which it
16 is listening, and the RPC program numbers it is prepared to serve. When
17 a client wishes to make an RPC call to a given program number, it first
18 contacts rpcbind on the server machine to determine the address where RPC
19 requests should be sent.
20
21 The rpcbind utility should be started before any other RPC service. Nor‐
22 mally, standard RPC servers are started by port monitors, so rpcbind must
23 be started before port monitors are invoked.
24
25 When rpcbind is started, it checks that certain name-to-address transla‐
26 tion-calls function correctly. If they fail, the network configuration
27 databases may be corrupt. Since RPC services cannot function correctly
28 in this situation, rpcbind reports the condition and terminates.
29
30 The rpcbind utility can only be started by the super-user.
31
33 -a When debugging (-d), do an abort on errors.
34
35 -d Run in debug mode. In this mode, rpcbind will log additional
36 information during operation, and will abort on certain errors if
37 -a is also specified. With this option, the name-to-address
38 translation consistency checks are shown in detail.
39
40 -f Do not fork and become a background process.
41
42 -h Specify specific IP addresses to bind to for UDP requests. This
43 option may be specified multiple times and is typically necessary
44 when running on a multi-homed host. If no -h option is speci‐
45 fied, rpcbind will bind to INADDR_ANY, which could lead to prob‐
46 lems on a multi-homed host due to rpcbind returning a UDP packet
47 from a different IP address than it was sent to. Note that when
48 specifying IP addresses with -h, rpcbind will automatically add
49 127.0.0.1 and if IPv6 is enabled, ::1 to the list.
50
51 -i “Insecure” mode. Allow calls to SET and UNSET from any host.
52 Normally rpcbind accepts these requests only from the loopback
53 interface for security reasons. This change is necessary for
54 programs that were compiled with earlier versions of the rpc
55 library and do not make those requests using the loopback inter‐
56 face.
57
58 -l Turn on libwrap connection logging.
59
60 -s Cause rpcbind to change to the user daemon as soon as possible.
61 This causes rpcbind to use non-privileged ports for outgoing con‐
62 nections, preventing non-privileged clients from using rpcbind to
63 connect to services from a privileged port.
64
65 -w Cause rpcbind to do a "warm start" by read a state file when
66 rpcbind starts up. The state file is created when rpcbind termi‐
67 nates.
68
70 All RPC servers must be restarted if rpcbind is restarted.
71
73 rpcinfo(8)
74
76BSD September 14, 1992 BSD