HomeFreeBSD

pf: cope with SCTP port re-use

Description

pf: cope with SCTP port re-use

Some SCTP implementations will abort connections and then later re-use the same
port numbers (i.e. both src and dst) for a new connection, before pf has fully
purged the old connection.

Apply the same hack we already have for similarly misbehaving TCP
implementations and forcibly remove the old state so we can create a new one.

MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 82e021443a76b1f210cfb929a495185179606868)

Details

Provenance
kpAuthored on Aug 12 2024, 4:18 PM
Parents
rG818e3dc03d0c: tools: Remove stray "then"
Branches
Unknown
Tags
Unknown