From patchwork Mon Apr 12 21:00:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 4150 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FK1Nf2S17z3yBW for ; Mon, 12 Apr 2021 21:00:50 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FK1Nd6mVQzjZ; Mon, 12 Apr 2021 21:00:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FK1Nd6Bwnz2xcM; Mon, 12 Apr 2021 21:00:49 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FK1Nc3kH8z2xbr for ; Mon, 12 Apr 2021 21:00:48 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FK1Nb2sXDzD4 for ; Mon, 12 Apr 2021 21:00:47 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1618261247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KIV2QKokI73WVHyYh9drutl9AEZxsAlg+9daI2oQJ4k=; b=Xw8hGSVJU2nuw3omI9EPpvR7M0tDwnZEw7KqtXDyjfpJgJr9MjvomMNx4yVuR64I4SaBQ4 xBDllzHZYvy4LTAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1618261247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KIV2QKokI73WVHyYh9drutl9AEZxsAlg+9daI2oQJ4k=; b=PcZQnLLwMiaFNOp5Qe8lrW0oJrPiSl1LQohXZMBlqk/DTYOezYNzJlnLKtkrOMgC3uMLnc rgbRFrh5XtiajV33xTyCORKHHYWxX2t5dMmFxekcrJ1Z1384reWCjwNRQYnBVxDBpWR6RW 2FKohgVcxZvw2UsX65+7J/CLxcWobT6z9//WYnacp/Yhmn60qGvcOhmvXW723wV3DV+jPz mGJPoYzqwYrvNQgAkWuai9Z8IveHS24UGLTEDr9UgWSI4KM3KzR9s8iJz34JpXBz0DnJZH 23pbxLE94sT7STUIhoAK+oT+gLPTKpF8WTbfzraifZk3MxpbF5qMRlQf6myh1A== Subject: [PATCH 2/4] httpd: disable sending ETag header completely To: development@lists.ipfire.org References: <0b270dd5-9a61-2901-c75e-8698dd4373e8@ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= Message-ID: <8698f06c-19c9-1680-f179-4d50c00bed1a@ipfire.org> Date: Mon, 12 Apr 2021 23:00:46 +0200 MIME-Version: 1.0 In-Reply-To: <0b270dd5-9a61-2901-c75e-8698dd4373e8@ipfire.org> Content-Language: en-US X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" These cause caching trouble and pose a potential security risk due to exposing inode numbers of files within the Apache site directories on an IPFire machine. Signed-off-by: Peter Müller --- config/httpd/global.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/httpd/global.conf b/config/httpd/global.conf index cc8000379..46878baf5 100644 --- a/config/httpd/global.conf +++ b/config/httpd/global.conf @@ -8,6 +8,7 @@ Include /etc/httpd/conf/hostname.conf HostnameLookups off AddHandler cgi-script .cgi EnableSendfile Off +FileETag None # Always unset HTTP_PROXY variable, https://httpoxy.org RequestHeader unset Proxy early