portmap IP conflict

Vincent Blondel vincent at xtra-net.org
Mon Dec 5 11:57:32 PST 2005


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



More information about the freebsd-stable mailing list