Skip to content

Incomplete TCP Handshake/Teardown Handling #1049

@Zeroc0077

Description

@Zeroc0077

When a TCP connection experiences an incomplete handshake or teardown (FIN) packet reception, the protocol stack remains in the connected state and continues to send FIN+ACK packets. The mainstream approach is if a TCP connection does not receive a complete handshake or teardown sequence, it should transition to a closed state after sending a specified number of probe packets.
Currently, smoltcp maintains the connection state and sends FIN+ACK packets indefinitely, which can lead to resource leaks and unexpected behavior in applications relying on proper TCP state management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions