Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2020 21:35:55 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        Niclas Zeising <zeising+freebsd@daemonic.se>, grarpamp <grarpamp@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: Is pkg site forbidden by brower?
Message-ID:  <38D9A5B2-C842-4D4A-8513-EA1A94DE1964@grem.de>
In-Reply-To: <20200906150549.d3dc2c85698a1ff604a6bcaf@j.email.ne.jp>
References:  <20200906150549.d3dc2c85698a1ff604a6bcaf@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 6. Sep 2020, at 21:09, Yoshihiro Ota <ota@j.email.ne.jp> wrote:
>=20
> =EF=BB=BFOn Sun, 6 Sep 2020 14:47:00 +0200
> Michael Gmelin <freebsd@grem.de> wrote:
>=20
>>=20
>>=20
>>>> On 6. Sep 2020, at 12:00, Niclas Zeising <zeising+freebsd@daemonic.se> w=
rote:
>>>=20
>>> =E3=80=93On 2020-09-06 09:00, grarpamp wrote:
>>>>> On 9/6/20, Kevin Oberman <rkoberman@gmail.com> wrote:
>>>>> On Sat, Sep 5, 2020 at 8:04 PM Yoshihiro Ota <ota@j.email.ne.jp> 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"=





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D9A5B2-C842-4D4A-8513-EA1A94DE1964>