< 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 # Deleting interface tun1 ifindex 4 # Deleting interface tun2 ifindex 4 # Deleting interface tun3 ifindex 4 # 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 # connected # Connection received! # 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 378ms # rtt min/avg/max/mdev = 0.491/0.692/11.718/1.122 ms, pipe 2, ipg/ewma 0.758/0.775 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 1219ms # rtt min/avg/max/mdev = 1.695/2.253/9.721/1.585 ms, ipg/ewma 2.442/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 363ms # rtt min/avg/max/mdev = 0.490/0.655/10.939/0.872 ms, pipe 2, ipg/ewma 0.726/0.935 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 1200ms # rtt min/avg/max/mdev = 1.693/2.234/9.900/1.461 ms, ipg/ewma 2.404/2.494 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 358ms # rtt min/avg/max/mdev = 0.489/0.648/6.630/0.725 ms, ipg/ewma 0.717/0.947 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 1208ms # rtt min/avg/max/mdev = 1.698/2.236/8.900/1.457 ms, ipg/ewma 2.420/2.139 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 349ms # rtt min/avg/max/mdev = 0.490/0.635/6.415/0.725 ms, ipg/ewma 0.699/0.509 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 1199ms # rtt min/avg/max/mdev = 1.694/2.228/9.869/1.419 ms, pipe 2, ipg/ewma 2.402/2.267 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 349ms # rtt min/avg/max/mdev = 0.489/0.624/5.522/0.665 ms, ipg/ewma 0.698/0.507 ms # PING 5.5.5.6 (5.5.5.6) 3000(3028) bytes of data. # # --- 5.5.5.6 ping statistics --- # 501 packets transmitted, 500 received, 0.199601% packet loss, time 1426ms # rtt min/avg/max/mdev = 1.700/2.747/19.256/2.908 ms, pipe 2, ipg/ewma 2.852/14.374 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 345ms # rtt min/avg/max/mdev = 0.488/0.618/5.730/0.652 ms, ipg/ewma 0.691/0.499 ms # PING 5.5.5.7 (5.5.5.7) 3000(3028) bytes of data. # # --- 5.5.5.7 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1207ms # rtt min/avg/max/mdev = 1.684/2.244/9.693/1.429 ms, ipg/ewma 2.419/2.444 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 347ms # rtt min/avg/max/mdev = 0.490/0.630/5.473/0.692 ms, ipg/ewma 0.695/0.507 ms # ----------------------------------------------------------- # Server listening on 5201 (test #1) # ----------------------------------------------------------- # Connecting to host 5.5.5.1, port 5201 # Accepted connection from 5.5.5.2, port 58968 # [ 7] local 5.5.5.2 port 58980 connected to 5.5.5.1 port 5201 # [ 7] local 5.5.5.1 port 5201 connected to 5.5.5.2 port 58980 # [ ID] Interval Transfer Bitrate # [ 7] 0.00-1.00 sec 3.25 MBytes 27.2 Mbits/sec # [ ID] Interval Transfer Bitrate Retr Cwnd # [ 7] 0.00-1.00 sec 3.38 MBytes 28.3 Mbits/sec 0 185 KBytes # [ 7] 1.00-2.00 sec 3.62 MBytes 30.4 Mbits/sec # [ 7] 1.00-2.00 sec 3.62 MBytes 30.4 Mbits/sec 0 185 KBytes # [ 7] 2.00-3.00 sec 3.62 MBytes 30.4 Mbits/sec # [ 7] 3.00-3.10 sec 512 KBytes 42.5 Mbits/sec # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate # [ 7] 0.00-3.10 sec 11.0 MBytes 29.8 Mbits/sec receiver # [ 7] 2.00-3.06 sec 3.75 MBytes 29.8 Mbits/sec 0 185 KBytes # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate Retr # [ 7] 0.00-3.06 sec 10.9 MBytes 29.8 Mbits/sec 0 sender # [ 7] 0.00-3.10 sec 11.0 MBytes 29.8 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: 1579068 # VPN TX bytes: 1579068 # VPN RX packets: 2003 # VPN TX packets: 2003 # LINK RX bytes: 1627284 # LINK TX bytes: 1627140 # LINK RX packets: 2005 # LINK TX packets: 2003 # * Peer 1 # TX peer ID 10 # VPN IPv4: 5.5.5.2 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 13603074 # VPN TX bytes: 1642156 # VPN RX packets: 11149 # VPN TX packets: 2957 # LINK RX bytes: 13870866 # LINK TX bytes: 1713124 # LINK RX packets: 11152 # LINK TX packets: 2957 # * Peer 6 # TX peer ID 15 # VPN IPv4: 5.5.5.7 # 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 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 1642156 # VPN TX bytes: 13603218 # VPN RX packets: 2957 # VPN TX packets: 11152 # LINK RX bytes: 1713124 # LINK TX bytes: 13870866 # LINK RX packets: 2957 # LINK TX packets: 11152 # 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: 13603074 # VPN TX bytes: 1642156 # VPN RX packets: 11149 # VPN TX packets: 2957 # LINK RX bytes: 13870866 # LINK TX bytes: 1713124 # LINK RX packets: 11152 # LINK TX packets: 2957 # 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 --- # 3036 packets transmitted, 2858 received, 5.86298% packet loss, time 3995ms # rtt min/avg/max/mdev = 0.451/0.637/8.830/0.836 ms, ipg/ewma 1.316/0.558 ms # Setting timeout to 3s P2P: # ./common.sh: line 126: kill: (7045) - No such process # Checking notifications for peer 0... OK # ./common.sh: line 126: kill: (7047) - No such process # Checking notifications for peer 1... OK # ./common.sh: line 126: kill: (7049) - No such process # Checking notifications for peer 2... OK # ./common.sh: line 126: kill: (7051) - No such process # Checking notifications for peer 3... OK # ./common.sh: line 126: kill: (7053) - No such process # Checking notifications for peer 4... OK # ./common.sh: line 126: kill: (7055) - No such process # Checking notifications for peer 5... OK # ./common.sh: line 126: kill: (7057) - 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__->