Date: Wed, 31 Oct 2007 06:13:29 GMT From: Carlos Eduardo Monti <slaytanic@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/117711: rpcbind binds to all interfaces on random ports even when using the -h flag Message-ID: <200710310613.l9V6DTXu018012@www.freebsd.org> Resent-Message-ID: <200710310620.l9V6K3Dl014181@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117711 >Category: misc >Synopsis: rpcbind binds to all interfaces on random ports even when using the -h flag >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 31 06:20:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Carlos Eduardo Monti >Release: FreeBSD 6.3-PRERELEASE >Organization: gfx & stuff >Environment: FreeBSD overnight.wicked.homeunix.net 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #2: Sun Oct 28 01:47:10 ART 2007 root@overnight.wicked.homeunix.net:/usr/obj/usr/src/sys/OVERNIGHT i386 >Description: rpcbind opens two sockets on all interfaces on random ports when specified the -h flag, one socket for udp4 and one for udp6. >How-To-Repeat: overnight# sockstat | grep rpcbind overnight# rpcbind -h 192.168.0.3 overnight# sockstat | grep rpcbind root rpcbind 2696 4 udp6 *:* *:* root rpcbind 2696 5 stream /var/run/rpcbind.sock root rpcbind 2696 6 udp6 ::1:111 *:* root rpcbind 2696 7 udp6 *:* *:* root rpcbind 2696 8 udp6 *:617 *:* root rpcbind 2696 9 tcp6 ::1:111 *:* root rpcbind 2696 10 tcp6 *:* *:* root rpcbind 2696 11 udp4 127.0.0.1:111 *:* root rpcbind 2696 12 udp4 192.168.0.3:111 *:* root rpcbind 2696 13 udp4 *:944 *:* root rpcbind 2696 14 tcp4 127.0.0.1:111 *:* root rpcbind 2696 15 tcp4 192.168.0.3:111 *:* overnight# killall rpcbind overnight# rpcbind -h 192.168.0.3 overnight# sockstat | grep rpcbind root rpcbind 2701 4 udp6 *:* *:* root rpcbind 2701 5 stream /var/run/rpcbind.sock root rpcbind 2701 6 udp6 ::1:111 *:* root rpcbind 2701 7 udp6 *:* *:* root rpcbind 2701 8 udp6 *:943 *:* root rpcbind 2701 9 tcp6 ::1:111 *:* root rpcbind 2701 10 tcp6 *:* *:* root rpcbind 2701 11 udp4 127.0.0.1:111 *:* root rpcbind 2701 12 udp4 192.168.0.3:111 *:* root rpcbind 2701 13 udp4 *:804 *:* root rpcbind 2701 14 tcp4 127.0.0.1:111 *:* root rpcbind 2701 15 tcp4 192.168.0.3:111 *:* >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710310613.l9V6DTXu018012>