All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] netfilter: conntrack: document sctp timeouts
@ 2022-12-12 10:07 Sriram Yagnaraman
  2022-12-13 11:26 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Sriram Yagnaraman @ 2022-12-12 10:07 UTC (permalink / raw)
  To: netdev, netfilter-devel; +Cc: Sriram Yagnaraman

---
 .../networking/nf_conntrack-sysctl.rst        | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/Documentation/networking/nf_conntrack-sysctl.rst b/Documentation/networking/nf_conntrack-sysctl.rst
index 1120d71f28d7..49db1d11d7c4 100644
--- a/Documentation/networking/nf_conntrack-sysctl.rst
+++ b/Documentation/networking/nf_conntrack-sysctl.rst
@@ -163,6 +163,39 @@ nf_conntrack_timestamp - BOOLEAN
 
 	Enable connection tracking flow timestamping.
 
+nf_conntrack_sctp_timeout_closed - INTEGER (seconds)
+	default 10
+
+nf_conntrack_sctp_timeout_cookie_wait - INTEGER (seconds)
+	default 3
+
+nf_conntrack_sctp_timeout_cookie_echoed - INTEGER (seconds)
+	default 3
+
+nf_conntrack_sctp_timeout_established - INTEGER (seconds)
+	default 432000 (5 days)
+
+nf_conntrack_sctp_timeout_shutdown_sent - INTEGER (seconds)
+	default 0.3
+
+nf_conntrack_sctp_timeout_shutdown_recd - INTEGER (seconds)
+	default 0.3
+
+nf_conntrack_sctp_timeout_shutdown_ack_sent - INTEGER (seconds)
+	default 3
+
+nf_conntrack_sctp_timeout_heartbeat_sent - INTEGER (seconds)
+	default 30
+
+	This timeout is used to setup conntrack entry on secondary paths.
+	Default is set to hb_interval.
+
+nf_conntrack_sctp_timeout_heartbeat_acked - INTEGER (seconds)
+	default 210
+
+	This timeout is used to setup conntrack entry on secondary paths.
+	Default is set to (hb_interval * path_max_retrans + rto_max)
+
 nf_conntrack_udp_timeout - INTEGER (seconds)
 	default 30
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] netfilter: conntrack: document sctp timeouts
  2022-12-12 10:07 [PATCH] netfilter: conntrack: document sctp timeouts Sriram Yagnaraman
@ 2022-12-13 11:26 ` Pablo Neira Ayuso
  2022-12-13 12:23   ` Sriram Yagnaraman
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2022-12-13 11:26 UTC (permalink / raw)
  To: Sriram Yagnaraman; +Cc: netdev, netfilter-devel

Maybe I add your Signed-off-by: tag to this patch?

Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>

Thanks.

On Mon, Dec 12, 2022 at 11:07:05AM +0100, Sriram Yagnaraman wrote:
> ---
>  .../networking/nf_conntrack-sysctl.rst        | 33 +++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 
> diff --git a/Documentation/networking/nf_conntrack-sysctl.rst b/Documentation/networking/nf_conntrack-sysctl.rst
> index 1120d71f28d7..49db1d11d7c4 100644
> --- a/Documentation/networking/nf_conntrack-sysctl.rst
> +++ b/Documentation/networking/nf_conntrack-sysctl.rst
> @@ -163,6 +163,39 @@ nf_conntrack_timestamp - BOOLEAN
>  
>  	Enable connection tracking flow timestamping.
>  
> +nf_conntrack_sctp_timeout_closed - INTEGER (seconds)
> +	default 10
> +
> +nf_conntrack_sctp_timeout_cookie_wait - INTEGER (seconds)
> +	default 3
> +
> +nf_conntrack_sctp_timeout_cookie_echoed - INTEGER (seconds)
> +	default 3
> +
> +nf_conntrack_sctp_timeout_established - INTEGER (seconds)
> +	default 432000 (5 days)
> +
> +nf_conntrack_sctp_timeout_shutdown_sent - INTEGER (seconds)
> +	default 0.3
> +
> +nf_conntrack_sctp_timeout_shutdown_recd - INTEGER (seconds)
> +	default 0.3
> +
> +nf_conntrack_sctp_timeout_shutdown_ack_sent - INTEGER (seconds)
> +	default 3
> +
> +nf_conntrack_sctp_timeout_heartbeat_sent - INTEGER (seconds)
> +	default 30
> +
> +	This timeout is used to setup conntrack entry on secondary paths.
> +	Default is set to hb_interval.
> +
> +nf_conntrack_sctp_timeout_heartbeat_acked - INTEGER (seconds)
> +	default 210
> +
> +	This timeout is used to setup conntrack entry on secondary paths.
> +	Default is set to (hb_interval * path_max_retrans + rto_max)
> +
>  nf_conntrack_udp_timeout - INTEGER (seconds)
>  	default 30
>  
> -- 
> 2.34.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] netfilter: conntrack: document sctp timeouts
  2022-12-13 11:26 ` Pablo Neira Ayuso
@ 2022-12-13 12:23   ` Sriram Yagnaraman
  0 siblings, 0 replies; 3+ messages in thread
From: Sriram Yagnaraman @ 2022-12-13 12:23 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netdev, netfilter-devel

> -----Original Message-----
> From: Pablo Neira Ayuso <pablo@netfilter.org>
> Sent: Tuesday, 13 December 2022 12:26
> To: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
> Cc: netdev@vger.kernel.org; netfilter-devel@vger.kernel.org
> Subject: Re: [PATCH] netfilter: conntrack: document sctp timeouts
> 
> Maybe I add your Signed-off-by: tag to this patch?
> 
> Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
> 
Yes please, thank you, forgot to add it myself.

> Thanks.
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-13 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12 10:07 [PATCH] netfilter: conntrack: document sctp timeouts Sriram Yagnaraman
2022-12-13 11:26 ` Pablo Neira Ayuso
2022-12-13 12:23   ` Sriram Yagnaraman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.