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, Greg Troxel wrote:


Paul Goyette <paul%whooppee.com@localhost> writes:

So, for consistency with nfsd, should we modify lockd to only listen
on IPv4 by default, and require explicit option to listen on IPv6?

This is how nfsd behaves:

     -6      Listen to IPv6 requests as well as IPv4 requests. If IPv6
             support is not available, nfsd will silently continue and
             just use IPv4.

I think that's only that way because nfsd is so old.  In the modern
world, using both v4 and v6 should be the default.  nfsd may be too hard
to change (in terms of user pain imposed relative to gain), but there's
no reason to propagate this choice to programs that don't already have
it.

Well, rpc.lockd is also rather old! This source file hasn't been modified in 10 years!


-------------------------------------------------------------------------
| 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