< 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 # Sent 1002 bytes over TCP socket # Connection received! # 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 380ms # rtt min/avg/max/mdev = 0.476/0.681/7.914/1.023 ms, ipg/ewma 0.761/0.590 ms # PING 5.5.5.2 (5.5.5.2) 3000(3028) bytes of data. # # --- 5.5.5.2 ping statistics --- # 501 packets transmitted, 500 received, 0.199601% packet loss, time 1511ms # rtt min/avg/max/mdev = 1.631/2.963/18.407/3.351 ms, pipe 2, ipg/ewma 3.022/14.454 ms # PING 5.5.5.3 (5.5.5.3) 56(84) bytes of data. # # --- 5.5.5.3 ping statistics --- # 501 packets transmitted, 500 received, 0.199601% packet loss, time 731ms # rtt min/avg/max/mdev = 0.475/1.431/16.634/3.106 ms, pipe 2, ipg/ewma 1.461/12.603 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 1167ms # rtt min/avg/max/mdev = 1.639/2.156/9.116/1.351 ms, ipg/ewma 2.337/2.180 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 337ms # rtt min/avg/max/mdev = 0.479/0.599/4.895/0.607 ms, ipg/ewma 0.674/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 1150ms # rtt min/avg/max/mdev = 1.641/2.131/7.680/1.268 ms, ipg/ewma 2.305/2.263 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 332ms # rtt min/avg/max/mdev = 0.477/0.604/8.485/0.667 ms, ipg/ewma 0.664/0.490 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 1162ms # rtt min/avg/max/mdev = 1.649/2.162/8.565/1.341 ms, ipg/ewma 2.329/1.985 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 342ms # rtt min/avg/max/mdev = 0.473/0.609/7.487/0.657 ms, ipg/ewma 0.685/0.697 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 1159ms # rtt min/avg/max/mdev = 1.647/2.148/8.302/1.293 ms, ipg/ewma 2.322/1.974 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 333ms # rtt min/avg/max/mdev = 0.476/0.600/4.582/0.560 ms, ipg/ewma 0.666/0.595 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 1148ms # rtt min/avg/max/mdev = 1.630/2.120/7.947/1.265 ms, ipg/ewma 2.300/2.204 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 333ms # rtt min/avg/max/mdev = 0.475/0.600/6.309/0.626 ms, ipg/ewma 0.666/0.857 ms # ----------------------------------------------------------- # Server listening on 5201 (test #1) # ----------------------------------------------------------- # Connecting to host 5.5.5.1, port 5201 # Accepted connection from 5.5.5.2, port 49214 # [ 7] local 5.5.5.2 port 55668 connected to 5.5.5.1 port 5201 # [ 7] local 5.5.5.1 port 5201 connected to 5.5.5.2 port 55668 # [ 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.50 MBytes 29.4 Mbits/sec 0 89.2 KBytes # [ 7] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec # [ 7] 1.00-2.00 sec 3.62 MBytes 30.4 Mbits/sec 0 89.2 KBytes # [ 7] 2.00-3.01 sec 3.62 MBytes 30.3 Mbits/sec # [ 7] 3.01-3.05 sec 256 KBytes 48.6 Mbits/sec # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate # [ 7] 0.00-3.05 sec 10.9 MBytes 29.9 Mbits/sec receiver # [ 7] 2.00-3.01 sec 3.50 MBytes 29.1 Mbits/sec 6 89.2 KBytes # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate Retr # [ 7] 0.00-3.01 sec 10.8 MBytes 30.0 Mbits/sec 6 sender # [ 7] 0.00-3.05 sec 10.9 MBytes 29.9 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 13478530 # VPN TX bytes: 1649407 # VPN RX packets: 11061 # VPN TX packets: 3040 # LINK RX bytes: 13744138 # LINK TX bytes: 1722367 # LINK RX packets: 11063 # LINK TX packets: 3040 # * 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: 1576084 # VPN TX bytes: 1576084 # VPN RX packets: 2001 # VPN TX packets: 2001 # LINK RX bytes: 1624252 # LINK TX bytes: 1624108 # LINK RX packets: 2003 # LINK TX packets: 2001 # List of peers connected to: tun1 # * Peer 10 # TX peer ID 1 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1649407 # VPN TX bytes: 13478674 # VPN RX packets: 3040 # VPN TX packets: 11064 # LINK RX bytes: 1722367 # LINK TX bytes: 13744138 # LINK RX packets: 3040 # LINK TX packets: 11063 # 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: 13478530 # VPN TX bytes: 1649407 # VPN RX packets: 11061 # VPN TX packets: 3040 # LINK RX bytes: 13744138 # LINK TX bytes: 1722367 # LINK RX packets: 11063 # LINK TX packets: 3040 # 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 --- # 3058 packets transmitted, 2888 received, 5.55919% packet loss, time 4000ms # rtt min/avg/max/mdev = 0.472/0.626/7.918/0.780 ms, ipg/ewma 1.308/0.503 ms # Setting timeout to 3s P2P: # ./common.sh: line 150: kill: (1814) - No such process # Checking notifications for peer 0... OK # ./common.sh: line 150: kill: (1816) - No such process # Checking notifications for peer 1... OK # ./common.sh: line 150: kill: (1818) - No such process # Checking notifications for peer 2... OK # ./common.sh: line 150: kill: (1820) - No such process # Checking notifications for peer 3... OK # ./common.sh: line 150: kill: (1822) - No such process # Checking notifications for peer 4... OK # ./common.sh: line 150: kill: (1824) - No such process # Checking notifications for peer 5... OK # ./common.sh: line 150: kill: (1826) - 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__->