Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2020 15:05:49 -0400
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        Michael Gmelin <freebsd@grem.de>
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:  <20200906150549.d3dc2c85698a1ff604a6bcaf@j.email.ne.jp>
In-Reply-To: <C1671375-2EA8-4878-B5ED-2E74D81543BE@grem.de>
References:  <bb429319-0b29-c221-b3d6-b6d344726f6e@daemonic.se> <C1671375-2EA8-4878-B5ED-2E74D81543BE@grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 6 Sep 2020 14:47:00 +0200
Michael Gmelin <freebsd@grem.de> wrote:

> 
> 
> > On 6. Sep 2020, at 12:00, Niclas Zeising <zeising+freebsd@daemonic.se> wrote:
> > 
> > 〓On 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?
> >>>> 
> >>>> I used to see available packages with a brower and decided which one to
> >>>> 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.
> > 
> > The reason that folder listing was disabled on the package download sites is that it used too
> > much resources.  For every hit on those URLs, the web server had to dynamically generate the
> > folder listing, and send it.  This caused DDoS-like scenarios, where these were hit repeatedly,
> > which caused problems for legitimate traffic.  Since the relevant information is available in
> > the txz files above, and also on freshports, and since pkg have no need for directory listing,
> > it was disabled.
> > 
> 
> Is this part of why pkg repos are performing so much better recently? I‘m quite happy about
> that :)
> 
> If there’s a use case for having access to this information, we could simply provide it through a
> static index.html that’s recreated every time the directory changes.
> 
> Cheers,
> Michael

Michael,

Do you own pkg sites?

I like the idea of creating static index.html file as there are modules with version numbers and also modules with multiple version numbers.
Brower helps to find which versions are available, for example.

Regards,
Hiro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200906150549.d3dc2c85698a1ff604a6bcaf>