summaryrefslogtreecommitdiffstats
path: root/tests/py/bridge/ether.t.json.output
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-06-18 20:43:57 +0200
committerFlorian Westphal <fw@strlen.de>2019-06-19 22:49:36 +0200
commitea046380431f5cc623daf8c9d7b2c5438a90a84f (patch)
tree818619874ae94cf0561105500f078bf4eae8388b /tests/py/bridge/ether.t.json.output
parent29740423f948b6f8ca11b250b6088df689d882dc (diff)
netlink_delinerize: remove network header dep for reject statement also in bridge family
add rule bridge test-bridge input reject with icmp type ... is shown as ether type ip reject type ... i.e., the dependency is not removed. Allow dependency removal -- this adds a problem where some icmp types will be shortened to 'reject', losing the icmp ipv4 dependency. Next patch resolves this problem by disabling short-hand abbreviations for bridge reject statements. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/bridge/ether.t.json.output')
-rw-r--r--tests/py/bridge/ether.t.json.output48
1 files changed, 4 insertions, 44 deletions
diff --git a/tests/py/bridge/ether.t.json.output b/tests/py/bridge/ether.t.json.output
index 05e568f6..5bb2e47a 100644
--- a/tests/py/bridge/ether.t.json.output
+++ b/tests/py/bridge/ether.t.json.output
@@ -8,7 +8,7 @@
"protocol": "tcp"
}
},
- "op": "==",
+ "op": "==",
"right": 22
}
},
@@ -16,46 +16,15 @@
"match": {
"left": {
"payload": {
- "field": "saddr",
- "protocol": "ether"
- }
- },
- "op": "==",
- "right": "00:0f:54:0c:11:04"
- }
- },
- {
- "match": {
- "left": {
- "payload": {
"field": "daddr",
"protocol": "ip"
}
},
- "op": "==",
+ "op": "==",
"right": "1.2.3.4"
}
},
{
- "accept": null
- }
-]
-
-# tcp dport 22 ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:04
-[
- {
- "match": {
- "left": {
- "payload": {
- "field": "dport",
- "protocol": "tcp"
- }
- },
- "op": "==",
- "right": 22
- }
- },
- {
"match": {
"left": {
"payload": {
@@ -63,21 +32,12 @@
"protocol": "ether"
}
},
- "op": "==",
+ "op": "==",
"right": "00:0f:54:0c:11:04"
}
},
{
- "match": {
- "left": {
- "payload": {
- "field": "daddr",
- "protocol": "ip"
- }
- },
- "op": "==",
- "right": "1.2.3.4"
- }
+ "accept": null
}
]