summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/tests/BUILD
diff options
context:
space:
mode:
authorEyal Soha <eyalsoha@google.com>2020-04-15 19:36:03 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-15 19:37:00 -0700
commit09c7e3f6e497f4ae267772e7357763ac7c18659f (patch)
tree71471f98505dc40797ba0ac3ffaf8042bf9a1541 /test/packetimpact/tests/BUILD
parent3d3bf9603d9a933b4bf19c38190c583894b75d66 (diff)
Add tests for segments outside the receive window.
The tests are based on RFC 793 page 69. Updates #1607 PiperOrigin-RevId: 306768847
Diffstat (limited to 'test/packetimpact/tests/BUILD')
-rw-r--r--test/packetimpact/tests/BUILD13
1 files changed, 13 insertions, 0 deletions
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
@@ -41,6 +41,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"],
deps = [