Comments (9)
i believe that my original issue was due to a outdated version of traefik or so, but TBH i forgot.
however, well done with the PR !
from fail2ban.
plugins are experimental, and loading info is in DEBUG in traefik logs.
from fail2ban.
@tomMoulard maybe it could be made clearer in the documentation that the fail2ban
logs will only be visible when the Traefik logs are set to DEBUG
? (if my understanding of this comment is correct: #49 (comment))
I agree with your assessment, most of the issues described above are generic Traefik issues on how to get Traefik configured to run plugins.
from fail2ban.
@dberardo-com I have opened this PR to add some more docs, following your feedback: #74
from fail2ban.
i dont know if this can hellp, but in my case i could see this error in the log: level=error msg="Plugins are disabled because an error has occurred." error="mkdir plugins-storage: read-only file system"
which lead me to this: traefik/traefik-helm-chart#282
basically experimental plugins have to be enabled globally within the helm chart in k8s:
experimental:
plugins:
enabled: true
now i see that the container is trying to download the plugins, but for some reason it does not reach the host:
evel=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/tomMoulard/fail2ban: failed to call service: Get "https://plugin.pilot.traefik.io/public/download/github.com/tomMoulard/fail2ban/v0.6.6\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
but from a shell inside the container i can download the plugin without any trouble ... so i wonder why cant traefik download it ? can i increase the timeout ?
from fail2ban.
also, i feel this point should be documented as well: The fail2ban plugin needs to be the first one on the plugin list of a router, in case the 401, or other "fail sources" are located in the middlewares after fail2ban itself
from fail2ban.
@dberardo-com just wanted to say thanks, your posts above have helped me to get the plugin to work!
from fail2ban.
Following @dberardo-com comment, I think that this issue could be related to Traefik itself and not to this plugin. Thus, I will close this issue.
If you think I am wrong, feel free to open a new issue documenting your use case !
from fail2ban.
it could be made clearer in the documentation that the fail2ban logs will only be visible when the Traefik logs are set to DEBUG?
For sure, feel free to open a PR to improve the documentation !
from fail2ban.
Related Issues (20)
- Ability to notify when an ip becomes banned HOT 1
- Traefik crashes repeatedly with `concurrent map read and map write` HOT 1
- [Traefik Pilot] Traefik Plugin Analyzer has detected a problem.
- [Traefik Pilot] Traefik Plugin Analyzer has detected a problem.
- Dashboard preview/admin console of current state HOT 1
- Export metrics HOT 1
- Pages load slowly when plugin enabled HOT 4
- Traefik proxy | Can this plugin be installed for free?
- Websocket causes a deadlock until its closed? HOT 4
- Only ban if the response is non 2##? HOT 10
- Whitelisting by subnet does not work HOT 4
- [Traefik Plugin Catalog] Plugin Analyzer has detected a problem.
- [Traefik Plugin Catalog] Plugin Analyzer has detected a problem.
- [Traefik Plugin Catalog] Plugin Analyzer has detected a problem.
- [Traefik Plugin Catalog] Plugin Analyzer has detected a problem.
- Banning based on forwarded IP HOT 4
- Error running plugin: unable to find source related to: "net/netip"` HOT 3
- Config from Labels is not extracted HOT 5
- Traefik 3 beta 4 : failed to import plugin code HOT 5
- All traffic banned HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fail2ban.