I have an openbsd server sharing directories through NFS protocol. After I installed a new version of ubuntu on the client, I still mount NFS directories however after a (random) time: nautilus, ls command, and so on, froze completely. I cannot access my filesystem until I unmount the NFS directory.
I look for information but nothing help me.
My server run pf (without scrub), I use NFSv3 on both side, rpcinfo and so on works fine. For information my network communicate via wireguard.
Somebody could give me an indication on what or where to look for?
Thanks.
UPDATE
I think I identified the problem. At some point, client send a packet with flag F to server (tcpdump results) :
12:16:45.022393 192.168.100.2.998 > 192.168.100.1.2049: F 141:141(0) ack 117 win 1284 <nop,nop,timestamp 3929122361 2338823414> (DF)
and get stuck because the following packets are :
12:16:45.022470 192.168.100.1.2049 > 192.168.100.2.998: . ack 142 win 1030 <nop,nop,timestamp 2338823422 3929122361>
12:17:45.187125 192.168.100.2.998 > 192.168.100.1.2049: . ack 117 win 1284 <nop,nop,timestamp 3929182521 2338823422> (DF)
12:17:45.187153 192.168.100.1.2049 > 192.168.100.2.998: . ack 142 win 1030 <nop,nop,timestamp 2338823542 3929182521>
12:18:45.849519 192.168.100.2.998 > 192.168.100.1.2049: . ack 117 win 1284 <nop,nop,timestamp 3929243193 2338823542> (DF)
12:18:45.849548 192.168.100.1.2049 > 192.168.100.2.998: . ack 142 win 1030 <nop,nop,timestamp 2338823664 3929243193>
12:19:47.294335 192.168.100.2.998 > 192.168.100.1.2049: . ack 117 win 1284 <nop,nop,timestamp 3929304637 2338823664> (DF)
12:19:47.294359 192.168.100.1.2049 > 192.168.100.2.998: . ack 142 win 1030 <nop,nop,timestamp 2338823786 3929304637>
such lines appears indefinitely...
In fact the connection stays in FIN_WAIT_2. On client :
client$ netstat -an | grep 2049
tcp 0 0 192.168.100.2:998 192.168.100.1:2049 FIN_WAIT2
and on server :
vps$ doas pfctl -s states | grep 2049
all tcp 192.168.100.1:2049 <- 192.168.100.2:998 ESTABLISHED:FIN_WAIT_2