Describe the bug
在有线网络状态下正常,无线网络状态下启动后报缓冲区或队列已满
启动命令
ktctl -n ds-system connect
Log
`
C:\Users\test>ktctl -n ds-system connect
8:20AM INF Using cluster context kubernetes-admin@kubernetes (kubernetes)
8:20AM INF KtConnect 0.3.6 start at 12328 (windows amd64)
8:20AM INF Fetching cluster time ...
8:20AM INF Using tun2socks mode
8:20AM INF Successful create config map kt-connect-shadow-dsnrg
8:20AM INF Deploying shadow pod kt-connect-shadow-dsnrg in namespace ds-system
8:20AM INF Waiting for pod kt-connect-shadow-dsnrg ...
8:20AM INF Pod kt-connect-shadow-dsnrg is ready
8:21AM INF Port forward local:63185 -> pod kt-connect-shadow-dsnrg:22 established
8:21AM INF Socks proxy established
2022/09/20 08:21:02 Using existing driver 0.14
2022/09/20 08:21:02 Creating adapter
8:21AM INF Tun device KtConnectTunnel is ready
8:21AM INF Adding route to 10.96.0.0/16
8:21AM INF Adding route to 10.111.0.0/16
8:21AM INF Adding route to 10.97.0.0/16
8:21AM INF Adding route to 10.110.45.142/32
8:21AM INF Adding route to 10.102.0.0/16
8:21AM INF Adding route to 10.103.18.193/32
8:21AM INF Adding route to 10.109.0.0/16
8:21AM INF Adding route to 10.100.0.0/16
8:21AM INF Adding route to 10.105.198.18/32
8:21AM INF Adding route to 10.107.0.0/16
8:21AM INF Adding route to 10.101.0.0/16
8:21AM INF Adding route to 10.104.0.0/16
8:21AM INF Adding route to 10.108.0.0/16
8:21AM INF Adding route to 10.99.0.0/16
8:21AM INF Adding route to 10.98.106.191/32
8:21AM INF Adding route to 10.106.0.0/16
8:21AM INF Adding route to 10.244.0.0/16
8:21AM INF Adding route to 10.252.206.0/24
8:21AM INF Route to tun device completed
8:21AM INF Setting up dns in local mode
8:21AM INF Port forward local:23260 -> pod kt-connect-shadow-dsnrg:53 established
8:21AM INF Setup local DNS with upstream [tcp:127.0.0.1:23260 udp:10.1.11.100:53]
8:21AM INF Creating udp dns on port 53
8:21AM INF ---------------------------------------------------------------
8:21AM INF All looks good, now you can access to resources in the kubernetes cluster
8:21AM INF ---------------------------------------------------------------
8:22AM WRN Failed to lookup collector.github.com. (1) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52231->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup collector.github.com. (1) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52229->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup 0.0.96.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52229->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup 0.0.96.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52230->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup 0.0.96.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52231->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup 0.0.97.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:64073->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup 0.0.97.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:64074->10.1.11.100:53: i/o timeout"
8:22AM WRN Failed to lookup 0.0.97.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:64075->10.1.11.100:53: i/o timeout"
8:23AM WRN Failed to lookup 191.106.98.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="dial udp 10.1.11.100:53: connect: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."
8:23AM WRN Failed to lookup 0.0.99.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="dial udp 10.1.11.100:53: connect: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."
8:24AM WRN Failed to lookup 0.0.100.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="dial udp 10.1.11.100:53: connect: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full."
8:24AM WRN Failed to lookup 0.0.100.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:53930->10.1.11.100:53: i/o timeout"
`
Environment (please complete the following information):
Describe the bug 在有线网络状态下正常,无线网络状态下启动后报缓冲区或队列已满 启动命令
ktctl -n ds-system connect
Log ` C:\Users\test>ktctl -n ds-system connect
8:20AM INF Using cluster context kubernetes-admin@kubernetes (kubernetes) 8:20AM INF KtConnect 0.3.6 start at 12328 (windows amd64) 8:20AM INF Fetching cluster time ... 8:20AM INF Using tun2socks mode 8:20AM INF Successful create config map kt-connect-shadow-dsnrg 8:20AM INF Deploying shadow pod kt-connect-shadow-dsnrg in namespace ds-system 8:20AM INF Waiting for pod kt-connect-shadow-dsnrg ... 8:20AM INF Pod kt-connect-shadow-dsnrg is ready 8:21AM INF Port forward local:63185 -> pod kt-connect-shadow-dsnrg:22 established 8:21AM INF Socks proxy established 2022/09/20 08:21:02 Using existing driver 0.14 2022/09/20 08:21:02 Creating adapter 8:21AM INF Tun device KtConnectTunnel is ready 8:21AM INF Adding route to 10.96.0.0/16 8:21AM INF Adding route to 10.111.0.0/16 8:21AM INF Adding route to 10.97.0.0/16 8:21AM INF Adding route to 10.110.45.142/32 8:21AM INF Adding route to 10.102.0.0/16 8:21AM INF Adding route to 10.103.18.193/32 8:21AM INF Adding route to 10.109.0.0/16 8:21AM INF Adding route to 10.100.0.0/16 8:21AM INF Adding route to 10.105.198.18/32 8:21AM INF Adding route to 10.107.0.0/16 8:21AM INF Adding route to 10.101.0.0/16 8:21AM INF Adding route to 10.104.0.0/16 8:21AM INF Adding route to 10.108.0.0/16 8:21AM INF Adding route to 10.99.0.0/16 8:21AM INF Adding route to 10.98.106.191/32 8:21AM INF Adding route to 10.106.0.0/16 8:21AM INF Adding route to 10.244.0.0/16 8:21AM INF Adding route to 10.252.206.0/24 8:21AM INF Route to tun device completed 8:21AM INF Setting up dns in local mode 8:21AM INF Port forward local:23260 -> pod kt-connect-shadow-dsnrg:53 established 8:21AM INF Setup local DNS with upstream [tcp:127.0.0.1:23260 udp:10.1.11.100:53] 8:21AM INF Creating udp dns on port 53 8:21AM INF --------------------------------------------------------------- 8:21AM INF All looks good, now you can access to resources in the kubernetes cluster 8:21AM INF --------------------------------------------------------------- 8:22AM WRN Failed to lookup collector.github.com. (1) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52231->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup collector.github.com. (1) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52229->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup 0.0.96.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52229->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup 0.0.96.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52230->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup 0.0.96.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:52231->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup 0.0.97.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:64073->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup 0.0.97.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:64074->10.1.11.100:53: i/o timeout" 8:22AM WRN Failed to lookup 0.0.97.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:64075->10.1.11.100:53: i/o timeout" 8:23AM WRN Failed to lookup 191.106.98.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="dial udp 10.1.11.100:53: connect: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." 8:23AM WRN Failed to lookup 0.0.99.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="dial udp 10.1.11.100:53: connect: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." 8:24AM WRN Failed to lookup 0.0.100.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="dial udp 10.1.11.100:53: connect: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full." 8:24AM WRN Failed to lookup 0.0.100.10.in-addr.arpa. (2) in dns (10.1.11.100:53) error="read udp 10.1.143.155:53930->10.1.11.100:53: i/o timeout" `
Environment (please complete the following information):
Additional context