< TEST_PROGS=test-tcp.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/srv/vmksft/testing/wt-6/tools/testing/selftests' make[1]: Entering directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' make[1]: Entering directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' TAP version 13 1..1 # overriding timeout to 240 # selftests: net/ovpn: test-tcp.sh # Creating interface tun0 with mode 1 # Creating interface tun1 with mode 0 # Creating interface tun2 with mode 0 # Creating interface tun3 with mode 0 # Creating interface tun4 with mode 0 # Creating interface tun5 with mode 0 # Creating interface tun6 with mode 0 # connected # Connection received! # Sent 1002 bytes over TCP socket # connected # Connection received! # Sent 1002 bytes over TCP socket # connected # Connection received! # Sent 1002 bytes over TCP socket # Connection received! # connected # Sent 1002 bytes over TCP socket # connected # Connection received! # Sent 1002 bytes over TCP socket # connected # Connection received! # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # Sent 1002 bytes over TCP socket # PING 5.5.5.2 (5.5.5.2) 56(84) bytes of data. # # --- 5.5.5.2 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 362ms # rtt min/avg/max/mdev = 0.459/0.678/13.331/1.158 ms, pipe 2, ipg/ewma 0.724/1.141 ms # PING 5.5.5.2 (5.5.5.2) 3000(3028) bytes of data. # # --- 5.5.5.2 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1130ms # rtt min/avg/max/mdev = 1.588/2.101/9.316/1.324 ms, ipg/ewma 2.265/2.128 ms # PING 5.5.5.3 (5.5.5.3) 56(84) bytes of data. # # --- 5.5.5.3 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 338ms # rtt min/avg/max/mdev = 0.463/0.602/5.734/0.660 ms, ipg/ewma 0.677/0.646 ms # PING 5.5.5.3 (5.5.5.3) 3000(3028) bytes of data. # # --- 5.5.5.3 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1126ms # rtt min/avg/max/mdev = 1.579/2.086/8.443/1.229 ms, ipg/ewma 2.256/2.146 ms # PING 5.5.5.4 (5.5.5.4) 56(84) bytes of data. # # --- 5.5.5.4 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 326ms # rtt min/avg/max/mdev = 0.459/0.597/6.428/0.620 ms, ipg/ewma 0.653/0.510 ms # PING 5.5.5.4 (5.5.5.4) 3000(3028) bytes of data. # # --- 5.5.5.4 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1132ms # rtt min/avg/max/mdev = 1.595/2.084/8.320/1.238 ms, ipg/ewma 2.268/2.205 ms # PING 5.5.5.5 (5.5.5.5) 56(84) bytes of data. # # --- 5.5.5.5 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 339ms # rtt min/avg/max/mdev = 0.464/0.616/7.127/0.609 ms, ipg/ewma 0.679/0.520 ms # PING 5.5.5.5 (5.5.5.5) 3000(3028) bytes of data. # # --- 5.5.5.5 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1112ms # rtt min/avg/max/mdev = 1.575/2.031/11.419/1.197 ms, pipe 2, ipg/ewma 2.228/1.955 ms # PING 5.5.5.6 (5.5.5.6) 56(84) bytes of data. # # --- 5.5.5.6 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 327ms # rtt min/avg/max/mdev = 0.456/0.586/5.417/0.598 ms, ipg/ewma 0.654/0.612 ms # PING 5.5.5.6 (5.5.5.6) 3000(3028) bytes of data. # # --- 5.5.5.6 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1132ms # rtt min/avg/max/mdev = 1.588/2.110/8.795/1.264 ms, ipg/ewma 2.269/2.094 ms # PING 5.5.5.7 (5.5.5.7) 56(84) bytes of data. # # --- 5.5.5.7 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 332ms # rtt min/avg/max/mdev = 0.462/0.592/5.573/0.620 ms, ipg/ewma 0.664/0.487 ms # PING 5.5.5.7 (5.5.5.7) 3000(3028) bytes of data. # # --- 5.5.5.7 ping statistics --- # 501 packets transmitted, 500 received, 0.199601% packet loss, time 2877ms # rtt min/avg/max/mdev = 1.599/6.167/18.411/6.113 ms, pipe 2, ipg/ewma 5.754/15.316 ms # PING 11.11.11.11 (11.11.11.11) 56(84) bytes of data. # # --- 11.11.11.11 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 320ms # rtt min/avg/max/mdev = 0.461/0.582/4.733/0.561 ms, ipg/ewma 0.640/0.493 ms # ----------------------------------------------------------- # Server listening on 5201 (test #1) # ----------------------------------------------------------- # Connecting to host 5.5.5.1, port 5201 # Accepted connection from 5.5.5.2, port 35656 # [ 7] local 5.5.5.2 port 35672 connected to 5.5.5.1 port 5201 # [ 7] local 5.5.5.1 port 5201 connected to 5.5.5.2 port 35672 # [ ID] Interval Transfer Bitrate # [ 7] 0.00-1.00 sec 3.50 MBytes 29.3 Mbits/sec # [ ID] Interval Transfer Bitrate Retr Cwnd # [ 7] 0.00-1.00 sec 3.75 MBytes 31.4 Mbits/sec 0 89.2 KBytes # [ 7] 1.00-2.00 sec 4.00 MBytes 33.5 Mbits/sec # [ 7] 1.00-2.00 sec 3.88 MBytes 32.5 Mbits/sec 0 89.2 KBytes # [ 7] 2.00-3.00 sec 3.75 MBytes 31.6 Mbits/sec # [ 7] 3.00-3.05 sec 256 KBytes 44.7 Mbits/sec # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate # [ 7] 0.00-3.05 sec 11.5 MBytes 31.7 Mbits/sec receiver # [ 7] 2.00-3.01 sec 3.75 MBytes 31.3 Mbits/sec 0 89.2 KBytes # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate Retr # [ 7] 0.00-3.01 sec 11.4 MBytes 31.7 Mbits/sec 0 sender # [ 7] 0.00-3.05 sec 11.5 MBytes 31.7 Mbits/sec receiver # # iperf Done. # Adding secondary key and then swap: # Querying all peers: # List of peers connected to: tun0 # * Peer 4 # TX peer ID 13 # VPN IPv4: 5.5.5.5 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # * Peer 3 # TX peer ID 12 # VPN IPv4: 5.5.5.4 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # * Peer 5 # TX peer ID 14 # VPN IPv4: 5.5.5.6 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # * Peer 1 # TX peer ID 10 # VPN IPv4: 5.5.5.2 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 14147806 # VPN TX bytes: 1647249 # VPN RX packets: 11542 # VPN TX packets: 3055 # LINK RX bytes: 14424958 # LINK TX bytes: 1720569 # LINK RX packets: 11544 # LINK TX packets: 3055 # * Peer 6 # TX peer ID 15 # VPN IPv4: 5.5.5.7 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1579068 # VPN TX bytes: 1579068 # VPN RX packets: 2003 # VPN TX packets: 2003 # LINK RX bytes: 1627356 # LINK TX bytes: 1627140 # LINK RX packets: 2006 # LINK TX packets: 2003 # * Peer 2 # TX peer ID 11 # VPN IPv4: 5.5.5.3 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # List of peers connected to: tun1 # * Peer 10 # TX peer ID 1 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1647249 # VPN TX bytes: 14147950 # VPN RX packets: 3055 # VPN TX packets: 11545 # LINK RX bytes: 1720569 # LINK TX bytes: 14424958 # LINK RX packets: 3055 # LINK TX packets: 11544 # Querying peer 1: # * Peer 1 # TX peer ID 10 # VPN IPv4: 5.5.5.2 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 14147806 # VPN TX bytes: 1647249 # VPN RX packets: 11542 # VPN TX packets: 3055 # LINK RX bytes: 14424958 # LINK TX bytes: 1720569 # LINK RX packets: 11544 # LINK TX packets: 3055 # Querying non-existent peer 20: # kernel error: ovpn: cannot find peer with id 20 # netlink reports error (-12): Object not found # failed to send netlink message: No such file or directory (-2) # Cannot execute command: No such file or directory (-2) # Deleting peer 1: # Querying keys: # * Peer 11 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 11 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 12 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 12 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 13 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 13 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 14 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 14 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 15 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 15 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # Deleting peer while sending traffic: # PING 5.5.5.1 (5.5.5.1) 56(84) bytes of data. # Deleting keys: # Setting timeout to 3s MP: # # --- 5.5.5.1 ping statistics --- # 3259 packets transmitted, 3090 received, 5.18564% packet loss, time 3992ms # rtt min/avg/max/mdev = 0.446/0.589/7.732/0.738 ms, ipg/ewma 1.225/0.665 ms # Setting timeout to 3s P2P: # ./common.sh: line 150: kill: (237) - No such process # Checking notifications for peer 0... OK # ./common.sh: line 150: kill: (239) - No such process # Checking notifications for peer 1... OK # ./common.sh: line 150: kill: (241) - No such process # Checking notifications for peer 2... OK # ./common.sh: line 150: kill: (243) - No such process # Checking notifications for peer 3... OK # ./common.sh: line 150: kill: (245) - No such process # Checking notifications for peer 4... OK # ./common.sh: line 150: kill: (247) - No such process # Checking notifications for peer 5... OK # ./common.sh: line 150: kill: (249) - No such process # Checking notifications for peer 6... OK # Deleting interface tun1 ifindex 4 # Deleting interface tun2 ifindex 4 # Deleting interface tun3 ifindex 4 # Deleting interface tun4 ifindex 4 # Deleting interface tun5 ifindex 4 # Deleting interface tun6 ifindex 4 ok 1 selftests: net/ovpn: test-tcp.sh make[1]: Leaving directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' make: Leaving directory '/srv/vmksft/testing/wt-6/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak xx__->