Skip to content

Port Reuse on TCP Connections #56

Description

@N0W0RK

In my development Process with frequent restarting, I experienced issues with working code breaking after resetting or flashing.
After some Packet inspection with Wireshark, I figured out, that upon reset, the same sourcePort is used. THis however can be misinterpretedby the Server as an out of Sequence packet or simmilar.
This could also be the source of the issues described in #30 .

A simple Fix would be to set the lastport Variable randomly in uip.c.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions