Skip to content

Conversation

@icewind1991
Copy link
Member

Can be useful for debugging.

Provides the count for each ip, action pair with the option to filter by ip ranges or action substrings.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jul 26, 2023
@icewind1991 icewind1991 added this to the Nextcloud 28 milestone Jul 26, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, come-nc and nfebe and removed request for a team July 26, 2023 17:20
@icewind1991 icewind1991 force-pushed the bruteforce-stats branch 3 times, most recently from d06411e to 1703997 Compare July 28, 2023 11:34
@icewind1991 icewind1991 requested a review from come-nc July 28, 2023 18:35
@szaimen szaimen added the pending documentation This pull request needs an associated documentation update label Jul 29, 2023
@szaimen
Copy link
Contributor

szaimen commented Jul 29, 2023

Needs documentation...

->from('bruteforce_attempts')
->groupBy(['action', 'ip'])
->orderBy($query->func()->count('id'));
return $query->executeQuery()->fetchAll();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No closeCursor call needed here?

@nickvergessen
Copy link
Member

Obsoleted by #39870 and also no longer possible in it's current way because we can not get a list of all throttled IPs on redis.

@nickvergessen nickvergessen deleted the bruteforce-stats branch August 22, 2023 06:34
@skjnldsv skjnldsv removed the pending documentation This pull request needs an associated documentation update label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants