[Bug 254159] [tcp] Keepalive not working/tcp rst tolerance

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 10 13:55:02 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254159

ant2 <ant_mail at inbox.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ant_mail at inbox.ru

--- Comment #2 from ant2 <ant_mail at inbox.ru> ---
Created attachment 223153
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223153&action=edit
pcap from server side

I've made pcap only from server side because I thought that it is enough for
full view.

But it show good behavior except for the probe after connection termination.

This file was dumped during 30 minutes.  Meanwhile the connection is stillalive
on server:

right after killing client:

tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00  870.08    0.00    0.00   15.11

tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00  420.41    0.00    0.00  464.78

tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00   17.44    0.00    0.00   32.55

tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00  849.44    0.00    0.00   50.55

~ 20 minutes ~

tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00   19.77    0.00    0.00  880.22
! timer set to keepintvl
tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00   49.64    0.00    0.00    0.35
! timer set to keepidle
tcp4       0      0 192.168.0.3.3050       192.168.0.2.1316            0      0
     0      0  65700  99116      1   2048      0      0 525600 792928    0.00  
 0.00  849.59    0.00    0.00   50.40
end of file dumping


net.inet.tcp.keepidle: 900000
net.inet.tcp.keepintvl: 50000
net.inet.tcp.keepcnt: 3

I'll make pcap from both sides soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list