🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #401

Re: rate limiting in rslight

#401
From: Retro Guy
Date: Fri, 05 Feb 2021 02:00
30 lines
2225 bytes
On Sat, 09 Jan 2021 18:17:04+0000
trw <trw@anon.org> wrote:

> 
> thx for the explanation. I was just wondering how a specific request
> is mapped to a session, but I can read it up in the php documentation
> then. if there are no cookies involved it is probably done with a
> session token ? I will check it out. I have not used sessions in any
> of my own php code, but fudforum does of course (in the adapted
> version the session token is embedded in the links, so that the
> resulting GET string contains the token).
> 

That's interesting. I was wondering how you resolved the sessions in
tor issue :)

My reasons in rslight is that tor users all have the same ip address
from the web server's view, so fail2ban, throttling in the web server,
etc. won't work properly without just blocking all tor users.

I can see in the logs clients being throttled, while other tor users
are not affected. It's much better than when a spider could just shut
the site down by getting itself blocked (so all tor users blocked). The
spiders seem to hit around 5 request per second and get blocked very
quickly.

I wish the operators of the crawlers would check their logs and see all
they are getting is 429 and nothing useful, but they'll probably just
keep it up forever. To get actual stuff to use in your search engine,
or whatever, slow the f down and don't get blocked.
Technical Details
Message-ID: <20210204190049.0f3eff6a@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
References: <20210106155913.279b35b5@desktop14.dt> <bde362c847086d7194b65713c57ce9cc@def4>

Show Full Headers
Complete Article Headers
Message-ID: <20210204190049.0f3eff6a@desktop14.dt>
Subject: Re: rate limiting in rslight
Date: Thu, 4 Feb 2021 19:00:49 -0700
From: Retro Guy <retro_guy@novabbs.com>
References: <20210106155913.279b35b5@desktop14.dt> <bde362c847086d7194b65713c57ce9cc@def4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes
Organization: novaBBS
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
 logging-data="20961"; mail-complaints-to="usenet@i2pn2.org"
X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)