-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…logs parsing, and migration to valueless node for log and state matchers
- Loading branch information
1 parent
9f92b9f
commit 9e05326
Showing
17 changed files
with
309 additions
and
300 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
26 changes: 26 additions & 0 deletions
26
interface-definitions/include/firewall/firewall-mark.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,26 @@ | ||
<!-- include start from firewall/firewall-mark.xml.i --> | ||
<leafNode name="mark"> | ||
<properties> | ||
<help>Firewall mark</help> | ||
<valueHelp> | ||
<format>u32:0-2147483647</format> | ||
<description>Firewall mark to match</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>!u32:0-2147483647</format> | ||
<description>Inverted Firewall mark to match</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format><start-end></format> | ||
<description>Firewall mark range to match</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>!<start-end></format> | ||
<description>Firewall mark inverted range to match</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric-exclude" argument="--allow-range --range 0-2147483647"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
<!-- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
<!-- include start from firewall/log.xml.i --> | ||
<node name="log"> | ||
<leafNode name="log"> | ||
<properties> | ||
<help>Option to log packets</help> | ||
<help>Enable log</help> | ||
<valueless/> | ||
</properties> | ||
<children> | ||
<leafNode name="enable"> | ||
<properties> | ||
<help>Enable logging</help> | ||
<valueless/> | ||
</properties> | ||
</leafNode> | ||
</children> | ||
</node> | ||
<!-- include end --> | ||
</leafNode> |
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,30 @@ | ||
<!-- include start from firewall/state.xml.i --> | ||
<leafNode name="state"> | ||
<properties> | ||
<help>Session state</help> | ||
<completionHelp> | ||
<list>established invalid new related</list> | ||
</completionHelp> | ||
<valueHelp> | ||
<format>established</format> | ||
<description>Established state</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>invalid</format> | ||
<description>Invalid state</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>new</format> | ||
<description>New state</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>related</format> | ||
<description>Related state</description> | ||
</valueHelp> | ||
<constraint> | ||
<regex>(established|invalid|new|related)</regex> | ||
</constraint> | ||
<multi/> | ||
</properties> | ||
</leafNode> | ||
<!-- 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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!-- include start from include/version/firewall-version.xml.i --> | ||
<syntaxVersion component='firewall' version='12'></syntaxVersion> | ||
<syntaxVersion component='firewall' version='13'></syntaxVersion> | ||
<!-- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<!-- include start from include/version/policy-version.xml.i --> | ||
<syntaxVersion component='policy' version='6'></syntaxVersion> | ||
<syntaxVersion component='policy' version='7'></syntaxVersion> | ||
<!-- 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.