From owner-freebsd-current@freebsd.org Sun Sep 6 19:36:04 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF83B3DB73E for ; Sun, 6 Sep 2020 19:36:04 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bl1qR4m2Dz4PB4 for ; Sun, 6 Sep 2020 19:36:03 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 2ca47e42; Sun, 6 Sep 2020 19:35:59 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id ccd41b8f (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Sun, 6 Sep 2020 19:35:56 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Is pkg site forbidden by brower? From: Michael Gmelin In-Reply-To: <20200906150549.d3dc2c85698a1ff604a6bcaf@j.email.ne.jp> Date: Sun, 6 Sep 2020 21:35:55 +0200 Cc: Niclas Zeising , grarpamp , freebsd-current@freebsd.org Message-Id: <38D9A5B2-C842-4D4A-8513-EA1A94DE1964@grem.de> References: <20200906150549.d3dc2c85698a1ff604a6bcaf@j.email.ne.jp> To: Yoshihiro Ota X-Mailer: iPhone Mail (17H35) X-Rspamd-Queue-Id: 4Bl1qR4m2Dz4PB4 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.14 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[grem.de:+]; NEURAL_HAM_SHORT(-0.68)[-0.684]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-0.99)[-0.992]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[daemonic.se,gmail.com,freebsd.org]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2020 19:36:04 -0000 > On 6. Sep 2020, at 21:09, Yoshihiro Ota wrote: >=20 > =EF=BB=BFOn Sun, 6 Sep 2020 14:47:00 +0200 > Michael Gmelin wrote: >=20 >>=20 >>=20 >>>> On 6. Sep 2020, at 12:00, Niclas Zeising w= rote: >>>=20 >>> =E3=80=93On 2020-09-06 09:00, grarpamp wrote: >>>>> On 9/6/20, Kevin Oberman wrote: >>>>> On Sat, Sep 5, 2020 at 8:04 PM Yoshihiro Ota wrote= : >>>>>> Is "403 Forbidden" an intended response for a brower access to >>>>>> http://pkg.freebsd.org/FreeBSD:12:i386/ nowdays? >>>>>>=20 >>>>>> I used to see available packages with a brower and decided which one t= o >>>>>> use. >>>> Some more people have noted this change >>>> as breaking tool scripts, etc. >>>> And useful meta files are unfortunately now invisible: >>>> packagesite.txz, meta.txz, pkg.txz, pkg.txz.sig >>>> If someone want to block the '/.../All/' dir full of pkgs, >>>> maybe, but do not block any other part of the hier. >>>=20 >>> The reason that folder listing was disabled on the package download site= s is that it used too >>> much resources. For every hit on those URLs, the web server had to dyna= mically generate the >>> folder listing, and send it. This caused DDoS-like scenarios, where the= se were hit repeatedly, >>> which caused problems for legitimate traffic. Since the relevant inform= ation is available in >>> the txz files above, and also on freshports, and since pkg have no need f= or directory listing, >>> it was disabled. >>>=20 >>=20 >> Is this part of why pkg repos are performing so much better recently? I=E2= =80=98m quite happy about >> that :) >>=20 >> If there=E2=80=99s a use case for having access to this information, we c= ould simply provide it through a >> static index.html that=E2=80=99s recreated every time the directory chang= es. >>=20 >> Cheers, >> Michael >=20 > Michael, >=20 > Do you own pkg sites? Unfortunately not, but you could ask clusteradm@ about that. Cheers, Michael >=20 > I like the idea of creating static index.html file as there are modules wi= th version numbers and also modules with multiple version numbers. > Brower helps to find which versions are available, for example. >=20 > Regards, > Hiro > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=