News for hackers. Stuff that matters.
Re:The Unix-Haters Handbook [pdf] by chungy on Monday April 22, 2024 @04:37AM (#40112453)
Everything you listed was fixed in NFSv4. Don't use the ancient versions of NFS.
Re:The Unix-Haters Handbook [pdf] by yrro on Monday April 22, 2024 @04:47AM (#40112514)
We're not there with authentication yet (although I've no problem with Kerberos myself).
Re:The Unix-Haters Handbook [pdf] by kiney on Monday April 22, 2024 @05:14AM (#40112627)
easist way nowadays to get secure NFS is to just set up a wireguard tunnel
Re:The Unix-Haters Handbook [pdf] by yrro on Monday April 22, 2024 @05:32AM (#40112697)
No because you still have to trust the client.

With Kerberos a hacked client where user 1 has authenticated can't impersonate user 2 unless that user has also authenticated on the client.

With sec=sys the client is simply trusted without any per-user authentication.

Re:The Unix-Haters Handbook [pdf] by kiney on Wednesday April 24, 2024 @06:59AM (#40142875)
in most cases you can just use more fine-grained exports. e.g. export /home/user1 to 10.0.0.1 and /home/user2 to 10.0.0.2 instead of /home to 10.0.0.0/24 etc.
Re:The Unix-Haters Handbook [pdf] by gnufx on Monday April 22, 2024 @10:30AM (#40114743)
How are we not there? The only real issue I know is allegedly requiring host keys for gssd (e.g. "joining the domain"), but rpc.gssd(8) documents "anyname" principals.
Re:The Unix-Haters Handbook [pdf] by yrro on Monday April 22, 2024 @01:26PM (#40116588)
The only per-user authentication option is Kerberos. Username/password based authentication is not possible.
Re:The Unix-Haters Handbook [pdf] by gnufx on Tuesday April 23, 2024 @04:46PM (#40137055)
That seems like a feature; mounting SMB is done on a local system on the basis of password, and it's horrible. (I assume you could, in principle, use some other GSSAPI mechanism.)
Re:The Unix-Haters Handbook [pdf] by lubutu on Monday April 22, 2024 @11:26AM (#40115284)
There has been recent work on RPC-with-TLS (RFC 9289), xprtsec=mtls.
Re:The Unix-Haters Handbook [pdf] by yrro on Tuesday April 23, 2024 @08:19AM (#40131080)
AIUI this is still not user level authentication. It rather secures the communication between hosts, but you still have to choose between sec=sys ("trust me bro") or sec=krb5* at the upper layer.