fail2map

Map generator for fail2ban

  • 所有者: id-Software/Quake-2
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Fail2map

Fail2map is a map generator for fail2ban.
It displays banned IP on a world map. Adding IP is done automagically through a fail2ban action.

Fail2map is based on backpack by Maxime Hadjinlian.

Try the example.

Installing fail2map and fail2ban action

  1. Place fail2map in the desired path of your web server

     git clone https://github.com/mvonthron/fail2map ~/public_html/fail2map
    
  2. Edit fail2map-action.conf with the correct path for fail2map.py

     fail2map-action.conf:20     fail2map = cd /home/<USER>/public_html/fail2map && python fail2map.py
    
  3. Move/copy/link fail2map-action.conf to fail2ban actions folder (usually /etc/fail2ban/action.d/)

  4. Add the action to your jail.conf or jail.local

     # The simplest action to take: ban only
     action_ = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
               fail2map-action
    
  5. (Optional) Change the tile provider in js/maps.js line 45:

     baseLayer = L.tileLayer.provider('Thunderforest.Landscape', ...
                                         ^= select any provider listed at http://leaflet-extras.github.io/leaflet-providers/preview/ 
    

Notes


2015, Manuel Vonthron manuel.vonthron@acadis.org

主要指標

概覽
名稱與所有者id-Software/Quake-2
主編程語言C
編程語言Python (語言數: 5)
平台
許可證
所有者活动
創建於2012-01-31 19:55:43
推送於2023-12-05 19:48:59
最后一次提交2012-01-31 13:57:11
發布數0
用户参与
星數3k
關注者數140
派生數687
提交數1
已啟用問題?
問題數0
打開的問題數0
拉請求數0
打開的拉請求數4
關閉的拉請求數7
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?