Files
linux/include/uapi/linux
Sriram Yagnaraman a44b765148 netfilter: conntrack: unify established states for SCTP paths
An SCTP endpoint can start an association through a path and tear it
down over another one. That means the initial path will not see the
shutdown sequence, and the conntrack entry will remain in ESTABLISHED
state for 5 days.

By merging the HEARTBEAT_ACKED and ESTABLISHED states into one
ESTABLISHED state, there remains no difference between a primary or
secondary path. The timeout for the merged ESTABLISHED state is set to
210 seconds (hb_interval * max_path_retrans + rto_max). So, even if a
path doesn't see the shutdown sequence, it will expire in a reasonable
amount of time.

With this change in place, there is now more than one state from which
we can transition to ESTABLISHED, COOKIE_ECHOED and HEARTBEAT_SENT, so
handle the setting of ASSURED bit whenever a state change has happened
and the new state is ESTABLISHED. Removed the check for dir==REPLY since
the transition to ESTABLISHED can happen only in the reply direction.

Fixes: 9fb9cbb108 ("[NETFILTER]: Add nf_conntrack subsystem.")
Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2023-01-24 09:52:52 +01:00
..
2022-09-15 09:08:09 +02:00
2021-01-25 18:44:44 +01:00
2022-04-19 13:13:47 +01:00
2021-11-01 13:36:08 +00:00
2022-08-11 10:31:19 -07:00
2022-12-08 18:25:31 -08:00
2022-06-07 10:20:42 -07:00
2021-11-26 16:48:59 +01:00
2022-11-03 15:16:50 +01:00
2022-08-23 14:54:54 -05:00
2022-10-25 15:17:23 -07:00
2022-04-04 08:55:23 +02:00
2021-10-07 13:51:11 +02:00
2022-08-10 13:49:50 +01:00
2021-02-08 13:01:24 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-06-03 20:09:27 +08:00
2022-09-20 09:13:38 +02:00
2022-10-19 09:01:44 +02:00
2021-03-10 09:34:06 +01:00
2022-12-01 20:06:06 -08:00
2022-09-07 16:46:03 +02:00
2021-07-06 10:37:46 -05:00
2022-09-20 09:13:38 +02:00
2023-01-04 14:44:13 -07:00
2022-11-17 11:04:23 -08:00
2021-01-07 16:17:32 +01:00
2022-09-27 17:29:09 -07:00
2022-08-11 04:31:15 -04:00
2021-06-12 13:16:45 -07:00
2022-12-05 10:30:47 +01:00