From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id D27061FF16F for ; Fri, 15 Nov 2024 13:11:10 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9D3951245D; Fri, 15 Nov 2024 13:11:13 +0100 (CET) From: Stefan Hanreich To: pve-devel@lists.proxmox.com Date: Fri, 15 Nov 2024 13:10:53 +0100 Message-Id: <20241115121109.170200-3-s.hanreich@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241115121109.170200-1-s.hanreich@proxmox.com> References: <20241115121109.170200-1-s.hanreich@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.237 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pve-devel] [PATCH proxmox-ve-rs v4 02/18] firewall: add bridge firewall config parser X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Cc: Wolfgang Bumiller Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" V2UgaW50cm9kdWNlIGEgbmV3IHR5cGUgb2YgZmlyZXdhbGwgY29uZmlnIGZpbGUgdGhhdCBjYW4g YmUgdXNlZCBmb3IKZGVmaW5pbm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KSAtPiBi b29sIHsKKyAgICAgICAgc2VsZi5jb25maWcub3B0aW9ucy5lbmFibGUudW53cmFwX29yKEJSSURH RV9FTkFCTEVEX0RFRkFVTFQpCisgICAgfQorCisgICAgcHViIGZuIHJ1bGVzKCZzZWxmKSAtPiBp bXBsIEl0ZXJhdG9yPEl0ZW0gPSAmUnVsZT4gKyAnXyB7CisgICAgICAgIHNlbGYuY29uZmlnLnJ1 bGVzLml0ZXIoKQorICAgIH0KKworICAgIHB1YiBmbiBsb2dfbGV2ZWxfZm9yd2FyZCgmc2VsZikg LT4gTG9nTGV2ZWwgeworICAgICAgICBzZWxmLmNvbmZpZy5vcHRpb25zLmxvZ19sZXZlbF9mb3J3 YXJkLnVud3JhcF9vcl9kZWZhdWx0KCkKKyAgICB9CisKKyAgICBwdWIgZm4gcG9saWN5X2Zvcndh cmQoJnNlbGYpIC0+IFZlcmRpY3QgeworICAgICAgICBzZWxmLmNvbmZpZworICAgICAgICAgICAg Lm9wdGlvbnMKKyAgICAgICAgICAgIC5wb2xpY3lfZm9yd2FyZAorICAgICAgICAgICAgLnVud3Jh cF9vcihCUklER0VfUE9MSUNZX0ZPUldBUkQpCisgICAgfQorfQorCisjW2Rlcml2ZShEZWJ1Zywg RGVmYXVsdCwgRGVzZXJpYWxpemUpXQorI1tjZmdfYXR0cih0ZXN0LCBkZXJpdmUoRXEsIFBhcnRp YWxFcSkpXQorcHViIHN0cnVjdCBPcHRpb25zIHsKKyAgICAjW3NlcmRlKGRlZmF1bHQsIHdpdGgg PSAic2VyZGVfb3B0aW9uX2Jvb2wiKV0KKyAgICBlbmFibGU6IE9wdGlvbjxib29sPiwKKworICAg IHBvbGljeV9mb3J3YXJkOiBPcHRpb248VmVyZGljdD4sCisKKyAgICBsb2dfbGV2ZWxfZm9yd2Fy ZDogT3B0aW9uPExvZ0xldmVsPiwKK30KLS0gCjIuMzkuNQoKCl9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fCnB2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