Date: Tue, 9 Jul 2002 17:52:15 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: Doug Barton <dougb@FreeBSD.org> Cc: <freebsd-bugs@FreeBSD.org>, <freebsd-current@FreeBSD.org> Subject: Re: bin/39674: the new rpcbind lacks the -h IPAddrs feature of the portmap d. Message-ID: <20020709174617.A41780-100000@levais.imp.ch> In-Reply-To: <20020708200029.U41780-100000@levais.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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, <mb@imp.ch> <mbr@FreeBSD.org> ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: <finger -l mbr@freebsd.org> PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020709174617.A41780-100000>