Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
T5779: conntrack: Apply fixes to <set system conntrack timeout custom…
…>. Remove what was not working on 1.3, migrate what was working to new syntax and extend feature for ipv6.
- Loading branch information
1 parent
17722f3
commit 6d6b3fb
Showing
7 changed files
with
406 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
136 changes: 136 additions & 0 deletions
136
interface-definitions/include/conntrack/timeout-custom-protocols.xml.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
<!-- include start from conntrack/timeout-custom-protocols.xml.i --> | ||
<node name="tcp"> | ||
<properties> | ||
<help>TCP connection timeout options</help> | ||
</properties> | ||
<children> | ||
<leafNode name="close-wait"> | ||
<properties> | ||
<help>TCP CLOSE-WAIT timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP CLOSE-WAIT timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="close"> | ||
<properties> | ||
<help>TCP CLOSE timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP CLOSE timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="established"> | ||
<properties> | ||
<help>TCP ESTABLISHED timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP ESTABLISHED timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="fin-wait"> | ||
<properties> | ||
<help>TCP FIN-WAIT timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP FIN-WAIT timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="last-ack"> | ||
<properties> | ||
<help>TCP LAST-ACK timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP LAST-ACK timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="syn-recv"> | ||
<properties> | ||
<help>TCP SYN-RECEIVED timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP SYN-RECEIVED timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="syn-sent"> | ||
<properties> | ||
<help>TCP SYN-SENT timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP SYN-SENT timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="time-wait"> | ||
<properties> | ||
<help>TCP TIME-WAIT timeout in seconds</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>TCP TIME-WAIT timeout in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
</children> | ||
</node> | ||
<node name="udp"> | ||
<properties> | ||
<help>UDP timeout options</help> | ||
</properties> | ||
<children> | ||
<leafNode name="replied"> | ||
<properties> | ||
<help>Timeout for UDP connection seen in both directions</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>Timeout for UDP connection seen in both directions</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<leafNode name="unreplied"> | ||
<properties> | ||
<help>Timeout for unreplied UDP</help> | ||
<valueHelp> | ||
<format>u32:1-21474836</format> | ||
<description>Timeout for unreplied UDP</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-21474836"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
</children> | ||
</node> | ||
<!-- include end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.