make -C tools/testing/selftests TARGETS=net TEST_PROGS=fcnal-test.sh TEST__GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 4800 # selftests: net: fcnal-test.sh # # ########################################################################### # IPv4 ping # ########################################################################### # # # ################################################################# # No VRF # [ 3.295116] ip (262) used greatest stack depth: 11888 bytes left [ 3.324004] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=0 # # TEST: ping out - ns-B IP [ OK ] # TEST: ping out, device bind - ns-B IP [ OK ] # TEST: ping out, address bind - ns-B IP [ OK ] # TEST: ping out - ns-B loopback IP [ OK ] # TEST: ping out, device bind - ns-B loopback IP [ OK ] # TEST: ping out, address bind - ns-B loopback IP [ OK ] # TEST: ping out (don't route), peer on link - ns-B IP [ OK ] # TEST: ping out (don't route), peer not on link - ns-B loopback IP [ OK ] # TEST: ping in - ns-A IP [ OK ] # TEST: ping in - ns-A loopback IP [ OK ] # TEST: ping local - ns-A IP [ OK ] # TEST: ping local - ns-A loopback IP [ OK ] # TEST: ping local - loopback [ OK ] # TEST: ping local, device bind - ns-A IP [ OK ] # TEST: ping local, device bind - ns-A loopback IP [ OK ] # TEST: ping local, device bind - loopback [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # TEST: ping out, blocked by route - ns-B loopback IP [ OK ] # TEST: ping in, blocked by route - ns-A loopback IP [ OK ] # TEST: ping out, unreachable default route - ns-B loopback IP [ OK ] [ 53.387964] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=1 # # TEST: ping out - ns-B IP [ OK ] # TEST: ping out, device bind - ns-B IP [ OK ] # TEST: ping out, address bind - ns-B IP [ OK ] # TEST: ping out - ns-B loopback IP [ OK ] # TEST: ping out, device bind - ns-B loopback IP [ OK ] # TEST: ping out, address bind - ns-B loopback IP [ OK ] # TEST: ping out (don't route), peer on link - ns-B IP [ OK ] # TEST: ping out (don't route), peer not on link - ns-B loopback IP [ OK ] # TEST: ping in - ns-A IP [ OK ] # TEST: ping in - ns-A loopback IP [ OK ] # TEST: ping local - ns-A IP [ OK ] # TEST: ping local - ns-A loopback IP [ OK ] # TEST: ping local - loopback [ OK ] # TEST: ping local, device bind - ns-A IP [ OK ] # TEST: ping local, device bind - ns-A loopback IP [ OK ] # TEST: ping local, device bind - loopback [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # TEST: ping out, blocked by route - ns-B loopback IP [ OK ] # TEST: ping in, blocked by route - ns-A loopback IP [ OK ] # TEST: ping out, unreachable default route - ns-B loopback IP [ OK ] [ 103.285942] eth1: renamed from tmp # TEST: ping out - ns-B IP [ OK ] # TEST: ping out, device bind - ns-B IP [ OK ] # TEST: ping out, address bind - ns-B IP [ OK ] # TEST: ping out - ns-B loopback IP [ OK ] # TEST: ping out, device bind - ns-B loopback IP [ OK ] # TEST: ping out, address bind - ns-B loopback IP [ OK ] # TEST: ping out (don't route), peer on link - ns-B IP [ OK ] # TEST: ping out (don't route), peer not on link - ns-B loopback IP [ OK ] # TEST: ping in - ns-A IP [ OK ] # TEST: ping in - ns-A loopback IP [ OK ] # TEST: ping local - ns-A IP [ OK ] # TEST: ping local - ns-A loopback IP [ OK ] # TEST: ping local - loopback [ OK ] # TEST: ping local, device bind - ns-A IP [ OK ] # TEST: ping local, device bind - ns-A loopback IP [ OK ] # TEST: ping local, device bind - loopback [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # TEST: ping out, blocked by route - ns-B loopback IP [ OK ] # TEST: ping in, blocked by route - ns-A loopback IP [ OK ] # TEST: ping out, unreachable default route - ns-B loopback IP [ OK ] # # ################################################################# # With VRF # [ 153.324959] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=1 # # TEST: ping out, VRF bind - ns-B IP [ OK ] # TEST: ping out, device bind - ns-B IP [ OK ] # TEST: ping out, vrf device + dev address bind - ns-B IP [ OK ] # TEST: ping out, vrf device + vrf address bind - ns-B IP [ OK ] # TEST: ping out, VRF bind - ns-B loopback IP [ OK ] # TEST: ping out, device bind - ns-B loopback IP [ OK ] # TEST: ping out, vrf device + dev address bind - ns-B loopback IP [ OK ] # TEST: ping out, vrf device + vrf address bind - ns-B loopback IP [ OK ] # TEST: ping in - ns-A IP [ OK ] # TEST: ping in - VRF IP [ OK ] # TEST: ping local, VRF bind - ns-A IP [ OK ] # TEST: ping local, VRF bind - VRF IP [ OK ] # TEST: ping local, VRF bind - loopback [ OK ] # TEST: ping local, device bind - ns-A IP [ OK ] # TEST: ping local, device bind - VRF IP [ OK ] # TEST: ping local, device bind - loopback [ OK ] # TEST: ping out, vrf bind, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping out, device bind, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # TEST: ping out, vrf bind, unreachable route - ns-B loopback IP [ OK ] # TEST: ping out, device bind, unreachable route - ns-B loopback IP [ OK ] # TEST: ping in, unreachable route - ns-A loopback IP [ OK ] [ 201.491951] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=1 # # TEST: ping out, VRF bind - ns-B IP [ OK ] # TEST: ping out, device bind - ns-B IP [ OK ] # TEST: ping out, vrf device + dev address bind - ns-B IP [ OK ] # TEST: ping out, vrf device + vrf address bind - ns-B IP [ OK ] # TEST: ping out, VRF bind - ns-B loopback IP [ OK ] # TEST: ping out, device bind - ns-B loopback IP [ OK ] # TEST: ping out, vrf device + dev address bind - ns-B loopback IP [ OK ] # TEST: ping out, vrf device + vrf address bind - ns-B loopback IP [ OK ] # TEST: ping in - ns-A IP [ OK ] # TEST: ping in - VRF IP [ OK ] # TEST: ping local, VRF bind - ns-A IP [ OK ] # TEST: ping local, VRF bind - VRF IP [ OK ] # TEST: ping local, VRF bind - loopback [ OK ] # TEST: ping local, device bind - ns-A IP [ OK ] # TEST: ping local, device bind - VRF IP [ OK ] # TEST: ping local, device bind - loopback [ OK ] # TEST: ping out, vrf bind, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping out, device bind, blocked by rule - ns-B loopback IP [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IP [ OK ] # TEST: ping out, vrf bind, unreachable route - ns-B loopback IP [ OK ] # TEST: ping out, device bind, unreachable route - ns-B loopback IP [ OK ] # TEST: ping in, unreachable route - ns-A loopback IP [ OK ] # # ########################################################################### # IPv4/TCP # ########################################################################### # # # ################################################################# # No VRF # [ 249.601045] eth1: renamed from tmp # # ################################################################# # tcp_l3mdev_accept disabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # # TEST: Global server - ns-A IP [ OK ] # TEST: Global server - ns-A loopback IP [ OK ] # TEST: Device server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: No server - ns-A loopback IP [ OK ] # TEST: Client - ns-B IP [ OK ] # TEST: Client, device bind - ns-B IP [ OK ] # TEST: No server, unbound client - ns-B IP [ OK ] # TEST: No server, device client - ns-B IP [ OK ] # TEST: Client - ns-B loopback IP [ OK ] # TEST: Client, device bind - ns-B loopback IP [ OK ] # TEST: No server, unbound client - ns-B loopback IP [ OK ] # TEST: No server, device client - ns-B loopback IP [ OK ] # TEST: Global server, local connection - ns-A IP [ OK ] # TEST: Global server, local connection - ns-A loopback IP [ OK ] # TEST: Global server, local connection - loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # TEST: Device server, unbound client, local connection - loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IP [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device client, local connection - loopback [ OK ] # TEST: Device server, device client, local connection - ns-A IP [ OK ] # TEST: No server, device client, local conn - ns-A IP [ OK ] # TEST: MD5: Single address config [ OK ] [ 328.330511] TCP: Unexpected MD5 Hash found for 172.16.1.2.46068->172.16.1.1.12345 [S] [ 329.339881] TCP: Unexpected MD5 Hash found for 172.16.1.2.46068->172.16.1.1.12345 [S] [ 330.363878] TCP: Unexpected MD5 Hash found for 172.16.1.2.46068->172.16.1.1.12345 [S] [ 331.387865] TCP: Unexpected MD5 Hash found for 172.16.1.2.46068->172.16.1.1.12345 [S] # TEST: MD5: Server no config, client uses password [ OK ] [ 336.390913] TCP: MD5 Hash failed for 172.16.1.2.46422->172.16.1.1.12345 [S] L3 index 0 [ 337.403863] TCP: MD5 Hash failed for 172.16.1.2.46422->172.16.1.1.12345 [S] L3 index 0 [ 338.427863] TCP: MD5 Hash failed for 172.16.1.2.46422->172.16.1.1.12345 [S] L3 index 0 [ 339.451862] TCP: MD5 Hash failed for 172.16.1.2.46422->172.16.1.1.12345 [S] L3 index 0 # TEST: MD5: Client uses wrong password [ OK ] [ 344.454080] TCP: Unexpected MD5 Hash found for 172.16.1.2.54676->172.16.1.1.12345 [S] [ 345.467879] TCP: Unexpected MD5 Hash found for 172.16.1.2.54676->172.16.1.1.12345 [S] [ 346.491891] TCP: Unexpected MD5 Hash found for 172.16.1.2.54676->172.16.1.1.12345 [S] [ 347.515871] TCP: Unexpected MD5 Hash found for 172.16.1.2.54676->172.16.1.1.12345 [S] # TEST: MD5: Client address does not match address configured with password [ OK ] # TEST: MD5: Prefix config [ OK ] [ 355.568104] TCP: MD5 Hash failed for 172.16.1.2.34200->172.16.1.1.12345 [S] L3 index 0 [ 356.603853] TCP: MD5 Hash failed for 172.16.1.2.34200->172.16.1.1.12345 [S] L3 index 0 [ 357.627893] TCP: MD5 Hash failed for 172.16.1.2.34200->172.16.1.1.12345 [S] L3 index 0 [ 358.651863] TCP: MD5 Hash failed for 172.16.1.2.34200->172.16.1.1.12345 [S] L3 index 0 # TEST: MD5: Prefix config, client uses wrong password [ OK ] [ 363.632386] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 364.667921] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 365.691882] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 366.715877] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] # TEST: MD5: Prefix config, client address not in configured prefix [ OK ] # TEST: SO_DONTROUTE client, syncookies=0 - ns-B IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=0 - ns-B IP [ OK ] # TEST: SO_DONTROUTE client, syncookies=0 - ns-B loopback IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=0 - ns-B loopback IP [ OK ] # TEST: SO_DONTROUTE client, syncookies=2 - ns-B IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=2 - ns-B IP [ OK ] # TEST: SO_DONTROUTE client, syncookies=2 - ns-B loopback IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=2 - ns-B loopback IP [ OK ] # # ################################################################# # tcp_l3mdev_accept enabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # # TEST: Global server - ns-A IP [ OK ] # TEST: Global server - ns-A loopback IP [ OK ] # TEST: Device server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: No server - ns-A loopback IP [ OK ] # TEST: Client - ns-B IP [ OK ] # TEST: Client, device bind - ns-B IP [ OK ] # TEST: No server, unbound client - ns-B IP [ OK ] # TEST: No server, device client - ns-B IP [ OK ] # TEST: Client - ns-B loopback IP [ OK ] # TEST: Client, device bind - ns-B loopback IP [ OK ] # TEST: No server, unbound client - ns-B loopback IP [ OK ] # TEST: No server, device client - ns-B loopback IP [ OK ] # TEST: Global server, local connection - ns-A IP [ OK ] # TEST: Global server, local connection - ns-A loopback IP [ OK ] # TEST: Global server, local connection - loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # TEST: Device server, unbound client, local connection - loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IP [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device client, local connection - loopback [ OK ] # TEST: Device server, device client, local connection - ns-A IP [ OK ] # TEST: No server, device client, local conn - ns-A IP [ OK ] # TEST: MD5: Single address config [ OK ] [ 473.810631] TCP: Unexpected MD5 Hash found for 172.16.1.2.50886->172.16.1.1.12345 [S] [ 474.811927] TCP: Unexpected MD5 Hash found for 172.16.1.2.50886->172.16.1.1.12345 [S] [ 475.835929] TCP: Unexpected MD5 Hash found for 172.16.1.2.50886->172.16.1.1.12345 [S] [ 476.859904] TCP: Unexpected MD5 Hash found for 172.16.1.2.50886->172.16.1.1.12345 [S] # TEST: MD5: Server no config, client uses password [ OK ] [ 481.877956] TCP: MD5 Hash failed for 172.16.1.2.50890->172.16.1.1.12345 [S] L3 index 0 [ 482.939883] TCP: MD5 Hash failed for 172.16.1.2.50890->172.16.1.1.12345 [S] L3 index 0 [ 483.963863] TCP: MD5 Hash failed for 172.16.1.2.50890->172.16.1.1.12345 [S] L3 index 0 [ 484.987868] TCP: MD5 Hash failed for 172.16.1.2.50890->172.16.1.1.12345 [S] L3 index 0 # TEST: MD5: Client uses wrong password [ OK ] [ 489.936491] TCP: Unexpected MD5 Hash found for 172.16.1.2.41638->172.16.1.1.12345 [S] [ 490.939895] TCP: Unexpected MD5 Hash found for 172.16.1.2.41638->172.16.1.1.12345 [S] [ 491.963888] TCP: Unexpected MD5 Hash found for 172.16.1.2.41638->172.16.1.1.12345 [S] [ 492.987891] TCP: Unexpected MD5 Hash found for 172.16.1.2.41638->172.16.1.1.12345 [S] # TEST: MD5: Client address does not match address configured with password [ OK ] # TEST: MD5: Prefix config [ OK ] [ 501.053521] TCP: MD5 Hash failed for 172.16.1.2.35656->172.16.1.1.12345 [S] L3 index 0 [ 502.075861] TCP: MD5 Hash failed for 172.16.1.2.35656->172.16.1.1.12345 [S] L3 index 0 [ 503.099883] TCP: MD5 Hash failed for 172.16.1.2.35656->172.16.1.1.12345 [S] L3 index 0 [ 504.123867] TCP: MD5 Hash failed for 172.16.1.2.35656->172.16.1.1.12345 [S] L3 index 0 # TEST: MD5: Prefix config, client uses wrong password [ OK ] [ 509.115283] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 510.139895] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 511.163860] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 512.187868] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] # TEST: MD5: Prefix config, client address not in configured prefix [ OK ] # TEST: SO_DONTROUTE client, syncookies=0 - ns-B IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=0 - ns-B IP [ OK ] # TEST: SO_DONTROUTE client, syncookies=0 - ns-B loopback IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=0 - ns-B loopback IP [ OK ] # TEST: SO_DONTROUTE client, syncookies=2 - ns-B IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=2 - ns-B IP [ OK ] # TEST: SO_DONTROUTE client, syncookies=2 - ns-B loopback IP [ OK ] # TEST: SO_DONTROUTE server, syncookies=2 - ns-B loopback IP [ OK ] # # ################################################################# # With VRF # [ 543.315019] eth1: renamed from tmp # # ################################################################# # Global server disabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # # TEST: Global server - ns-A IP [ OK ] # TEST: VRF server - ns-A IP [ OK ] # TEST: Device server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: Global server - VRF IP [ OK ] # TEST: VRF server - VRF IP [ OK ] # TEST: Device server - VRF IP [ OK ] # TEST: No server - VRF IP [ OK ] # TEST: Global server, local connection - ns-A IP [ OK ] [ 570.316972] eth2: renamed from tmp # TEST: MD5: VRF: Single address config [ OK ] [ 575.485421] TCP: Unexpected MD5 Hash found for 172.16.1.2.43598->172.16.1.1.12345 [S] [ 576.507861] TCP: Unexpected MD5 Hash found for 172.16.1.2.43598->172.16.1.1.12345 [S] [ 577.531928] TCP: Unexpected MD5 Hash found for 172.16.1.2.43598->172.16.1.1.12345 [S] [ 578.555895] TCP: Unexpected MD5 Hash found for 172.16.1.2.43598->172.16.1.1.12345 [S] # TEST: MD5: VRF: Server no config, client uses password [ OK ] [ 583.551736] TCP: MD5 Hash failed for 172.16.1.2.39618->172.16.1.1.12345 [S] L3 index 8 [ 584.571948] TCP: MD5 Hash failed for 172.16.1.2.39618->172.16.1.1.12345 [S] L3 index 8 [ 585.595889] TCP: MD5 Hash failed for 172.16.1.2.39618->172.16.1.1.12345 [S] L3 index 8 [ 586.619875] TCP: MD5 Hash failed for 172.16.1.2.39618->172.16.1.1.12345 [S] L3 index 8 # TEST: MD5: VRF: Client uses wrong password [ OK ] [ 591.612109] TCP: Unexpected MD5 Hash found for 172.16.1.2.39630->172.16.1.1.12345 [S] [ 592.635903] TCP: Unexpected MD5 Hash found for 172.16.1.2.39630->172.16.1.1.12345 [S] [ 593.659901] TCP: Unexpected MD5 Hash found for 172.16.1.2.39630->172.16.1.1.12345 [S] [ 594.683905] TCP: Unexpected MD5 Hash found for 172.16.1.2.39630->172.16.1.1.12345 [S] # TEST: MD5: VRF: Client address does not match address configured with password [ OK ] # TEST: MD5: VRF: Prefix config [ OK ] [ 602.734767] TCP: MD5 Hash failed for 172.16.1.2.35568->172.16.1.1.12345 [S] L3 index 8 [ 603.771922] TCP: MD5 Hash failed for 172.16.1.2.35568->172.16.1.1.12345 [S] L3 index 8 [ 604.795915] TCP: MD5 Hash failed for 172.16.1.2.35568->172.16.1.1.12345 [S] L3 index 8 [ 605.819923] TCP: MD5 Hash failed for 172.16.1.2.35568->172.16.1.1.12345 [S] L3 index 8 # TEST: MD5: VRF: Prefix config, client uses wrong password [ OK ] [ 610.798996] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 611.835930] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 612.859921] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] [ 613.883891] TCP: Unexpected MD5 Hash found for 172.16.2.2.12345->172.16.1.1.12345 [S] # TEST: MD5: VRF: Prefix config, client address not in configured prefix [ OK ] # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in VRF [ OK ] # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in default VRF [ OK ] [ 624.993274] TCP: MD5 Hash failed for 172.16.1.2.58880->172.16.1.1.12345 [S] L3 index 0 [ 626.043931] TCP: MD5 Hash failed for 172.16.1.2.58880->172.16.1.1.12345 [S] L3 index 0 [ 627.067937] TCP: MD5 Hash failed for 172.16.1.2.58880->172.16.1.1.12345 [S] L3 index 0 [ 628.091897] TCP: MD5 Hash failed for 172.16.1.2.58880->172.16.1.1.12345 [S] L3 index 0 # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in default VRF with VRF pw [ OK ] [ 633.056054] TCP: MD5 Hash failed for 172.16.1.2.59468->172.16.1.1.12345 [S] L3 index 8 [ 634.107874] TCP: MD5 Hash failed for 172.16.1.2.59468->172.16.1.1.12345 [S] L3 index 8 [ 635.131893] TCP: MD5 Hash failed for 172.16.1.2.59468->172.16.1.1.12345 [S] L3 index 8 [ 636.155889] TCP: MD5 Hash failed for 172.16.1.2.59468->172.16.1.1.12345 [S] L3 index 8 # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in VRF with default VRF pw [ OK ] # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in VRF [ OK ] # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF [ OK ] [ 647.238998] TCP: MD5 Hash failed for 172.16.1.2.47426->172.16.1.1.12345 [S] L3 index 0 [ 648.251892] TCP: MD5 Hash failed for 172.16.1.2.47426->172.16.1.1.12345 [S] L3 index 0 [ 649.275920] TCP: MD5 Hash failed for 172.16.1.2.47426->172.16.1.1.12345 [S] L3 index 0 [ 650.299890] TCP: MD5 Hash failed for 172.16.1.2.47426->172.16.1.1.12345 [S] L3 index 0 # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF with VRF pw [ OK ] [ 655.303985] TCP: MD5 Hash failed for 172.16.1.2.38120->172.16.1.1.12345 [S] L3 index 8 [ 656.315919] TCP: MD5 Hash failed for 172.16.1.2.38120->172.16.1.1.12345 [S] L3 index 8 [ 657.339885] TCP: MD5 Hash failed for 172.16.1.2.38120->172.16.1.1.12345 [S] L3 index 8 [ 658.363918] TCP: MD5 Hash failed for 172.16.1.2.38120->172.16.1.1.12345 [S] L3 index 8 # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in VRF with default VRF pw [ OK ] # TEST: MD5: VRF: Device must be a VRF - single address [ OK ] # TEST: MD5: VRF: Device must be a VRF - prefix [ OK ] # TEST: MD5: VRF: VRF-bound server, unbound key accepts connection [ OK ] # TEST: MD5: VRF: VRF-bound server, bound key accepts connection [ OK ] # SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # [ 673.616328] TCP: Unexpected MD5 Hash found for 172.16.1.2.47916->172.16.1.1.12345 [S] [ 674.619876] TCP: Unexpected MD5 Hash found for 172.16.1.2.47916->172.16.1.1.12345 [S] [ 675.643889] TCP: Unexpected MD5 Hash found for 172.16.1.2.47916->172.16.1.1.12345 [S] [ 676.667891] TCP: Unexpected MD5 Hash found for 172.16.1.2.47916->172.16.1.1.12345 [S] # TEST: MD5: VRF: Global server, Key bound to ifindex=0 rejects VRF connection [ OK ] # TEST: MD5: VRF: Global server, key bound to ifindex=0 accepts non-VRF connection [ OK ] # TEST: MD5: VRF: Global server, key not bound to ifindex accepts VRF connection [ OK ] # TEST: MD5: VRF: Global server, key not bound to ifindex accepts non-VRF connection [ OK ] # SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # # # ################################################################# # VRF Global server enabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # # TEST: Global server - ns-A IP [ OK ] # TEST: VRF server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: Global server - VRF IP [ OK ] # TEST: VRF server - VRF IP [ OK ] # TEST: No server - VRF IP [ OK ] # TEST: Device server - ns-A IP [ OK ] # TEST: Global server, local connection - ns-A IP [ OK ] # TEST: Global server, local connection - VRF IP [ OK ] # TEST: Client, VRF bind - ns-B IP [ OK ] # TEST: Client, device bind - ns-B IP [ OK ] # TEST: No server, VRF client - ns-B IP [ OK ] # TEST: No server, device client - ns-B IP [ OK ] # TEST: Client, VRF bind - ns-B loopback IP [ OK ] # TEST: Client, device bind - ns-B loopback IP [ OK ] # TEST: No server, VRF client - ns-B loopback IP [ OK ] # TEST: No server, device client - ns-B loopback IP [ OK ] # TEST: VRF server, VRF client, local connection - ns-A IP [ OK ] # TEST: VRF server, VRF client, local connection - VRF IP [ OK ] # TEST: VRF server, VRF client, local connection - loopback [ OK ] # TEST: VRF server, device client, local connection - ns-A IP [ OK ] # TEST: VRF server, unbound client, local connection - ns-A IP [ OK ] # TEST: Device server, VRF client, local connection - ns-A IP [ OK ] # TEST: Device server, device client, local connection - ns-A IP [ OK ] # # ########################################################################### # IPv4/UDP # ########################################################################### # # # ################################################################# # No VRF # [ 757.906943] eth1: renamed from tmp # # ################################################################# # udp_l3mdev_accept disabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=0 # # TEST: Global server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: Global server - ns-A loopback IP [ OK ] # TEST: No server - ns-A loopback IP [ OK ] # TEST: Device server - ns-A IP [ OK ] # TEST: Client - ns-B IP [ OK ] # TEST: Client, device bind - ns-B IP [ OK ] # TEST: Client, device send via cmsg - ns-B IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF - ns-B IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B IP [ OK ] # TEST: No server, unbound client - ns-B IP [ OK ] # TEST: No server, device client - ns-B IP [ OK ] # TEST: Client - ns-B loopback IP [ OK ] # TEST: Client, device bind - ns-B loopback IP [ OK ] # TEST: Client, device send via cmsg - ns-B loopback IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF - ns-B loopback IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B loopback IP [ OK ] # TEST: No server, unbound client - ns-B loopback IP [ OK ] # TEST: No server, device client - ns-B loopback IP [ OK ] # TEST: Global server, local connection - ns-A IP [ OK ] # TEST: Global server, local connection - ns-A loopback IP [ OK ] # TEST: Global server, local connection - loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # TEST: Device server, unbound client, local connection - loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IP [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A IP [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IP [ OK ] # TEST: Global server, device client, local connection - loopback [ OK ] # TEST: Global server, device send via cmsg, local connection - loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - loopback [ OK ] # TEST: Device server, device client, local conn - ns-A IP [ OK ] # TEST: No server, device client, local conn - ns-A IP [ OK ] # TEST: SO_DONTROUTE client - ns-B IP [ OK ] # TEST: SO_DONTROUTE client - ns-B loopback IP [ OK ] # # ################################################################# # udp_l3mdev_accept enabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=1 # # TEST: Global server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: Global server - ns-A loopback IP [ OK ] # TEST: No server - ns-A loopback IP [ OK ] # TEST: Device server - ns-A IP [ OK ] # TEST: Client - ns-B IP [ OK ] # TEST: Client, device bind - ns-B IP [ OK ] # TEST: Client, device send via cmsg - ns-B IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF - ns-B IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B IP [ OK ] # TEST: No server, unbound client - ns-B IP [ OK ] # TEST: No server, device client - ns-B IP [ OK ] # TEST: Client - ns-B loopback IP [ OK ] # TEST: Client, device bind - ns-B loopback IP [ OK ] # TEST: Client, device send via cmsg - ns-B loopback IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF - ns-B loopback IP [ OK ] # TEST: Client, device bind via IP_UNICAST_IF, with connect() - ns-B loopback IP [ OK ] # TEST: No server, unbound client - ns-B loopback IP [ OK ] # TEST: No server, device client - ns-B loopback IP [ OK ] # TEST: Global server, local connection - ns-A IP [ OK ] # TEST: Global server, local connection - ns-A loopback IP [ OK ] # TEST: Global server, local connection - loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IP [ OK ] # TEST: Device server, unbound client, local connection - ns-A loopback IP [ OK ] # TEST: Device server, unbound client, local connection - loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IP [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A IP [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IP [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IP [ OK ] # TEST: Global server, device client, local connection - loopback [ OK ] # TEST: Global server, device send via cmsg, local connection - loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - loopback [ OK ] # TEST: Device server, device client, local conn - ns-A IP [ OK ] # TEST: No server, device client, local conn - ns-A IP [ OK ] # TEST: SO_DONTROUTE client - ns-B IP [ OK ] # TEST: SO_DONTROUTE client - ns-B loopback IP [ OK ] # # ################################################################# # With VRF # [ 1060.120931] eth1: renamed from tmp # # ################################################################# # Global server disabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=0 # # TEST: Global server - ns-A IP [ OK ] # TEST: VRF server - ns-A IP [ OK ] # TEST: Enslaved device server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: Global server, VRF client, local connection - ns-A IP [ OK ] # TEST: Global server - VRF IP [ OK ] # TEST: VRF server - VRF IP [ OK ] # TEST: Enslaved device server - VRF IP [ OK ] # TEST: No server - VRF IP [ OK ] # TEST: Global server, VRF client, local connection - VRF IP [ OK ] # TEST: VRF server, VRF client, local conn - ns-A IP [ OK ] # TEST: VRF server, enslaved device client, local connection - ns-A IP [ OK ] # TEST: Enslaved device server, VRF client, local conn - ns-A IP [ OK ] # TEST: Enslaved device server, device client, local conn - ns-A IP [ OK ] # # ################################################################# # Global server enabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=1 # # TEST: Global server - ns-A IP [ OK ] # TEST: VRF server - ns-A IP [ OK ] # TEST: Enslaved device server - ns-A IP [ OK ] # TEST: No server - ns-A IP [ OK ] # TEST: Global server - VRF IP [ OK ] # TEST: VRF server - VRF IP [ OK ] # TEST: Enslaved device server - VRF IP [ OK ] # TEST: No server - VRF IP [ OK ] # TEST: VRF client [ OK ] # TEST: Enslaved device client [ OK ] # TEST: No server, VRF client [ OK ] # TEST: No server, enslaved device client [ OK ] # TEST: Global server, VRF client, local conn - ns-A IP [ OK ] # TEST: VRF server, VRF client, local conn - ns-A IP [ OK ] # TEST: VRF server, device client, local conn - ns-A IP [ OK ] # TEST: Enslaved device server, VRF client, local conn - ns-A IP [ OK ] # TEST: Enslaved device server, device client, local conn - ns-A IP [ OK ] # TEST: Global server, VRF client, local conn - VRF IP [ OK ] # TEST: Global server, VRF client, local conn - loopback [ OK ] # TEST: VRF server, VRF client, local conn - VRF IP [ OK ] # TEST: VRF server, VRF client, local conn - loopback [ OK ] # TEST: No server, VRF client, local conn - ns-A IP [ OK ] # TEST: No server, VRF client, local conn - VRF IP [ OK ] # TEST: No server, VRF client, local conn - loopback [ OK ] # # ########################################################################### # IPv4 address binds # ########################################################################### # # # ################################################################# # No VRF # [ 1170.091949] eth1: renamed from tmp # TEST: Raw socket bind to local address - ns-A IP [ OK ] # TEST: Raw socket bind to local address after device bind - ns-A IP [ OK ] # TEST: Raw socket bind to local address - ns-A loopback IP [ OK ] # TEST: Raw socket bind to local address after device bind - ns-A loopback IP [ OK ] # TEST: Raw socket bind to nonlocal address - nonlocal IP [ OK ] # TEST: TCP socket bind to nonlocal address - nonlocal IP [ OK ] # TEST: ICMP socket bind to nonlocal address - nonlocal IP [ OK ] # TEST: ICMP socket bind to broadcast address - broadcast [ OK ] # TEST: ICMP socket bind to multicast address - multicast [ OK ] # TEST: TCP socket bind to local address - ns-A IP [ OK ] # TEST: TCP socket bind to local address after device bind - ns-A IP [ OK ] # # ################################################################# # With VRF # [ 1195.396133] eth1: renamed from tmp # TEST: Raw socket bind to local address - ns-A IP [ OK ] # TEST: Raw socket bind to local address after device bind - ns-A IP [ OK ] # TEST: Raw socket bind to local address after VRF bind - ns-A IP [ OK ] # TEST: Raw socket bind to local address - VRF IP [ OK ] # TEST: Raw socket bind to local address after device bind - VRF IP [ OK ] # TEST: Raw socket bind to local address after VRF bind - VRF IP [ OK ] # TEST: Raw socket bind to out of scope address after VRF bind - ns-A loopback IP [ OK ] # TEST: Raw socket bind to nonlocal address after VRF bind - nonlocal IP [ OK ] # TEST: TCP socket bind to nonlocal address after VRF bind - nonlocal IP [ OK ] # TEST: ICMP socket bind to nonlocal address after VRF bind - nonlocal IP [ OK ] # TEST: ICMP socket bind to broadcast address after VRF bind - broadcast [ OK ] # TEST: ICMP socket bind to multicast address after VRF bind - multicast [ OK ] # TEST: TCP socket bind to local address - ns-A IP [ OK ] # TEST: TCP socket bind to local address after device bind - ns-A IP [ OK ] # TEST: TCP socket bind to local address - VRF IP [ OK ] # TEST: TCP socket bind to local address after device bind - VRF IP [ OK ] # TEST: TCP socket bind to invalid local address for VRF - ns-A loopback IP [ OK ] # TEST: TCP socket bind to invalid local address for device bind - ns-A loopback IP [ OK ] # # ########################################################################### # Run time tests - ipv4 # ########################################################################### # [ 1235.266931] eth1: renamed from tmp # TEST: Device delete with active traffic - ping in - ns-A IP [ OK ] [ 1244.217934] eth1: renamed from tmp # TEST: Device delete with active traffic - ping in - VRF IP [ OK ] [ 1253.149913] eth1: renamed from tmp # TEST: Device delete with active traffic - ping out - ns-B IP [ OK ] [ 1262.059952] eth1: renamed from tmp # TEST: TCP active socket, global server - ns-A IP [ OK ] [ 1271.947966] eth1: renamed from tmp # TEST: TCP active socket, global server - VRF IP [ OK ] [ 1281.870977] eth1: renamed from tmp # TEST: TCP active socket, VRF server - ns-A IP [ OK ] [ 1291.759924] eth1: renamed from tmp # TEST: TCP active socket, VRF server - VRF IP [ OK ] [ 1301.683976] eth1: renamed from tmp # TEST: TCP active socket, enslaved device server - ns-A IP [ OK ] [ 1311.637920] eth1: renamed from tmp # TEST: TCP active socket, VRF client - ns-A IP [ OK ] [ 1321.545964] eth1: renamed from tmp # TEST: TCP active socket, enslaved device client - ns-A IP [ OK ] [ 1331.450944] eth1: renamed from tmp # TEST: TCP active socket, global server, VRF client, local - ns-A IP [ OK ] [ 1341.442946] eth1: renamed from tmp # TEST: TCP active socket, global server, VRF client, local - VRF IP [ OK ] [ 1351.419934] eth1: renamed from tmp # TEST: TCP active socket, VRF server and client, local - ns-A IP [ OK ] [ 1361.338912] eth1: renamed from tmp # TEST: TCP active socket, VRF server and client, local - VRF IP [ OK ] [ 1371.248917] eth1: renamed from tmp # TEST: TCP active socket, global server, enslaved device client, local - ns-A IP [ OK ] [ 1381.170928] eth1: renamed from tmp # TEST: TCP active socket, VRF server, enslaved device client, local - ns-A IP [ OK ] [ 1391.108925] eth1: renamed from tmp # TEST: TCP active socket, enslaved device server and client, local - ns-A IP [ OK ] [ 1401.059931] eth1: renamed from tmp # TEST: TCP passive socket, global server - ns-A IP [ OK ] [ 1411.016939] eth1: renamed from tmp # TEST: TCP passive socket, global server - VRF IP [ OK ] [ 1420.950903] eth1: renamed from tmp # TEST: TCP passive socket, VRF server - ns-A IP [ OK ] [ 1430.920961] eth1: renamed from tmp # TEST: TCP passive socket, VRF server - VRF IP [ OK ] [ 1440.937948] eth1: renamed from tmp # TEST: TCP passive socket, enslaved device server - ns-A IP [ OK ] [ 1450.952919] eth1: renamed from tmp # TEST: TCP passive socket, VRF client - ns-A IP [ OK ] [ 1460.927987] eth1: renamed from tmp # TEST: TCP passive socket, enslaved device client - ns-A IP [ OK ] [ 1470.857934] eth1: renamed from tmp # TEST: TCP passive socket, global server, VRF client, local - ns-A IP [ OK ] [ 1480.773943] eth1: renamed from tmp # TEST: TCP passive socket, global server, VRF client, local - VRF IP [ OK ] [ 1490.724955] eth1: renamed from tmp # TEST: TCP passive socket, VRF server and client, local - ns-A IP [ OK ] [ 1500.656997] eth1: renamed from tmp # TEST: TCP passive socket, VRF server and client, local - VRF IP [ OK ] [ 1510.551901] eth1: renamed from tmp # TEST: TCP passive socket, global server, enslaved device client, local - ns-A IP [ OK ] [ 1520.431928] eth1: renamed from tmp # TEST: TCP passive socket, VRF server, enslaved device client, local - ns-A IP [ OK ] [ 1530.314929] eth1: renamed from tmp # TEST: TCP passive socket, enslaved device server and client, local - ns-A IP [ OK ] # # ########################################################################### # IPv4 Netfilter # ########################################################################### # # # ################################################################# # TCP reset # [ 1540.181914] eth1: renamed from tmp # TEST: Global server, reject with TCP-reset on Rx - ns-A IP [ OK ] # TEST: Global server, reject with TCP-reset on Rx - VRF IP [ OK ] # # ################################################################# # ICMP unreachable # # TEST: Global TCP server, Rx reject icmp-port-unreach - ns-A IP [ OK ] # TEST: Global TCP server, Rx reject icmp-port-unreach - VRF IP [ OK ] # TEST: Global UDP server, Rx reject icmp-port-unreach - ns-A IP [ OK ] # TEST: Global UDP server, Rx reject icmp-port-unreach - VRF IP [ OK ] # # ########################################################################### # IPv6 ping # ########################################################################### # # # ################################################################# # No VRF # [ 1564.495990] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=0 # # TEST: ping out - ns-B IPv6 [ OK ] # TEST: ping out - ns-B loopback IPv6 [ OK ] # TEST: ping out - ns-B IPv6 LLA [ OK ] # TEST: ping out - multicast IP [ OK ] # TEST: ping out, device bind - ns-B IPv6 [ OK ] # TEST: ping out, loopback address bind - ns-B IPv6 [ OK ] # TEST: ping out, device bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, loopback address bind - ns-B loopback IPv6 [ OK ] # TEST: ping in - ns-A IPv6 [ OK ] # TEST: ping in - ns-A loopback IPv6 [ OK ] # TEST: ping in - ns-A IPv6 LLA [ OK ] # TEST: ping in - multicast IP [ OK ] # TEST: ping local, no bind - ns-A IPv6 [ OK ] # TEST: ping local, no bind - ns-A loopback IPv6 [ OK ] # TEST: ping local, no bind - IPv6 loopback [ OK ] # TEST: ping local, no bind - ns-A IPv6 LLA [ OK ] # TEST: ping local, no bind - multicast IP [ OK ] # TEST: ping local, device bind - ns-A IPv6 [ OK ] # TEST: ping local, device bind - ns-A IPv6 LLA [ OK ] # TEST: ping local, device bind - multicast IP [ OK ] # TEST: ping local, device bind - ns-A loopback IPv6 [ OK ] # TEST: ping local, device bind - IPv6 loopback [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ] # TEST: ping out, blocked by route - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, blocked by route - ns-B loopback IPv6 [ OK ] # TEST: ping in, blocked by route - ns-A loopback IPv6 [ OK ] # TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ] [ 1631.292920] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=0 # # TEST: ping out - ns-B IPv6 [ OK ] # TEST: ping out - ns-B loopback IPv6 [ OK ] # TEST: ping out - ns-B IPv6 LLA [ OK ] # TEST: ping out - multicast IP [ OK ] # TEST: ping out, device bind - ns-B IPv6 [ OK ] # TEST: ping out, loopback address bind - ns-B IPv6 [ OK ] # TEST: ping out, device bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, loopback address bind - ns-B loopback IPv6 [ OK ] # TEST: ping in - ns-A IPv6 [ OK ] # TEST: ping in - ns-A loopback IPv6 [ OK ] # TEST: ping in - ns-A IPv6 LLA [ OK ] # TEST: ping in - multicast IP [ OK ] # TEST: ping local, no bind - ns-A IPv6 [ OK ] # TEST: ping local, no bind - ns-A loopback IPv6 [ OK ] # TEST: ping local, no bind - IPv6 loopback [ OK ] # TEST: ping local, no bind - ns-A IPv6 LLA [ OK ] # TEST: ping local, no bind - multicast IP [ OK ] # TEST: ping local, device bind - ns-A IPv6 [ OK ] # TEST: ping local, device bind - ns-A IPv6 LLA [ OK ] # TEST: ping local, device bind - multicast IP [ OK ] # TEST: ping local, device bind - ns-A loopback IPv6 [ OK ] # TEST: ping local, device bind - IPv6 loopback [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ] # TEST: ping out, blocked by route - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, blocked by route - ns-B loopback IPv6 [ OK ] # TEST: ping in, blocked by route - ns-A loopback IPv6 [ OK ] # TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ] # # ################################################################# # With VRF # [ 1696.674924] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=1 # # TEST: ping out, VRF bind - ns-B IPv6 [ OK ] # TEST: ping out, VRF bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, VRF bind - ns-B IPv6 LLA [ OK ] # TEST: ping out, VRF bind - multicast IP [ OK ] # TEST: ping out, device bind - ns-B IPv6 [ OK ] # TEST: ping out, device bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind - ns-B IPv6 LLA [ OK ] # TEST: ping out, device bind - multicast IP [ OK ] # TEST: ping out, vrf device+address bind - ns-B IPv6 [ OK ] # TEST: ping out, vrf device+address bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, vrf device+address bind - ns-B IPv6 LLA [ OK ] # TEST: ping in - ns-A IPv6 [ OK ] # TEST: ping in - VRF IPv6 [ OK ] # TEST: ping in - ns-A IPv6 LLA [ OK ] # TEST: ping in - multicast IP [ OK ] # TEST: ping in - ns-A loopback IPv6 [ OK ] # TEST: ping local, VRF bind - ns-A IPv6 [ OK ] # TEST: ping local, VRF bind - VRF IPv6 [ OK ] # TEST: ping local, VRF bind - IPv6 loopback [ OK ] # TEST: ping local, device bind - ns-A IPv6 [ OK ] # TEST: ping local, device bind - ns-A IPv6 LLA [ OK ] # TEST: ping local, device bind - multicast IP [ OK ] # TEST: ping in, LLA to GUA - ns-A IPv6 [ OK ] # TEST: ping in, LLA to GUA - VRF IPv6 [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ] # TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ] # TEST: ping in, unreachable route - ns-A loopback IPv6 [ OK ] [ 1764.249104] eth1: renamed from tmp # SYSCTL: net.ipv4.raw_l3mdev_accept=1 # # TEST: ping out, VRF bind - ns-B IPv6 [ OK ] # TEST: ping out, VRF bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, VRF bind - ns-B IPv6 LLA [ OK ] # TEST: ping out, VRF bind - multicast IP [ OK ] # TEST: ping out, device bind - ns-B IPv6 [ OK ] # TEST: ping out, device bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind - ns-B IPv6 LLA [ OK ] # TEST: ping out, device bind - multicast IP [ OK ] # TEST: ping out, vrf device+address bind - ns-B IPv6 [ OK ] # TEST: ping out, vrf device+address bind - ns-B loopback IPv6 [ OK ] # TEST: ping out, vrf device+address bind - ns-B IPv6 LLA [ OK ] # TEST: ping in - ns-A IPv6 [ OK ] # TEST: ping in - VRF IPv6 [ OK ] # TEST: ping in - ns-A IPv6 LLA [ OK ] # TEST: ping in - multicast IP [ OK ] # TEST: ping in - ns-A loopback IPv6 [ OK ] # TEST: ping local, VRF bind - ns-A IPv6 [ OK ] # TEST: ping local, VRF bind - VRF IPv6 [ OK ] # TEST: ping local, VRF bind - IPv6 loopback [ OK ] # TEST: ping local, device bind - ns-A IPv6 [ OK ] # TEST: ping local, device bind - ns-A IPv6 LLA [ OK ] # TEST: ping local, device bind - multicast IP [ OK ] # TEST: ping in, LLA to GUA - ns-A IPv6 [ OK ] # TEST: ping in, LLA to GUA - VRF IPv6 [ OK ] # TEST: ping out, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, blocked by rule - ns-B loopback IPv6 [ OK ] # TEST: ping in, blocked by rule - ns-A loopback IPv6 [ OK ] # TEST: ping out, unreachable route - ns-B loopback IPv6 [ OK ] # TEST: ping out, device bind, unreachable route - ns-B loopback IPv6 [ OK ] # TEST: ping in, unreachable route - ns-A loopback IPv6 [ OK ] # # ########################################################################### # IPv6/TCP # ########################################################################### # # # ################################################################# # No VRF # [ 1831.809934] eth1: renamed from tmp # # ################################################################# # tcp_l3mdev_accept disabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Global server - ns-A loopback IPv6 [ OK ] # TEST: Global server - ns-A IPv6 LLA [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - ns-A loopback IPv6 [ OK ] # TEST: No server - ns-A IPv6 LLA [ OK ] # TEST: Client - ns-B IPv6 [ OK ] # TEST: Client - ns-B loopback IPv6 [ OK ] # TEST: Client - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind - ns-B IPv6 [ OK ] # TEST: Client, device bind - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind - ns-B IPv6 LLA [ OK ] # TEST: No server, device client - ns-B IPv6 [ OK ] # TEST: No server, device client - ns-B loopback IPv6 [ OK ] # TEST: No server, device client - ns-B IPv6 LLA [ OK ] # TEST: Global server, local connection - ns-A IPv6 [ OK ] # TEST: Global server, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, local connection - IPv6 loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, unbound client, local connection - ns-A loopback IPv6 [ OK ] # TEST: Device server, unbound client, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client, local connection - IPv6 loopback [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 LLA [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 LLA [ OK ] # TEST: MD5: Single address config [ OK ] [ 1915.583911] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].48362->[2001:db8:1::1].12345 [S] [ 1916.603955] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].48362->[2001:db8:1::1].12345 [S] [ 1917.627951] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].48362->[2001:db8:1::1].12345 [S] [ 1918.651932] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].48362->[2001:db8:1::1].12345 [S] # TEST: MD5: Server no config, client uses password [ OK ] [ 1923.645688] TCP: MD5 Hash mismatch for [2001:db8:1::2].56078->[2001:db8:1::1].12345 [S]L3 index 0 [ 1924.667890] TCP: MD5 Hash mismatch for [2001:db8:1::2].56078->[2001:db8:1::1].12345 [S]L3 index 0 [ 1925.691918] TCP: MD5 Hash mismatch for [2001:db8:1::2].56078->[2001:db8:1::1].12345 [S]L3 index 0 [ 1926.715977] TCP: MD5 Hash mismatch for [2001:db8:1::2].56078->[2001:db8:1::1].12345 [S]L3 index 0 # TEST: MD5: Client uses wrong password [ OK ] [ 1931.703813] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].56092->[2001:db8:1::1].12345 [S] [ 1932.731922] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].56092->[2001:db8:1::1].12345 [S] [ 1933.755974] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].56092->[2001:db8:1::1].12345 [S] [ 1934.779976] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].56092->[2001:db8:1::1].12345 [S] # TEST: MD5: Client address does not match address configured with password [ OK ] # TEST: MD5: Prefix config [ OK ] [ 1942.810998] TCP: MD5 Hash mismatch for [2001:db8:1::2].37864->[2001:db8:1::1].12345 [S]L3 index 0 [ 1943.867977] TCP: MD5 Hash mismatch for [2001:db8:1::2].37864->[2001:db8:1::1].12345 [S]L3 index 0 [ 1944.892025] TCP: MD5 Hash mismatch for [2001:db8:1::2].37864->[2001:db8:1::1].12345 [S]L3 index 0 [ 1945.916025] TCP: MD5 Hash mismatch for [2001:db8:1::2].37864->[2001:db8:1::1].12345 [S]L3 index 0 # TEST: MD5: Prefix config, client uses wrong password [ OK ] [ 1950.866072] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 1951.867935] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 1952.891954] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 1953.916005] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] # TEST: MD5: Prefix config, client address not in configured prefix [ OK ] # # ################################################################# # tcp_l3mdev_accept enabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Global server - ns-A loopback IPv6 [ OK ] # TEST: Global server - ns-A IPv6 LLA [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - ns-A loopback IPv6 [ OK ] # TEST: No server - ns-A IPv6 LLA [ OK ] # TEST: Client - ns-B IPv6 [ OK ] # TEST: Client - ns-B loopback IPv6 [ OK ] # TEST: Client - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind - ns-B IPv6 [ OK ] # TEST: Client, device bind - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind - ns-B IPv6 LLA [ OK ] # TEST: No server, device client - ns-B IPv6 [ OK ] # TEST: No server, device client - ns-B loopback IPv6 [ OK ] # TEST: No server, device client - ns-B IPv6 LLA [ OK ] # TEST: Global server, local connection - ns-A IPv6 [ OK ] # TEST: Global server, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, local connection - IPv6 loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, unbound client, local connection - ns-A loopback IPv6 [ OK ] # TEST: Device server, unbound client, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client, local connection - IPv6 loopback [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 LLA [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 LLA [ OK ] # TEST: MD5: Single address config [ OK ] [ 2039.419422] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].45100->[2001:db8:1::1].12345 [S] [ 2040.443945] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].45100->[2001:db8:1::1].12345 [S] [ 2041.467889] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].45100->[2001:db8:1::1].12345 [S] [ 2042.492018] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].45100->[2001:db8:1::1].12345 [S] # TEST: MD5: Server no config, client uses password [ OK ] [ 2047.479113] TCP: MD5 Hash mismatch for [2001:db8:1::2].49094->[2001:db8:1::1].12345 [S]L3 index 0 [ 2048.507903] TCP: MD5 Hash mismatch for [2001:db8:1::2].49094->[2001:db8:1::1].12345 [S]L3 index 0 [ 2049.531938] TCP: MD5 Hash mismatch for [2001:db8:1::2].49094->[2001:db8:1::1].12345 [S]L3 index 0 [ 2050.555913] TCP: MD5 Hash mismatch for [2001:db8:1::2].49094->[2001:db8:1::1].12345 [S]L3 index 0 # TEST: MD5: Client uses wrong password [ OK ] [ 2055.539230] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].47028->[2001:db8:1::1].12345 [S] [ 2056.571946] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].47028->[2001:db8:1::1].12345 [S] [ 2057.595928] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].47028->[2001:db8:1::1].12345 [S] [ 2058.619912] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].47028->[2001:db8:1::1].12345 [S] # TEST: MD5: Client address does not match address configured with password [ OK ] # TEST: MD5: Prefix config [ OK ] [ 2066.650337] TCP: MD5 Hash mismatch for [2001:db8:1::2].54172->[2001:db8:1::1].12345 [S]L3 index 0 [ 2067.707892] TCP: MD5 Hash mismatch for [2001:db8:1::2].54172->[2001:db8:1::1].12345 [S]L3 index 0 [ 2068.731891] TCP: MD5 Hash mismatch for [2001:db8:1::2].54172->[2001:db8:1::1].12345 [S]L3 index 0 [ 2069.755897] TCP: MD5 Hash mismatch for [2001:db8:1::2].54172->[2001:db8:1::1].12345 [S]L3 index 0 # TEST: MD5: Prefix config, client uses wrong password [ OK ] [ 2074.708579] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 2075.771890] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 2076.795894] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 2077.819941] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] # TEST: MD5: Prefix config, client address not in configured prefix [ OK ] # # ################################################################# # With VRF # [ 2082.266939] eth1: renamed from tmp # # ################################################################# # Global server disabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=0 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Global server - VRF IPv6 [ OK ] # TEST: Global server - ns-A IPv6 LLA [ OK ] # TEST: VRF server - ns-A IPv6 [ OK ] # TEST: VRF server - VRF IPv6 [ OK ] # TEST: VRF server - ns-A IPv6 LLA [ OK ] # TEST: Device server - ns-A IPv6 [ OK ] # TEST: Device server - VRF IPv6 [ OK ] # TEST: Device server - ns-A IPv6 LLA [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - VRF IPv6 [ OK ] # TEST: No server - ns-A IPv6 LLA [ OK ] # TEST: Global server, local connection - ns-A IPv6 [ OK ] [ 2120.362966] eth2: renamed from tmp # TEST: MD5: VRF: Single address config [ OK ] [ 2125.502346] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].34782->[2001:db8:1::1].12345 [S] [ 2126.523893] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].34782->[2001:db8:1::1].12345 [S] [ 2127.547901] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].34782->[2001:db8:1::1].12345 [S] [ 2128.571894] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].34782->[2001:db8:1::1].12345 [S] # TEST: MD5: VRF: Server no config, client uses password [ OK ] [ 2133.558041] TCP: MD5 Hash mismatch for [2001:db8:1::2].50492->[2001:db8:1::1].12345 [S]L3 index 8 [ 2134.587892] TCP: MD5 Hash mismatch for [2001:db8:1::2].50492->[2001:db8:1::1].12345 [S]L3 index 8 [ 2135.611891] TCP: MD5 Hash mismatch for [2001:db8:1::2].50492->[2001:db8:1::1].12345 [S]L3 index 8 [ 2136.635927] TCP: MD5 Hash mismatch for [2001:db8:1::2].50492->[2001:db8:1::1].12345 [S]L3 index 8 # TEST: MD5: VRF: Client uses wrong password [ OK ] [ 2141.617476] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].50508->[2001:db8:1::1].12345 [S] [ 2142.651890] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].50508->[2001:db8:1::1].12345 [S] [ 2143.675872] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].50508->[2001:db8:1::1].12345 [S] [ 2144.699929] TCP: Unexpected MD5 Hash found for [2001:db8:1::2].50508->[2001:db8:1::1].12345 [S] # TEST: MD5: VRF: Client address does not match address configured with password [ OK ] # TEST: MD5: VRF: Prefix config [ OK ] [ 2152.730970] TCP: MD5 Hash mismatch for [2001:db8:1::2].58360->[2001:db8:1::1].12345 [S]L3 index 8 [ 2153.787956] TCP: MD5 Hash mismatch for [2001:db8:1::2].58360->[2001:db8:1::1].12345 [S]L3 index 8 [ 2154.811990] TCP: MD5 Hash mismatch for [2001:db8:1::2].58360->[2001:db8:1::1].12345 [S]L3 index 8 [ 2155.836002] TCP: MD5 Hash mismatch for [2001:db8:1::2].58360->[2001:db8:1::1].12345 [S]L3 index 8 # TEST: MD5: VRF: Prefix config, client uses wrong password [ OK ] [ 2160.792785] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 2161.851946] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 2162.875982] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] [ 2163.899951] TCP: Unexpected MD5 Hash found for [2001:db8:2::2].12345->[2001:db8:1::1].12345 [S] # TEST: MD5: VRF: Prefix config, client address not in configured prefix [ OK ] # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in VRF [ OK ] # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in default VRF [ OK ] [ 2174.956927] TCP: MD5 Hash mismatch for [2001:db8:1::2].58756->[2001:db8:1::1].12345 [S]L3 index 0 [ 2175.995945] TCP: MD5 Hash mismatch for [2001:db8:1::2].58756->[2001:db8:1::1].12345 [S]L3 index 0 [ 2177.019971] TCP: MD5 Hash mismatch for [2001:db8:1::2].58756->[2001:db8:1::1].12345 [S]L3 index 0 [ 2178.044016] TCP: MD5 Hash mismatch for [2001:db8:1::2].58756->[2001:db8:1::1].12345 [S]L3 index 0 # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in default VRF with VRF pw [ OK ] [ 2183.015319] TCP: MD5 Hash mismatch for [2001:db8:1::2].57150->[2001:db8:1::1].12345 [S]L3 index 8 [ 2184.059996] TCP: MD5 Hash mismatch for [2001:db8:1::2].57150->[2001:db8:1::1].12345 [S]L3 index 8 [ 2185.083922] TCP: MD5 Hash mismatch for [2001:db8:1::2].57150->[2001:db8:1::1].12345 [S]L3 index 8 [ 2186.107927] TCP: MD5 Hash mismatch for [2001:db8:1::2].57150->[2001:db8:1::1].12345 [S]L3 index 8 # TEST: MD5: VRF: Single address config in default VRF and VRF, conn in VRF with default VRF pw [ OK ] # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in VRF [ OK ] # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF [ OK ] [ 2197.176370] TCP: MD5 Hash mismatch for [2001:db8:1::2].56320->[2001:db8:1::1].12345 [S]L3 index 0 [ 2198.203953] TCP: MD5 Hash mismatch for [2001:db8:1::2].56320->[2001:db8:1::1].12345 [S]L3 index 0 [ 2199.227915] TCP: MD5 Hash mismatch for [2001:db8:1::2].56320->[2001:db8:1::1].12345 [S]L3 index 0 [ 2200.251944] TCP: MD5 Hash mismatch for [2001:db8:1::2].56320->[2001:db8:1::1].12345 [S]L3 index 0 # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in default VRF with VRF pw [ OK ] [ 2205.234987] TCP: MD5 Hash mismatch for [2001:db8:1::2].52684->[2001:db8:1::1].12345 [S]L3 index 8 [ 2206.267894] TCP: MD5 Hash mismatch for [2001:db8:1::2].52684->[2001:db8:1::1].12345 [S]L3 index 8 [ 2207.291938] TCP: MD5 Hash mismatch for [2001:db8:1::2].52684->[2001:db8:1::1].12345 [S]L3 index 8 [ 2208.315921] TCP: MD5 Hash mismatch for [2001:db8:1::2].52684->[2001:db8:1::1].12345 [S]L3 index 8 # TEST: MD5: VRF: Prefix config in default VRF and VRF, conn in VRF with default VRF pw [ OK ] # TEST: MD5: VRF: Device must be a VRF - single address [ OK ] # TEST: MD5: VRF: Device must be a VRF - prefix [ OK ] # # ################################################################# # VRF Global server enabled # # SYSCTL: net.ipv4.tcp_l3mdev_accept=1 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Global server - VRF IPv6 [ OK ] # TEST: VRF server - ns-A IPv6 [ OK ] # TEST: VRF server - VRF IPv6 [ OK ] # TEST: Global server - ns-A IPv6 LLA [ OK ] # TEST: VRF server - ns-A IPv6 LLA [ OK ] # TEST: Device server - ns-A IPv6 [ OK ] # TEST: Device server - ns-A IPv6 LLA [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - VRF IPv6 [ OK ] # TEST: No server - ns-A IPv6 LLA [ OK ] # TEST: Global server, local connection - ns-A IPv6 [ OK ] # TEST: Global server, local connection - VRF IPv6 [ OK ] # TEST: Client, VRF bind - ns-B IPv6 [ OK ] # TEST: Client, VRF bind - ns-B loopback IPv6 [ OK ] # TEST: Client, VRF bind - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind - ns-B IPv6 [ OK ] # TEST: Client, device bind - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind - ns-B IPv6 LLA [ OK ] # TEST: No server, VRF client - ns-B IPv6 [ OK ] # TEST: No server, VRF client - ns-B loopback IPv6 [ OK ] # TEST: No server, device client - ns-B IPv6 [ OK ] # TEST: No server, device client - ns-B loopback IPv6 [ OK ] # TEST: No server, device client - ns-B IPv6 LLA [ OK ] # TEST: VRF server, VRF client, local connection - ns-A IPv6 [ OK ] # TEST: VRF server, VRF client, local connection - VRF IPv6 [ OK ] # TEST: VRF server, VRF client, local connection - IPv6 loopback [ OK ] # TEST: VRF server, device client, local connection - ns-A IPv6 [ OK ] # TEST: VRF server, unbound client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, VRF client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, device client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, device client, local connection - ns-A IPv6 LLA [ OK ] # SYSCTL: net.ipv4.udp_early_demux=1 # # # ########################################################################### # IPv6/UDP # ########################################################################### # # # ################################################################# # No VRF # [ 2306.760945] eth1: renamed from tmp # # ################################################################# # udp_l3mdev_accept disabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=0 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Device server - ns-A IPv6 [ OK ] # TEST: Global server - ns-A IPv6 LLA [ OK ] # TEST: Device server - ns-A IPv6 LLA [ OK ] # TEST: Global server - ns-A loopback IPv6 [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - ns-A loopback IPv6 [ OK ] # TEST: No server - ns-A IPv6 LLA [ OK ] # TEST: Client - ns-B IPv6 [ OK ] # TEST: Client, device bind - ns-B IPv6 [ OK ] # TEST: Client, device send via cmsg - ns-B IPv6 [ OK ] # TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6 [ OK ] # TEST: No server, unbound client - ns-B IPv6 [ OK ] # TEST: No server, device client - ns-B IPv6 [ OK ] # TEST: Client - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind - ns-B loopback IPv6 [ OK ] # TEST: Client, device send via cmsg - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind via IPV6_UNICAST_IF - ns-B loopback IPv6 [ OK ] # TEST: No server, unbound client - ns-B loopback IPv6 [ OK ] # TEST: No server, device client - ns-B loopback IPv6 [ OK ] # TEST: Client - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind - ns-B IPv6 LLA [ OK ] # TEST: Client, device send via cmsg - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6 LLA [ OK ] # TEST: No server, unbound client - ns-B IPv6 LLA [ OK ] # TEST: No server, device client - ns-B IPv6 LLA [ OK ] # TEST: Global server, local connection - ns-A IPv6 [ OK ] # TEST: Global server, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, local connection - IPv6 loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, local connection - ns-A loopback IPv6 [ OK ] # TEST: Device server, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device client via IPV6_UNICAST_IF, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client, local connection - IPv6 loopback [ OK ] # TEST: Global server, device send via cmsg, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - IPv6 loopback [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 [ OK ] # TEST: UDP in - LLA to GUA [ OK ] # # ################################################################# # udp_l3mdev_accept enabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=1 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Device server - ns-A IPv6 [ OK ] # TEST: Global server - ns-A IPv6 LLA [ OK ] # TEST: Device server - ns-A IPv6 LLA [ OK ] # TEST: Global server - ns-A loopback IPv6 [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - ns-A loopback IPv6 [ OK ] # TEST: No server - ns-A IPv6 LLA [ OK ] # TEST: Client - ns-B IPv6 [ OK ] # TEST: Client, device bind - ns-B IPv6 [ OK ] # TEST: Client, device send via cmsg - ns-B IPv6 [ OK ] # TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6 [ OK ] # TEST: No server, unbound client - ns-B IPv6 [ OK ] # TEST: No server, device client - ns-B IPv6 [ OK ] # TEST: Client - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind - ns-B loopback IPv6 [ OK ] # TEST: Client, device send via cmsg - ns-B loopback IPv6 [ OK ] # TEST: Client, device bind via IPV6_UNICAST_IF - ns-B loopback IPv6 [ OK ] # TEST: No server, unbound client - ns-B loopback IPv6 [ OK ] # TEST: No server, device client - ns-B loopback IPv6 [ OK ] # TEST: Client - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind - ns-B IPv6 LLA [ OK ] # TEST: Client, device send via cmsg - ns-B IPv6 LLA [ OK ] # TEST: Client, device bind via IPV6_UNICAST_IF - ns-B IPv6 LLA [ OK ] # TEST: No server, unbound client - ns-B IPv6 LLA [ OK ] # TEST: No server, device client - ns-B IPv6 LLA [ OK ] # TEST: Global server, local connection - ns-A IPv6 [ OK ] # TEST: Global server, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, local connection - IPv6 loopback [ OK ] # TEST: Device server, unbound client, local connection - ns-A IPv6 [ OK ] # TEST: Device server, local connection - ns-A loopback IPv6 [ OK ] # TEST: Device server, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device client via IPV6_UNICAST_IF, local connection - ns-A IPv6 [ OK ] # TEST: Global server, device client, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device send via cmsg, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - ns-A loopback IPv6 [ OK ] # TEST: Global server, device client, local connection - IPv6 loopback [ OK ] # TEST: Global server, device send via cmsg, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection - IPv6 loopback [ OK ] # TEST: Global server, device client via IP_UNICAST_IF, local connection, with connect() - IPv6 loopback [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 [ OK ] # TEST: UDP in - LLA to GUA [ OK ] # # ################################################################# # With VRF # [ 2570.745943] eth1: renamed from tmp # # ################################################################# # Global server disabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=0 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Global server - VRF IPv6 [ OK ] # TEST: VRF server - ns-A IPv6 [ OK ] # TEST: VRF server - VRF IPv6 [ OK ] # TEST: Enslaved device server - ns-A IPv6 [ OK ] # TEST: Enslaved device server - VRF IPv6 [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - VRF IPv6 [ OK ] # TEST: Global server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: Global server, VRF client, local conn - VRF IPv6 [ OK ] # TEST: VRF server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: VRF server, VRF client, local conn - VRF IPv6 [ OK ] # TEST: Global server, device client, local conn - ns-A IPv6 [ OK ] # TEST: VRF server, device client, local conn - ns-A IPv6 [ OK ] # TEST: Enslaved device server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: Enslaved device server, device client, local conn - ns-A IPv6 [ OK ] # # ################################################################# # Global server enabled # # SYSCTL: net.ipv4.udp_l3mdev_accept=1 # # TEST: Global server - ns-A IPv6 [ OK ] # TEST: Global server - VRF IPv6 [ OK ] # TEST: VRF server - ns-A IPv6 [ OK ] # TEST: VRF server - VRF IPv6 [ OK ] # TEST: Enslaved device server - ns-A IPv6 [ OK ] # TEST: Enslaved device server - VRF IPv6 [ OK ] # TEST: No server - ns-A IPv6 [ OK ] # TEST: No server - VRF IPv6 [ OK ] # TEST: VRF client [ OK ] # TEST: No server, VRF client [ OK ] # TEST: Enslaved device client [ OK ] # TEST: No server, enslaved device client [ OK ] # TEST: Global server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: VRF server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: Global server, VRF client, local conn - VRF IPv6 [ OK ] # TEST: VRF server, VRF client, local conn - VRF IPv6 [ OK ] # TEST: No server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: No server, VRF client, local conn - VRF IPv6 [ OK ] # TEST: Global server, device client, local conn - ns-A IPv6 [ OK ] # TEST: VRF server, device client, local conn - ns-A IPv6 [ OK ] # TEST: Device server, VRF client, local conn - ns-A IPv6 [ OK ] # TEST: Device server, device client, local conn - ns-A IPv6 [ OK ] # TEST: No server, device client, local conn - ns-A IPv6 [ OK ] # TEST: Global server, linklocal IP [ OK ] # TEST: No server, linklocal IP [ OK ] # TEST: Enslaved device client, linklocal IP [ OK ] # TEST: No server, device client, peer linklocal IP [ OK ] # TEST: Enslaved device client, local conn - linklocal IP [ OK ] # TEST: No server, device client, local conn - linklocal IP [ OK ] # TEST: UDP in - LLA to GUA [ OK ] # # ########################################################################### # IPv6 address binds # ########################################################################### # # # ################################################################# # No VRF # [ 2701.231984] eth1: renamed from tmp # TEST: Raw socket bind to local address - ns-A IPv6 [ OK ] # TEST: Raw socket bind to local address after device bind - ns-A IPv6 [ OK ] # TEST: Raw socket bind to local address - ns-A loopback IPv6 [ OK ] # TEST: Raw socket bind to local address after device bind - ns-A loopback IPv6 [ OK ] # TEST: Raw socket bind to nonlocal address - nonlocal IPv6 [ OK ] # TEST: TCP socket bind to local address - ns-A IPv6 [ OK ] # TEST: TCP socket bind to local address after device bind - ns-A IPv6 [ OK ] # TEST: TCP socket bind to out of scope local address - ns-A loopback IPv6 [ OK ] # # ################################################################# # With VRF # [ 2720.337936] eth1: renamed from tmp # TEST: Raw socket bind to local address after vrf bind - ns-A IPv6 [ OK ] # TEST: Raw socket bind to local address after device bind - ns-A IPv6 [ OK ] # TEST: Raw socket bind to local address after vrf bind - VRF IPv6 [ OK ] # TEST: Raw socket bind to local address after device bind - VRF IPv6 [ OK ] # TEST: Raw socket bind to invalid local address after vrf bind - ns-A loopback IPv6 [ OK ] # TEST: Raw socket bind to nonlocal address after VRF bind - nonlocal IPv6 [ OK ] # TEST: TCP socket bind to local address with VRF bind - ns-A IPv6 [ OK ] # TEST: TCP socket bind to local address with VRF bind - VRF IPv6 [ OK ] # TEST: TCP socket bind to local address with device bind - ns-A IPv6 [ OK ] # TEST: TCP socket bind to VRF address with device bind - VRF IPv6 [ OK ] # TEST: TCP socket bind to invalid local address for VRF - ns-A loopback IPv6 [ OK ] # TEST: TCP socket bind to invalid local address for device bind - ns-A loopback IPv6 [ OK ] # # ########################################################################### # Run time tests - ipv6 # ########################################################################### # [ 2747.800939] eth1: renamed from tmp # TEST: Device delete with active traffic - ping in - ns-A IPv6 [ OK ] [ 2756.738954] eth1: renamed from tmp # TEST: Device delete with active traffic - ping out - ns-A IPv6 [ OK ] [ 2763.686927] eth1: renamed from tmp # TEST: TCP active socket, global server - ns-A IPv6 [ OK ] [ 2773.599924] eth1: renamed from tmp # TEST: TCP active socket, global server - VRF IPv6 [ OK ] [ 2783.525944] eth1: renamed from tmp # TEST: TCP active socket, VRF server - ns-A IPv6 [ OK ] [ 2793.551001] eth1: renamed from tmp # TEST: TCP active socket, VRF server - VRF IPv6 [ OK ] [ 2803.589914] eth1: renamed from tmp # TEST: TCP active socket, enslaved device server - ns-A IPv6 [ OK ] [ 2813.526941] eth1: renamed from tmp # TEST: TCP active socket, enslaved device server - VRF IPv6 [ OK ] [ 2823.497925] eth1: renamed from tmp # TEST: TCP active socket, VRF client [ OK ] [ 2833.438945] eth1: renamed from tmp # TEST: TCP active socket, enslaved device client [ OK ] [ 2843.415964] eth1: renamed from tmp # TEST: TCP active socket, global server, VRF client - ns-A IPv6 [ OK ] [ 2853.383950] eth1: renamed from tmp # TEST: TCP active socket, global server, VRF client - VRF IPv6 [ OK ] [ 2863.295923] eth1: renamed from tmp # TEST: TCP active socket, VRF server and client - ns-A IPv6 [ OK ] [ 2873.230928] eth1: renamed from tmp # TEST: TCP active socket, VRF server and client - VRF IPv6 [ OK ] [ 2883.166937] eth1: renamed from tmp # TEST: TCP active socket, global server, device client - ns-A IPv6 [ OK ] [ 2893.076912] eth1: renamed from tmp # TEST: TCP active socket, VRF server, device client - ns-A IPv6 [ OK ] [ 2902.992939] eth1: renamed from tmp # TEST: TCP active socket, device server, device client - ns-A IPv6 [ OK ] [ 2912.935936] eth1: renamed from tmp # TEST: TCP passive socket, global server - ns-A IPv6 [ OK ] [ 2922.872956] eth1: renamed from tmp # TEST: TCP passive socket, global server - VRF IPv6 [ OK ] [ 2932.810043] eth1: renamed from tmp # TEST: TCP passive socket, VRF server - ns-A IPv6 [ OK ] [ 2942.818960] eth1: renamed from tmp # TEST: TCP passive socket, VRF server - VRF IPv6 [ OK ] [ 2952.898922] eth1: renamed from tmp # TEST: TCP passive socket, enslaved device server - ns-A IPv6 [ OK ] [ 2962.942940] eth1: renamed from tmp # TEST: TCP passive socket, enslaved device server - VRF IPv6 [ OK ] [ 2972.964932] eth1: renamed from tmp # TEST: TCP passive socket, VRF client [ OK ] [ 2982.888922] eth1: renamed from tmp # TEST: TCP passive socket, enslaved device client [ OK ] [ 2992.795956] eth1: renamed from tmp # TEST: TCP passive socket, global server, VRF client - ns-A IPv6 [ OK ] [ 3002.697016] eth1: renamed from tmp # TEST: TCP passive socket, global server, VRF client - VRF IPv6 [ OK ] [ 3012.633974] eth1: renamed from tmp # TEST: TCP passive socket, VRF server and client - ns-A IPv6 [ OK ] [ 3022.634976] eth1: renamed from tmp # TEST: TCP passive socket, VRF server and client - VRF IPv6 [ OK ] [ 3032.665953] eth1: renamed from tmp # TEST: TCP passive socket, global server, device client - ns-A IPv6 [ OK ] [ 3042.692930] eth1: renamed from tmp # TEST: TCP passive socket, VRF server, device client - ns-A IPv6 [ OK ] [ 3052.744919] eth1: renamed from tmp # TEST: TCP passive socket, device server, device client - ns-A IPv6 [ OK ] [ 3062.784954] eth1: renamed from tmp # TEST: UDP active socket, global server - ns-A IPv6 [ OK ] [ 3072.779971] eth1: renamed from tmp # TEST: UDP active socket, global server - VRF IPv6 [ OK ] [ 3082.794035] eth1: renamed from tmp # TEST: UDP active socket, VRF server - ns-A IPv6 [ OK ] [ 3092.853948] eth1: renamed from tmp # TEST: UDP active socket, VRF server - VRF IPv6 [ OK ] [ 3102.851963] eth1: renamed from tmp # TEST: UDP active socket, enslaved device server - ns-A IPv6 [ OK ] [ 3112.789969] eth1: renamed from tmp # TEST: UDP active socket, enslaved device server - VRF IPv6 [ OK ] [ 3122.711960] eth1: renamed from tmp # TEST: UDP active socket, VRF client [ OK ] [ 3132.633938] eth1: renamed from tmp # TEST: UDP active socket, enslaved device client [ OK ] [ 3142.546941] eth1: renamed from tmp # TEST: UDP active socket, global server, VRF client - ns-A IPv6 [ OK ] [ 3152.475937] eth1: renamed from tmp # TEST: UDP active socket, global server, VRF client - VRF IPv6 [ OK ] [ 3162.375912] eth1: renamed from tmp # TEST: UDP active socket, VRF server and client - ns-A IPv6 [ OK ] [ 3172.278928] eth1: renamed from tmp # TEST: UDP active socket, VRF server and client - VRF IPv6 [ OK ] [ 3182.200935] eth1: renamed from tmp # TEST: UDP active socket, global server, device client - ns-A IPv6 [ OK ] [ 3192.246943] eth1: renamed from tmp # TEST: UDP active socket, VRF server, device client - ns-A IPv6 [ OK ] [ 3202.293963] eth1: renamed from tmp # TEST: UDP active socket, device server, device client - ns-A IPv6 [ OK ] # # ########################################################################### # IPv6 Netfilter # ########################################################################### # # # ################################################################# # TCP reset # [ 3212.346000] eth1: renamed from tmp # TEST: Global server, reject with TCP-reset on Rx - ns-A IPv6 [ OK ] # TEST: Global server, reject with TCP-reset on Rx - VRF IPv6 [ OK ] # # ################################################################# # ICMP unreachable # # TEST: Global TCP server, Rx reject icmp-port-unreach - ns-A IPv6 [ OK ] # TEST: Global TCP server, Rx reject icmp-port-unreach - VRF IPv6 [ OK ] # TEST: Global UDP server, Rx reject icmp-port-unreach - ns-A IPv6 [ OK ] # TEST: Global UDP server, Rx reject icmp-port-unreach - VRF IPv6 [ OK ] # # ########################################################################### # Use cases # ########################################################################### # # # ################################################################# # Device enslaved to bridge # [ 3237.872942] eth1: renamed from tmp [ 3239.318532] br0: port 1(eth1) entered blocking state [ 3239.318954] br0: port 1(eth1) entered disabled state [ 3239.319259] eth1: entered allmulticast mode [ 3239.319570] eth1: entered promiscuous mode [ 3239.361273] br0: port 1(eth1) entered blocking state [ 3239.361614] br0: port 1(eth1) entered forwarding state [ 3239.383603] br0: port 1(eth1) entered disabled state [ 3239.384471] br0: port 1(eth1) entered blocking state [ 3239.384900] br0: port 1(eth1) entered forwarding state # TEST: Bridge into VRF - IPv4 ping out [ OK ] # TEST: Bridge into VRF - IPv6 ping out [ OK ] # TEST: Bridge into VRF - IPv4 ping in [ OK ] # TEST: Bridge into VRF - IPv6 ping in [ OK ] # modprobe: FATAL: Module br_netfilter not found in directory /lib/modules/6.8.0-rc1-virtme [ 3248.679746] br0: port 1(eth1) entered disabled state [ 3248.680287] br0: port 1(eth1) entered blocking state [ 3248.680573] br0: port 1(eth1) entered forwarding state # TEST: Bridge vlan into VRF - IPv4 ping out [ OK ] # TEST: Bridge vlan into VRF - IPv6 ping out [ OK ] # TEST: Bridge vlan into VRF - IPv4 ping in [ OK ] # TEST: Bridge vlan into VRF - IPv6 ping in [ OK ] # modprobe: FATAL: Module br_netfilter not found in directory /lib/modules/6.8.0-rc1-virtme [ 3254.141713] eth1: left allmulticast mode [ 3254.141979] eth1: left promiscuous mode [ 3254.142206] br0: port 1(eth1) entered disabled state # # ################################################################# # Ping LLA with multiple interfaces # [ 3255.874980] eth1: renamed from tmp [ 3255.928935] eth2: renamed from tmp # TEST: Pre cycle, ping out ns-B - multicast IP [ OK ] # TEST: Pre cycle, ping out ns-C - multicast IP [ OK ] # TEST: Post cycle nsa-TAp8uW eth1, ping out ns-B - multicast IP [ OK ] # TEST: Post cycle nsa-TAp8uW eth1, ping out ns-C - multicast IP [ OK ] # TEST: Post cycle nsa-TAp8uW eth2, ping out ns-B - multicast IP [ OK ] # TEST: Post cycle nsa-TAp8uW eth2, ping out ns-C - multicast IP [ OK ] # # ################################################################# # SNAT on VRF # [ 3270.075912] eth1: renamed from tmp # TEST: IPv4 TCP connection over VRF with SNAT [ OK ] # TEST: IPv6 TCP connection over VRF with SNAT [ OK ] # # Tests passed: 906 # Tests failed: 0 ok 1 selftests: net: fcnal-test.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->