From owner-freebsd-bugs Tue Jul 9 8:55:45 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2DD237B400; Tue, 9 Jul 2002 08:55:40 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4F9543E58; Tue, 9 Jul 2002 08:52:15 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.11.6/8.11.6) with ESMTP id g69FoEj79265; Tue, 9 Jul 2002 17:50:14 +0200 (CEST) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g69FoD9014751697; Tue, 9 Jul 2002 17:50:14 +0200 (MES) Date: Tue, 9 Jul 2002 17:52:15 +0200 (CEST) From: Martin Blapp To: Doug Barton Cc: , Subject: Re: bin/39674: the new rpcbind lacks the -h IPAddrs feature of the portmap d. In-Reply-To: <20020708200029.U41780-100000@levais.imp.ch> Message-ID: <20020709174617.A41780-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Ok, I have fixed the bugs and finished it. I tested the functionality and it seems to work with both IPv4 and IPv6 (and both mixed). 100000 4 tcp 0.0.0.0.0.111 portmapper superuser 100000 3 tcp 0.0.0.0.0.111 portmapper superuser 100000 2 tcp 0.0.0.0.0.111 portmapper superuser 100000 4 udp 192.168.0.1.0.111 portmapper superuser 100000 3 udp 192.168.0.1.0.111 portmapper superuser 100000 2 udp 192.168.0.1.0.111 portmapper superuser http://people.freebsd.org/~mbr/patches/rpcbind.diff You can specify several -h arguments like: rpcbind -h 212.34.23.45 -h 192.168.0.1 I'm not sure if Matt's hack for STABLE was correct, since he never registered the fd's with srvreg(). Only the last address will be registered. Maybe this is just a graphical issue, nothing else. rpcinfo will only contain one entry per protocol. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message