bin/84494: rpcbind TCP cannot be told to bind to a specific IP

Richard Bejtlich taosecurity at
Tue Aug 2 20:40:10 GMT 2005

>Number:         84494
>Category:       bin
>Synopsis:       rpcbind TCP cannot be told to bind to a specific IP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 02 20:40:08 GMT 2005
>Originator:     Richard Bejtlich
>Release:        5.4
FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Wed Jun 22 15:28:12 EDT 2005     root at  i386
One cannot tell rpcbind(8) to listen on a specific IP address for TCP requests.  This functionality only exists for UDP requests, per the man page:

     -h      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.

grep rpcbind /etc/rc.conf

/etc/rc.d/rpcbind start
Starting rpcbind.

sockstat -4 | grep rpcbind
root     rpcbind    82389 10 udp4         *:*
root     rpcbind    82389 11 udp4       *:*
root     rpcbind    82389 12 udp4   *:1010                *:*
root     rpcbind    82389 13 tcp4   *:111                 *:*
Please modify rpcbind(8) so it can bind to a specific IP for TCP and UDP requests.  The alternative, using a firewall to limit access, seems excessive!  Thank you.

More information about the freebsd-bugs mailing list