summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/tests/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-16 12:21:06 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-16 12:22:17 -0700
commiteb7b1903e00eda9248da59991d80594590c9aab6 (patch)
tree6b749ffd48439907c3c084b90ceaed1227032819 /test/packetimpact/tests/BUILD
parent28399818fc1e5d294cc93ddd4a1ac7e31c375fbf (diff)
Test TCP behavior when receiving unacceptable segment in CLOSE_WAIT
TCP, in CLOSE-WAIT state, MUST return ACK with proper SEQ and ACK numbers after recv a seg with OTW SEQ or unacc ACK number, and remain in same state. If the connection is in a synchronized state, any unacceptable segment (out of window sequence number or unacceptable acknowledgment number) must elicit only an empty acknowledgment segment containing the current send-sequence number and an acknowledgment indicating the next sequence number expected to be received, and the connection remains in the same state. PiperOrigin-RevId: 306897984
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 4f8c8bdc0..690cee140 100644
--- a/test/packetimpact/tests/BUILD
+++ b/test/packetimpact/tests/BUILD
@@ -75,6 +75,19 @@ packetimpact_go_test(
],
)
+packetimpact_go_test(
+ name = "tcp_close_wait_ack",
+ srcs = ["tcp_close_wait_ack_test.go"],
+ # TODO(b/153574037): Fix netstack 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",
+ ],
+)
+
sh_binary(
name = "test_runner",
srcs = ["test_runner.sh"],