Created on 9 May 2025, 5 months ago

Is it possible to set the ban immediate?
I disabled "Enable cron" but the description does not say if this is what I want.
So please expand the description or add a function to do so.

✨ Feature request
Status

Active

Version

1.11

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany drupalbubb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @drupalbubb
  • πŸ‡ΊπŸ‡¦Ukraine goodboy Kharkiv, Ukraine

    Hello, drupalbubb
    you can use /admin/config/people/autoban/ban or drush autoban:ban for the 'Ban all' action.

  • πŸ‡©πŸ‡ͺGermany drupalbubb

    Sorry for this unclearness @goodboy,
    I want to run the "Ban all" action not manually or by cron, but when the event occurs.

  • πŸ‡ΊπŸ‡¦Ukraine goodboy Kharkiv, Ukraine

    @drupalbubb,
    This is an interesting question. I haven't implemented it yet. It's not clear yet what event we're talking about.

  • πŸ‡©πŸ‡ͺGermany drupalbubb

    Isn't the event if a log entry is written?

  • πŸ‡ΊπŸ‡¦Ukraine goodboy Kharkiv, Ukraine

    @drupalbubb, I think there is no such event..
    In any case, I think it's too resource-intensive to run an IP ban check for each log entry writing. Perhaps it would be easier to make a separate cron, for example, every minute.

  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡©πŸ‡ͺGermany drupalbubb

    I am closing this, because my case is more something for the login security module, which is incomplete. Anyway, the attacker used a bot net with a lot of IP's, which did bypass the rules.

  • πŸ‡ΊπŸ‡¦Ukraine goodboy Kharkiv, Ukraine

    @drupalbubb,
    I still haven't stopped thinking about your words and decided to make a Force mode. When it is enabled, all 404, 403 requests will be automatically blocked. I would be grateful if you could look at the dev β†’ version of the site. You need to enable the Force mode checkbox in the general settings of the module. It is better to disable the Cron checkbox.

    Thank you for your post.

Production build 0.71.5 2024