alasdairdc
5428f5bbc3
Update check_fail2ban
...
Removed unnecessary reference to as yet undeclared $jail_name when checking a specific jail.
11 years ago
Daniel Black
b5b581555c
BF: nagios fix
11 years ago
alasdairdc
2e5a2b26fb
Updated check_fail2ban to return performance data for all jails and applied to specific jail code
11 years ago
alasdairdc
5f623596ee
Updated check_fail2ban to return performance data for all jails
...
Allows perf data from all jails to enable pnp4nagios to display a chart per jail when run with the command:
check_fail2ban -p -w 1 -c 5 -P /usr/bin/fail2ban-client
sample output:
CHECK FAIL2BAN ACTIVITY - CRITICAL - 9 detected jails with 5 current banned IP(s) | apache-noscript.currentBannedIP=0 sendmail.currentBannedIP=0 postfix.currentBannedIP=0 ssh-probe.currentBannedIP=3 ssh-ddos.currentBannedIP=0 apache-multiport.currentBannedIP=0 apache.currentBannedIP=0 ssh.currentBannedIP=2 apache-overflows.currentBannedIP=0
11 years ago
Daniel Black
008952035d
BF: files/redhat-initd - as per http://pkgs.fedoraproject.org/cgit/fail2ban.git/tree/fail2ban-init.patch
11 years ago
Daniel Black
b5d6310d28
BF: create flushlogs command to prevent logrotation clobbering logtarget. Closes gh-458
11 years ago
Yaroslav Halchenko
6f321068f1
NF: gen_badbots script to (re)generate/update config/filter.d/apache-badbots.conf
11 years ago
Orion Poplawski
67497db6e5
Change /tmp/fail2ban.sock to /var/run/fail2ban/fail2ban.sock
11 years ago
JP Espinosa
32b271c36e
Update redhat-initd
...
- Using `-x` to remove previous socket on start
- Using Should- to wait for iptables and wrappers
12 years ago
JP Espinosa
3736d7ddbf
Rewrite to use native init.d functions
...
- There was a bug with the old "getpid" function, when running linux containers you can see multiple fail2ban instances on hardware node and could stop one on a random virtual environment
- Added reload and status options
12 years ago
Steven Hiscocks
95726b3976
DOC: Drop sudo from bash-completion
12 years ago
Steven Hiscocks
92dff6d645
DOC: Added bash-completion script
12 years ago
Daniel Black
8b8c720d07
ENH: logrotate file
12 years ago
Daniel Black
13c154198f
ENH: since it seems the default is to use file based logging, $syslog is in Should-{Start|Stop} like Debian https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.init
12 years ago
Daniel Black
28f5d7b980
ENH: opensuse script from opensuse: https://build.opensuse.org/package/view_file?expand=1&file=fail2ban.init&package=fail2ban&project=openSUSE%3AFactory
12 years ago
Daniel Black
495f2dd877
DOC: purge of svn tags
12 years ago
jamesstout
578a8998c6
create socket/pid dir if needed
...
Also remove any lingering sockets
12 years ago
Orion Poplawski
ddebcab9aa
Add After, PIDFile, and change WantedBy to multi-user.target in fail2ban.server
12 years ago
Erwan Ben Souiden
44736035bd
change the license to GPLv2 + adapat text
12 years ago
Erwan Ben Souiden
c4d92fba71
fix the script name to check_fail2ban everywhere
12 years ago
Erwan Ben Souiden
d7d5228964
Replace the check_fail2ban script by a new one which respects the Nagios specs (like status, output, perfdata, help...).
...
Also add a README which includes the content of f2ban.txt (which is now removed)
12 years ago
Orion Poplawski
ed386dfe07
Add systemd unit file and tmpfiles.d configuration files
12 years ago
Daniel Black
00ad4d56a7
FSF address changes missing from previous
12 years ago
Yaroslav Halchenko
47e956bc8e
Replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul (Closes gh-66)
...
Surprise -- that is for Windows compatibility
13 years ago
Jeremy Olexa
444e4ac3ed
Fix Gentoo initd script (drop extra_commands)
13 years ago
Tom Hendrikx
0eaa4c2750
gentoo init scipt: $opts variable is deprecated
...
See http://forums.gentoo.org/viewtopic-t-899018.html
13 years ago
Leonardo Chiquitto
a7d47e8b36
Update Free Software Foundation's address
...
The address has changed from "59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA" to "51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA" some time ago.
13 years ago
Lee Clemens
47c03a2c13
files/nagios - spelling/grammar fixes
13 years ago
Michael Lorant
c48c2b19a0
BF: gentoo-initd assure /var/run dir + remove stale sock file
...
Gentoo Bug #347477
Picked up from
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/gentoo-initd_create_run_dir.patch?view=markup
13 years ago
Robert Trace
5812abb987
ENH: Remove obsolete code from gentoo init script. Bug gentoo#367819.
...
Picked up from
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.8.4-gentoo-init.patch\?view\=markup
13 years ago
Yaroslav Halchenko
fceff2d5b9
moving log samples under testcases/files
13 years ago
Yaroslav Halchenko
b9a6b622cc
Adding log samples accumulated in Debian branch
13 years ago
Yaroslav Halchenko
aa0024db00
BF: removing minor bashism in ipmasq example file ( closes : #530078 ). Thanks Raphael Geissert
13 years ago
Yaroslav Halchenko
713fea6371
Added ipmasq rule file to restart fail2ban when iptables are wiped out ( closes : #461417 ). Thanks Guido Bozzetto
13 years ago
Yaroslav Halchenko
02be7d03b2
BF: use standard/reserved example.com instead of mail.com
...
Adapted from fail2ban-0.8.4-examplemail.patch in Fedora:
http://sophie.zarb.org/sources/fail2ban/fail2ban-0.8.4-examplemail.patch
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@777 a942ae1a-1317-0410-a47c-b1dcaea8d605
14 years ago
Cyril Jaquier
756cfcda5f
- Added nagios script. Thanks to Sebastian Mueller.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@721 a942ae1a-1317-0410-a47c-b1dcaea8d605
16 years ago
Cyril Jaquier
97f48991a2
- Remove socket file on startup is fail2ban crashed. Thanks to Detlef Reichelt.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@718 a942ae1a-1317-0410-a47c-b1dcaea8d605
16 years ago
Cyril Jaquier
19d251d785
- Fixed socket path in redhat and suse init script. Thanks to Jim Wight.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@679 a942ae1a-1317-0410-a47c-b1dcaea8d605
17 years ago
Cyril Jaquier
402cdeab5e
- Updated e-mail
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@672 a942ae1a-1317-0410-a47c-b1dcaea8d605
17 years ago
Cyril Jaquier
c79e9ecec5
- Added Mac OS/X startup script. Thanks to Bill Heaton.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@654 a942ae1a-1317-0410-a47c-b1dcaea8d605
17 years ago
Cyril Jaquier
2816bca55b
- Tightening up the pid check in redhat-initd. Thanks to David Nutter
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@599 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
568264d6c7
- Updated suse-initd and added it to MANIFEST. Thanks to Christian Rauch
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@597 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
a4c9798b18
- Added Solaris 10 files. Thanks to Hanno 'Rince' Wagner
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@575 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
1e767cd8e3
- Fixed RedHat init script. Thanks to Jonathan Underwood
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@574 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
a85f562855
- Updated Gentoo script. Thanks to Raphaël Marichez
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@559 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
3803150e6e
- Added Suse init script and modified gentoo-initd. Thanks to Christian Rauch
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@550 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
13967efa0f
- Added y-label
...
- Changed per second with per 5 minutes
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@541 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
51f57506d4
- Added cacti template and partial README
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@539 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
54ef4ef33b
- Added initial cacti script. Still needs testing, template, etc
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@527 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
b02394fd23
- Fixed restart. Wait for the server to shutdown
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@491 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago