Go to file
Sean DuBois 67aa38de0d Update config.json so fail2rest only bind to loopback 2014-06-18 06:30:02 +00:00
Makefile Don't need fail2rest anymore all handled in fail2go 2014-06-16 08:16:55 +00:00
README.md Move fail2ban socket communication into its own project called fail2go 2014-06-16 03:38:10 +00:00
config.json Update config.json so fail2rest only bind to loopback 2014-06-18 06:30:02 +00:00
fail2rest.go Fail2bansocket location is now a configuration option, refactor project since fail2go does method dispatch off of Fail2goConn struct 2014-06-18 05:53:54 +00:00
global.go Fail2bansocket location is now a configuration option, refactor project since fail2go does method dispatch off of Fail2goConn struct 2014-06-18 05:53:54 +00:00
jail.go Fail2bansocket location is now a configuration option, refactor project since fail2go does method dispatch off of Fail2goConn struct 2014-06-18 05:53:54 +00:00

README.md

fail2rest

##Overview

fail2rest is a small REST server that aims to allow full administration of a fail2ban server via HTTP

fail2rest will eventually be used as a backend to a small web app to make fail2ban administration and reporting easier.

##Contributing Every PR will be merged! Feel free to open up PRs that aren't fully done, I will do my best to finish them for you. I will make sure to review everything I can. If you are interested in working on fail2rest, but don't know where to start here are some ideas.

  • Document current API calls (and examples with cURL), small static website for this info
  • Start on fail2web, I would like to write this in angular, angular-ui, browserify and d3.js (Open to suggestions just most comfortable with this)
  • Write tests, and implement some post-commit system for running tests

##License iThe MIT License (MIT)

Copyright (c) 2014 Sean DuBois

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.