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, Mouse wrote:

        -4  Use IPv4 only, whether IPv6 is available or not
        -6  Use both IPv4 and IPv6 if IPv6 is available;  silently
            use IPv4 only if IPv6 is not available (default)

Any objections or comments?

For what it may be worth, this is not what I'd naïvely expect -4 and -6
to mean.  What I'd expect is

-4      Use v4 only, error if unavailable.
-6      Use v6 only, error if unavailable.
neither Use both, silently dropping whatever's unavailable.
both    Use both, error if either unavailable.

Agree, but I was following existing prior art in the way that nfsd uses -4 and -6



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