Re: IPV6 localhost (::1) in /etc/exports?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 3, 2024 at 1:16 PM Mark Liam Brown <brownmarkliam@xxxxxxxxx> wrote:
>
> Greetings!
>
> How can I add IPV6 localhost to /etc/export, to access a nfs4 share
> via ssh? I tried, but in wireshark I get this error:
>     1 0.000000000          ::1 → ::1          NFS 278 V4 Call lookup
> LOOKUP test14
>    2 0.000076041          ::1 → ::1          NFS 214 V4 Reply (Call In
> 1) lookup PUTROOTFH | GETATTR Status: NFS4ERR_PERM
>
> for this entry in /etc/exports:
> /test14 ::1/64(rw,async,insecure,no_subtree_check,no_root_squash)
>
> The same mount attempt works if I replace the entry in /etc/exports with this:
> /test14 *(rw,async,insecure,no_subtree_check,no_root_squash)

So far "::1/128", "::1/64", "::1" do not work, which makes me wonder
if there is a BUG in nfsd which prevents the use of ::1 at all.

Also, our IT department made it clear that the "total
underdocumenation" of IPv6 in exports(5) is "literally worth a CVE",
as many people use IPv6 masks which make exports world-wide
accessible.

Mark
-- 
IT Infrastructure Consultant
Windows, Linux





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux