flask-ipban
weakforced
flask-ipban | weakforced | |
---|---|---|
1 | 1 | |
46 | 119 | |
- | 1.7% | |
2.6 | 8.8 | |
about 1 month ago | 7 days ago | |
Python | C++ | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flask-ipban
-
Banning users for certain actions
I'd like to be able to ban users for certain actions, such as attempting to spam passwords. I have rate-limited set up already, but it seems weird that I would allow repeat offenders to just keep trying, even at a limited rate. My server has Fail2Ban set up and it will ban users based on the nginx log files, but I don't see how I can pipe errors to those files from Flask. I found this nifty extension - flask-ipban - but it appears to work off its own distinct log file. I presume that this means the nefarious user would still be able to attempt to hit those endpoints, which I presume would still take up some server resources (maybe I'm wrong here).
weakforced
What are some alternatives?
crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
usbguard - USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)
Fail2Ban - Daemon to ban hosts that cause multiple authentication errors
OpenLoco - An open source re-implementation of Chris Sawyer's Locomotion
keepassxc - KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
Kodi Home Theater Software - Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.