[xml2rfc] https://xml2rfc.ietf.org/public/rfc/bibxml seems to ban certain User Agent strings

Julian Reschke <julian.reschke@gmx.de> Sun, 14 April 2019 10:55 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D359B120494 for <xml2rfc@ietfa.amsl.com>; Sun, 14 Apr 2019 03:55:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yehQd8ZAjqkp for <xml2rfc@ietfa.amsl.com>; Sun, 14 Apr 2019 03:55:11 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF6FD120127 for <xml2rfc@ietf.org>; Sun, 14 Apr 2019 03:55:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555239302; bh=BotanJp9gvl+ELzxMi6HuShKVW3F/4vsBj85E4Mw/WU=; h=X-UI-Sender-Class:To:Cc:From:Subject:Date; b=C1RisAY211xu1xtNoeBWzhWBOOPRky2S1+hW2N7Bz66z9uKYRghJq7HPZOoGyohs5 ctbB8x308HHjTxM9DAKrZgz/YweQkxLdVpxLgs2vMFHqyVcr+jzCqx7itdDkqrK9ku CAklb4ly12UfmI8jSkwkaCF8dHCHRQDNIGiBG8fE=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([217.251.141.169]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MEo4s-1h46Tk0LWc-00G1c4; Sun, 14 Apr 2019 12:55:02 +0200
To: webmaster@tools.ietf.org
Cc: "xml2rfc@ietf.org" <xml2rfc@ietf.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <bca733ff-8798-87bd-fa26-6b6dc8b3b335@gmx.de>
Date: Sun, 14 Apr 2019 12:54:58 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:8pmTs4bBm76mSgb135cxqu9Rplu36PIpQCUAs39xntJ833X9UU2 ZOQVud3/vQ/i+vpDc08i3Q+7sBaMtf/7RPhS7EseaTl3Sz/gG5Pbd6jWQ0LAWZZ5ohQckOu n34Yv7/8f3y6H/wT1vsgBR/kapgvpB7sPDhBBz1ybo5ZlwrMPIySBfRrvcxWWN5JKxfxkAo hKnCB1ZRSqkdsZJxWOV8w==
X-UI-Out-Filterresults: notjunk:1;V03:K0:NVZkpVesUcw=:xJuTpqJEGBx9NNblZw5krL dSyx6CodLs/MZIJZAbOEjBs1zrZy8sIy2HlNLuI6jPr/pPBWCOFtvHXzattc0QXGsj8F7/Swd rT6/LZra0+Re6ODp64eOFZf7MOLZxLxb2DhOrCDpsnKn3+CedC/CiZtho+opbPWmEQWoo9f8r rtWRa2AcbBFFykIobQ6qVONCGpcIUmL/9L9YP/IPfmp4tJykBFQE/ux7dfy7/9plM+pj+NkEy Vzn+AJANzjF8sQv2JcPaC2aPBIpMZoA4xOmpPfbrD61v9TPORUnVXnLL/eAO5ca06JV1infHy FaTB6bJP84k7GKRldCF4ueILvxVpVJ+QT1XbsS8pBennp8zBchjKtb/swr88tlo2ccvPPg1bu yuIE0X+M/4uHrXxwg873AQsHg/prQn+UU96bZrJKjWDcf9y85C/adLCaAA1Dx03Nq09Ff+osy N0bTpBBumyjTxY2D7KS6So2Pf0z+/UdUmQUFWm/nIQoycIxFTJ/IBaK+QDJ5qq+u5qJIEKnkj 0V9nXKwExUERRy3sKR4k4d5XsbjrTMsWC9iJ2yLPUfXMjd6mwg1a4wgAB9sIRYljdsH6HKYfw +9AGbGOzsWjopxg9goixrWu79gadePQCX9vJDAuJ/jDLxvqhEjggWbySB42/QiYo350ZUQVQI YmXPwUnShImQqoetsj+Gb881J1+lcRJXe8N3KCofK9Q8cn+kCirEJsk5c5A5xiciT6QZroomu dVn18t0lPFOJrBAmv0byqr0gmFhOtgosK/cCZMN0cQyoCj7ua6Mf15oXNUedpVAItc9DKp2cr ggAUbIcuhoXMM2/KQk7dHFwYzjmPL8zhvFBzBuOGDZANlRHvmA3e53ytCR1zHpSxYfEsMb1Z/ xFlpYiPyEvqApOOHhjC3HPtdctFtkhV0YyNZ6Fh1hAZVJCplLqU6EUdKBkfxNyMBapANEktNi 41KNTaBSjww==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/56sDqFVKF0baqdgEjHQtxOUMf4o>
Subject: [xml2rfc] https://xml2rfc.ietf.org/public/rfc/bibxml seems to ban certain User Agent strings
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Apr 2019 10:55:14 -0000

Hi there,

<https://xml2rfc.ietf.org> currently redirects to
<https://xml2rfc.tools.ietf.org> for most user agents.

However some receive a 403, which makes things very hard to debug if
this happens.

Example:

 >  curl -s -D- -A Java/1.8.0
https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.0952.xml

yields

> HTTP/1.1 403 Forbidden
> Date: Sun, 14 Apr 2019 10:52:45 GMT
> Server: Apache
> Content-Length: 368
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>403 Forbidden</title>
> </head><body>
> <h1>Forbidden</h1>
> <p>You don't have permission to access /public/rfc/bibxml/reference.RFC.0952.xml
> on this server.<br />
> </p>
> <p>Additionally, a 403 Forbidden
> error was encountered while trying to use an ErrorDocument to handle the request.</p>
> </body></html>

while

 > curl -s -D- -A foobar
https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.0952.xml

returns:

> HTTP/1.1 302 Found
> Date: Sun, 14 Apr 2019 10:53:45 GMT
> Server: Apache
> Location: https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.0952.xml
> Content-Length: 255
> Content-Type: text/html; charset=iso-8859-1
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>302 Found</title>
> </head><body>
> <h1>Found</h1>
> <p>The document has moved <a href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.0952.xml">here</a>.</p>
> </body></html>

Is this intentional?

Best regards, Julian