From 32d5e449e61b0b8dfbdfc295da7d63a2e8816d97 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Thu, 6 Mar 2014 02:31:25 +0400 Subject: [PATCH] VRRP: add a sample capture and two test cases The sample capture consists of VRRPv2/IPv4, VRRPv3/IPv4 and VRRPv3/IPv6 packets. It was produced using 7 MikroTik devices running RouterOS 6.10 and configured for the same set of virtual addresses with different priorities per device. The devices were powered on one after another with a ~30 seconds delay in the order of VRRP priority ascending. The test cases decode the capture with and without "-v". --- tests/TESTLIST | 4 + tests/vrrp-v.out | 266 +++++++++++++++++++++++++++++++++++++++++++++++ tests/vrrp.out | 165 +++++++++++++++++++++++++++++ tests/vrrp.pcap | Bin 0 -> 16344 bytes 4 files changed, 435 insertions(+) create mode 100644 tests/vrrp-v.out create mode 100644 tests/vrrp.out create mode 100644 tests/vrrp.pcap diff --git a/tests/TESTLIST b/tests/TESTLIST index 0b402c28..88f97cc2 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -174,3 +174,7 @@ dccp_partial_csum_v4_simple dccp_partial_csum_v4_simple.pcap dccp_partial_csum_v dccp_partial_csum_v4_longer dccp_partial_csum_v4_longer.pcap dccp_partial_csum_v4_longer.out -t -vv dccp_partial_csum_v6_simple dccp_partial_csum_v6_simple.pcap dccp_partial_csum_v6_simple.out -t -vv dccp_partial_csum_v6_longer dccp_partial_csum_v6_longer.pcap dccp_partial_csum_v6_longer.out -t -vv + +# VRRP tests +vrrp vrrp.pcap vrrp.out -t +vrrp-v vrrp.pcap vrrp-v.out -t -v diff --git a/tests/vrrp-v.out b/tests/vrrp-v.out new file mode 100644 index 00000000..4edee3eb --- /dev/null +++ b/tests/vrrp-v.out @@ -0,0 +1,266 @@ +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv3, Advertisement +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv3, Advertisement +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.91 > 224.0.0.18: vrrp 10.0.0.91 > 224.0.0.18: VRRPv3, Advertisement +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 192, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 192, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 192, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.92 > 224.0.0.18: vrrp 10.0.0.92 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.93 > 224.0.0.18: vrrp 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.94 > 224.0.0.18: vrrp 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.95 > 224.0.0.18: vrrp 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.96 > 224.0.0.18: vrrp 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP6 (hlim 255, next-header VRRP (112) payload length: 40) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 (hlim 255, next-header VRRP (112) payload length: 88) fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28, addrs(3): 10.4.42.1,10.4.42.2,10.4.42.3 auth "abcdefgh" +IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) + 10.0.0.97 > 224.0.0.18: vrrp 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20, addrs: 10.4.43.150 diff --git a/tests/vrrp.out b/tests/vrrp.out new file mode 100644 index 00000000..161d7c19 --- /dev/null +++ b/tests/vrrp.out @@ -0,0 +1,165 @@ +IP 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28 +IP 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20 +IP 10.0.0.91 > 224.0.0.18: VRRPv3, Advertisement +IP 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28 +IP 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 +IP 10.0.0.91 > 224.0.0.18: VRRPv3, Advertisement +IP 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 191, authtype simple, intvl 10s, length 28 +IP 10.0.0.91 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 191, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 +IP 10.0.0.91 > 224.0.0.18: VRRPv3, Advertisement +IP 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28 +IP 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 192, authtype none, intvl 10s, length 20 +IP 10.0.0.92 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe66:cf60 > ff02::12: ip-proto-112 88 +IP 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28 +IP 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 192, authtype none, intvl 10s, length 20 +IP 10.0.0.92 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 +IP 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 192, authtype simple, intvl 10s, length 28 +IP 10.0.0.92 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 192, authtype none, intvl 10s, length 20 +IP 10.0.0.92 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28 +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20 +IP 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe72:b1da > ff02::12: ip-proto-112 40 +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28 +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28 +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 193, authtype none, intvl 10s, length 20 +IP 10.0.0.93 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 193, authtype simple, intvl 10s, length 28 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP 10.0.0.93 > 224.0.0.18: VRRPv3, Advertisement +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20 +IP 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 88 +IP6 fe80::d6ca:6dff:fe66:cf65 > ff02::12: ip-proto-112 40 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20 +IP 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 194, authtype simple, intvl 10s, length 28 +IP 10.0.0.94 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 194, authtype none, intvl 10s, length 20 +IP 10.0.0.94 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20 +IP 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe65:d45c > ff02::12: ip-proto-112 88 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20 +IP 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 195, authtype simple, intvl 10s, length 28 +IP 10.0.0.95 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 195, authtype none, intvl 10s, length 20 +IP 10.0.0.95 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20 +IP 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe65:d46b > ff02::12: ip-proto-112 88 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28 +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 196, authtype simple, intvl 10s, length 28 +IP 10.0.0.96 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 196, authtype none, intvl 10s, length 20 +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP 10.0.0.96 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 40 +IP6 fe80::d6ca:6dff:fe72:b1e4 > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 40 +IP 10.0.0.97 > 224.0.0.18: VRRPv3, Advertisement +IP6 fe80::20c:42ff:fe5e:c2dc > ff02::12: ip-proto-112 88 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 42, prio 197, authtype simple, intvl 10s, length 28 +IP 10.0.0.97 > 224.0.0.18: VRRPv2, Advertisement, vrid 43, prio 197, authtype none, intvl 10s, length 20 diff --git a/tests/vrrp.pcap b/tests/vrrp.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8db1e20d22fce241eac5a42f4286eefb9731bf5b GIT binary patch literal 16344 zcmd6u32ak!9LHbV4YqCrvLHj8Y-0o_J){{yLv#U|y2J=5iWqjm7#a>U2?2=_2~5B# zM!}#QE*L-}hse~8d9bzJfy9aEBt(&0*NrhD9CC!!@2}nF`rd!(d)d#I*W@iN$LII$ z`~I%i*EM>}J~m4cQs=|(mn0KjjQc2I>YFoTqzpW#!zATOQoMwprcqJSqmnc_evBmf ziw=Hkm82P`@pmbssw^h!9Scf`UE_;>P;`^e`8eyM}tgGYKgo&?Un*|F-6e0mFMMgI2X^hA=59bVvXpK~PNZw|ih z_!;kV&^te}we#PZrCfizWOgKz#T}2`4U(0j-9fZ>@Mm;%i{|WzHeE$DXH}%dmlrRK z=IkD=%`aJHuVZAdV`Z=7NL?k9lxor*RY)B{pC+#0CcKu&hc zkpCecDO$6Or^cs&^<9Gs$G<_p$UYtDWYy?omxP^+Xir~L;kdVpW~)XgYZi2}=fOI# zC)g2XT`{zi)pxR7_G;8~S*@~@%>ZlAU3&RL(PklzTJ37uUk z94`Q?pn}J7Vr>UYg9i)u|E8D_&T91RSKsFD*`&?`bsFZENS%Z7y>*C8onn5?MYJ>@ zm*Ye$04?mcqQdb7VAXxX<2bR*JM}uJ6m1Bi88g2YL0#F== z8KRv$%jG!H?m5Tf_;Rq?lH#;f%A6yG%1-P?C(enJ^}1ef&!o3bovDONh!vXGwVf=N z-Gd(axmP*IOTpTjV$|#*b-zHJKH0Mk(cb!i%W;y}A$E&+&HZL}}zXY4x4`6L76J}3n)zRI?fHIfei3dEom5!Nd!B zDaGd{6zz9!q_)jX8O`a%<~A)#7OmHt+exVFlf~sY(Xv1b+tpRn_-U~I*`$|C6m8;W zp8O(Kk;kZx`=D;#OI(fekh-L*4fFK1_}it$YNJ<2S%MWQo=?dl&9MubjP<1-=2Y zX{eaJ6m5l#C%*!$snJ>-7b$nvV2&?YAyeM#IWCprPF(_5jT3F)U>?WKU@g3+X}=bo zH-|dMDcaC`c^oHJMW#_5w?bV+29HO?8V^$6CxJ0)mQa$oT51sc^oI! z_Y;lk_&}&zG@HvMqLqUdc5_oP#|ME`c}XwFDO$;39>NDWiERyX7=7{<>r$nw39LQ3)i^~< zXL6iaHw^3evrw0MlgA@s<$*=l;&k+QJ+5l+pAOnO-5jTAnM{ro%WYW4^PuiVQhz3w zh&CpS^xk5 literal 0 HcmV?d00001