Code Monkey home page Code Monkey logo

Comments (4)

sebres avatar sebres commented on June 12, 2024 1

Answered in fail2ban/fail2ban#3488 (comment)

from docker-fail2ban.

nillebor avatar nillebor commented on June 12, 2024

I tested usedns=no in the jail.conf and jail.local. The setting will not be applied. What else can I test to change the setting?

from docker-fail2ban.

crazy-max avatar crazy-max commented on June 12, 2024

Did you do smth like https://github.com/fail2ban/fail2ban/blob/8e97474586057ad1ab1a7391df5fda2b884a5926/config/action.d/nginx-block-map.conf#L65?

from docker-fail2ban.

nillebor avatar nillebor commented on June 12, 2024

Thanks for your reply.
I have an nginx block map.conf is created. after that, fail2ban no longer works with my settings.

In the post by @sebres, I have read that the usedns is disabled in the jail when the ADDR is used instead of the HOST.

it's all about the message in the log.
Is it correct that this option is not displayed when creating the jail?

Creating new jail 'gist'
2023-06-10 09:10:40,190 fail2ban.jail           [1]: INFO    Jail 'gist' uses pyinotify {}
2023-06-10 09:10:40,193 fail2ban.jail           [1]: INFO    Initiated 'pyinotify' backend
2023-06-10 09:10:40,197 fail2ban.filter         [1]: INFO      maxRetry: 3
2023-06-10 09:10:40,198 fail2ban.filter         [1]: INFO      findtime: 120
2023-06-10 09:10:40,199 fail2ban.actions        [1]: INFO      banTime: 120
2023-06-10 09:10:40,200 fail2ban.filter         [1]: INFO      encoding: UTF-8
2023-06-10 09:10:40,201 fail2ban.filter         [1]: INFO    Added logfile: '/log/opengist.log' (pos = 1243, hash = 82b8a19fa9a8680e648084163e5ea40e8ce59586)

from docker-fail2ban.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.