public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 2/4] httpd: disable sending ETag header completely
Date: Mon, 12 Apr 2021 23:00:46 +0200	[thread overview]
Message-ID: <8698f06c-19c9-1680-f179-4d50c00bed1a@ipfire.org> (raw)
In-Reply-To: <0b270dd5-9a61-2901-c75e-8698dd4373e8@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

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 <peter.mueller(a)ipfire.org>
---
 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
-- 
2.26.2

  reply	other threads:[~2021-04-12 21:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 21:00 [PATCH 1/4] httpd: remove compatibility instructions for very old browsers Peter Müller
2021-04-12 21:00 ` Peter Müller [this message]
2021-04-12 21:01   ` [PATCH 3/4] httpd: apply the same security headers on the captive portal instance as we do elsewhere Peter Müller
2021-04-12 21:01     ` [PATCH 4/4] httpd: delete comment blocks and unused directives from our configuration Peter Müller
2021-04-14 17:24 ` [PATCH 1/4] httpd: remove compatibility instructions for very old browsers Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8698f06c-19c9-1680-f179-4d50c00bed1a@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox