Code Monkey home page Code Monkey logo

Comments (8)

bf8392 avatar bf8392 commented on May 20, 2024 1

works perfectly! thanks! =) I spend hours with it! Was really great help =)

from docker-fail2ban.

bf8392 avatar bf8392 commented on May 20, 2024

Tried this one: but is not working...I tried it with json and non-json log...no difference...
fail2ban/fail2ban#2558

from docker-fail2ban.

bf8392 avatar bf8392 commented on May 20, 2024

output of accesslog:

192.168.100.110 - - [16/Jan/2020:20:31:43 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 1 "backend@docker" - 0ms
192.168.100.110 - - [16/Jan/2020:20:31:44 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 2 "backend@docker" - 0ms
192.168.100.110 - - [16/Jan/2020:20:32:06 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 3 "backend@docker" - 0ms
192.168.100.110 - - [16/Jan/2020:20:38:46 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 1 "backend@docker" - 0ms
192.168.100.110 - - [16/Jan/2020:20:38:47 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 2 "backend@docker" - 2ms
192.168.100.110 - - [16/Jan/2020:20:38:59 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 3 "backend@docker" - 0ms
192.168.100.110 - - [16/Jan/2020:20:39:02 +0000] "GET / HTTP/2.0" 401 17 "-" "-" 4 "backend@docker" - 0ms

from docker-fail2ban.

crazy-max avatar crazy-max commented on May 20, 2024

Hi @bd8392,

Can you try this failregex:

failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+\" 401 .+$

from docker-fail2ban.

bf8392 avatar bf8392 commented on May 20, 2024

ok this works a little to good...it bans me after the first wrong password, but i set 3 attempts in the variables...it also shows that it found three attempts...

Edit: Found the "error": When I insert nothing an click ok, he finds three false attempts. This does not happen, when I enter Information in the two fields -> Than it finds just one failed attempt. If I enter only one filed, it finds two failed attempts and so on...i setted the maxretry in jails to 5. This helps not running to early in the "issue"

from docker-fail2ban.

crazy-max avatar crazy-max commented on May 20, 2024

@bd8392 Can you post log samples please?

from docker-fail2ban.

crazy-max avatar crazy-max commented on May 20, 2024

@bd8392 This issue is linked to Traefik and not directly to Fail2ban or this image. You can get support on https://github.com/containous/traefik

from docker-fail2ban.

bf8392 avatar bf8392 commented on May 20, 2024

Ok thank you :-)

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.