tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Limiting rpc.lockd to IPv4 only
On Sun, 12 Aug 2012, Christos Zoulas wrote:
On Aug 12, 8:35am, paul%whooppee.com@localhost (Paul Goyette) wrote:
-- Subject: Re: Limiting rpc.lockd to IPv4 only
| Yes, but today, nfsd doesn't even have a -4 option!
http://www.netbsd.org/~christos/nfsd.c
http://www.netbsd.org/~christos/nfsd.8
And 150 lines shorter, since the code is not duplicated anymore.
A couple items:
1. This is a change to current behavior, which is to listen for IPv4
only.
2. Should it not be set up so that specifying both -4 and -6 does the
expected thing? (IE, acts like the default).
3. You should also change nfsd_flags in /etc/defaults/rc.conf to
nfsd_flags="-46tun 4" (if you accept comment #2)
or nfsd_flags="-tun 4" (if you do not accept #2)
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index