From e3012776a657e7a1d84f6c77f57a7730480597ca Mon Sep 17 00:00:00 2001 From: Supremist Date: Thu, 9 Jul 2026 18:23:11 +0300 Subject: Update netbird ips in nft sets on monitor events --- test-data/nft-mon-output.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test-data/nft-mon-output.json (limited to 'test-data/nft-mon-output.json') diff --git a/test-data/nft-mon-output.json b/test-data/nft-mon-output.json new file mode 100644 index 0000000..1080082 --- /dev/null +++ b/test-data/nft-mon-output.json @@ -0,0 +1,3 @@ +{"delete": {"rule": {"family": "ip", "table": "netbird", "chain": "netbird-rt-fwd", "handle": 68, "expr": [{"match": {"op": "==", "left": {"payload": {"protocol": "ip", "field": "saddr"}}, "right": "100.66.181.207"}}, {"match": {"op": "==", "left": {"payload": {"protocol": "ip", "field": "daddr"}}, "right": "172.30.0.5"}}, {"counter": {"packets": 0, "bytes": 0}}, {"accept": null}]}}} +{"add": {"rule": {"family": "ip", "table": "netbird", "chain": "netbird-rt-fwd", "handle": 69, "expr": [{"match": {"op": "==", "left": {"payload": {"protocol": "ip", "field": "saddr"}}, "right": "100.66.181.207"}}, {"match": {"op": "==", "left": {"payload": {"protocol": "ip", "field": "daddr"}}, "right": "172.30.0.5"}}, {"counter": {"packets": 0, "bytes": 0}}, {"accept": null}]}}} +{"add": {"rule": {"family": "ip", "table": "netbird", "chain": "netbird-rt-fwd", "handle": 69, "expr": [{"match": {"op": "==", "left": {"payload": {"protocol": "ip", "field": "saddr"}}, "right": "100.66.181.207"}}, {"match": {"op": "==", "left": {"payload": {"protocol": "ip", "field": "daddr"}}, "right": "172.30.0.5"}}, {"counter": {"packets": 0, "bytes": 0}}, {"accept": null}]}}} \ No newline at end of file -- cgit v1.2.3