diff mbox series

netfilter: conntrack: document sctp timeouts

Message ID 20221212100705.12073-1-sriram.yagnaraman@est.tech (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series netfilter: conntrack: document sctp timeouts | expand

Checks

Context Check Description
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers fail 6 maintainers not CCed: edumazet@google.com davem@davemloft.net kuba@kernel.org linux-doc@vger.kernel.org pabeni@redhat.com corbet@lwn.net
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff fail author Signed-off-by missing
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch warning WARNING: Missing commit description - Add an appropriate one
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Sriram Yagnaraman Dec. 12, 2022, 10:07 a.m. UTC
---
 .../networking/nf_conntrack-sysctl.rst        | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)

Comments

Pablo Neira Ayuso Dec. 13, 2022, 11:26 a.m. UTC | #1
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
>
Sriram Yagnaraman Dec. 13, 2022, 12:23 p.m. UTC | #2
> -----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.
>
diff mbox series

Patch

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