diff options
author | Mithun Iyer <iyerm@google.com> | 2020-05-29 12:27:55 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-29 12:33:28 -0700 |
commit | 089c88f2e87fb14cead02caea7f9dba0a5957395 (patch) | |
tree | 7c156a7eb5457da52b244f92bcacff0a013c727d /test/packetimpact/tests/BUILD | |
parent | ccf69bdd7e05a4e5f404fbef89a7f49f218645e2 (diff) |
Move TCP to CLOSED from SYN-RCVD on RST.
RST handling is broken when the TCP state transitions
from SYN-SENT to SYN-RCVD in case of simultaneous open.
An incoming RST should trigger cleanup of the endpoint.
RFC793, section 3.9, page 70.
Fixes #2814
PiperOrigin-RevId: 313828777
Diffstat (limited to 'test/packetimpact/tests/BUILD')
-rw-r--r-- | test/packetimpact/tests/BUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/packetimpact/tests/BUILD b/test/packetimpact/tests/BUILD index e2a320159..9cd695200 100644 --- a/test/packetimpact/tests/BUILD +++ b/test/packetimpact/tests/BUILD @@ -170,6 +170,26 @@ packetimpact_go_test( ) packetimpact_go_test( + name = "tcp_synsent_reset", + srcs = ["tcp_synsent_reset_test.go"], + deps = [ + "//pkg/tcpip/header", + "//test/packetimpact/testbench", + "@org_golang_x_sys//unix:go_default_library", + ], +) + +packetimpact_go_test( + name = "tcp_synrcvd_reset", + srcs = ["tcp_synrcvd_reset_test.go"], + deps = [ + "//pkg/tcpip/header", + "//test/packetimpact/testbench", + "@org_golang_x_sys//unix:go_default_library", + ], +) + +packetimpact_go_test( name = "icmpv6_param_problem", srcs = ["icmpv6_param_problem_test.go"], # TODO(b/153485026): Fix netstack then remove the line below. |