]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: sctp heartbeats confirm a connection
authorKristof Provost <kp@FreeBSD.org>
Fri, 17 Nov 2023 12:52:34 +0000 (13:52 +0100)
committerKristof Provost <kp@FreeBSD.org>
Fri, 17 Nov 2023 22:33:44 +0000 (23:33 +0100)
commit7093414c63b08864dd9348f63e67b39a70c8b1be
treefc5b6d1b998b2e6ebbe7a457c4216dc9e95b1620
parenta8dbbeb1c71b6f302818b8e041a2b50486b90180
pf: sctp heartbeats confirm a connection

When we create a new state for multihomed sctp connections (i.e.
based on INIT/INIT_ACK or ASCONF parameters) the new connection will
never see a COOKIE/COOKIE_ACK exchange. We should consider HEARTBEAT_ACK
to be a confirmation that the connection is established.

This ensures that such connections do not time out earlier than
expected.

MFC after: 1 week
Sponsored by: Orange Business Services
sys/net/pfvar.h
sys/netpfil/pf/pf.c
sys/netpfil/pf/pf_norm.c