user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH 0/4] imap: reduce impact of bot scanners
@ 2022-08-08 23:16 Eric Wong
  2022-08-08 23:16 ` [PATCH 1/4] imap: limit ibx_async_prefetch to idle git processes Eric Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Wong @ 2022-08-08 23:16 UTC (permalink / raw)
  To: meta

There seems to be a fair amount of bot traffic scanning the
IMAP(S) port on public-inbox.org using username+password logins
(which we currently accept combination of).

AUTH=ANONYMOUS traffic is probably more likely to be legit,
and supported by mutt and lei, at least.

To avoid breaking things for legitimate users using
username+passwords, I've decided to deprioritize, but
still allow traffic of clients using username+password
logins.

The initial prefix change is good regardless, since
even legitimate AUTH=ANONYMOUS clients could've caused
fairness problems with the aggressive pipelining to
git-cat-file||Gcf2.

Eric Wong (4):
  imap: limit ibx_async_prefetch to idle git processes
  imap: only give AUTH=ANONYMOUS clients prefetch
  imap: prioritize AUTH=ANONYMOUS clients
  README: recommend AUTH=ANONYMOUS on IMAP URLs

 README                         |  6 +++---
 lib/PublicInbox/DS.pm          |  2 +-
 lib/PublicInbox/GitAsyncCat.pm |  9 ++++-----
 lib/PublicInbox/IMAP.pm        | 16 +++++++++++++---
 lib/PublicInbox/IMAPD.pm       |  7 +++++++
 5 files changed, 28 insertions(+), 12 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-08 23:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08 23:16 [PATCH 0/4] imap: reduce impact of bot scanners Eric Wong
2022-08-08 23:16 ` [PATCH 1/4] imap: limit ibx_async_prefetch to idle git processes Eric Wong
2022-08-08 23:16 ` [PATCH 2/4] imap: only give AUTH=ANONYMOUS clients prefetch Eric Wong
2022-08-08 23:16 ` [PATCH 3/4] imap: prioritize AUTH=ANONYMOUS clients Eric Wong
2022-08-08 23:16 ` [PATCH 4/4] README: recommend AUTH=ANONYMOUS on IMAP URLs Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).