From 09c7e3f6e497f4ae267772e7357763ac7c18659f Mon Sep 17 00:00:00 2001 From: Eyal Soha Date: Wed, 15 Apr 2020 19:36:03 -0700 Subject: Add tests for segments outside the receive window. The tests are based on RFC 793 page 69. Updates #1607 PiperOrigin-RevId: 306768847 --- test/packetimpact/tests/BUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/packetimpact/tests/BUILD') diff --git a/test/packetimpact/tests/BUILD b/test/packetimpact/tests/BUILD index 1274d9f60..4f8c8bdc0 100644 --- a/test/packetimpact/tests/BUILD +++ b/test/packetimpact/tests/BUILD @@ -40,6 +40,19 @@ packetimpact_go_test( ], ) +packetimpact_go_test( + name = "tcp_outside_the_window", + srcs = ["tcp_outside_the_window_test.go"], + # TODO(eyalsoha): Fix #1607 then remove the line below. + netstack = False, + deps = [ + "//pkg/tcpip/header", + "//pkg/tcpip/seqnum", + "//test/packetimpact/testbench", + "@org_golang_x_sys//unix:go_default_library", + ], +) + packetimpact_go_test( name = "tcp_noaccept_close_rst", srcs = ["tcp_noaccept_close_rst_test.go"], -- cgit v1.2.3