Dear community,

I have a problem with my openbsd nfsd server. My client (ubuntu) after a while,
sent a packet with flag F which to do not receive a correct response to close
the connection or something like that because it get stuck with FIN_WAIT_2
states. Here is the packet sent by client to server :

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)

Then the traffic consists in these lines (indefinitely):

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>

...

Inspecting the states of the connection I have, on the client :

client$ netstat -an | grep 2049
tcp        0      0 192.168.100.2:998       192.168.100.1:2049      FIN_WAIT2 

and on the server

server$ doas pfctl -s states | grep 2049 
all tcp 192.168.100.1:2049 <- 192.168.100.2:998       ESTABLISHED:FIN_WAIT_2

Somebody has an hint to solve this problem ?

Thanks for your help.
Airwan.

Reply via email to