From 5a421058a07477e23f6ca23bb510894419224080 Mon Sep 17 00:00:00 2001 From: Ghanan Gowripalan Date: Fri, 25 Oct 2019 16:05:31 -0700 Subject: Validate the checksum for incoming ICMPv6 packets This change validates the ICMPv6 checksum field before further processing an ICMPv6 packet. Tests: Unittests to make sure that only ICMPv6 packets with a valid checksum are accepted/processed. Existing tests using checker.ICMPv6 now also check the ICMPv6 checksum field. PiperOrigin-RevId: 276779148 --- pkg/tcpip/checker/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/tcpip/checker/BUILD') diff --git a/pkg/tcpip/checker/BUILD b/pkg/tcpip/checker/BUILD index 4cecfb989..b6fa6fc37 100644 --- a/pkg/tcpip/checker/BUILD +++ b/pkg/tcpip/checker/BUILD @@ -10,6 +10,7 @@ go_library( visibility = ["//visibility:public"], deps = [ "//pkg/tcpip", + "//pkg/tcpip/buffer", "//pkg/tcpip/header", "//pkg/tcpip/seqnum", ], -- cgit v1.2.3