Giter Club home page Giter Club logo

logban's Introduction

LogBan

The first major release of Logban is planned for early May 2019.

Logban is intended as a replacement for fail2ban. This tool is still very new and no-where near as tested or comprehensive as fail2ban. The aimed improvements are:

  • Simpler configuration
  • Lower memory consumption
  • Simple plugin architecture to remove the need for complex config

Installing

Installing from a package - Debian, Ubuntu and Mint

Logban has been packaged for Debian Linux and should be compatible with Ubuntu and Mint. Installing on any of these systems the .deb file can be downloaded from the releases page. To install it (as root) download the file and then:

apt-get install ./couling-logban_1.0_all.deb

Installing from source

Install a source from the release branch. Do not install master on a live system. No compiling is required. Simply clone from git and use symlinks to put things in the right place. For example if you want to clone to /opt/Logban then as root:

# Install dependencies
apt-get install python3, python3-configobj, python3-pyinotify, python3-sqlalchemy

# Clone and checkout the code
cd /opt
git clone https://github.com/couling/LogBan.git
cd LogBan
git checkout master

# Wire Logban into your system
ln -s /opt/Logban/logban.py                /usr/sbin/logban
ln -s /opt/Logban/logban                   /usr/lib/python3/dist-packages/logban
ln -s /opt/Logban/package/config           /etc/Logban    
ln -s /opt/Logban/package/systemd.service  /lib/systemd/system/logban.service
ln -s /opt/Logban/package/logrotate.conf   /etc/logrotate.d/logban

Building packages

Packages are built using Philip Coulings package-project tool. Version numbers will be automatically determined using git tags.

package-project package/manifest

Contributing

Please feel free to raise issues and submit pull requests. All contributions are welcome. At this time Logban is maintained by a team of one: Philip Couling.

Contributions are particularly welcome for:

  • Filters for applications
  • New complex triggers to support applications
  • Plugins for monitoring other log types (eg: network monitoring)
  • Output plugins (eg: email)

Please see docs/plugins.md for technical informaiton.

License

This software is released under the MIT license, see LICENSE.md.

logban's People

Contributors

couling avatar

Watchers

 avatar

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.