Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2005 20:57:26 +0100
From:      Vincent Blondel <vincent@xtra-net.org>
To:        freebsd-stable@freebsd.org
Subject:   portmap IP conflict
Message-ID:  <1133812646.1005.23.camel@wbedllfs.xtra-net.be>

next in thread | raw e-mail | index | archive | help
Hello all,

My FreeBSD actually knows an IP conflict due a bug in 'rpcbind' code. It
does well exist an option ( -h <IP Address> ) to bind 'rcpbind' process
to a unique IP address but this actually only works with UDP ( except
for a service running on port 855 but don't know what this service
is ??? ) and not TCP.

vincent@wbedllfs [/home/vincent] # ps -waux |grep rpc
root      15505  0.0  0.1  1452  1144  ??  Is    8:05PM   0:00.01
rpcbind -h 10.66.1.1

vincent@wbedllfs [/home/vincent] # sockstat -l4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN
ADDRESS
root     rpcbind    15505 10 udp4   127.0.0.1:111         *:*
root     rpcbind    15505 11 udp4   10.66.1.1:111         *:*
root     rpcbind    15505 12 udp4   *:855                 *:*
root     rpcbind    15505 13 tcp4   *:111                 *:*

It seems that this problem is known for a long time but didn't find any
patch for it or just an old one for portmap 

  http://memberwebs.com/nielsen/freebsd/jails/patches/portmap-j.html

So is there somebody having such a patch but for rpcbind on FreeBSD
RELENG_5 ?

Regards
Vincent.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1133812646.1005.23.camel>