[Bug 256657] [tcp] RACK unsuitable for connecting to mysql via network socket on stable/13

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Jun 2021 21:53:01 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256657

--- Comment #10 from Marek Zarychta <zarychtam_at_plan-b.pwste.edu.pl> ---
(In reply to Michael Tuexen from comment #9)
>sockstat -sSPtcp
I have tested it on another host with the same issue.
Before switching to net.inet.tcp.functions_default=freebsd and with
net/freeradius3 started when it gets stuck on connecting to the database:

freeradius radiusd  3310  6  tcp4   127.0.4.1:17353       127.0.4.1:3306       
             ESTABLISHED  rack
mysql    mysqld     1277  18 tcp46  *:3306                *:*                  
             LISTEN       rack

After switching to net.inet.tcp.functions_default=freebsd and with
net/freeradius3 started when it's connected with the database:

freeradius radiusd  3413  6  tcp4   127.0.4.1:31278       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  7  tcp4   127.0.4.1:58141       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  8  tcp4   127.0.4.1:15369       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  9  tcp4   127.0.4.1:62900       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  10 tcp4   127.0.4.1:46794       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  11 tcp4   127.0.4.1:59657       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  12 tcp4   127.0.4.1:31240       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  13 tcp4   127.0.4.1:61097       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  14 tcp4   127.0.4.1:16596       127.0.4.1:3306       
             ESTABLISHED  freebsd
freeradius radiusd  3413  15 tcp4   127.0.4.1:32351       127.0.4.1:3306       
             ESTABLISHED  freebsd
mysql    mysqld     1277  18 tcp46  *:3306                *:*                  
             LISTEN       rack
mysql    mysqld     1277  71 tcp4   10.0.0.250:36519      10.0.0.255:3306      
             SYN_SENT     freebsd
mysql    mysqld     1277  77 tcp4   127.0.4.1:3306        127.0.4.1:31278      
             ESTABLISHED  rack
mysql    mysqld     1277  78 tcp4   127.0.4.1:3306        127.0.4.1:58141      
             ESTABLISHED  rack
mysql    mysqld     1277  79 tcp4   127.0.4.1:3306        127.0.4.1:15369      
             ESTABLISHED  rack
mysql    mysqld     1277  80 tcp4   127.0.4.1:3306        127.0.4.1:62900      
             ESTABLISHED  rack
mysql    mysqld     1277  81 tcp4   127.0.4.1:3306        127.0.4.1:46794      
             ESTABLISHED  rack
mysql    mysqld     1277  82 tcp4   127.0.4.1:3306        127.0.4.1:59657      
             ESTABLISHED  rack
mysql    mysqld     1277  83 tcp4   127.0.4.1:3306        127.0.4.1:31240      
             ESTABLISHED  rack
mysql    mysqld     1277  84 tcp4   127.0.4.1:3306        127.0.4.1:61097      
             ESTABLISHED  rack
mysql    mysqld     1277  85 tcp4   127.0.4.1:3306        127.0.4.1:16596      
             ESTABLISHED  rack
mysql    mysqld     1277  86 tcp4   127.0.4.1:3306        127.0.4.1:32351      
             ESTABLISHED  rack

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 16 2021 - 21:53:01 UTC

Original text of this message