Date: Wed, 9 Feb 2005 23:13:29 +0900 (JST) From: Tod McQuillin <devin@spamcop.net> To: Pete French <petefrench@ticketswitch.com> Cc: freebsd-stable@freebsd.org Subject: Re: Bug in nfsd, or did I just read the manpage wrong ? Message-ID: <20050209231126.D64632@plexi.pun-pun.prv> In-Reply-To: <E1Cypvz-000JVW-Vf@dilbert.firstcallgroup.co.uk> References: <E1Cypvz-000JVW-Vf@dilbert.firstcallgroup.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-93896565-1107958409=:64632 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 9 Feb 2005, Pete French wrote: > I have a machine with three interfaces on it, two onto > internal networks, one ointo the outside world. I only want > NFS to be accessible on the two internal interfaces so I have this line > in my /etc/rc.conf: > > nfs_server_flags="-u -t -n 4 -h 192.168.3.1 -h 192.168.4.1" > > That works - but it ony enables TCP on the second interface, the > first is UDP only. I have tried all sorts of combinations and > positioning for the -t flag, but the end result is the same. UDP > on both, TCP only on 192.168.4.1. > > Hmmmm... anybody got any ideas ? Puzzling the hell out of me! Try the patch in http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/25826 That worked for me. I've also attached the patch to this email. -- tod McQuillin --0-93896565-1107958409=:64632 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=nfsd.patch Content-Transfer-Encoding: BASE64 Content-ID: <20050209231329.V64632@plexi.pun-pun.prv> Content-Description: Content-Disposition: attachment; filename=nfsd.patch SW5kZXg6IG5mc2QuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZp bGU6IC91c3Ivc3JjL2N2cy1yZXBvL3NyYy9zYmluL25mc2QvQXR0aWMvbmZz ZC5jLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS4xNS4yLjINCmRpZmYgLXUg LXIxLjE1LjIuMiBuZnNkLmMNCi0tLSBuZnNkLmMJMzAgTWFyIDIwMDQgMjA6 MjU6MzMgLTAwMDAJMS4xNS4yLjINCisrKyBuZnNkLmMJMTAgTWF5IDIwMDQg MTI6NDA6NDEgLTAwMDANCkBAIC01OTMsNyArNTkzLDggQEANCiAJCQkJZXhp dCgxKTsNCiAJCQl9DQogCQl9DQotCQlpZiAodGNwZmxhZyAmJiBGRF9JU1NF VCh0Y3Bzb2NrLCAmcmVhZHkpKSB7DQorCQlmb3IgKHRjcHNvY2sgPSAwOyB0 Y3Bzb2NrIDw9IG1heHNvY2s7IHRjcHNvY2srKykgew0KKwkJICAgIGlmICh0 Y3BmbGFnICYmIEZEX0lTU0VUKHRjcHNvY2ssICZyZWFkeSkpIHsNCiAJCQls ZW4gPSBzaXplb2YoaW5ldHBlZXIpOw0KIAkJCWlmICgobXNnc29jayA9IGFj Y2VwdCh0Y3Bzb2NrLA0KIAkJCSAgICAoc3RydWN0IHNvY2thZGRyICopJmlu ZXRwZWVyLCAmbGVuKSkgPCAwKSB7DQpAQCAtNjEzLDYgKzYxNCw3IEBADQog CQkJbmZzZGFyZ3MubmFtZWxlbiA9IHNpemVvZihpbmV0cGVlcik7DQogCQkJ bmZzc3ZjKE5GU1NWQ19BRERTT0NLLCAmbmZzZGFyZ3MpOw0KIAkJCSh2b2lk KWNsb3NlKG1zZ3NvY2spOw0KKwkJICAgIH0NCiAJCX0NCiAjaWZkZWYgbm90 eWV0DQogCQlpZiAodHA0ZmxhZyAmJiBGRF9JU1NFVCh0cDRzb2NrLCAmcmVh ZHkpKSB7DQo= --0-93896565-1107958409=:64632--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050209231126.D64632>