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 A19BE1FF161 for ; Tue, 10 Sep 2024 02:31:26 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 79B311BD6A; Tue, 10 Sep 2024 02:31:25 +0200 (CEST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725928245; x=1726533045; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AmiU3Z5w9DDsTPnMR89vbr3R0AHV+7b0H+V5jfd5Feg=; b=oyrEx0EWj6wVmzkdrWobwWpaakVBlZfZpoGbOuC0RjL9QrBwig5r/83OSa6vD+LmIJ t1ywz96kUWkXNFcoZ2vJtDIhBscssyy/xskl9va3+9QZflROGeuTXXumSt6PaKpgV5Cq BsV0uLWjC58VwYozL87nfRr4ad2cCzXkK9ZnR8rAhSkIVoy+tkcx1yHD5CVmrNxaUCB8 bqsF67Zn3YMtglJ9nwkGt2MHNh6YcjIfVRkv6mRzhQNT7drDkj7NlqxvUmC0zUTaDUtR RJuWm1207ZREGiddEDmMWIfIRNZS16DE/9HB2zw73xkv36C51eDt0C1kWshn4K+gZv4S siWQ== X-Gm-Message-State: AOJu0Ywag2lUtPAUBWSH+ua7/Q/UkGs1Dutd1U6RGUgfrwALAL2pkhYd fjbh1Wtaqemui0UmGtm8QM+C+zJn/JvzljrZmMxk04mFMGP7vqIDtGfnIQ== X-Google-Smtp-Source: AGHT+IE8uulWwm48DsqHLEqd3A40B+W4uSGwIMPzomDLuI9M4Lw4gD9vbML+R6GQ4WQigHuDtyZQ1Q== X-Received: by 2002:a05:690c:2a82:b0:6d9:b950:ec48 with SMTP id 00721157ae682-6db45278bb4mr115689507b3.42.1725928244904; Mon, 09 Sep 2024 17:30:44 -0700 (PDT) From: Thomas Skinner To: pve-devel@lists.proxmox.com Date: Mon, 9 Sep 2024 19:30:26 -0500 Message-Id: <20240910003026.667328-4-thomas@atskinner.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240910003026.667328-1-thomas@atskinner.net> References: <20240910003026.667328-1-thomas@atskinner.net> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.003 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 FREEMAIL_FORGED_FROMDOMAIN 0.001 2nd level domains in From and EnvelopeFrom freemail headers are different FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HEADER_FROM_DIFFERENT_DOMAINS 0.249 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H2 -0.001 Average reputation (+2) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH manager 1/1] fix #5699: pveproxy: add settings for real IP support 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --- PVE/Service/pveproxy.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm index ac108545..66db7a73 100755 --- a/PVE/Service/pveproxy.pm +++ b/PVE/Service/pveproxy.pm @@ -115,6 +115,8 @@ sub init { honor_cipher_order => $proxyconf->{HONOR_CIPHER_ORDER}, }, compression => $proxyconf->{COMPRESSION}, + proxy_real_ip_header => $proxyconf->{PROXY_REAL_IP_HEADER}, + trusted_proxy_ips => $proxyconf->{TRUSTED_PROXY_IPS}, # Note: there is no authentication for those pages and dirs! pages => { '/' => sub { get_index($self->{nodename}, @_) }, -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel