You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -568,7 +568,7 @@ As part of this process several breaking changes where made to the code that wil
568
568
* Attributes that allow both arrays and negated values have now been updated.
569
569
* For attributes that require that all passed values be negated as one, you now merely have to negate the first value within the array, rather than all of them, though negating all is still accepted.
570
570
* For attributes that allow passed values to be negated seperately this is not the case. All attributes in this situation are noted within their description.
571
-
* The `sport` and `dport` attributes have been updated so that they will now accept with `:` or `-` as a separator when passing ranges, with `:` being preferred as it matchs what is passed to iptables.
571
+
* The `sport` and `dport` attributes have been updated so that they will now accept with `:` or `-` as a separator when passing ranges, with `:` being preferred as it matches what is passed to iptables.
572
572
573
573
Two pairs of manifest taken from the tests can be seen below, illustrating the changes that may be required, the first applying a hoplimit on `ip6tables`:
Copy file name to clipboardExpand all lines: REFERENCE.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -364,10 +364,10 @@ Data type: `Optional[Integer]`
364
364
365
365
##### `connmark`
366
366
367
-
Data type: `Optional[Pattern[/^(?:!\s)?[a-fA-F0-9x]+$/]]`
367
+
Data type: `Optional[Pattern[/^(?:!\s)?[a-fA-F0-9x]+(?:\/[a-fA-F0-9x]+)?$/]]`
368
368
_*this data type contains a regex that may not be accurately reflected in generated documentation_
369
369
370
-
Match the Netfilter mark value associated with the packet, accepts a mark.
370
+
Match the Netfilter mark value associated with the packet. Accepts either of mark/mask or mark.
371
371
This value will be converted to hex if it is not already.
372
372
This value can be negated by adding a space seperated `!` to the beginning.
373
373
@@ -730,8 +730,7 @@ Data type: `Optional[Variant[String[1], Integer]]`
730
730
731
731
##### `goto`
732
732
733
-
Data type: `Optional[Pattern[/^[a-zA-Z0-9_]+$/]]`
734
-
_*this data type contains a regex that may not be accurately reflected in generated documentation_
733
+
Data type: `Optional[String[1]]`
735
734
736
735
The value for the iptables --goto parameter. Normal values are:
737
736
@@ -880,7 +879,7 @@ Data type: `Optional[Enum['none', 'ipsec']]`
880
879
881
880
##### `ipset`
882
881
883
-
Data type: `Optional[Variant[Pattern[/^(?:!\s)?\w+\s(?:src|dst)(?:,src|,dst)?$/], Array[Pattern[/^(?:!\s)?\w+\s(?:src|dst)(?:,src|,dst)?$/]]]]`
882
+
Data type: `Optional[Variant[Pattern[/^(?:!\s)?[\w\-:_]+\s(?:src|dst)(?:,src|,dst)?$/], Array[Pattern[/^(?:!\s)?[\w\-:_]+\s(?:src|dst)(?:,src|,dst)?$/]]]]`
884
883
_*this data type contains a regex that may not be accurately reflected in generated documentation_
885
884
886
885
Matches against the specified ipset list.
@@ -927,16 +926,15 @@ Data type: `Optional[Boolean]`
927
926
928
927
##### `jump`
929
928
930
-
Data type: `Optional[Pattern[/^[a-zA-Z0-9_]+$/]]`
931
-
_*this data type contains a regex that may not be accurately reflected in generated documentation_
929
+
Data type: `Optional[String[1]]`
932
930
933
931
This value for the iptables --jump parameter and the action to perform on a match. Common values are:
934
932
935
933
* ACCEPT - the packet is accepted
936
934
* REJECT - the packet is rejected with a suitable ICMP response
937
935
* DROP - the packet is dropped
938
936
939
-
But can also be on of the following:
937
+
But can also be one of the following:
940
938
941
939
* QUEUE
942
940
* RETURN
@@ -1041,10 +1039,10 @@ _*this data type contains a regex that may not be accurately reflected in genera
1041
1039
1042
1040
##### `match_mark`
1043
1041
1044
-
Data type: `Optional[Pattern[/^(?:!\s)?[a-fA-F0-9x]+$/]]`
1042
+
Data type: `Optional[Pattern[/^(?:!\s)?[a-fA-F0-9x]+(?:\/[a-fA-F0-9x]+)?$/]]`
1045
1043
_*this data type contains a regex that may not be accurately reflected in generated documentation_
1046
1044
1047
-
Match the Netfilter mark value associated with the packet, accepts a mark.
1045
+
Match the Netfilter mark value associated with the packet. Accepts either of mark/mask or mark.
1048
1046
This value will be converted to hex if it is not already.
1049
1047
This value can be negated by adding a space seperated `!` to the beginning.
0 commit comments