Hi Sagar,
On Fri, 10 Oct 2025 12:27:19 -0000, sagaragarwal1995(a)gmail.com wrote:
I’m trying to configure IPv6 client access in my NFS-Ganesha setup
and was wondering if wildcard or subnet-style entries are supported
in the CLIENT section of the export configuration.
for examle:
CLIENT {
Clients = fd00:*::;
Access_Type = RW;
}
Is this syntax valid for allowing all clients under the fd00 IPv6
range, similar to how IPv4 wildcards like 192.168.*.0 work? Or should
IPv6 subnets only be specified using CIDR notation (e.g., fd00::/64)?
I verified it with vfs, but this was giving "Unexpected
character" error.
The documentation says:
wildcarded If the string contains at least one ? or *
character (and is not simply "*"), the string is
used to pattern match host names. Note that [] may
also be used, but the pattern MUST have at least one
? or *
This means that wildcards (apart from "*" to match all clients) can
only be used when matching hostnames.
If wildcards currently work with IPv4 addresses then that would appear
to be accidental. It may depend on features of libcidr, which has
recently been removed from the the code to simplify things.
Both IPv4 and IPv6 subnets should be specified using CIDR notation.
peace & happiness,
martin