Skip to content
Ban malicious requesters identified via SVM Learn2ban model
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
learn2ban @ 2a9df6e


Detector of malicious requesters identified via pre-learned SVM Learn2ban model

Copyright 2013

Botbanger is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <>.


Other than cloning the git hub repo there is no need installation for Botbanger other than Python 2.7. However, in order to run Botbanger you will need to have already created a Learn2ban pickled model. See for more details on creating a Learn2ban model.


Run python unit tests in the botbanger/src/test/ directory to ensure functionality.


Once you have created a Learn2ban model pickle place it in the directory botbanger/src/conf and edit the botbanger.conf file giving it the name of the pickled model.


In src directory run

python -L /path/to/logfile.log

You need to have the botsniffer filter of Banjax enabled to submit request details to banger.

This project forms part of the Deflect project.

You can’t perform that action at this time.