Vid Luther
49a44c6a82
changelog for debian packager.
2014-09-12 23:00:30 -05:00
Vid Luther
d14d68d56c
gitignore
2014-09-12 22:27:43 -05:00
Vid Luther
6830497241
changed requirements to python3
2014-09-12 22:25:55 -05:00
Vid Luther
5da1104701
custom Vagrantfile and provisioner
...
This allows me to build in a VM on a Mac.
2014-09-12 22:25:40 -05:00
Vid Luther
38ab997cb3
ran the fail2ban-2to3 script.
2014-09-12 22:24:52 -05:00
Vid Luther
587e626710
Merge branch 'debian-releases/experimental' into pressable/debian
2014-09-12 21:54:01 -05:00
Daniel Black
1864f75b3b
Credits and notes from #806
2014-09-08 19:02:37 +10:00
weberho
d2c086b187
fixed encoding
2014-09-08 10:26:08 +02:00
weberho
218ffe862e
fixed encoding
2014-09-08 10:23:07 +02:00
Yaroslav Halchenko
0d9cfb84e3
Merge pull request #778 from yarikoptic/enh/symbiosis
...
ENH: symbiosis-blacklist-allports action
2014-08-20 23:00:11 -04:00
Yaroslav Halchenko
426ed7ff2f
Merge pull request #780 from opoplawski/logpath
...
Fxi jail.conf to use more syslog macros
2014-08-20 22:59:23 -04:00
Yaroslav Halchenko
93243e7d57
ENH: Ignore errors while unbaning in symbiosis firewall
...
Fail2Ban at times "interfers" with the firewall reflashing thus leading
to the sporadic errors. IMHO should be safe to ignore
2014-08-12 11:57:07 -04:00
Yaroslav Halchenko
f756278fe5
ENH: just a bit more descriptive exception ;-)
2014-08-12 11:53:54 -04:00
Yaroslav Halchenko
12c3bf1058
Merge pull request #784 from yarikoptic/enh/testnologfile
...
ENH/BF(TST): making permissions restrictive is not sufficient
2014-08-12 11:49:51 -04:00
Yaroslav Halchenko
b2a1032f57
ENH/BF(TST): making permissions restrictive is not sufficient -- really remove file to test
2014-08-12 11:31:42 -04:00
Yaroslav Halchenko
3576c509f5
changelog entry for postfix-sasl fix
2014-08-12 11:08:39 -04:00
Yaroslav Halchenko
b4194fb1d1
Merge pull request #783 from maisonobe/master
...
added systemd configuration for postfix-sasl.conf
2014-08-12 11:05:55 -04:00
Luc Maisonobe
763115b1eb
added systemd configuration for postfix-sasl.conf
2014-08-11 21:54:27 +02:00
Yaroslav Halchenko
aee560b1c6
Merge branch 'master' of git://github.com/fail2ban/fail2ban
...
* 'master' of git://github.com/fail2ban/fail2ban:
1.5 version of Fail2ban logwatch file
Fix typos.
2014-08-11 13:10:02 -04:00
Yaroslav Halchenko
6fc04c2256
Merge branch 'bf+enh/cyrus-imap' of https://github.com/yarikoptic/fail2ban (with some tune up to Changelog entry)
...
* 'bf+enh/cyrus-imap' of https://github.com/yarikoptic/fail2ban :
ENH: cyrus-imap -- catch also 'user not found' attempts
BF: cyrus-imaps -- catch also for secured daemons
Conflicts:
ChangeLog
2014-08-11 13:09:43 -04:00
Yaroslav Halchenko
f403bad0ab
Merge pull request #775 from alimony/patch-1
...
Fix typos.
2014-08-11 13:08:30 -04:00
Yaroslav Halchenko
7e902a1320
1.5 version of Fail2ban logwatch file
...
as copied from Debian package 7.4.0+svn20131108rev175-1
2014-08-11 12:44:46 -04:00
Yaroslav Halchenko
b79a82ebdd
minor typo
2014-08-08 15:57:41 -04:00
Orion Poplawski
6b554fbe98
Fxi jail.conf to use more syslog macros
2014-08-08 13:27:32 -06:00
Yaroslav Halchenko
818dd59d65
ENH: symbiosis-blacklist-allports action
2014-08-08 11:57:30 -04:00
Markus Amalthea Magnuson
7b76322898
Fix typos.
2014-08-02 12:21:59 +02:00
Yaroslav Halchenko
d8c7cc2832
Merge pull request #764 from craneworks/master
...
Adding vagrant support
2014-08-01 10:41:09 -04:00
Yaroslav Halchenko
4a23a7dcf1
Merge pull request #766 from leftyfb/master
...
Added cloudflare action
2014-07-28 15:34:09 -04:00
Yaroslav Halchenko
2756bbe12a
changelog and thanks for the preceding fix
...
Conflicts:
ChangeLog
THANKS
2014-07-28 12:48:50 -04:00
Yaroslav Halchenko
31ee26e72f
Merge pull request #774 from guersam/tmp/fix-sieve-filter
...
Fix sieve filter to use correct option
2014-07-28 12:44:01 -04:00
leftyfb
1101021896
Added entry for Cloudflare action
2014-07-28 11:26:08 -04:00
leftyfb
2179c8293c
ChangeLog Added and entry about Cloudflare action
2014-07-28 11:24:38 -04:00
leftyfb
6dbd449f77
Changed to Cloudflare JSON API
2014-07-28 11:10:50 -04:00
Jisoo Park
2e7b8adb3b
Fix sieve filter to use correct option
2014-07-28 23:42:02 +09:00
Yaroslav Halchenko
2b59a211ee
Merge branch 'master' of github.com:fail2ban/fail2ban
...
* 'master' of github.com:fail2ban/fail2ban:
Forwards bantime to action scripts
2014-07-28 10:18:40 -04:00
Yaroslav Halchenko
a35b62500f
changelog entries for already merged and upcoming merge
2014-07-28 10:18:33 -04:00
Yaroslav Halchenko
f19c5fc939
Merge pull request #770 from eltrai/master
...
Forwards bantime to action scripts
2014-07-28 10:17:08 -04:00
Yaroslav Halchenko
effa1bc757
Merge branch 'master' of github.com:fail2ban/fail2ban
...
* 'master' of github.com:fail2ban/fail2ban:
Update courier-smtp.conf
I don't understand those years.
added Jul 3 & Jul 4
Update courier-smtp.conf
named users + smtp atuh probes
BF: Remove manually unbanned IPs from persistent database
typo
2014-07-28 10:14:40 -04:00
Yaroslav Halchenko
f9cfbd66e6
Merge pull request #771 from szepeviktor/patch-1
...
named users + smtp auth probes
2014-07-28 10:14:18 -04:00
Szépe Viktor
143a55bf26
Update courier-smtp.conf
2014-07-28 12:51:38 +02:00
Yaroslav Halchenko
81c98f77ca
Merge pull request #769 from kwirk/unban-database
...
BF: Remove manually unbanned IPs from persistent database
2014-07-27 21:54:44 -04:00
Yaroslav Halchenko
2d7f2fa33f
Merge pull request #756 from marclaporte/patch-1
...
typo
2014-07-27 21:49:24 -04:00
Yaroslav Halchenko
edfdeecfe6
DOC: Changelog for recent merge
2014-07-27 21:48:55 -04:00
Yaroslav Halchenko
45c1095606
Merge pull request #750 from niorg/master
...
Added Directadmin filter, jail and log test
2014-07-27 21:47:07 -04:00
Yaroslav Halchenko
3339dc8d84
ENH: cyrus-imap -- catch also 'user not found' attempts
2014-07-25 10:13:04 -04:00
Yaroslav Halchenko
3e5c598b79
BF: cyrus-imaps -- catch also for secured daemons
2014-07-25 10:02:40 -04:00
Szépe Viktor
68bf5a1c36
I don't understand those years.
2014-07-20 21:23:57 +02:00
Szépe Viktor
9c4f9a3de8
added Jul 3 & Jul 4
2014-07-20 21:13:55 +02:00
Szépe Viktor
d757ef584f
Update courier-smtp.conf
2014-07-20 21:09:10 +02:00
Szépe Viktor
a786e8a29b
named users + smtp atuh probes
2014-07-20 19:59:54 +02:00
Pierre-Alain Dupont
3d7504c19e
Forwards bantime to action scripts
...
That way, ipset and afctl will use a real timeout and not default to a fixed value for all jails
2014-07-20 16:25:59 +02:00
Steven Hiscocks
01d02ca5e6
BF: Remove manually unbanned IPs from persistent database
...
Stops them being restored when Fail2Ban is restarted. Particularly this
is an issue with bantime < 0
Fixes gh-768
2014-07-19 15:17:32 +01:00
Steven Hiscocks
e301d6c840
DOC: Update ChangeLog for change in b73ed9b
2014-07-19 15:15:38 +01:00
Steven Hiscocks
8e0a59f04d
Merge pull request #763 from Sean-Der/round-banip-time
...
BF: Round timeofban before inserting into the persistant database
2014-07-19 14:56:32 +01:00
Florian Pelgrim
fc7eaac77a
Vagrant with two Ubuntu Trusty64 boxes
...
Added Vagrantfile with Ubuntu Trusty64 configured.
Both VMs are sharing the same network 192.168.200.0/24. Options for using
saltstack are pre-configured but commented out.
VM "secure" can be used for testing fail2ban code.
VM "attacker" can be used to perform attack against our "secure" VM.
2014-07-18 17:51:06 +02:00
Yaroslav Halchenko
78d8ea2e50
Merge pull request #760 from yarikoptic/enh/exim4_debian_path
...
BF: fix path to the exim log on Debian and Fedora systems
2014-07-18 09:59:08 -04:00
leftyfb
cba570cabd
Updated comments
2014-07-17 23:49:35 -04:00
leftyfb
5471e99ebe
Added cloudflare action
2014-07-17 22:54:30 -04:00
Yaroslav Halchenko
d498474c8f
Merge pull request #758 from Sean-Der/add-version-to-protocol
...
ENH: Add version command to protocol
2014-07-17 18:58:41 -04:00
Sean DuBois
ac9fa90625
BF: Round timeofban before inserting into the persistant database
2014-07-17 21:57:52 +00:00
Florian Pelgrim
2f42ab00ad
Adding vagrant support
...
Vagrant will provide you with a default devel box where code
can be tested. No further arguments like "On my system it is
running. Has to be yours".
I choosed a Debian wheezy based box with saltstack installed.
Wheezy because it is stable and ships mostly older packages
than other distros. Saltstack is used for pre-installing
packeges when bringing up our box. So any requierements from
fail2ban can be saved here and shipped out with git.
You can add multiple other boxes. For example adding CentOS
to check if the tests are passing also there.
2014-07-17 16:44:45 +02:00
Sean DuBois
84b7e93a47
ENH: Add version command to protocol
...
TST: Add test for version server command
2014-07-15 06:19:13 +00:00
Yaroslav Halchenko
6cddc65cee
BF: path to exim's mainlog on Fedora (Thanks Frantisek Sumsal) + changelog entry
2014-07-14 12:16:12 -04:00
Yaroslav Halchenko
43950d8b7e
BF: fix path to the exim log on Debian systems (/var/log/exim4)
2014-07-08 11:09:25 -04:00
Marc Laporte
3777591ab0
typo
2014-07-05 11:55:57 -04:00
Cyril Roos
add8e61036
Added Directadmin filter, jail and log test
2014-07-02 13:52:06 +02:00
Yaroslav Halchenko
c7de888cd3
DOC: Changelog for previous merge (pass a copy of aInfo)
2014-06-22 10:59:43 -04:00
Yaroslav Halchenko
602239051b
BF: reincarnated import of logging (used to obtain level constants)
2014-06-22 10:56:50 -04:00
Yaroslav Halchenko
0adb10f653
Merge branch 'ainfo-copy' of https://github.com/kwirk/fail2ban
...
* 'ainfo-copy' of https://github.com/kwirk/fail2ban :
TST: actions modifying aInfo test more robust
TST: Test for actions modifying (un)ban aInfo
BF: aInfo could be modified by actions, causing unexpected behaviour
2014-06-22 10:53:30 -04:00
Yaroslav Halchenko
305b31ae1c
DOC: ChangeLog -- Added an entry about iptables-common.conf
2014-06-22 10:29:23 -04:00
Steven Hiscocks
dd3ab858dd
TST: actions modifying aInfo test more robust
2014-06-22 13:56:32 +01:00
Steven Hiscocks
7640aa0918
TST: Test for actions modifying (un)ban aInfo
2014-06-22 13:47:25 +01:00
Steven Hiscocks
2d54161696
Merge branch 'kwirk/harmonize-log-msgs'
...
Conflicts:
ChangeLog - Keep all additions
2014-06-22 12:57:49 +01:00
Steven Hiscocks
76a5633ff9
Merge pull request #739 from ranvis/enh-iptables-ipsets
...
ENH: Add <chain> to iptables-ipsets.
2014-06-21 22:48:49 +01:00
SATO Kentaro
65ff3e9604
ENH: Introduce iptables-common.conf.
2014-06-18 19:04:57 +09:00
Steven Hiscocks
94232d7c31
Merge pull request #726 from pmarrapese/master
...
Minor improvement to sshd filter
2014-06-17 23:43:42 +01:00
Steven Hiscocks
8268c1641f
BF: aInfo could be modified by actions, causing unexpected behaviour
...
A separate copy of aInfo is passed to each action
2014-06-17 23:24:23 +01:00
Yaroslav Halchenko
4190a4030c
Merge branch 'sebres-strptime-bug' of https://github.com/kwirk/fail2ban
...
* 'sebres-strptime-bug' of https://github.com/kwirk/fail2ban :
DOC: Tweak ChangeLog and THANKS
DOC: Update docs in reference to time zone related fix
TST: Fix tests due to @sebres fix and based from gh-349 reverts
strptime bug fix: if gmtoff is None we have 1 hour increment of time (through utctimetuple), compare: >>>> datetime.datetime.fromtimestamp(time.mktime(datetime.datetime.now().timetuple())).strftime("%Y-%m-%d %H:%M:%S") '2014-04-29 17:26:31' >>>> datetime.datetime.fromtimestamp(time.mktime(datetime.datetime.now().utctimetuple())).strftime("%Y-%m-%d %H:%M:%S") '2014-04-29 18:26:37'
Conflicts:
ChangeLog
2014-06-16 09:28:41 -04:00
Yaroslav Halchenko
93d5c363ca
Merge branch 'enh/oracle_msg_server'
...
* enh/oracle_msg_server:
ENH: make oracleims failregex better anchored (more explicit)
Update oracleims.conf to be 'less greedy'
Update THANKS
Update jail.conf for oracleims filter.
Create test for oracleims filter
Create oracleims.conf in filter.d for new filter
2014-06-16 09:22:42 -04:00
SATO Kentaro
1e1c4ac62a
ENH: Add <chain> to iptables-ipsets.
2014-06-16 21:30:13 +09:00
Steven Hiscocks
664f1db0ba
BF: Fix getLogger for single level log level names
2014-06-10 20:58:57 +01:00
Steven Hiscocks
dd75d35420
Merge pull request #724 from yarikoptic/enh_elapsed_time_regex
...
ENH: minor -- print time which was used to process lines
2014-06-10 20:49:55 +01:00
Steven Hiscocks
9764c78415
ENH: Rename fail2ban_excepthook to excepthook
2014-06-10 20:38:18 +01:00
Steven Hiscocks
4fc7f1a831
ENH: Tweak naming of getF2BLogger, and ensure consistent use
2014-06-10 20:36:19 +01:00
Yaroslav Halchenko
994fe77e59
ENH: make oracleims failregex better anchored (more explicit)
2014-06-10 03:52:16 -04:00
Yaroslav Halchenko
2a51a0176a
BF: minor type for delignoreregex in bash completions
2014-06-10 03:42:07 -04:00
JoelSnyder
5165d2f6ea
Update oracleims.conf to be 'less greedy'
...
This assumes that the protocol is always a string, which it always is, and that the other four fields in the "tr" are always numeric (which they always are). See port_access documentation at http://docs.oracle.com/cd/E19563-01/819-4428/bgaur/index.html
2014-06-09 18:44:27 -07:00
JoelSnyder
c325e88634
Update THANKS
...
Per Steven.
2014-06-09 18:38:22 -07:00
JoelSnyder
70ed93d8cc
Update jail.conf for oracleims filter.
...
This is the jail.conf update. Hopefully this will go into pull request #734 .
2014-06-09 18:37:31 -07:00
Steven Hiscocks
f7da091437
ENH: Log unhandled exceptions to Fail2Ban log
2014-06-09 22:27:51 +01:00
Steven Hiscocks
e8131475cd
ENH: Realign and harmonise log messages with getF2BLogger helper
2014-06-09 22:17:00 +01:00
Steven Hiscocks
db023be09b
BF: Fix bad syntax in badips.py action
...
Taken from https://bugzilla.redhat.com/attachment.cgi?id=895966&action=diff
2014-06-07 20:51:53 +01:00
JoelSnyder
54317d7c3b
Create test for oracleims filter
...
This test file shows configuration information for the application, three log lines that DO match the pattern, and one log line that does NOT match the pattern (the first one).
2014-06-02 22:58:39 -07:00
JoelSnyder
9b7c35810a
Create oracleims.conf in filter.d for new filter
...
Created oracleims.conf to catch messages from Sun/Oracle Communications Messaging Server v6.3 and above (including v7)
2014-06-02 22:55:59 -07:00
Yaroslav Halchenko
98daa9d301
Merge pull request #723 from kwirk/decode-warning
...
ENH: Clearer warning with lines which failed to decode correctly
2014-05-30 12:15:51 -04:00
pmarrapese
96918acee4
more explicit match for sshd filter & added test
2014-05-19 20:47:16 -07:00
pmarrapese
46d6e93800
adjusted sshd filter regex to catch more verbose lines
2014-05-18 22:12:54 -07:00
Yaroslav Halchenko
eb2487986c
ENH: minor -- print time which was used to process lines
2014-05-15 21:17:43 -04:00
Steven Hiscocks
0ca97431a0
ENH: Clearer warning with lines which failed to decode correctly
2014-05-15 22:48:03 +01:00
Steven Hiscocks
1fa8f9fa70
DOC: Tweak ChangeLog and THANKS
2014-05-15 22:18:07 +01:00
Steven Hiscocks
fc4b69a282
DOC: Update ChangeLog fix for ip{,jail}failures action tags
2014-05-15 22:15:12 +01:00
sebres
213c4315c3
fix a TypeError bugs like "Failed to execute ban jail 'pam-generic' action 'iptables-allports'"
...
getAttempt returns not a list (numeric), so by call of both lambda we have a TypeError except;
simplifying code;
2014-05-15 19:41:00 +02:00
Steven Hiscocks
1c20fd88d4
DOC: Update docs in reference to time zone related fix
2014-05-14 23:04:48 +01:00
Steven Hiscocks
8843423c8f
TST: Fix tests due to @sebres fix and based from gh-349 reverts
2014-05-14 23:01:14 +01:00
sebres
2bf0b4a50c
strptime bug fix: if gmtoff is None we have 1 hour increment of time (through utctimetuple), compare:
...
>>>> datetime.datetime.fromtimestamp(time.mktime(datetime.datetime.now().timetuple())).strftime("%Y-%m-%d %H:%M:%S")
'2014-04-29 17:26:31'
>>>> datetime.datetime.fromtimestamp(time.mktime(datetime.datetime.now().utctimetuple())).strftime("%Y-%m-%d %H:%M:%S")
'2014-04-29 18:26:37'
2014-05-14 22:29:06 +01:00
Yaroslav Halchenko
2526dbae92
Merge branch 'recursive-tag-fix' of https://github.com/kwirk/fail2ban
...
* 'recursive-tag-fix' of https://github.com/kwirk/fail2ban :
ENH: explicitly define tags which should be escaped
DOC: ChangeLog update for recursive tag bug fix
BF: Tags not fully recursively substituted
Conflicts:
ChangeLog -- kept all as is
2014-05-13 11:23:30 -04:00
Steven Hiscocks
1e586fb0e9
ENH: explicitly define tags which should be escaped
2014-05-11 14:49:49 +01:00
Yaroslav Halchenko
c619202d6f
Merge branch 'master' of github.com:fail2ban/fail2ban
...
* 'master' of github.com:fail2ban/fail2ban:
ENH: Match non "Bye Bye" for sshd locked accounts failregex
Even stricter monit regex, now covers entire line
Tidy up filter.d/monit.conf, make regex more complete. Add ChangeLog / THANKS entry. Add test cases.
ENH: Move traceback formatter to from tests.utils to helpers
Block brute-force attempts against the Monit gui
2014-05-10 20:02:47 -04:00
Steven Hiscocks
904b362215
DOC: ChangeLog update for recursive tag bug fix
...
Also minor typo fixes in comments
2014-05-09 20:25:44 +01:00
Steven Hiscocks
77ba065571
Merge pull request #697 from jhmartin/monit_admin_hack
...
Block brute-force attempts against the Monit gui
2014-05-07 22:23:01 +01:00
Yaroslav Halchenko
3471f13a84
Merge pull request #700 from kwirk/format-traceback-to-helpers
...
ENH: Move traceback formatter to from tests.utils to helpers
2014-05-07 09:09:01 -04:00
Yaroslav Halchenko
1f8b554d31
Merge branch 'database-persistent-bans' of https://github.com/kwirk/fail2ban
...
* 'database-persistent-bans' of https://github.com/kwirk/fail2ban :
BF: bantime < 0 database should return all bans, as they are persistent
Conflicts:
ChangeLog - kept all ;)
2014-05-05 23:29:35 -04:00
Yaroslav Halchenko
3eabf4a7bd
Merge pull request #708 from kwirk/ssh-bye-bye
...
ENH: Match non "Bye Bye" for sshd locked accounts failregex
2014-05-05 23:22:57 -04:00
Yaroslav Halchenko
65269365ee
minor
2014-05-05 23:16:18 -04:00
Yaroslav Halchenko
91eb75098b
Merge pull request #714 from kwirk/urandom-persistent
...
BF: Avoid closing "/dev/urandom" for Python 3.4.0
2014-05-05 23:13:34 -04:00
Steven Hiscocks
b3266ba44d
BF: Tags not fully recursively substituted
...
Note: recursive check ignored for "matches", as tags would be escaped,
and hence shouldn't match "<%s>" as "<ip>" would become "\<ip\>". This
therefore maintains advantage of delayed call for {ip,jail,}matches.
Fixes gh-713
2014-05-03 14:28:13 +01:00
Steven Hiscocks
2bb7401ec1
Merge pull request #686 from CameronNemo/patch-2
...
Update fail2ban.upstart
2014-05-03 13:21:13 +01:00
Steven Hiscocks
1e8402cb99
DOC: ChangeLog entry for Python 3.4.0 persistent "/dev/urandom" fix
2014-05-03 12:51:15 +01:00
Steven Hiscocks
cf3a6015f0
BF: Avoid closing "/dev/urandom" for Python 3.4.0
...
Upstream bug: http://bugs.python.org/issue21207
Closes gh-687
2014-05-03 12:44:03 +01:00
Steven Hiscocks
b486014b35
TST: Add Python 3.4 for TravisCI
...
This reverts commit 233aa043f3 .
2014-05-03 12:09:48 +01:00
Yaroslav Halchenko
1e19bca28e
Merge pull request #704 from CameronNemo/foreground-opt-client
...
Add an option in fail2ban-client to pass the foreground option to the server
2014-05-01 13:14:06 -04:00
Steven Hiscocks
bc10b64c69
ENH: Match non "Bye Bye" for sshd locked accounts failregex
2014-04-27 13:35:55 +01:00
Steven Hiscocks
7cc64a14e0
BF: fail2ban-regex assertion error caused by miscounted "missed" lines
...
Caused when removing lines as part of multiline regex, which had been
previously considered missed.
2014-04-27 13:27:11 +01:00
Yaroslav Halchenko
596b819bdc
DOC: minor -- tabify docstring in badips.py action
2014-04-23 10:04:17 -04:00
Cameron Norman
2a14e48f0b
A few final touches on the Upstart job
...
(a) use static-network-up, since it is more generic than the started networking event
(b) do not hook into network deconfiguration to speed up shutdown
(c) expect fork, per the use of the "-f" option
(d) use a variable for the run directory to make changing it simpler
(e) handle the situation of a left over socket file
(f) use the -f option to be able to track the PID
2014-04-22 21:55:51 -07:00
Jason Martin
9c3cb31862
Even stricter monit regex, now covers entire line
2014-04-22 21:29:52 -07:00
Cameron Norman
73cb3e3eec
Added more specific help message to fail2ban-client with -f option
2014-04-22 20:20:07 -07:00
Steven Hiscocks
bbcbefd494
BF: bantime < 0 database should return all bans, as they are persistent
2014-04-22 19:20:44 +01:00
Yaroslav Halchenko
64866995b7
Merge pull request #703 from kwirk/journal-match-notice
...
Add notice message for systemd backend when no journal match
2014-04-20 22:32:00 -04:00
Cameron Norman
7818b0cb2a
Added f and b to cmdOpts.
...
f = start server in foreground; b = start server in background (default).
2014-04-20 16:03:04 -07:00
Cameron Norman
1f53eb2d28
Updated man page for new options
2014-04-20 11:39:04 -07:00
Cameron Norman
9c2a0cb403
Added foreground and background options to fail2ban-client
2014-04-20 11:37:07 -07:00
Steven Hiscocks
a7766d3316
DOC: Add notice message for systemd backend when no journal match
2014-04-20 17:59:41 +01:00
Cameron Norman
39ad5b7474
Update Upstart job: uses stop command in pre-stop, removes PID file in post-stop
2014-04-19 15:10:19 -07:00
Cameron Norman
0ef5027234
Change Upstart job to track PID of the server
...
This only works correctly if the client does not fork itself when starting the server (which forks twice further).
2014-04-19 14:12:20 -07:00
Jason Martin
72bfd14330
Tidy up filter.d/monit.conf, make regex more complete.
...
Add ChangeLog / THANKS entry.
Add test cases.
2014-04-19 13:04:03 -07:00
Steven Hiscocks
233aa043f3
Revert "TST: Add Python 3.4 for TravisCI"
...
This reverts commit a3f8b943a3 .
TravsCI doesn't support 3.4...yet
2014-04-19 18:39:55 +01:00
Steven Hiscocks
a3f8b943a3
TST: Add Python 3.4 for TravisCI
2014-04-19 18:25:59 +01:00
Steven Hiscocks
03d90c2f42
BF: recidive filter and samples at wrong log level: WARNING->NOTICE
2014-04-19 18:07:23 +01:00
Yaroslav Halchenko
af07b2edf8
very minor
2014-04-18 23:59:24 -04:00
Steven Hiscocks
6a740f684a
ENH: Move traceback formatter to from tests.utils to helpers
...
Now allows for tests to be removed from package if desired
2014-04-18 23:27:30 +01:00
Yaroslav Halchenko
78c82b3da7
DOC: minor -- added a link to pull requests in CONTRIBUTING
2014-04-17 23:16:41 -04:00
Yaroslav Halchenko
5e179f5dcb
TST: skip the test if a known problem with Python 2.6 is detected
...
As was original "discovered" while running tests on OSX with python2.6:
http://nipy.bic.berkeley.edu/builders/fail2ban-py2.7-osx-10.6_master/builds/6/steps/shell_2/logs/stdio
2014-04-17 22:23:20 -04:00
Yaroslav Halchenko
2bc509fcc7
DOC: minor changes just to trigger the build
2014-04-17 14:34:26 -04:00
Yaroslav Halchenko
16077a2771
add .dev to 0.9.0 version
2014-04-17 14:08:43 -04:00
Yaroslav Halchenko
e66231f041
ENH(DOC): Move contributions related docs into CONTRIBUTING.md so it pops up when people file PR/issues
...
pushing directly without PR to trigger buildbot for master -- please pardon the rush
2014-04-17 13:19:03 -04:00
Yaroslav Halchenko
3c0d6a77d2
BF: testDatabase -- close and unlink the created test db file
2014-04-17 10:40:37 -04:00
Jason Martin
7d112430ca
Block brute-force attempts against the Monit gui
2014-04-16 21:21:41 -07:00
Steven Hiscocks
9d6fc6eca2
ENH: For syslog use SYSLOG_PID over _PID in systemd journal log format
2014-04-16 23:58:00 +01:00
Yaroslav Halchenko
c2289bc8fe
ENH(TST): relax test of sleep to "1" places from "2"
...
The reason is that internally it does round, so even 1.005 then would not
be equal to 1. Making it spaces==1 should be sufficient for up to 1.05
i.e. we would allow 50ms "drift"
2014-04-16 15:52:18 -04:00
Steven Hiscocks
d4427e5a76
Merge pull request #683 from yarikoptic/fix/682
...
Fix typos referencing paths-common, provide empty defaults for syslog_ log files (Partial fix to #682 )
2014-04-15 17:14:28 +01:00
Steven Hiscocks
1369701f87
ENH: Log trace info for failed action events when in DEBUG
2014-04-12 11:27:05 +01:00
Steven Hiscocks
9fcb92524e
BF: badips.py action logging of exc_info on debug typo
2014-04-12 11:21:52 +01:00
Cameron Norman
0c8e72f452
Update fail2ban.upstart
...
No longer directly exec the server, do not remove the PID file because it is unnecessary to do so. No longer respawns because Upstart can not track the process with the starter command.
2014-04-11 17:09:08 -07:00
Cameron Norman
4115b62a01
Update fail2ban.upstart
...
It was actually a little problematic :)
2014-04-11 16:49:56 -07:00
Daniel Black
83d0c9c530
Merge pull request #685 from CameronNemo/patch-1
...
ENH: Create fail2ban.upstart
2014-04-12 09:19:59 +10:00
Cameron Norman
5e3f5db8b7
Create fail2ban.upstart
...
Add Upstart job.
2014-04-11 08:50:55 -07:00
Yaroslav Halchenko
8bcb25c3a2
defining empty defaults for syslog_ log targets for common (Thanks @chtheis, partial fix to #682 )
2014-04-10 23:17:39 -04:00
Yaroslav Halchenko
7dcea0d48d
typos of paths-common (Thanks @chtheis, partial fix to #682 )
2014-04-10 23:17:30 -04:00
Daniel Black
0c38e09d3d
Merge pull request #681 from ddysher/clean-setup-file
...
Clean up setup.py
2014-04-04 14:58:47 +11:00
Deyuan Deng
5e9619d4a4
Clean up setup.py
2014-04-04 02:54:53 +00:00
Yaroslav Halchenko
5bccec61e4
ENH: adding pruned with previous merge trailing \s* in nginx filter
2014-04-03 21:31:46 -04:00
Yaroslav Halchenko
b0a1435ae2
Merge pull request #680 from yungchin/fix_nginx_filter
...
nginx-http-auth: match when "referrer" is present
2014-04-03 21:22:13 -04:00
Yung-Chin Oei
941a38ea8e
nginx-http-auth: match when "referrer" is present
...
A sample log-line is provided. The updated regex successfully matches
this line.
Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl >
2014-04-04 01:27:39 +01:00
Steven Hiscocks
abfa7fa7e3
DOC: Update ChangeLog
2014-04-03 18:47:38 +01:00
Steven Hiscocks
4190113e4b
DOC: Fix jail.conf(5) man page which had duplicate {fail,ignore}regex
2014-04-03 18:41:40 +01:00
Steven Hiscocks
100b5e61f5
Merge 'kwirk/config-warnings' (early part)
2014-04-03 18:36:56 +01:00
Steven Hiscocks
629a62f981
Merge pull request #679 from ag4ve/patch-1
...
Correct grammar
2014-04-03 18:30:07 +01:00
shawn
d7e888238c
Correct grammar
2014-04-03 10:44:49 -04:00
Daniel Black
ef186a9ba9
DOC: add thanks for last commit
2014-04-03 21:42:19 +11:00
Daniel Black
e3be822245
DOC: nginx-http-auth filter
2014-04-03 21:30:45 +11:00
Daniel Black
524add2d44
Merge pull request #676 from yungchin/patch-2
...
ENH: nginx-http-auth filter: match server_name = ""
2014-04-03 21:27:07 +11:00
yungchin
6e8c1b2871
nginx-http-auth filter: match server_name = ""
...
As documented at
http://nginx.org/en/docs/http/server_names.html#miscellaneous_names "If
no server_name is defined in a server block then nginx uses the empty
name as the server name." This regex change allows us to match error
output for such a configuration.
The log line added to the tests was lifted from our logs verbatim; it
did not match without the patched regex.
Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl >
2014-04-03 11:04:21 +01:00
Steven Hiscocks
638c013557
ENH: Suppress configuration warnings if non-critical options are not set
2014-04-02 18:30:21 +01:00
Yaroslav Halchenko
096702bfac
Merge pull request #675 from yungchin/patch-1
...
Update comments in shorewall.conf for new settings
2014-04-01 12:05:58 -04:00
yungchin
3a155ed2e0
Update comments in shorewall.conf for new settings
2014-04-01 16:52:21 +01:00
Daniel Black
ce982debae
Merge pull request #670 from kwirk/reban-once-per-ip
...
BF: On jail restart reinstatement of bans, fetch one ticket per IP
2014-03-31 18:36:06 +11:00
Daniel Black
73fb716920
Merge pull request #671 from kwirk/sphinx
...
DOC: sphinx documentation
2014-03-31 18:32:37 +11:00
Daniel Black
d99a663ad0
Merge pull request #673 from kwirk/jail-init-error
...
DOC: Improve error logging when specific backend set and fails
2014-03-31 18:31:16 +11:00
Steven Hiscocks
953ebd62c6
DOC: Improve error logging when specific backend set and fails
2014-03-29 23:08:37 +00:00
Steven Hiscocks
3781ff845a
BF: Fix getting jail name from exceptions in beautifier for Python 3+
2014-03-29 22:54:06 +00:00
Steven Hiscocks
baeff6141e
DOC: sphinx documentation
2014-03-29 22:07:33 +00:00
Steven Hiscocks
dc24d3d494
BF: On jail restart reinstatement of bans, fetch one ticket per IP
...
Closes gh-664
2014-03-29 21:44:39 +00:00
Daniel Black
2c34fb0aec
Merge pull request #667 from rubenk/master
...
DOC: Add documentation link to systemd service file
2014-03-26 07:11:13 +11:00
Yaroslav Halchenko
c516e8a010
run only tests not requiring network access
2014-03-25 11:17:34 -04:00
Yaroslav Halchenko
de72ec0d39
BF: glitch
2014-03-25 10:04:11 -04:00
Yaroslav Halchenko
35a03c0f86
Adjusted changelog/news, do not ignore test failures, install more examples
2014-03-25 08:55:20 -04:00
Ruben Kerkhof
1c36da9df9
Fix 2 more typos that codespell didn't catch
2014-03-25 10:57:20 +00:00
Yaroslav Halchenko
33564948cc
pruned not needed any longer remove-syslog.target-reference.patch
2014-03-25 00:45:29 -04:00
Yaroslav Halchenko
90648029d2
updated changelog
2014-03-25 00:44:00 -04:00
Yaroslav Halchenko
b132bd8137
Merge commit '0.9.0-48-gabcab00' into debian-releases/experimental
...
* commit '0.9.0-48-gabcab00':
Fix a few typos
BF: Ignored IPs no longer being banned from database on restart
ENH: Add iptables and firewalld to "After" for systemd service file.
DOC: Add database settings for fail2ban.conf to jail.conf(5) man page
TST: Skip badips.py test is no network option set
TST: Skip SYSLOG log target test if '/dev/log' not present
BF: fail2ban.conf reader expected "int" type for `loglevel`
DOC: Update ChangeLog fixes
BF: Handle case when no sqlite library is available for the database
2014-03-25 00:43:11 -04:00
Daniel Black
abcab00c90
Merge pull request #666 from rubenk/master
...
DOC: Fix a few typos
2014-03-25 08:13:28 +11:00
Ruben Kerkhof
ebed0d23c9
Add documentation link to systemd service file
...
So systemctl help fail2ban.service works
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com >
2014-03-24 14:20:49 +00:00
Ruben Kerkhof
1695d5c076
Fix a few typos
...
Found with https://github.com/lucasdemarchi/codespell
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com >
2014-03-24 13:16:52 +00:00
Steven Hiscocks
b73ed9b59e
BF: Ignored IPs no longer being banned from database on restart
2014-03-24 00:30:46 +00:00
Steven Hiscocks
7046388291
Merge branch 'database-no-sqlite'
...
Conflicts:
ChangeLog
- Entries added in both branches, both kept
2014-03-22 17:34:38 +00:00
Steven Hiscocks
c7c203964c
ENH: Add iptables and firewalld to "After" for systemd service file.
...
Also remove no longer supported syslog.target.
Closes #658
2014-03-22 17:28:49 +00:00
Steven Hiscocks
e437bd5e6f
DOC: Add database settings for fail2ban.conf to jail.conf(5) man page
2014-03-21 18:35:23 +00:00
Yaroslav Halchenko
6dae59a50c
for experimental build straight from git debian-releases/experimental branch
2014-03-20 21:43:36 -04:00
Yaroslav Halchenko
97bd9b96e8
minor tune up to the changelog
2014-03-20 21:42:19 -04:00
Yaroslav Halchenko
7a027df1f3
Merge branch 'debian' into debian-releases/experimental
...
* debian:
BF: forgot to define sender in jail.conf
2014-03-20 21:20:58 -04:00
Steven Hiscocks
175c593462
TST: Skip badips.py test is no network option set
2014-03-19 19:30:48 +00:00
Steven Hiscocks
75325da090
TST: Skip SYSLOG log target test if '/dev/log' not present
2014-03-19 19:21:23 +00:00
Steven Hiscocks
1470e3c01d
BF: fail2ban.conf reader expected "int" type for loglevel
...
Closes #657
2014-03-19 19:09:07 +00:00
Steven Hiscocks
8c129cc283
DOC: Update ChangeLog fixes
2014-03-19 18:59:00 +00:00
Steven Hiscocks
1c65b94617
BF: Handle case when no sqlite library is available for the database
2014-03-19 18:55:54 +00:00
Yaroslav Halchenko
df08b2ff18
BF: forgot to define sender in jail.conf
2014-03-19 11:43:38 -04:00
Yaroslav Halchenko
ae9b13be20
Changelog version and minor tune up to NEWS
2014-03-19 10:50:21 -04:00
Yaroslav Halchenko
af854eec4d
Merge commit '0.9.0-654-gc8694d8' (packaging tune ups for 0.9) into debian-releases/experimental
...
* commit '0.9.0-654-gc8694d8':
Add news entry for 0.9.0
use upstream jail.conf, paths are now defined in paths-debian.conf
enable systemd integration
remove /var/lib/fail2ban/fail2ban.sqlite3 when purging
move renamed conffiles in maintscripts
refresh patch deb_manpages_reportbug
remove changeset_d4f6ca4f8531f332bcb7ce3a89102f60afaaa08e.diff, applied upstream
Update debian packaging to dh compat 9
Conflicts:
debian/jail.conf -- removed also in this branch
debian/postinst -- took changes for courier renames + adjusted version to 0.9.0-1~
debian/postrm
debian/preinst
2014-03-19 10:44:23 -04:00
Yaroslav Halchenko
a133d79380
Merge commit '0.9.0-37-gdeb5924' into debian-releases/experimental
...
* commit '0.9.0-37-gdeb5924': (449 commits)
Fix typo in comment
DOC: note to have release tagged by a signed/annotated tag
DOC: ChangeLog for gh-652
Add a --print-all-matched option.
DOC: Add DEVELOP documentation on use of pyflakes
TST: Unused import in test_smtp
DOC: Document recent changes
DOC: Document recent fixes
DOC: syntax
DOC: new ChangeLog header
TST: Fix test failing due to wrapping of long subject lines v2
TST: Fix test failing due to wrapping of log subject lines
BF: fail2ban-regex mix of tabs and spaces
Changelog entry
BF(PY2.4,2.5): provide bin() function (introduced in 2.6)
BF: python 2.4 and 2.5 compatibility -- no "except ... as ..." yet
BF: Remove unused imports and variables.
BF: badips.py action methods not static due to use of self._logSys
BF: FilterSystemd.formatJournalEntry is a classmethod, not staticmethod
BF: Remove "/var/run/fail2ban" from setup.py
...
2014-03-19 10:40:17 -04:00
Yaroslav Halchenko
5d95fcb718
two more forgotten renames (sasl, lighttpd-fastcgi)
2014-03-19 10:35:53 -04:00
Yaroslav Halchenko
1d23a4dc4f
debian/post{inst,rm},preinst: - [thanks to Daniel Schaal]: take care about renaming firewall-cmd-direct-new.conf to firewallcmd-new.conf which happened
...
in 0.8.11-29-g56b6bf7
2014-03-19 10:26:07 -04:00
Yaroslav Halchenko
7376bb4321
Beefing up debian/jail.conf
2014-03-18 23:25:21 -04:00
Daniel Black
deb59240eb
Merge pull request #655 from mrueg/patch-1
...
DOC: Fix typo in comment
2014-03-18 13:10:59 +11:00
Manuel Rüger
5a1ad75114
Fix typo in comment
2014-03-18 03:07:19 +01:00
Daniel Black
8f1ad6ab51
Merge pull request #653 from yarikoptic/master
...
DOC: note to have release tagged by a signed/annotated tag
2014-03-18 08:27:38 +11:00
Yaroslav Halchenko
afa24db843
DOC: note to have release tagged by a signed/annotated tag
...
Came up in #650
2014-03-17 17:19:10 -04:00
Daniel Black
e3839777d1
DOC: ChangeLog for gh-652
2014-03-18 08:02:39 +11:00
Daniel Black
3936f2364e
Merge pull request #652 from hlein/master
...
ENH: Add a --print-all-matched option.
2014-03-18 07:59:41 +11:00
Yaroslav Halchenko
08c178bef5
Merge pull request #651 from yarikoptic/master
...
Merge of recent 0.8 (very minor changes) to establish the bridge for future easy merges of fixes from 0.8
2014-03-17 15:27:30 -04:00
Yaroslav Halchenko
7704dccddf
Merge commit '0.8.13-5-gdfac2f7' (-s ours, thus no actual changes takes -- we >= 2.6 in 0.9)
...
* commit '0.8.13-5-gdfac2f7':
Changelog entry
BF(PY2.4,2.5): provide bin() function (introduced in 2.6)
BF: python 2.4 and 2.5 compatibility -- no "except ... as ..." yet
2014-03-17 10:29:28 -04:00
Yaroslav Halchenko
65628e303c
Merge commit '0.8.13-1-ga8d0cc9'
...
* commit '0.8.13-1-ga8d0cc9':
DOC: remove duplicate update of Fail2ban_Version
DOC: DEVELOP release note changes
PKG: version release
PKG: include nagios filter/log
DOC/ENH: update man pages for release
Conflicts:
ChangeLog
DEVELOP
MANIFEST
fail2ban/version.py
man/fail2ban-client.1
man/fail2ban-regex.1
man/fail2ban-server.1
2014-03-17 10:25:12 -04:00
Hank Leininger
2d42b46a7c
Add a --print-all-matched option.
...
The default behavior, to not print any matched lines, is unchanged.
2014-03-17 00:50:04 -04:00
Steven Hiscocks
fe3df0e523
DOC: Add DEVELOP documentation on use of pyflakes
2014-03-16 22:26:10 +00:00
Steven Hiscocks
b83550ad0b
TST: Unused import in test_smtp
...
Remnants from c7df15f014
2014-03-16 22:13:37 +00:00
Steven Hiscocks
8f4a99f81f
DOC: Document recent changes
2014-03-16 21:59:50 +00:00
Steven Hiscocks
b89d05c57d
DOC: Document recent fixes
2014-03-16 21:55:41 +00:00
Daniel Black
755e35fdfe
DOC: syntax
2014-03-17 08:43:34 +11:00
Daniel Black
c602dea3c3
DOC: new ChangeLog header
2014-03-17 08:43:00 +11:00
Daniel Black
dfac2f700a
Merge pull request #647 from yarikoptic/0.8
...
Minor fixes for claimed compatibility with 2.4 and 2.5 -- not to be "merged" into 0.9
2014-03-17 08:36:59 +11:00
Steven Hiscocks
41de7ca879
TST: Fix test failing due to wrapping of long subject lines v2
...
Another fix based from c7df15f014 which
failed due to python3.3 not wrapping headers to 78 characters.
2014-03-16 21:14:54 +00:00
Steven Hiscocks
c7df15f014
TST: Fix test failing due to wrapping of log subject lines
...
Typically flagged by pypy due to what appears to be typically longer
object "ids" compared to python{2,3}
2014-03-16 19:10:32 +00:00
Steven Hiscocks
e193e67718
BF: fail2ban-regex mix of tabs and spaces
2014-03-16 18:25:16 +00:00
Daniel Schaal
c8694d8adf
Add news entry for 0.9.0
2014-03-16 16:53:05 +01:00
Daniel Schaal
cc4ea850fe
use upstream jail.conf, paths are now defined in paths-debian.conf
2014-03-16 16:39:43 +01:00
Daniel Schaal
82c1ed3979
enable systemd integration
2014-03-16 16:39:43 +01:00
Daniel Schaal
af088eefce
remove /var/lib/fail2ban/fail2ban.sqlite3 when purging
2014-03-16 16:39:43 +01:00
Daniel Schaal
e2b9cb01f5
move renamed conffiles in maintscripts
2014-03-16 16:39:28 +01:00
Yaroslav Halchenko
bb2d981bf8
Changelog entry
2014-03-16 11:25:12 -04:00
Yaroslav Halchenko
18b476a93e
BF(PY2.4,2.5): provide bin() function (introduced in 2.6)
2014-03-16 11:15:00 -04:00
Yaroslav Halchenko
9cbb472478
BF: python 2.4 and 2.5 compatibility -- no "except ... as ..." yet
2014-03-16 10:35:58 -04:00
Steven Hiscocks
41cbbbc248
BF: Remove unused imports and variables.
...
All highlighted by using pyflakes.
2014-03-16 14:31:34 +00:00
Yaroslav Halchenko
f86ec8020f
new changelog and dropping absorbed changesets*
2014-03-16 10:30:26 -04:00
Yaroslav Halchenko
f04bae1366
Merge tag '0.8.13' into debian
...
* tag '0.8.13': (48 commits)
DOC: DEVELOP release note changes
PKG: version release
PKG: include nagios filter/log
DOC/ENH: update man pages for release
ENH: pull asterisk filter change to support syslog from 0.9 branch
Sanity-check print-all-* vs print-no-* options.
Add --print-no-{missed,ignored} and restore -all.
Only remember log lines we need to print later.
Fix the --print-all-{missed,ignored} options.
ENH: sendmail-reject for all smtp ports.
ENH: more sendmail-reject filter items thanks to fab23
BF: move to right location
ENH: rename sendmail-spam to sendmail-reject
BF: email address as arg1 in sendmail filters
ENH: wider regex for RBL and sendmail-spam
DOC: Add reference to action argument values which contain ","
BF: add jail.conf definitions for sendmail* filters
ENH: add filter for sendmail-{auth,spam}. Closes gh-20
ENH: Allow 255.255.255.0 style mask for ignoreip
BF: Fix complain action for multiple recipients and misplaced ";"
...
2014-03-16 10:26:22 -04:00
Steven Hiscocks
16125ec81a
BF: badips.py action methods not static due to use of self._logSys
2014-03-16 14:18:19 +00:00
Steven Hiscocks
5b14bc048f
BF: FilterSystemd.formatJournalEntry is a classmethod, not staticmethod
...
Reference to undefined `self` was raising error.
2014-03-16 13:27:13 +00:00
Steven Hiscocks
3990a19fc7
BF: Remove "/var/run/fail2ban" from setup.py
...
As the contents of /var/run are lost on reboot, it doesn't make sense to
install it. This is already patched out in some distros (gentoo, arch,
debian, gentoo, …) as causes a headache with package managment tracking
installed files.
2014-03-16 10:47:40 +00:00
Daniel Schaal
05dc81d880
refresh patch deb_manpages_reportbug
2014-03-16 06:11:53 +01:00
Daniel Schaal
ba5a3fdf4a
remove changeset_d4f6ca4f8531f332bcb7ce3a89102f60afaaa08e.diff, applied upstream
2014-03-16 06:11:53 +01:00
Daniel Schaal
051f090313
Update debian packaging to dh compat 9
2014-03-16 06:11:49 +01:00
Steven Hiscocks
6c5a978d6f
BF: journalmatch for recidive should be NOTICE level not WARNING
2014-03-15 13:29:44 +00:00
Daniel Schaal
e2caa2b220
Merge tag '0.9.0' into debian
2014-03-15 12:46:02 +01:00
Daniel Black
a8d0cc9af8
DOC: remove duplicate update of Fail2ban_Version
2014-03-15 21:59:22 +11:00
Daniel Black
eb66edd338
DOC: DEVELOP release note changes
2014-03-15 19:14:36 +11:00
Daniel Black
cee3414029
PKG: version release
2014-03-15 19:06:37 +11:00
Daniel Black
0601a07961
PKG: include nagios filter/log
2014-03-15 19:06:18 +11:00
Daniel Black
123791c94c
DOC/ENH: update man pages for release
2014-03-15 18:52:18 +11:00
Daniel Black
630c5fe324
PKG: Add RELEASE and MANIFEST.in
2014-03-15 18:45:49 +11:00
Daniel Black
9bee8b3257
Merge branch '0.9'
2014-03-15 18:41:34 +11:00
Daniel Black
c7f4c48090
TST/BF: more changes to make sure testcases can be run on live install
2014-03-15 11:18:01 +11:00
Daniel Black
64d1502d48
TST: learn to spell executable
2014-03-15 11:09:55 +11:00
Daniel Black
51403fec50
TST: fail2ban-testcases to be able to be run on installed fail2ban
2014-03-15 11:06:29 +11:00
Daniel Black
fe582e67e3
TST: allow for ignorecommand.py not installed with execute permissions
2014-03-15 11:05:43 +11:00
Daniel Black
d693c8e915
DOC: separate RELEASE documentation from DEVELOP documentation
2014-03-15 10:45:34 +11:00
Daniel Black
4b2d8a8e51
BF: include test data
2014-03-15 10:28:04 +11:00
Daniel Black
bc86e80e72
DOC: deadlock resolved with locking introduced in 3a58d0e and d07df66 now uses subprocess.Popen.
2014-03-15 09:38:20 +11:00
Daniel Black
ce586b6e16
PKG: Documentation files
2014-03-14 23:58:55 +11:00
Daniel Black
e5ce9f2ac0
DOC: update TODO prior to release
2014-03-14 23:54:40 +11:00
Daniel Black
77fda9498c
ENH: pull asterisk filter change to support syslog from 0.9 branch
2014-03-14 23:15:46 +11:00
Daniel Black
8671b73958
DOC: versioning and release/readme notes
2014-03-14 23:08:25 +11:00
Daniel Black
e3b97e6a6c
DOC/ENH: update man pages for release
2014-03-14 23:02:39 +11:00
Daniel Black
c3a2e8fbac
Merge pull request #644 from hlein/master
...
ENH: Changes to --print-* options and memory use for fail2ban-regex
2014-03-14 22:32:41 +11:00
Daniel Black
7611096162
Merge branch '0.9' of https://github.com/fail2ban/fail2ban into 0.9
2014-03-14 22:31:16 +11:00
Daniel Black
aa7e8fb9ce
DOC: Credits. close gh-644
2014-03-14 22:30:44 +11:00
Hank Leininger
2deb1b71a1
Sanity-check print-all-* vs print-no-* options.
...
Also, fixed a trivial whitespace issue.
2014-03-14 02:10:00 -04:00
Hank Leininger
d4fb48fd14
Add --print-no-{missed,ignored} and restore -all.
...
Realized --print-all-{missed,ignored} aren't meant to be simple on/off,
but are meant to enable printing all lines even when there are more
than 20.
This restores the behavior of --print-all-*, but preserves the
memory-savings when --print-all-* are not specified.
Also adds --print-no-{missed,ignored} which can be used to suppress
printing of a line type entirely.
2014-03-14 01:57:55 -04:00
Hank Leininger
aa7af6f9c2
Only remember log lines we need to print later.
...
When testing proccessing a large logfile (430 MB, 2M lines) without
--print-all-missed or --print-all-ignored, fail2ban-regex consumes
just over 2 GB of RAM before completing. Even though it does not need
to retain any of the missed or ignored log lines, it does anyway.
With this patch, memory use never grows beyond about 11 MB (unless
--print-all-* are enabled).
2014-03-13 23:18:08 -04:00
Hank Leininger
27dafea281
Fix the --print-all-{missed,ignored} options.
...
Previously, fail2ban-regex always printed both regardless of whether
those options were present or not.
This commit duplicates the patch I submitted at
https://sourceforge.net/p/fail2ban/patches/25/
2014-03-13 22:47:28 -04:00
Steven Hiscocks
9e374b159e
ENH: Allow setting of badips.py key for reporting and blacklisting
2014-03-13 22:45:10 +00:00
Steven Hiscocks
de43d1d6d5
ENH: Change badips.py default score to "3"
...
As per recommendation from Amy from badips.com
2014-03-13 22:05:50 +00:00
Daniel Black
476d79d3cc
ENH: asterisk filter to support syslog format
2014-03-14 09:03:27 +11:00
Daniel Black
415f187644
ENH: sendmail-reject for all smtp ports.
2014-03-14 07:12:12 +11:00
Steven Hiscocks
a78a9d282c
DOC: Document that badips.py action should be last action for jail
2014-03-13 20:04:30 +00:00
Steven Hiscocks
0222ff4677
Merge branch 'badips-blacklist' into 0.9
...
Conflicts:
ChangeLog
- entires added in both branches.
Change:
config/action.d/badips.py
- jail.getName() changed to jail.name
2014-03-13 20:01:15 +00:00
Steven Hiscocks
0c63d0061a
DOC: Add documentation for badips.py action
2014-03-13 19:58:32 +00:00
Steven Hiscocks
dfb46cfda6
BF: Require Python 2.7+ for badips.py action
2014-03-12 21:54:15 +00:00
Steven Hiscocks
406fe0f5b6
DOC: Additional entries to ChangeLog
2014-03-12 21:20:24 +00:00
Steven Hiscocks
742e52269a
DOC: Added jail.conf(5) and ChangeLog for "logencoding"
2014-03-12 21:00:25 +00:00
Steven Hiscocks
725a8261fe
DOC: Add items to ChangeLog and readded jail.conf(5) for logpath tail
...
jail.conf change merged from 6a395f4cf7
2014-03-12 20:48:52 +00:00
Daniel Black
df882feb16
ENH: expand sendmail-reject jail to 465,submission
2014-03-13 07:44:02 +11:00
Daniel Black
c45cde19ff
Merge pull request #639 from grooverdan/paths-common-rename
...
ENH: paths-{common,distro} normalisation
2014-03-12 20:52:35 +11:00
Daniel Black
ef29d7bd29
ENH: paths-{common,distro} normalisation
2014-03-12 20:32:41 +11:00
Daniel Black
79dab54619
Merge pull request #634 from grooverdan/jail-prune
...
ENH: purge excessive jail variations
2014-03-12 11:31:45 +11:00
Daniel Black
50d938e0bf
MRG: merge filter sendmail-spam into sendmail-reject
2014-03-02 16:28:23 +11:00
Daniel Black
666fd5eceb
ENH: purge excessive jail variations
2014-03-02 16:11:53 +11:00
Daniel Black
721b1473f0
Merge pull request #625 from grooverdan/distro-paths-gh-315
...
MRG: Distro paths
2014-03-02 15:20:01 +11:00
Daniel Black
69f5baae36
ENH: jail.conf to use syslog_mail
2014-03-02 15:18:41 +11:00
Daniel Black
2d45becb0e
Merge branch '0.9' into distro-paths-gh-315
2014-03-02 15:17:21 +11:00
Daniel Black
2d8c497ce5
ENH: highlight missing osx paths
2014-03-02 15:16:53 +11:00
Daniel Black
cc8ec826c5
MRG: from master 2014-03-02
2014-03-02 14:33:45 +11:00
Daniel Black
11fc7941f5
Merge pull request #633 from grooverdan/sendmail
...
MRG: Sendmail filter
2014-03-02 14:25:26 +11:00
Daniel Black
853bed8e4f
ENH: more sendmail-reject filter items thanks to fab23
2014-03-02 14:04:27 +11:00
Daniel Black
d0ec09a3b5
BF: move to right location
2014-03-01 15:50:30 +11:00
Daniel Black
c10cc20928
ENH: rename sendmail-spam to sendmail-reject
2014-02-28 08:41:04 +11:00
Steven Hiscocks
beca72e188
DOC: Change Found and Ignore message to INFO rather than NOTICE
...
This was the original proposal in gh-621 but was put to NOTICE in error
2014-02-27 20:47:58 +00:00
Steven Hiscocks
689ed9d511
DOC: Fix up doc strings styling to comply with numpy doc style
2014-02-27 20:46:48 +00:00
Daniel Black
d34569fb8d
BF: email address as arg1 in sendmail filters
2014-02-27 11:38:23 +11:00
Daniel Black
72c84fe9b0
ENH: wider regex for RBL and sendmail-spam
2014-02-27 10:02:34 +11:00
Steven Hiscocks
75599fc7a0
DOC: Add reference to action argument values which contain ","
...
Closes gh-632
2014-02-26 22:15:59 +00:00
Steven Hiscocks
9b877928db
Merge pull request #631 from grooverdan/sendmail
...
ENH: add filter for sendmail-{auth,spam}. Closes gh-20
2014-02-26 18:38:18 +00:00
Daniel Black
fe1725c603
BF: add jail.conf definitions for sendmail* filters
2014-02-26 19:31:09 +11:00
Daniel Black
3d776afbb0
ENH: add filter for sendmail-{auth,spam}. Closes gh-20
2014-02-26 19:16:49 +11:00
Steven Hiscocks
f68ab3c4de
DOC: Added missing parameter for jail add method
2014-02-24 19:05:22 +00:00
Steven Hiscocks
a9b9c6ea03
Merge branch 'logging' into 0.9
...
Conflicts:
fail2ban/server/actions.py
jail getName()->name
fail2ban/server/filter.py
jail getName()->name
2014-02-23 23:03:56 +00:00
Daniel Black
4b257810b2
Merge pull request #628 from kwirk/jail-refactor
...
RF: Refactor Jail and JailThread
2014-02-24 09:56:36 +11:00
Steven Hiscocks
edd0bf7d46
ENH+DOC: Update Fail2Ban database doc strings and use properties
2014-02-23 18:38:22 +00:00
Steven Hiscocks
df8d700d17
RF: Refactor Jail and JailThread
...
Includes:
- documentation to new format and use of properties
- change isActive->is_active as former no longer documented for
python3, and later introduction and documented in python2.6
- status formatter in beautifier somewhat more automatically
formatted; no changes are required for additional status elements
- JailThread now set to active within `start` method, complimenting
`stop` method
2014-02-23 17:41:14 +00:00
Steven Hiscocks
2b33a5fbaa
TST+DOC: Improve error message for log level, and test HEAVYDEBUG
2014-02-22 17:08:30 +00:00
Steven Hiscocks
212d05dc0b
ENH: Add action elements to bash-completion
2014-02-22 16:57:21 +00:00
Steven Hiscocks
a4731ef988
DOC: Correct log levels
2014-02-20 23:09:45 +00:00
Steven Hiscocks
5630c56c75
ENH: Change logging levels and make info more verbose
2014-02-20 23:01:40 +00:00
Daniel Black
9be22a96a6
Merge pull request #614 from kwirk/complain-abusix
...
BF: Use abusix Abuse Contact DB to get more accurate abuse addresses
2014-02-20 09:17:23 +11:00
Daniel Black
cc463aa60d
Merge pull request #620 from kwirk/xarf-tweaks
...
BF: Fix misplaced ";", and duplicate {ip,}matches
2014-02-20 09:16:11 +11:00
Daniel Black
b6f9b9161d
BF: remove self reference
2014-02-20 09:01:05 +11:00
Daniel Black
a044517cb7
MRG: from master to 0.9 2014-02-20
2014-02-20 08:35:24 +11:00
Daniel Black
79e6543eca
Merge branch '0.9' into distro-paths-gh-315
2014-02-20 08:20:47 +11:00
Daniel Black
83266eb668
ENH: framework for distro paths
2014-02-20 08:20:02 +11:00
Daniel Black
a90be951e9
Merge pull request #624 from kwirk/ignoreip-netmask
...
ENH: Allow 255.255.255.0 style mask for ignoreip
2014-02-20 07:23:46 +11:00
Steven Hiscocks
9928f1df96
ENH: Allow 255.255.255.0 style mask for ignoreip
2014-02-19 17:51:08 +00:00
Steven Hiscocks
8c5525163b
BF: Fix misplaced ";", and duplicate {ip,}matches
2014-02-18 15:13:02 +00:00
Steven Hiscocks
997729e274
BF: Fix complain action for multiple recipients and misplaced ";"
2014-02-18 15:05:06 +00:00
Yaroslav Halchenko
02effb1b0c
closes for #739364 (apache-common)
2014-02-17 21:34:28 -05:00
Daniel Black
350d2dfd8e
Merge pull request #618 from kwirk/xt_recent-tweaks
...
ENH: Add root user check in xt_recent, and add missing actionstop
2014-02-18 08:15:22 +11:00
Daniel Black
1276e4d170
Merge pull request #616 from kwirk/maxlines-warning
...
ENH: Warn when multiline regex used when maxlines not greater than 1
2014-02-17 14:03:14 +11:00
Steven Hiscocks
4102f4f8c7
TST: Fix TravisCI build, install of coveralls from pip
2014-02-16 23:08:49 +00:00
Steven Hiscocks
7c76f7f204
BF: $EUID not avilable in all shells, replaced with id -u in xt_recent
2014-02-16 17:56:06 +00:00
Steven Hiscocks
2a37ee2fb7
ENH: Add root user check in xt_recent, and add missing actionstop
...
Thanks to Helmut Grohne on IRC for suggestion
2014-02-16 16:52:30 +00:00
Steven Hiscocks
c6fc57d594
TST: Fix TravisCI build for python2.7
2014-02-15 15:20:59 +00:00
Steven Hiscocks
df3e4a2742
ENH: Warn when multiline regex used when maxlines not greater than 1
2014-02-15 14:42:44 +00:00
Steven Hiscocks
5c7630c4be
ENH: Allow separate blacklist category for badips.py action
2014-02-14 17:45:08 +00:00
Steven Hiscocks
cf81ddd8e2
BF: Add error handling in badips.py action
2014-02-14 17:10:34 +00:00
Steven Hiscocks
31f4ea59cb
BF: Use abusix Abuse Contact DB to get more accurate abuse addresses
...
Taken from xarf-login-attack action from 0.9 branch by Daniel Black
2014-02-13 22:00:33 +00:00
Steven Hiscocks
fceac53776
TST: Move nagios log sample to correct folder
2014-02-13 21:02:26 +00:00
Steven Hiscocks
f68d85a6ac
Merge branch 'master' into 0.9
...
Conflicts:
ChangeLog
Spelling correction of 0.8.13 fixed in master
config/jail.conf
Added nagios and duplicate php-url removal in master
Just nagios added, duplicate not issue in 0.9
2014-02-13 20:14:40 +00:00
Steven Hiscocks
9bbf4ea258
BF: Keep sure database errors are captured during Fail2Ban startup
2014-02-13 20:07:12 +00:00
Steven Hiscocks
9bfc77c320
BF: fail2ban-client processCmd ret was being overwritten each loop
2014-02-13 20:03:45 +00:00
Daniel Black
c701ac9276
DOC: document LogLevel requirement for "Connection from" regex"
2014-02-13 16:20:36 +11:00
Steven Hiscocks
0822275295
Merge pull request #613 from grooverdan/more-ssh
...
ENH: ssh filter - "Disconnecting: Too many authentication failures.." ma...
2014-02-12 22:55:04 +00:00
Daniel Black
45157ddc86
TST: fix failJSON for ssh filter change
2014-02-13 09:26:59 +11:00
Steven Hiscocks
1e9910fcb0
ENH: Added traceback for error log on pyinotify callback when in debug
...
Thanks to Helmut Grohne for idea on #fail2ban IRC
2014-02-12 22:18:09 +00:00
Daniel Black
5f4d0ed576
ENH: ssh filter - "Disconnecting: Too many authentication failures.." matching Connection log message
2014-02-13 09:13:46 +11:00
Steven Hiscocks
bda9b7d725
BF: Add handling of exception in pyinotify callback
...
If error isn't handled, no error messages are printed and the jail
ceases to function.
2014-02-12 18:07:31 +00:00
Daniel Black
5177fded7b
Merge pull request #602 from grooverdan/doco-risks-and-limitations
...
DOC: Doco risks and limitations
2014-02-11 07:56:46 +11:00
Daniel Black
fb557761e4
Merge pull request #610 from tecnocat/patch-1
...
BF: Duplicate jail "php-url-fopen"
2014-02-11 07:56:00 +11:00
Aarón Nieves Fernández
993b7d3dfb
Duplicate jail "php-url-fopen"
2014-02-10 21:41:50 +01:00
Steven Hiscocks
a9f0545d8f
BF: Add threading lock to database
2014-02-09 23:16:36 +00:00
Steven Hiscocks
dff8909473
ENH: Add badips.com reporting and blacklisting action (python based)
2014-02-09 12:23:14 +00:00
Steven Hiscocks
3cbfe9b057
BF: ret now changed after beautifier called
2014-02-08 22:15:19 +00:00
Steven Hiscocks
530cd53add
BF: Due to python3 bug, importlib.machinery may need explicit import
2014-02-08 20:52:32 +00:00
Yaroslav Halchenko
34c3264f2c
initial changelog entry + use flushlogs in logrotate
2014-02-07 01:00:42 -05:00
Yaroslav Halchenko
c424e4032d
DOC: minor - replace tabs with spaces for consistent formatting
2014-02-07 00:41:22 -05:00
Yaroslav Halchenko
493c441bcb
Merge tag '0.8.12' into debian
...
* tag '0.8.12': (177 commits)
DOC: version and release date to 0.8.12 on 2014-01-22
DOC/ENH: update man pages for release
DOC: ChangeLog dateing and normalisation
ENH: continue with rest of fail2ban config even if errors. Closes gh-585
DOC: ChangeLog. Note incompatible changes and group new filters and actions under New Features
BF: complete MANIFEST
DOC: note in man page about "last message repeated" syslog compression. Closes Debian bug #620364
DOC: credits for action.d/badips
BF: dovecot filters, session characters and order of session/tls in log messages
BF Dovecot auth failures
Matching any Exim authentication name
Update exim
ENH: add improper command pipelining postfix filter
Support ACL-events without AccountID. Typically happens when a registration from an unknown domain is performed.
BF: Add ejabberd-auth to jail.conf
ENH: ejabberd filter
TST: for tag substition, multiple on same line
DOC: spelling + GPL2+ for license
DOC: fixing formatting in the section names of the manpage - \fB to return into bold
DOC: some typos, fixes from Vincent Lefevre
...
2014-02-07 00:35:23 -05:00
Daniel Black
1c740636e3
Merge pull request #603 from truxoft/master
...
ENH: Nagios filter
2014-02-06 11:09:49 +11:00
Ivo Truxa
c207ad6058
removing ignoreip at [nagios]
...
I removed the ignoreip setting from the nagios section. As pointed out, it is redundant here. Nagios server, under normal circumstances should not trigger any access errors, and would be included in the global ignoreips anyway.
2014-02-06 00:27:38 +01:00
Ivo Truxa
f5f434f846
removing the second failregex
...
The second failregex was supposed to catch an error concerning an ACL denial over IPv6, but this message is no more generated by the nrpe version (v2.15) that introduced the IPv6 support, so the first failregex seems to be sufficient.
2014-02-06 00:22:05 +01:00
Daniel Black
338d40f717
Merge pull request #606 from cmarkle/patch-1
...
Correct spelling error in changelog
2014-02-06 07:50:04 +11:00
Chris Markle
20886288e5
Correct spelling error in changelog
...
I know it's a nit but still... ;)
2014-02-05 10:44:46 -08:00
Ivo Truxa
f6ccd8878d
date fix
...
sorry, need to get some glasses
2014-02-03 23:27:19 +01:00
Ivo Truxa
a71bb89ccd
removing a dot (typo)
...
The dot at the ignoregex did not belong there. Somehow it was added during the copying and pasting. Thanks for reporting it, I did not see it. Otherwise, empty ignoregexes are in all filters, and if they are missing, fail2ban client shows warnings when starting the filter, which I prefer avoiding.
2014-02-03 23:12:56 +01:00
Ivo Truxa
a8a43e8f38
ENH: Nagios filter
...
new filter Nagios added
2014-02-03 22:01:22 +01:00
Ivo Truxa
dac4dd465e
ENH: Nagios filter
...
added typical configuration settings for the nagios filter
2014-02-03 21:51:49 +01:00
Ivo Truxa
c91fda8619
ENH: Nagios filter
...
Sample log for the first failregex is available in the testcases. No example available for the IPv6 denial yet.
2014-02-03 21:46:07 +01:00
Ivo Truxa
110b8e6905
ENH: Nagios filter
...
Sample log entry from /var/log/messages for a denied access to the nrpe2 (Nagios Remote Plugin Executor) daemon
2014-02-03 21:39:52 +01:00
Daniel Black
7b56daee8f
DOC: set realistic expectations of what fail2ban protects against
2014-02-02 15:17:10 +11:00
Daniel Black
ef82eac790
DOC: openssh real protection is pubkey
2014-02-02 15:16:40 +11:00
Daniel Black
59b9045e88
MRG: from master 2014-02-02
2014-02-02 13:21:16 +11:00
Daniel Black
1366ea382d
Merge pull request #601 from grooverdan/dovecot-no-lip-tls
...
ENH: dovecot filter enhancements / BF: remove "no auth attempts"
2014-01-31 01:57:02 -08:00
Daniel Black
273b2f45a3
MRG: remove the "no auth attempts" as per aseques gh-600
2014-01-29 20:43:51 +11:00
Daniel Black
9b614ce486
ENH: dovecot filter enhancements
2014-01-29 20:27:45 +11:00
Joan
9c6aab37d6
As suggested by @grooverdan, grouping the tests and making them false to avoid accidentally reenabling them in the future
2014-01-29 08:32:14 +01:00
Joan
aaa86cd10f
As suggested by @grooverdan, grouping the tests and making them false to avoid accidentally reenabling them in the future
2014-01-29 08:31:29 +01:00
Joan
84617fa6da
Fixed a failing case
2014-01-28 16:19:35 +01:00
Joan
08171ba52f
Removed the -no auth attempts- from the triggers because of lots of FP
2014-01-28 12:44:46 +01:00
Steven Hiscocks
0f318c225e
Merge pull request #599 from grooverdan/datecompression
...
ENH: more datetemplate compression
2014-01-27 13:20:01 -08:00
Daniel Black
a7456377b5
ENH: more datetemplate compression
2014-01-28 08:15:48 +11:00
Daniel Black
cc1a9cc45d
BF: match up fail2ban-regex for datedetector/datetemplate changes
2014-01-28 06:59:01 +11:00
Daniel Black
a749a2780e
Merge pull request #593 from grooverdan/tine
...
ENH: Tine20 filter
2014-01-26 18:50:42 -08:00
Daniel Black
7476ebabbd
Merge pull request #596 from grooverdan/pureftpd
...
BF: Pureftpd
2014-01-26 16:52:53 -08:00
Daniel Black
ae98a1f70c
Merge pull request #598 from kwirk/date-detector-template-rf
...
RF: Refactor date detector and date template elements
2014-01-26 16:51:43 -08:00
Steven Hiscocks
e7d4cf6296
TST: Fix dates in ISO8601 being converted back to local time.
2014-01-26 23:37:57 +00:00
Daniel Black
8b51d0c394
ENH: compress DateDetector templates more
2014-01-27 10:10:06 +11:00
Steven Hiscocks
f2ddb3e3d0
RF: Refactor date detector and date template elements
...
Changes include to use Python class properties, merge some date
patterns, and change ISO8601 date template to DatePatternRegex class.
2014-01-26 22:03:55 +00:00
Daniel Black
1a1e3bec86
ENH: framework for distro paths
2014-01-25 23:25:54 +11:00
Daniel Black
3c48e3f035
DOC: changelog for pure-ftpd filter fixes
2014-01-25 12:22:27 +11:00
Daniel Black
256c732bcd
BF/ENH: filter pure-ftpd - re-add _daemon. Add translations
...
_daemon was accidently removed in
89fd792dfb
Added translations from source code
2014-01-25 12:19:46 +11:00
Daniel Black
1e1261ccb4
MRG: from master 2014-01-23
2014-01-23 17:45:18 +11:00
Daniel Black
ca57427080
BF: firewallcmd-ipset had non-working actioncheck
2014-01-23 17:41:13 +11:00
Daniel Black
c8ae064b79
ENH: tighten regex and change failJSON to support timezone. Closes gh-583
2014-01-22 22:16:03 +11:00
Daniel Black
36d38043ba
DOC: thanks Lars for the filter base and log samples
2014-01-22 18:12:48 +11:00
Daniel Black
2063d96e59
MRG: import Lars' PR for tine20
2014-01-22 18:12:19 +11:00
Daniel Black
499b33f8a6
DOC: post release versioning
2014-01-22 08:37:51 +11:00
Daniel Black
819df889d8
Merge pull request #592 from kwirk/python-action-tests
...
TST+BF: Add tests for python actions, including test for smtp.py
2014-01-20 15:48:08 -08:00
Steven Hiscocks
0fb7921fb1
BF: Tweak python action tests and fix Deprecation Warning
2014-01-20 23:10:43 +00:00
Steven Hiscocks
8221c7ca71
TST+BF: Add tests for python actions, including test for smtp.py
...
Also fix bug when specifying multiple recipients for smtp.py action
2014-01-20 23:10:43 +00:00
Steven Hiscocks
a0f39255bc
BF: Kerio log datepattern fix for recent datepattern full regex merge
2014-01-20 23:00:38 +00:00
Steven Hiscocks
4aa50684ab
Merge pull request #581 from kwirk/datetemplate-regroupdict
...
ENH: Full regex for datepattern, utilising modified Python `_strptime`
2014-01-20 14:53:28 -08:00
Steven Hiscocks
e614a2f4a4
BF: Resolve Deprecation Warnings for python3
...
Mainly python imp -> importlib for python3.3+, and other minor tweaks
2014-01-20 22:46:17 +00:00
Daniel Black
33dd1733fb
DOC: version and release date to 0.8.12 on 2014-01-22
2014-01-19 16:25:23 +11:00
Daniel Black
79da66df5d
Merge pull request #591 from grooverdan/master_to_0.9
...
MRG: Master to 0.9 2014-01-19
2014-01-18 20:12:11 -08:00
Daniel Black
a650178bd1
MRG: merge from master 2014-01-19
2014-01-19 14:48:29 +11:00
Steven Hiscocks
77aab8d97a
Merge pull request #590 from grooverdan/kerio
...
Kerio filter for #120 also fix fail2ban-regex for datepattern
2014-01-18 04:58:58 -08:00
Daniel Black
97c7d391a4
BF: remove duplicate implemenation of reading datepatterns in fail2ban-regex
2014-01-18 23:52:20 +11:00
Daniel Black
10edd994d1
DOC: ChangeLog for kerio filters
2014-01-18 23:21:44 +11:00
Daniel Black
263ac32730
ENH: test log samples for kerio thanks to
...
Tony Lawrence
2014-01-18 23:18:33 +11:00
Steven Hiscocks
0b4dd6272c
Merge pull request #589 from grooverdan/one-bad-regex-gh-585
...
fault tolerance when pushing multiple configurations
2014-01-18 03:27:52 -08:00
Daniel Black
59b1e225e9
DOC/ENH: update man pages for release
2014-01-18 21:13:55 +11:00
Daniel Black
5ade6a13af
DOC: ChangeLog dateing and normalisation
2014-01-18 21:00:24 +11:00
Daniel Black
058621f9bd
ENH: continue with rest of fail2ban config even if errors. Closes gh-585
2014-01-18 20:16:38 +11:00
Daniel Black
2647461a3c
DOC: ChangeLog. Note incompatible changes and group new filters and actions under New Features
2014-01-18 19:38:25 +11:00
Daniel Black
c6c75dd19e
BF: complete MANIFEST
2014-01-18 19:28:21 +11:00
Daniel Black
224e795f4c
DOC: note in man page about "last message repeated" syslog compression. Closes Debian bug #620364
2014-01-18 19:12:33 +11:00
Daniel Black
1452be4a3a
Merge pull request #588 from grooverdan/badips
...
ENH: Badips action (reporting)
2014-01-17 23:10:29 -08:00
Daniel Black
f5d6f384f7
Merge pull request #587 from grooverdan/dovecot-586
...
BF: Dovecot filter fix
2014-01-17 23:10:06 -08:00
Daniel Black
93613e82f0
DOC: credits for action.d/badips
2014-01-15 09:40:18 +11:00
Daniel Black
f566cab766
Merge branch 'master' into badips
2014-01-15 09:37:11 +11:00
Daniel Black
657da2041c
BF: dovecot filters, session characters and order of session/tls in log messages
2014-01-15 08:02:47 +11:00
Ivo Truxa
4765bc757c
BF Dovecot auth failures
...
I am sorry, I installed the Win GIT, but still did not learn how to work with it, so am posting here again. This time, I'll avoid posting two pull requests, so please fix the dovecot.filter for me, if you don't mind.
This current filter does not match authentication errors in my Dovecot logs (two different lines attached). First of all the session string is at the end (after the optional TLS string), and not before it as it is now in the filter. I don't see it anywhere in the other logs here in the opposite order, hence I assume it is the rule for all installations. And then, the session ID can include also other characters than those matched by \w+ (i.e. the slash and the plus signs in my case), hence it needs to be \S+ instead. Personally, I'd do the regex much less restrictive than it is, but if I follow the current logics, the following form works:
<pre>^%(__prefix_line)s(pop3|imap)-login: (Info: )?(Aborted login|Disconnected)(: Inactivity)? \(((no auth attempts|auth failed, \d+ attempts)( in \d+ secs)?|tried to use disabled \S+ auth)\):( user=<\S*>,)?( method=\S+,)? rip=<HO
ST>, lip=(\d{1,3}\.){3}\d{1,3}(, TLS( handshaking)?(: Disconnected)?)?(, session=<\S+>)?\s*$</pre>
2014-01-14 17:59:40 +01:00
Daniel Black
2333b2d5d9
MRG: from 0.9
2014-01-13 22:17:14 +11:00
Daniel Black
703d337a39
Merge pull request #580 from grooverdan/master_to_0.9
...
MRG: Master to 0.9
2014-01-13 02:37:07 -08:00
Daniel Black
c7f887642d
Merge branch '0.9' into master_to_0.9
2014-01-13 21:23:42 +11:00
Daniel Black
3de80545e0
MRG: from master 2014/01/13
2014-01-13 21:23:39 +11:00
Daniel Black
01e5ae1234
Merge pull request #584 from grooverdan/exim-auth
...
ENH: Exim auth
2014-01-13 02:20:47 -08:00
Daniel Black
b60449e5c7
Merge pull request #579 from grooverdan/squirrelmail
...
ENH: Squirrelmail filter
2014-01-13 02:19:34 -08:00
Daniel Black
812463003d
Merge pull request #582 from grooverdan/postfix
...
ENH: add improper command pipelining postfix filter
2014-01-13 02:18:57 -08:00
Daniel Black
08b4f3e5f2
Merge branch 'patch-5' of https://github.com/truxoft/fail2ban into exim-auth
2014-01-13 19:26:12 +11:00
Daniel Black
353b84a648
Merge branch 'patch-4' of https://github.com/truxoft/fail2ban into exim-auth
2014-01-13 19:25:46 +11:00
Lars Kneschke
47dd8fb897
ENH: filter for Tine 2.0
2014-01-13 06:04:59 +01:00
Ivo Truxa
2d8c0b26e4
Matching any Exim authentication name
...
As explained in https://github.com/grooverdan/fail2ban/pull/4 , in Exim there can be used plenty of other standard authentication names, and in fact the names can be custom. The failregex in Exim filter should catch authentication errors regardless of the name of the authentication. Hence replacing the plain|login with the general \w+
2014-01-13 01:38:49 +01:00
Ivo Truxa
9f107403e8
Update exim
...
When using Dovecot authentication for Exim, which is relatively common, the current regex for catching authentication failures needs a small tweak. The current plain|login options are too limiting and will only work in the cases when only the Exim's rudimentary built-in authentication is used. There can be not only the dovecot_login shown in this log example, but also dovecot_plain, ntlm, cram, cyrus, md5, and plenty of others. In fact many admins may opt for their own authentication labels, when setting up Exim. For this reason the regex should catch any label. I suggest modifying the regex in the following way:
<pre>^%(pid)s \w+ authenticator failed for (\S+ )?\(\S+\) \[<HOST>\]: 535 Incorrect authentication data( \(set_id=.*\)|: \d+ Time\(s\))?\s*$</pre>
2014-01-13 01:18:09 +01:00
Daniel Black
6b0e6b9bca
ENH: add improper command pipelining postfix filter
2014-01-13 06:59:59 +11:00
Steven Hiscocks
d41f372c6c
BF: Typo in "z" regex addition for TimeRE
2014-01-12 19:09:11 +00:00
Steven Hiscocks
5c16ac3a89
ENH: Full regex for datepattern, utilising modified Python _strptime
2014-01-12 18:59:31 +00:00
Daniel Black
a443b8b4d3
BF: remove second jail definition
2014-01-12 21:45:39 +11:00
Daniel Black
7b6ee64b9e
DOC: add over pruned bits of jail.conf.5
2014-01-12 21:43:11 +11:00
Daniel Black
cd3e94140c
MRG: complete merge
2014-01-12 21:16:55 +11:00
Daniel Black
f2e55e8499
ENH: add filter for squirrelmail. Closes gh-261
2014-01-12 20:27:36 +11:00
Daniel Black
1e8ed55a36
MRG: from 0.9
2014-01-12 20:15:34 +11:00
Daniel Black
5deb1f8ddc
Merge pull request #578 from dozepih/asterisk-acl
...
ENH: Support ACL-events without AccountID. Typically happens when a registration from unknown domain
2014-01-11 18:32:53 -08:00
Tomas Pihl
b52a4441fd
Support ACL-events without AccountID. Typically happens when a registration
...
from an unknown domain is performed.
Add credits
2014-01-12 01:28:55 +01:00
Steven Hiscocks
0dd6533680
BF: Add ejabberd-auth to jail.conf
2014-01-09 23:22:12 +00:00
Steven Hiscocks
e73090d040
Merge pull request #577 from grooverdan/rel-imports
...
ENH: fix test case imports to relative
2014-01-09 15:14:20 -08:00
Daniel Black
e9752d8d29
ENH: fix test case imports to relative
2014-01-10 10:04:05 +11:00
Daniel Black
928f566d19
Merge pull request #576 from kwirk/ejabberd-filter
...
ENH: ejabberd filter
2014-01-09 14:52:18 -08:00
Steven Hiscocks
62cfad3c2d
Merge pull request #575 from grooverdan/no-dot-filters
...
ENH: dont run samples on filter filenames beginning with .
2014-01-09 14:49:47 -08:00
Steven Hiscocks
6a6139f1e1
Merge pull request #574 from grooverdan/master-tag-subst
...
TST: for tag substition, multiple on same line
2014-01-09 14:49:08 -08:00
Steven Hiscocks
128112d51c
ENH: ejabberd filter
2014-01-09 22:47:17 +00:00
Daniel Black
8e8c80d980
ENH: dont run samples on filter filenames beginning with .
2014-01-10 09:44:30 +11:00
Daniel Black
cd5aab5ff1
TST: for tag substition, multiple on same line
2014-01-10 09:20:56 +11:00
Daniel Black
8333abe420
Merge pull request #557 from grooverdan/apache-botsearch
...
ENH: Apache botsearch + BF: tag substition
2014-01-09 14:11:00 -08:00
Daniel Black
b0baab3a0e
ENH: more test cases and wider regex
2014-01-10 08:40:24 +11:00
Daniel Black
9e358541b7
BF: fix multiple tag substitutions on the same line
2014-01-10 08:39:39 +11:00
Daniel Black
4b33f96db4
DOC: fix comment regarding apache version in apache-noscript
2014-01-10 08:35:37 +11:00
Daniel Black
8e5366a7e9
DOC: for apache-botsearch and apache-botsearch
2014-01-10 07:34:01 +11:00
Steven Hiscocks
7e8da15fc6
Merge pull request #572 from grooverdan/counterstrike
...
ENH: Counter Strike filter
2014-01-08 12:47:10 -08:00
Daniel Black
4d4060930b
DOC: spelling + GPL2+ for license
2014-01-08 21:46:32 +11:00
Daniel Black
932a952096
Merge branch 'enh/jail-manpage' of https://github.com/yarikoptic/fail2ban into y-man-fix
2014-01-08 18:08:13 +11:00
Daniel Black
b6676dbadc
DOC: spelling of Counter Strike
2014-01-08 07:45:26 +11:00
Yaroslav Halchenko
e6627185b0
DOC: fixing formatting in the section names of the manpage - \fB to return into bold
2014-01-07 13:41:16 -05:00
Yaroslav Halchenko
6532a2e2f7
Merge pull request #548 from grooverdan/exim-honeypot
...
Exim honeypot
2014-01-07 06:14:42 -08:00
Daniel Black
d94efe719d
ENH: jail.conf for counter-strike
2014-01-07 20:50:50 +11:00
Daniel Black
7e44257e7e
Merge pull request #569 from grooverdan/master_to_0.9
...
MRG: Master to 0.9
2014-01-07 01:36:54 -08:00
Daniel Black
0fb6bc7188
ENH: add filter for Counter Strike 1.6. Closes gh-347
2014-01-07 20:33:57 +11:00
Daniel Black
a115297ebd
TST: add datepattern for samplestestcases
2014-01-07 20:32:55 +11:00
Daniel Black
aabdc51e87
BF: revert separate jail for exim-honeypot as only exim-spam exists.
2014-01-07 16:26:29 +11:00
Daniel Black
9e087b508d
MRG: from 0.9
2014-01-07 16:11:40 +11:00
Daniel Black
58ebf659e4
MRG: from 0.9 to make history cleaner
2014-01-07 16:07:58 +11:00
Yaroslav Halchenko
90642725fa
/etc/default/fail2ban -- minor typo. Thanks Vincent Lefevre for report (the rest will be reflected in the next upstream release) ( Closes : #734421 )
2014-01-06 23:40:49 -05:00
Yaroslav Halchenko
9a8b449086
DOC: some typos, fixes from Vincent Lefevre
2014-01-06 23:38:52 -05:00
Yaroslav Halchenko
16f55d2d56
DOC: pass through jail.conf.5 -- unification and some restructuring/shortening
2014-01-06 23:30:13 -05:00
Daniel Black
9e390d6549
ENH: jail.conf for exim-honeypot
2014-01-07 11:53:20 +11:00
Daniel Black
809581ae99
ENH: jail.conf for apache-botsearch
2014-01-07 11:52:21 +11:00
Daniel Black
ed9ed6d0cb
TST/ENH: fix test case for ReadStockJailFilterComplete and add missing jails
2014-01-07 11:27:54 +11:00
Daniel Black
ad41b2d198
TST: correct name. Still dont know why it isnt called
2014-01-07 11:12:59 +11:00
Daniel Black
10fa5e3439
BF: fix jails for gssftpd and qmail
2014-01-07 10:49:11 +11:00
Daniel Black
549f64e86c
BF: remove imap2 - not an IANA and probably not used
2014-01-07 10:25:29 +11:00
Daniel Black
320861b7dc
Merge branch 'more-jails-0.9' into master_to_0.9
2014-01-07 10:24:27 +11:00
Daniel Black
76468942f9
MRG: complete merge from master
2014-01-07 10:24:23 +11:00
Daniel Black
5bd8ba0c6f
Merge pull request #561 from grooverdan/more-jail-man-page-content
...
DOC: add more content to jail.conf man page
2014-01-06 15:01:25 -08:00
Daniel Black
51d4263358
TST: test for filter coverage in jail.conf
2014-01-07 10:00:08 +11:00
Daniel Black
fa6a183e94
BF: typos in jail.conf corrected
2014-01-07 09:49:27 +11:00
Daniel Black
a31c76f126
ENH: jail cleanup and fill in missing for 0.9
2014-01-07 09:34:39 +11:00
Daniel Black
0b6c9b52d2
DOC: man page description shorting and clarification
2014-01-07 08:29:06 +11:00
Steven Hiscocks
bc5809ead0
DOC: Remove encoding descriptive tag from protocol "get" command
2014-01-06 21:19:22 +00:00
Daniel Black
f987663a40
Merge branch '0.9' of https://github.com/fail2ban/fail2ban into 0.9
2014-01-07 07:11:29 +11:00
Daniel Black
755af0a51e
Merge pull request #562 from grooverdan/jail.conf-complete_and_correct
...
ENH: Jail.conf now has all filters and TST: a mechanism to test this is truee
2014-01-06 12:08:45 -08:00
Daniel Black
614f43effb
Merge branch 'master' of https://github.com/fail2ban/fail2ban
2014-01-07 06:56:49 +11:00
Daniel Black
90fdf5fc21
ENH: jail.conf entry for groupoffice
2014-01-07 06:55:38 +11:00
Steven Hiscocks
1386d82102
DOC: Update action files section of jail.conf, and add "timeout" option
...
Closes gh-565
2014-01-06 18:53:23 +00:00
Steven Hiscocks
bb11c29667
Merge pull request #567 from grooverdan/groupoffice-filter
...
ENH: add filter groupoffice. Closes gh-566
2014-01-06 10:31:32 -08:00
Daniel Black
b9cd492e9f
Merge pull request #555 from grooverdan/nagios_fix
...
BF: nagios fix
2014-01-06 03:12:26 -08:00
Daniel Black
3ee6e993c6
MRG: merge ChangeLog for nagios fix
2014-01-06 22:09:10 +11:00
Daniel Black
fecb07f36d
MRG: filter substition
2014-01-06 22:07:49 +11:00
Daniel Black
db7b7bfefa
Credits for groupoffice
2014-01-06 22:00:12 +11:00
Daniel Black
ab3ded2205
Merge pull request #549 from kwirk/python-actions
...
ENH: Python actions
2014-01-06 02:58:45 -08:00
Daniel Black
50eab4df81
ENH: add filter groupoffice. Closes gh-566
2014-01-06 21:56:22 +11:00
alasdairdc
67c44a5001
Update ChangeLog
2014-01-06 10:44:21 +00:00
alasdairdc
5428f5bbc3
Update check_fail2ban
...
Removed unnecessary reference to as yet undeclared $jail_name when checking a specific jail.
2014-01-06 10:43:32 +00:00
Daniel Black
95add8a1c5
BF: datepattern handling in fail2ban-regex
2014-01-06 09:55:53 +11:00
Daniel Black
f137c7b107
BF: stunnel doesnt need datepattern as its inbuilt
2014-01-06 09:53:54 +11:00
Daniel Black
981ded4da9
TST: add JSON data
2014-01-06 09:52:39 +11:00
Daniel Black
b963d17009
TST: datepattern needed in testSampleRegexsFactory
2014-01-06 09:07:25 +11:00
Daniel Black
1687505995
BF: Fix datepattern
2014-01-06 09:06:05 +11:00
Daniel Black
f47ff95b8e
BF: datepattern for fail2ban-regex
2014-01-06 08:47:39 +11:00
Steven Hiscocks
6c301ae210
Merge pull request #563 from grooverdan/gh-289-ssh
...
BF: add expression for ssh filter for code 3: SSH2_DISCONNECT_KEY_EXCHAN...
2014-01-05 09:55:05 -08:00
Steven Hiscocks
78a966f833
Merge pull request #560 from grooverdan/vsftpd-doco
...
Vsftpd doco
2014-01-05 09:42:51 -08:00
Steven Hiscocks
86e7d1f9b9
Merge pull request #559 from grooverdan/pure-ftpd-doco
...
DOC: filter.d/pure-ftpd doco from wiki
2014-01-05 09:42:28 -08:00
Daniel Black
03aba92238
ENH: add kerio filter
2014-01-05 23:41:49 +11:00
Daniel Black
1c5787174f
BF: escape . in stunnel filter
2014-01-05 23:25:49 +11:00
Daniel Black
a8e0498389
BF: add expression for ssh filter for code 3: SSH2_DISCONNECT_KEY_EXCHANGE_FAILED. closes gh-289
2014-01-05 21:26:26 +11:00
Daniel Black
c700910155
TST: ensure stock jail has all filters
2014-01-05 21:06:30 +11:00
Daniel Black
a9f804e443
ENH: complete stock jail.conf to contain all filters
2014-01-05 21:03:16 +11:00
Daniel Black
3d21c4edf9
DOC: consistent filename separator in SYNOPIS
2014-01-05 18:53:31 +11:00
Daniel Black
51f014fede
DOC: add more content to jail.conf man page
2014-01-05 18:24:13 +11:00
Daniel Black
6ce2ba2895
ENH: additional phpmyadmin tips from Tom on http://www.fail2ban.org/wiki/index.php?title=Fail2ban:Community_Portal . Block is now a prefix of a path
2014-01-05 11:48:35 +11:00
Daniel Black
c37ee4cc52
DOC: filter.d/vsftpd doco from wiki
2014-01-05 11:30:56 +11:00
Daniel Black
6602937ee1
DOC: filter.d./pure-ftpd doco from wiki
2014-01-05 11:24:20 +11:00
Steven Hiscocks
cfcf841ae4
TST: Added some more tests for Python actions
2014-01-04 23:07:59 +00:00
Steven Hiscocks
69a850d226
DOC: Update docstrings for smtp.py action
2014-01-04 22:46:57 +00:00
Steven Hiscocks
41ed2ea8cd
DOC: Update docstrings in action
2014-01-04 22:16:40 +00:00
Steven Hiscocks
c5a5f9da76
Merge pull request #558 from grooverdan/jailreader-logpath-head-default
...
BF: default for logpath is head. "false" is not valid
2014-01-04 08:59:02 -08:00
Steven Hiscocks
6e63f0ea5a
RF: Change Jails and Actions to Mapping types
2014-01-04 16:57:08 +00:00
Steven Hiscocks
a070284a18
ENH: Change all imports to "." style relative imports
2014-01-04 13:19:09 +00:00
Daniel Black
20f41849a2
BF: default for logpath is head. "false" is not valid
2014-01-04 16:37:29 +11:00
Daniel Black
d7666c8942
DOC: bit more on how to use freeswitch
2014-01-04 12:39:48 +11:00
Daniel Black
23f0b854da
MRG: merge in freeswitch
2014-01-04 12:24:40 +11:00
Daniel Black
69b3a1cf64
BF: catchin DEBUG messages will result in duplicates
2014-01-04 12:10:51 +11:00
Daniel Black
05b159c74b
Merge pull request #464 from grooverdan/increase-jail-name-length
...
ENH: Actions to have f2b- as prefix instead of fail2ban- as per #462
2014-01-03 14:48:56 -08:00
Daniel Black
3d1a1afca4
MRG: to more recent 0.9
2014-01-04 09:31:05 +11:00
Daniel Black
973cef3f52
Merge pull request #553 from grooverdan/apf-doco
...
DOC: document incompatiblity between APF and iptables-* actions.
2014-01-03 14:20:52 -08:00
Daniel Black
cce7bf476e
Merge pull request #554 from grooverdan/stunnel
...
ENH: filter for stunnel from fail2ban wiki
2014-01-03 14:20:01 -08:00
Daniel Black
5fe75436cc
DOC: DEV NOTES before author names
2014-01-04 08:53:45 +11:00
Daniel Black
477f30665a
DOC: ignoreip for internal ips on freeswitch
2014-01-04 08:31:42 +11:00
Daniel Black
36533de6bc
ENH: more filter expressions for freeswitch. Anchored existing one at end too
2014-01-04 08:21:22 +11:00
Daniel Black
d1faae3b3b
BF: port not used in jail definition for freeswitch
2014-01-04 08:01:42 +11:00
Daniel Black
c1535a43c7
BF: Fix failJSON for stunnel
2014-01-04 07:57:47 +11:00
Daniel Black
938ef689de
DOC: dev notes on stunnel
2014-01-04 07:55:26 +11:00
Steven Hiscocks
cd5c57c8dd
TST: Fix sorting of properties and methods in servertestcase in python3
2014-01-03 17:24:12 +00:00
Steven Hiscocks
80d6f74ee8
RF: Refactor actions further, include removing server proxy interface
...
This allows direct setting of action properties and calling of methods
from the fail2ban-client if so required.
2014-01-03 17:04:49 +00:00
Daniel Black
7c09a61ca5
ENH: add apache-botsearch. Closes gh-544
2014-01-03 23:12:58 +11:00
Daniel Black
b5b581555c
BF: nagios fix
2014-01-03 19:56:49 +11:00
Daniel Black
b8536490ef
ENH: filter for stunnel from fail2ban wiki
2014-01-03 19:32:29 +11:00
Daniel Black
a0c2de3e4d
DOC: document incompatiblity between APF and iptables-* actions. Closes gh-510
2014-01-03 16:51:38 +11:00
Daniel Black
04d28fd2e1
ENH: add filter freeswitch - as raised on mailing list
2014-01-03 13:00:37 +11:00
Daniel Black
78562fb700
Merge pull request #547 from grooverdan/master_to_0.9
...
MRG: master to 0.9
2014-01-02 16:41:05 -08:00
Daniel Black
117d3b0466
MRG: horde filter from master
2014-01-03 10:34:59 +11:00
Daniel Black
99f18370d9
TST: test case for horde
2014-01-03 10:32:40 +11:00
Steven Hiscocks
414c5e1146
BF: Stop actName being passed to python actions
2014-01-02 15:51:30 +00:00
Steven Hiscocks
b4e8514857
Merge pull request #550 from grooverdan/horde
...
ENH: Horde filter
2014-01-02 04:26:41 -08:00
Daniel Black
83f3aeb308
ENH: filter for horde
2014-01-02 23:12:36 +11:00
Daniel Black
e2faa312c1
TST: test case for horde
2014-01-02 23:11:39 +11:00
Daniel Black
daf2816f6b
MRG: with 0.9 again
2014-01-02 11:35:39 +11:00
Daniel Black
e6a329210f
correct overprune on imports to filterreader.py
2014-01-02 10:59:18 +11:00
Daniel Black
d61734b9ac
MRG: from python-actions
2014-01-02 10:54:14 +11:00
Steven Hiscocks
98bf511443
BF: Incorrect number of arguments in smtp.py action connect log
2014-01-01 23:50:44 +00:00
Steven Hiscocks
776b65f73e
TST: Add non-callable values to CallableMap test
2014-01-01 23:27:36 +00:00
Steven Hiscocks
5b2b59d752
ENH: python actions use initOpts as **kwargs
...
Adds an easy way to handle case where mandatory arguments are missed, or
not valid arguments are passed
2014-01-01 23:18:11 +00:00
Daniel Black
58a5983367
ENH: fix fail2ban-regex for filter arguement substition
2014-01-02 10:03:14 +11:00
Steven Hiscocks
6ef911185d
ENH: Add matches to smtp.py action
2014-01-01 12:27:49 +00:00
Daniel Black
55688395fb
DOC: doco for exim-spam
2014-01-01 22:56:08 +11:00
Daniel Black
9c7bb3b97e
ENH: exim-spam to take honeypot email address as argument. Closes #541
2014-01-01 22:45:13 +11:00
Daniel Black
1365a7781b
TST: log files to cinlude only the #541 test case
2014-01-01 22:41:48 +11:00
Ivo Truxa
67436078f7
TST: test case for honeypot exim-spam
2014-01-01 21:02:16 +11:00
Daniel Black
391b5fc883
MRG: from master again 2014-01-01
2014-01-01 19:28:38 +11:00
Steven Hiscocks
f37c90cdba
ENH: Python based actions
...
Python actions are imported from action.d config folder, which have .py
file extension. This imports and creates an instance of the Action class
(Action can be a variable that points to a class of another name).
fail2ban.server.action.ActionBase is a base class which can be inherited
from or as a minimum has a subclass hook which is used to ensure any
imported actions implements the methods required.
All calls to the execAction are also wrapped in a try except such that
any errors won't cripple the jail.
Action is renamed CommandAction, to clearly distinguish it from other
actions.
Include is an example smtp.py python action for sending emails via smtp.
This is work in progress, as looking to add the <matches> and whois
elements, and also SSL/TLS support.
2013-12-31 18:54:34 +00:00
Daniel Black
1b037a6f29
DOC: document addition of filter options substitution into failregex/ignoreregex
2013-12-31 19:15:11 +11:00
Daniel Black
a4c38439df
ENH: add substition tags to filter definitions. Closes gh-539
2013-12-31 19:01:21 +11:00
Daniel Black
e4a215ca50
BF: fix infinite recursion case in Action.substituteRecursiveTags
2013-12-31 19:00:26 +11:00
Steven Hiscocks
71869dd6e1
Merge pull request #545 from grooverdan/openwebmail
...
ENH: add filter openwebmail. Closes gh-543.
2013-12-30 15:15:05 -08:00
Steven Hiscocks
6f104638cf
BF: Ensure all imports for fail2ban modules are not relative
2013-12-30 22:31:06 +00:00
Daniel Black
e8710b679d
ENH: stronger regex for failregex
2013-12-31 08:22:52 +11:00
Daniel Black
856407379b
ENH: add filter openwebmail. Closes gh-543.
2013-12-31 08:09:00 +11:00
Steven Hiscocks
15d6de0664
Merge pull request #538 from grooverdan/0.9-python-2.6-min
...
DOC: python-2.6 minimium now. Closes gh-526
2013-12-30 05:09:04 -08:00
Steven Hiscocks
934058cc06
Merge pull request #532 from grooverdan/split-filter-doco
...
DOC: filter documentation was bigger than DEVELOP so separated it out.
2013-12-30 05:06:52 -08:00
Daniel Black
332d37f363
DOC: python-2.6 minimium now. Closes gh-526
...
Clean up ChangeLog and README.md to reflect these changes.
Remove credit from developers for individual changes to be consistent
with the 0.8.12 ChangeLog. Update summary and priority of items listed
in ChangeLog.
2013-12-30 04:57:16 +00:00
Yaroslav Halchenko
acc5beaeb5
Merge pull request #536 from grooverdan/exim-spam
...
ENH: exim-spam - also block based on emails "discarded" by spamassassin
2013-12-29 20:39:25 -08:00
Daniel Black
92e2747034
Merge pull request #531 from grooverdan/master_to_0.9_merge
...
MRG: current master to 0.9 20131228
2013-12-29 15:57:59 -08:00
Daniel Black
671ca8bbca
BF: ignorecommand is a jail option not a filter option
2013-12-29 21:58:35 +00:00
Daniel Black
4df246b0dd
BF: ignorecommand is a jail option not a filter option
2013-12-29 21:57:37 +00:00
Daniel Black
e220210dc4
DOC: fix ChangeLog entry for exim-spam
2013-12-29 21:55:04 +00:00
Daniel Black
ccb64e68b4
DOC: for exim-spam to say how to enable the log lines for the latest regex
2013-12-29 21:53:26 +00:00
Daniel Black
3d79e1612b
MRG: test cases on exim-spam
2013-12-29 21:38:00 +00:00
Ivo Truxa
d2658e063c
Update exim-spam
...
An example with no valid FROM email address and host without reverse DNS record
2013-12-29 22:33:08 +01:00
Daniel Black
dbca949e5e
DOC: typo in ChangeLog
2013-12-29 21:26:30 +00:00
Daniel Black
d1ea8e85f8
BF: Fix FailRegex.search test case for 0.9
2013-12-29 21:18:01 +00:00
Daniel Black
b5f5ddf123
ENH: end anchor for exim-spam
2013-12-29 20:56:25 +00:00
Daniel Black
ef47c33082
Merge pull request #530 from kwirk/logpath-tail
...
ENH: Add option to addlogpath for tail option
2013-12-29 12:42:39 -08:00
Daniel Black
d727ba639a
ENH: exim-spam to include spamassassin log entry. Closes gh-533
2013-12-29 20:16:37 +00:00
Steven Hiscocks
6a395f4cf7
ENH: add option to addlogpath for tail option
2013-12-29 18:37:21 +00:00
Ivo Truxa
bb88cfaddb
Update exim-spam
...
attached sample Exim log line to demonstrate a silently tossed message as described at https://github.com/fail2ban/fail2ban/issues/533
2013-12-29 18:53:04 +01:00
Daniel Black
2b9d4f86cd
DOC: filter documentation was bigger than DEVELOP so separated it out. Hopefully it may get read more
2013-12-29 07:26:41 +00:00
Daniel Black
4a0e428563
DOC: change log for asynchat.push change
2013-12-29 07:11:57 +00:00
Daniel Black
c074773805
ENH: apache modsecurity from 0.9 branch
2013-12-29 07:06:13 +00:00
Daniel Black
6666f41ee6
ENH: apache modsecurity filter
2013-12-29 06:59:47 +00:00
Daniel Black
be382dae4d
MRG: ufw changelog conflicts
2013-12-29 05:45:06 +00:00
Daniel Black
1f6ece2a40
Merge pull request #490 from grooverdan/firewallcmd-ipset
...
ENH: add firewallcmd-ipset
2013-12-28 21:43:49 -08:00
Daniel Black
ea2a13946e
TST: more test of filters
2013-12-29 05:29:59 +00:00
Daniel Black
8617898f00
TST: additional apache-modsecurity sample log entry
2013-12-29 02:42:42 +00:00
Steven Hiscocks
26b50555ba
Merge pull request #528 from grooverdan/modsecurity
...
ENH: add filter for apache-modsecurity
2013-12-28 15:07:06 -08:00
Daniel Black
c9cfdca396
ENH: add filter for apache-modsecurity
2013-12-28 22:28:11 +00:00
Daniel Black
1dfb4e3374
Merge pull request #527 from kwirk/systemd-backend-datetime
...
ENH: Pass date time straight from systemd backend
2013-12-28 13:40:17 -08:00
Steven Hiscocks
4d128db64a
BF: asyncserver now ensures all data is sent
...
Previously was using `send` method, which uses `socket.send`. This does
not guarantee to send all data, and no check was in place to verify
whether all data was sent. Using asynchat built in `push` method,
ensures that all data is sent before closing the connection.
2013-12-28 18:42:03 +00:00
Steven Hiscocks
f460bde73c
BF: Duplicate ip addresses returned from socket.gethostbyname_ex
2013-12-28 18:15:56 +00:00
Steven Hiscocks
c80297045e
ENH: Pass date time straight from systemd backend
...
Removes need to reparse the date time back from the ISO format
2013-12-28 18:02:16 +00:00
Steven Hiscocks
087af27c65
Merge pull request #523 from grooverdan/more-0.9-tests
...
TST: more test of filters
2013-12-27 14:02:59 -08:00
Steven Hiscocks
d129321e7b
Merge pull request #519 from grooverdan/db-migration
...
addLog to single SQL statement
2013-12-27 13:45:52 -08:00
Yaroslav Halchenko
652260e4eb
Merge pull request #520 from grooverdan/pypy
...
ENH: add PyPy compatibility
2013-12-27 13:17:57 -08:00
Daniel Black
18fbfed91f
ENH: error handling on re.group KeyError exception only for PyPy
2013-12-27 20:01:43 +00:00
Daniel Black
1f1fe254a6
DOC: document PyPy version that use KeyError instead of IndexError
2013-12-27 12:59:37 +00:00
Daniel Black
8df9112487
TST: get StartStop test case closer to something usable (not there yet however)
2013-12-27 12:54:59 +00:00
Daniel Black
6aae276d2b
TST: add #pragma: no cover for python version branches
...
Remove unused code.
2013-12-27 11:07:11 +00:00
Daniel Black
a3b758cdd3
TST: more test of filters
2013-12-27 09:08:13 +00:00
Daniel Black
33df269d82
Merge pull request #522 from yarikoptic/master
...
TST/BF: basic changes to beef up coverage a tiny bit + restore compatibility with python2.4 (since we still claim to support it)
2013-12-26 23:46:43 -08:00
Yaroslav Halchenko
6815190685
BF(2.4): omit date patterns containing %f (.subsec) for Python before 2.5
2013-12-27 02:08:47 -05:00
Yaroslav Halchenko
c6a7bc2221
BF(2.4): remove use of "with" for python 2.4 for now (since we list it as supported)
2013-12-27 01:54:54 -05:00
Yaroslav Halchenko
952de51cf1
ENH: per original discussion, and changes which followed, better not to ignore absent failregex -- all filters (but included common) should have it
2013-12-27 01:47:15 -05:00
Yaroslav Halchenko
4e165c9692
ENH: FilterReader - use the set methods (improve coverage), test getters, use os.path.join
2013-12-27 01:43:23 -05:00
Yaroslav Halchenko
0141a6dbe7
TST: add few more rudimentary tests for Regex to complete its coverage
2013-12-27 01:29:02 -05:00
Daniel Black
d3c065bf76
ENH: add PyPy compatibility
2013-12-27 05:15:33 +00:00
Daniel Black
41bd0470bd
TST: table create definitations to end in ; for py26 compatibility
2013-12-26 21:28:46 +00:00
Daniel Black
ec31e6a702
TST: restore Ticket testcase coverage to 100% after addition of exception test in Ticket.__eq__
2013-12-26 10:13:14 +00:00
Daniel Black
37ab4147d1
TST: for db.getFilename
2013-12-26 10:09:12 +00:00
Daniel Black
fed593e689
TST: for database.getBans with bantime argument
2013-12-26 10:03:51 +00:00
Daniel Black
1990eeae64
BF: Ticket compared to non-Ticket type returns False
2013-12-26 09:31:45 +00:00
Daniel Black
5d2a03e852
TST: remove deprecated warn method of logging and use warning() instead
2013-12-26 09:22:02 +00:00
Daniel Black
4ee018a84b
TST: repr test for Ticket
2013-12-26 09:06:54 +00:00
Daniel Black
de22c49b4d
TST: (another) py26 compatible test fix
2013-12-26 09:05:45 +00:00
Daniel Black
74567d64b6
TST: py26 compatible test
2013-12-26 09:01:29 +00:00
Daniel Black
8a25dd2dad
ENH: change addLog to use single SQL statement
...
ENH: separate out the database creation defination to make updates
easier
TST: add test framework for updates
2013-12-26 05:46:38 +00:00
Daniel Black
e9f5f9b86f
Add ticket equality test and representation.
2013-12-26 05:27:41 +00:00
Daniel Black
ddac79c15c
TST: include blank ignorecommand in jail.conf to indicate default value and to raise test coverage
2013-12-25 11:01:31 +00:00
Daniel Black
6fa4e48f88
BF: Add testcases/files/ignorecommand.py to MANIFEST
2013-12-25 10:55:26 +00:00
Daniel Black
dfb6c45297
Merge pull request #401 from bes-internal/ignorecommand
...
ENH: New ignorecommand with path to external command for dynamic ignoreip list
2013-12-24 23:43:41 -08:00
bes.internal
55d76ac373
TST: add test for IgnoreCommand at server
2013-12-25 00:58:00 +03:00
bes.internal
ebd89ec077
New ignorecommand that is added to the ignoreip list from output of an external program
...
ignorecommand update man and fix protocol help
ENH: run ignore command only after internal list has been examined. Change interface on ignorecommand to take IP as environment variable and return true if it is to be banned
ENH: ignore IP command to take tagged command
DOC: man pages for ingorecommand
TST: add test cases for ignorecommand
2013-12-24 23:55:35 +03:00
bes.internal
a8ea347fe3
Merge branch 'master' of https://github.com/fail2ban/fail2ban
2013-12-24 23:43:22 +03:00
Steven Hiscocks
46c6915cec
Merge pull request #518 from grooverdan/process_file_called_twice
...
BF: prevent process_file being called in pyinotify backend on log rotati...
2013-12-24 04:10:55 -08:00
Steven Hiscocks
2c6e4d9ace
Merge pull request #517 from grooverdan/apache-2.4
...
BF: apache-2.4 log format fix. Closes gh-516
2013-12-24 04:01:23 -08:00
Daniel Black
b0ea5698b3
BF: prevent process_file being called in pyinotify backend on log rotation. Closes gh-512
2013-12-23 09:18:32 +00:00
Daniel Black
382d68f0fe
DOC: perfork model for apache log format
2013-12-23 09:09:48 +00:00
Daniel Black
1b7df1181f
BF: apache-2.4 log format fix. Closes gh-516
2013-12-23 08:28:40 +00:00
Yaroslav Halchenko
7af58b9984
Merge branch 'apache-noscripts' of https://github.com/grooverdan/fail2ban
...
* 'apache-noscripts' of https://github.com/grooverdan/fail2ban :
ENH: apache-noscript now matched php-cgi scripts. Closes gh-503
Conflicts:
ChangeLog -- two new entries collided, Reformatted the merged one a bit
2013-12-22 22:28:57 -05:00
Yaroslav Halchenko
0256a1cb08
Merge pull request #513 from grooverdan/filterfile_tst
...
TST: filterfile test cases
2013-12-22 19:25:14 -08:00
Yaroslav Halchenko
23421ef2d6
Merge pull request #514 from leeclemens/patch-1
...
Lee finally added himself to THANKS
2013-12-22 19:02:18 -08:00
leeclemens
ce3cc35828
Added myself to THANKS
...
for previous commits
2013-12-22 15:33:53 -05:00
Daniel Black
7a9252bd0e
TST BF: local defination
2013-12-22 12:08:10 +00:00
Daniel Black
2a67ef519c
TST: missing logpath raises IOError
2013-12-22 08:43:57 +00:00
Daniel Black
2d688a5a03
TST: improve polling test case to ensure isModified only returns True once (file static)
2013-12-22 07:47:24 +00:00
Daniel Black
a9b7d33c51
ENH: apache-noscript now matched php-cgi scripts. Closes gh-503
2013-12-19 10:01:24 +00:00
Daniel Black
56f54dc2eb
Merge pull request #504 from kwirk/nsd
...
ENH: Add nsd filter and amend DateEpoch to match date format
2013-12-19 01:30:14 -08:00
Daniel Black
a1a219189f
Merge pull request #493 from grooverdan/xarf-ipmatch
...
ENH: use ipmatches for action xarf-login-attack
2013-12-19 01:28:49 -08:00
Daniel Black
7247a6841a
Merge pull request #495 from grooverdan/0.9_merge
...
MRG: 0.9 merge
2013-12-19 01:27:51 -08:00
Daniel Black
ed2f46759c
MRG: restore accidently deleted pam comment in jail.conf
2013-12-19 09:21:12 +00:00
Daniel Black
44a0981495
MRG: fix recidive filter
2013-12-19 09:18:18 +00:00
Steven Hiscocks
d22716ab63
ENH: Add nsd filter and amend DateEpoch to match date format
2013-12-18 22:31:54 +00:00
Steven Hiscocks
49f9143535
ENH: Set date to "today" when neither month nor day is time match
2013-12-18 21:06:03 +00:00
Daniel Black
42a51930dd
Merge pull request #500 from alasdairdc/master
...
ENH: Updated nagios check_fail2ban to return performance data for all jails
2013-12-18 00:38:15 -08:00
alasdairdc
04c267c307
Updated Changelog
2013-12-18 08:36:30 +00:00
alasdairdc
4e4f194457
Updated Thanks.
2013-12-18 08:31:54 +00:00
alasdairdc
2e5a2b26fb
Updated check_fail2ban to return performance data for all jails and applied to specific jail code
2013-12-17 17:48:19 +00:00
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
2013-12-17 17:45:50 +00:00
Steven Hiscocks
9db44059fd
DOC: Add ip(jail)matches/failures to man page
2013-12-16 23:29:59 +00:00
Daniel Black
62e54424a7
TST: flushLog to run correctly regardless of user/travis instigated logging level
2013-12-16 23:12:00 +00:00
Daniel Black
a4d4f7b8f8
TST: fix testIgnoreInProcessLine to occur at MyTime
2013-12-16 22:35:27 +00:00
Daniel Black
e57175f604
TST: fix flushLogs test case
2013-12-16 22:23:14 +00:00
Daniel Black
d4b58119b8
ENH: extra logging around log rotate
2013-12-16 22:22:53 +00:00
Daniel Black
7c0efc8ec8
MRG: merge so far - flushLogs not working yet
2013-12-16 15:08:34 +00:00
Daniel Black
dd79889904
Merge pull request #484 from grooverdan/more-more-tests
...
BF/TST: fix internals of jailreader and add test cases
2013-12-16 02:29:50 -08:00
Daniel Black
729929ada9
TST: jails can occur in any order once parsed. Sort results to facilitate comparison
2013-12-16 10:21:46 +00:00
Daniel Black
5c26bcbd2b
TST: hopefully normalise config so that consistent test results occur on travis and locally
2013-12-16 10:07:41 +00:00
Daniel Black
4eedf9d4e1
ENH: use ipmatches for action xarf-login-attack
2013-12-15 23:49:38 +00:00
Steven Hiscocks
00ad239e2e
Merge pull request #487 from grooverdan/firewall-cmd
...
BF: fix actioncheck in firewallcmd
2013-12-15 15:13:29 -08:00
Daniel Black
a398c51d6c
ENH: simplify actioncheck on firewallcmd-new a little more
2013-12-15 22:36:47 +00:00
Daniel Black
772def1095
Merge pull request #491 from kwirk/ipmatches
...
ENH: Add <ipmatches> and <ipjailmatches> tags + sendmail implementations
2013-12-15 14:29:02 -08:00
Steven Hiscocks
802029d83a
BF: Database test keep ticket present in memory so address is reused
...
This bug only seemed to effect python2.6 which seemed hasty to reuse the
memory id that was assigned to the ticket which was being used for
reference
2013-12-15 22:20:48 +00:00
Steven Hiscocks
fb7511fdea
ENH: Add cache for database getBansMerged
...
This is avoids duplicate queries when using the ip(jail)matches and
ip(jail)failures in actions
2013-12-15 21:52:50 +00:00
Steven Hiscocks
40007abc1d
ENH: Refactor and add database matches and failures for sendmail actions
2013-12-15 21:41:43 +00:00
Steven Hiscocks
d6cbc05e35
ENH: Make use of functools.wraps for server.database decorators
2013-12-15 21:10:11 +00:00
Steven Hiscocks
2deb76e3f9
Merge pull request #492 from grooverdan/abusix-disclaimer
...
ENH: full abusix disclaimer in action xarf-login-attack
2013-12-14 13:35:43 -08:00
Daniel Black
1c6c011154
EHH missed trailing .
2013-12-14 21:22:46 +00:00
Daniel Black
868a4ea470
ENH: full abusix disclaimer in action xarf-login-attack
2013-12-14 21:18:20 +00:00
Steven Hiscocks
66e9f06feb
DOC: ChangeLog moved python3 support to refactoring
2013-12-14 17:46:13 +00:00
Steven Hiscocks
06a7b6534e
DOC: Correct use of tab to spaces in fail2ban-regex help message
2013-12-14 17:21:56 +00:00
Steven Hiscocks
401d8aba1f
DOC: Update ChangeLog with systemd backend and persistent database
2013-12-14 17:20:21 +00:00
Daniel Black
f1e593da67
DOC: Changelog for adding firewallcmd-ipset
2013-12-14 10:27:11 +00:00
Daniel Black
9fe0a69852
ENH: add firewallcmd-ipset
2013-12-14 09:06:01 +00:00
Daniel Black
4ffc57e14f
ENH: simplify firewallcmd-new actioncheck and provide output samples
2013-12-14 07:11:29 +00:00
Daniel Black
603095bc16
BF: errors in a jail prevents further sections from being parsed. Closes #485
2013-12-14 07:00:41 +00:00
Daniel Black
b39729a2ab
BF: fix unintential typo
2013-12-14 06:51:36 +00:00
Daniel Black
ed816afbcd
ENH: add badips action
2013-12-14 01:41:28 +00:00
Daniel Black
1ff52dfe4d
DOC: document ufw a bit more. Change insertpos default to 1 to allow it to work if the user run ufw enable
2013-12-14 00:40:47 +00:00
Daniel Black
f35345ecaa
ENH: add ufw action based off Guilhem Lettron's work in lp-#701522. Closes gh-455
2013-12-14 00:34:12 +00:00
Daniel Black
13ccebe78f
BF: fix actioncheck in firewallcmd
2013-12-13 23:40:51 +00:00
Daniel Black
d402701b9f
Merge pull request #452 from grooverdan/early-sighup-ignore
...
ENH: move signal.signal(signal.SIGHUP, signal.SIG_IGN) before fork in server
2013-12-13 15:33:33 -08:00
Daniel Black
2dac984b97
Merge pull request #482 from grooverdan/squid
...
ENH: add squid filter
2013-12-13 15:31:38 -08:00
Steven Hiscocks
0bcff771b8
ENH: Add <ipmatches> and <ipjailmatches> tags
...
Example use filter also added for sendmail-whois with ipmatches rather
than grepped lines
2013-12-13 22:40:11 +00:00
Steven Hiscocks
6dde1d5429
TST: Fix test for recidive samples broken is last commit
2013-12-13 22:06:58 +00:00
Steven Hiscocks
2c3dbc8046
BF: In 0.9 recidive bans come from fail2ban.server.actions
...
Also changed journalmatch to limit to WARNING priority to avoid the
recidive + DEBUG combo issue
2013-12-13 21:55:43 +00:00
Steven Hiscocks
bff170ec43
BF: In line comments need to specifically enabled in python3.2+
2013-12-13 21:11:45 +00:00
Steven Hiscocks
1df634b68b
BF: Database wasn't being passed to jails
2013-12-13 18:25:55 +00:00
Steven Hiscocks
f227e4549d
DOC: Update MANIFEST with database elements
2013-12-13 17:35:38 +00:00
Steven Hiscocks
b7d1579c9d
MRG: branch 'kwirk/database' into 0.9 - gh-480
...
Conflicts:
fail2ban/tests/utils.py
- Another test suite added in separate commit e09b700
2013-12-13 17:15:19 +00:00
Steven Hiscocks
43689d6470
TST: Appropriately mark JournalMatch transmitter test as skipped
2013-12-13 17:10:42 +00:00
Steven Hiscocks
a60fbcc116
Merge pull request #476 from kwirk/multiline-matches
...
Capture multiline matched lines into fail ticket
2013-12-13 08:47:08 -08:00
Steven Hiscocks
d9afcc178a
MINOR: PEP-8 tweaks for multiline-matches change set
2013-12-13 16:38:26 +00:00
Daniel Black
18f0e58caa
TST: increase coverage in jailreader
2013-12-13 11:41:40 +00:00
Daniel Black
b147270be7
BF: allow processing with empty filter
2013-12-13 11:36:00 +00:00
Daniel Black
2f3648c458
DOC: add missing jail directives
2013-12-13 11:11:58 +00:00
Daniel Black
f6fb737e6c
TST: remove commented test print
2013-12-13 10:55:15 +00:00
Daniel Black
e916fcdce4
TST: test case for actions and filters missing in a jail
2013-12-13 10:51:38 +00:00
Daniel Black
1407b955e6
TST: more client/jailreader tests
2013-12-13 10:03:51 +00:00
Daniel Black
d74dd31d23
BF: corrected tests for missing jail
...
Previously tests relied on the missing filter to trigger the conditions
required for a missing jail. We now handle this explicitly.
2013-12-13 10:00:34 +00:00
Daniel Black
3ddf8da76e
ENH: ensure filter is defined in jail before its read
2013-12-13 08:45:10 +00:00
Steven Hiscocks
00ecd22851
ENH: Add getBansMerged method to Fail2BanDb
...
Creates a single ticket for an IP, made up of all previous bans
2013-12-12 22:22:30 +00:00
Daniel Black
c6d14dcf0e
TST: complete coverage of splitAction
2013-12-12 20:35:30 +00:00
Daniel Black
b18ce122dd
BF/ENH: fix error when action doesn't match regex. Document unreachable code. Simplify regex
2013-12-12 20:07:09 +00:00
Daniel Black
3036afca91
TST: check dangling link log message
2013-12-12 10:13:57 +00:00
Daniel Black
cb4f1e5142
TST: remove temp files in glob test
2013-12-12 09:10:12 +00:00
Daniel Black
f84a03d6b5
BF: remove nonreachable parts of code
...
Glob ensures the file exists so only a check that a missing dangling
symlink needs to be done.
$ ls -la /tmp/f2b-tempq0ipGY/f2
lrwxrwxrwx. 1 dan dan 11 Dec 12 08:42 /tmp/f2b-tempq0ipGY/f2 ->
xisting
In [3]: os.path.exists('/tmp/f2b-tempq0ipGY/f2')
Out[3]: False
In [4]: os.path.lexists('/tmp/f2b-tempq0ipGY/f2')
Out[4]: True
2013-12-12 09:08:42 +00:00
Daniel Black
970fd5d289
BF: ensure dangling symlink error message is reachable
...
$ ls -la /tmp/f2b-tempq0ipGY/f2
lrwxrwxrwx. 1 dan dan 11 Dec 12 08:42 /tmp/f2b-tempq0ipGY/f2 -> nonexisting
In [3]: os.path.exists('/tmp/f2b-tempq0ipGY/f2')
Out[3]: False
In [4]: os.path.lexists('/tmp/f2b-tempq0ipGY/f2')
Out[4]: True
2013-12-12 08:52:01 +00:00
Daniel Black
f2c58e74c1
TST: check client.JailReader.setName
2013-12-12 08:24:29 +00:00
Yaroslav Halchenko
60699a6585
Merge pull request #483 from grooverdan/more-tests
...
More tests and slight RF of tests to provide base log capturing unittest clas
2013-12-10 18:28:28 -08:00
Daniel Black
a03815facf
TST: FileFilter tail tests
2013-12-11 13:07:08 +11:00
Daniel Black
5005719180
TST: permission denied on log file
2013-12-11 12:34:26 +11:00
Daniel Black
33d96ae462
TST: separate out DNS based IgnoreIP tests
2013-12-11 12:10:44 +11:00
Daniel Black
c13b91fa70
TST: separate out DNS based IgnoreIP tests
2013-12-11 12:08:23 +11:00
Daniel Black
2b89457dc9
TST: addBanned IP when ignore exists
2013-12-11 10:55:06 +11:00
Daniel Black
f3c4285118
TST: no test coverage on subclass overwritten function _delLogPath
2013-12-11 10:46:52 +11:00
Daniel Black
ebf4a02004
TST: get/set use DNS on Filters
2013-12-11 10:43:47 +11:00
Daniel Black
a8b5c5b5f3
TST: check IgnoreIP happens in filter.processLine
2013-12-11 10:31:58 +11:00
Daniel Black
60c4957a52
DOC/TST: remove TODO as all regexs have samples
2013-12-11 10:21:19 +11:00
Daniel Black
988e14d8c6
TST: negative match for DNS lookup test added
2013-12-11 10:17:55 +11:00
Daniel Black
44bbaebfe5
TST: CIDR for ignoreip
2013-12-11 10:15:24 +11:00
Daniel Black
f4531e7b45
TST: test cases fro filter.delFailRegex and filter.delIgnoreRegex
2013-12-11 10:10:31 +11:00
Daniel Black
f4661d8177
ENH: rebase LogFileMonitor on LogCaptureTestCase
2013-12-11 09:56:04 +11:00
Daniel Black
5688c064ad
ENH: separate out log capture framework for other test cases - now utils.LogCaptureTestCase
2013-12-11 09:50:17 +11:00
Steven Hiscocks
e18af48e34
ENH: Database now optional, by setting dbfile to "None"
2013-12-10 21:16:36 +00:00
Daniel Black
9d532828fc
BF: multiple _ separated values according to http://wiki.squid-cache.org/SquidFaq/SquidLogs#Squid_result_codes . Thanks Steven
2013-12-11 07:44:41 +11:00
Daniel Black
66374913ec
ENH: add squid filter
2013-12-10 21:24:37 +11:00
Daniel Black
916649119e
ENH: use format string rather than concatination on log message
2013-12-09 23:07:42 +11:00
Yaroslav Halchenko
94a7609501
Merge pull request #481 from grooverdan/proftpd-doc
...
Proftpd doc
2013-12-08 20:34:10 -08:00
Daniel Black
db4c21acde
BF/DOC: fix filename in documentation for filter.d/proftpd
2013-12-09 14:46:01 +11:00
Daniel Black
e8eab11615
DOC: proftp - turn off ReverseDNS
2013-12-09 14:45:09 +11:00
Daniel Black
e30c80e468
Merge pull request #478 from grooverdan/fedora-initscript-fix
...
BF: files/redhat-initd from upstream
2013-12-08 15:00:43 -08:00
Daniel Black
f385439a41
MRG: ChangeLog merge
2013-12-09 09:28:42 +11:00
Daniel Black
80df01bf15
Merge pull request #468 from grooverdan/xarf
...
ENH: action.d/Xarf reporting of messages
2013-12-08 14:26:37 -08:00
Daniel Black
36917d7517
BF: action.d/complain - match IP at beginning and end of lines
2013-12-09 09:21:55 +11:00
Steven Hiscocks
174f9a243a
ENH: Remove thread locks from Fail2BanDb
2013-12-08 22:03:57 +00:00
Steven Hiscocks
7f063b46f9
BF: Improve handling of clearing old jails in database
2013-12-08 11:40:40 +00:00
Steven Hiscocks
d8c7bca9b0
BF: Fix dbpurgeage default value, and change default dbfile extension
2013-12-08 11:35:12 +00:00
Daniel Black
051c2a5f50
Merge pull request #479 from grooverdan/tst-CustomDateFormatsTest
...
TST: missed including testcases CustomDateFormatsTest
2013-12-08 02:40:39 -08:00
Daniel Black
b64478c512
TST: iso8601 tests
2013-12-08 20:14:00 +11:00
Daniel Black
a37590b3eb
BF: Fix ISO8601 regex to handle [+-]XX timezone offsets
2013-12-08 19:36:21 +11:00
Steven Hiscocks
d6fe80ba50
TST: Fix test for fail2ban.conf with new database options
2013-12-07 23:37:14 +00:00
Steven Hiscocks
bbadef847b
ENH: Add fail2ban persistent data storage
2013-12-07 23:23:28 +00:00
Daniel Black
e09b7002e0
TST: missed including testcases CustomDateFormatsTest
2013-12-07 12:11:04 +11:00
Steven Hiscocks
7115f64f83
Merge pull request #470 from grooverdan/flush-logs
...
BF: create flushlogs command to prevent logrotation clobbering logtarget...
2013-12-06 16:30:16 -08:00
Daniel Black
135c759dbb
Merge pull request #477 from kwirk/blocklist.de
...
ENH: Added blocklist.de reporting API action
2013-12-06 16:16:39 -08:00
Steven Hiscocks
630dd91dcd
BF: Add [Init] section to blocklist.de action
2013-12-07 00:09:31 +00:00
Daniel Black
8451f720f0
TST: fix flushlogs and include test for STDERR flushing
2013-12-07 11:04:06 +11:00
Daniel Black
476bbdd284
TST: test case for flushlogs
2013-12-07 10:57:05 +11:00
Steven Hiscocks
b3c173795e
ENH: blocklist.de action error on HTTP response code 4xx
2013-12-06 08:22:21 +00:00
Daniel Black
008952035d
BF: files/redhat-initd - as per http://pkgs.fedoraproject.org/cgit/fail2ban.git/tree/fail2ban-init.patch
2013-12-06 08:08:11 +11:00
Daniel Black
4780451883
Merge pull request #472 from grooverdan/banip-ignoreconflict
...
ENH: banning an IP in the ignoreIPList now issues warning to log, but still does the ban
2013-12-05 12:45:13 -08:00
Daniel Black
51f2619878
Merge pull request #473 from grooverdan/whois-missing
...
ENH: Whois missing in actions? Include output to say so
2013-12-05 12:44:35 -08:00
Daniel Black
e07ba41870
Merge pull request #463 from grooverdan/firewall-cmd-direct-new-length-too-long
...
BF: firewall-cmd-direct-new was too long. Thanks Joel.
2013-12-05 12:42:55 -08:00
Steven Hiscocks
a19b33cc72
ENH: blocklist.de action added fail2ban version as user agent
2013-12-05 18:12:15 +00:00
Steven Hiscocks
f742ed0e4b
DOC: when to use blocklist.de reporting
...
Taken from commit 1846056606
2013-12-05 18:06:53 +00:00
Steven Hiscocks
e810ec009d
ENH: Added blocklist.de reporting API action
2013-12-05 08:22:20 +00:00
Steven Hiscocks
60d298d898
BF: fail2ban-regex erroneously reporting multiple regexs had matched
2013-12-04 23:36:45 +00:00
Steven Hiscocks
c03a50b44b
BF: Allow handle case when SKIPLINES lines is not matched
...
Example is when one or more SKIPLINES is optional in a regex
2013-12-04 23:13:27 +00:00
Steven Hiscocks
c886414e2e
ENH+BF: Capture multiline matched lines into fail ticket
...
Previously only the last line of the match was being saved, not all
lines involved in matching.
Log lines are now broken into 3 part tuple, with the line pre-datetime,
the datetime, and post-datetime. Allows reformation of full line, but
also use of the line without the datetime present.
Attempting to use the term "tupleLine(s)" where possible, to avoid
confusion with normal read lines.
May also wish to consider that regexs could be made to capture more
lines of interest if some form of unique reference is available. This
may allow more lines of interest to be captured, which may not be picked
up by the traditional "grep <ip>" approach i.e. ones which do not have
the ip address in.
This also simplified the fail2ban-regex statistics for missed lines.
Also resolved bug with missed lines time extracted for debuggex having
some lines present which were captured in a multiline regex.
Also resolved independent issue with ignored line check including the
datetime, which raised assertion error in the rare case the datetime
matched the ignore regex, and the rest of line only matched a failregex
2013-12-04 22:26:22 +00:00
Daniel Black
4dc51e5def
BF: put notice in email if whois program could not provide more information. Closes gh-471
2013-12-04 22:43:06 +11:00
Daniel Black
97d7f46bb7
DOC: correct grammar - s/Here are more information/Here is more information/
2013-12-04 22:40:48 +11:00
Daniel Black
e108de3f6d
ENH: banning an IP in the ignoreIPList now issues warning to log, but still continues
2013-12-04 22:27:23 +11:00
Daniel Black
b5d6310d28
BF: create flushlogs command to prevent logrotation clobbering logtarget. Closes gh-458
2013-12-04 20:51:30 +11:00
Daniel Black
8aead9ab79
BF: escape quotes when splitting addresses for xarf
2013-12-04 08:19:05 +11:00
Daniel Black
1846056606
DOC: when to use xarf messages to network owner
2013-12-03 20:40:42 +11:00
Daniel Black
8c37d2e4de
ENH: remove dependency on querycontacts
2013-12-03 20:34:21 +11:00
Daniel Black
bfd435091d
ENH: jail examples for xarf-login-attack
2013-12-01 20:29:43 +11:00
Daniel Black
dd356c3cef
BF: fixed for sendmail and tested the MTA aspects of this action
2013-12-01 19:08:28 +11:00
Daniel Black
9df5f4eec8
BF: remove debugging tee command on xarf-login-attack
2013-12-01 17:53:34 +11:00
Daniel Black
9c1a679b7f
DOC: changelog for xarf-login-attack action
2013-12-01 17:51:31 +11:00
Daniel Black
d015f7f4fc
BF/ENH: fixed so xarf-login-attack works
2013-12-01 17:49:35 +11:00
Yaroslav Halchenko
2c1199cce0
Let's progress and mark a2 release toward 0.9.0
2013-11-30 12:25:17 -05:00
Daniel Black
0495aa098e
BF: grep matches on <ip> shouldn't include other IPs
2013-11-30 18:01:45 +11:00
Daniel Black
95845b7b65
BF: complain action could match too many IP addresses
2013-11-30 17:47:10 +11:00
Daniel Black
5cc7173fd4
ENH: add xarf email sender for login-attack type
2013-11-30 14:16:26 +11:00
Yaroslav Halchenko
3a5983ab0b
Merge branch 'bf/syslog-format' of https://github.com/yarikoptic/fail2ban
...
* 'bf/syslog-format' of https://github.com/yarikoptic/fail2ban :
Changelog entries for the last changes
ENH: added optional [PID] matching in recidive.conf
ENH: reintroducing levelnameinto syslog msgs, time stamp and indentation in non-syslog msgs
BF/ENH: include [PID] into logging msgs, remove indentation from syslog messages
Conflicts:
ChangeLog
2013-11-29 19:58:56 -05:00
Daniel Black
f7504d5b64
MRG: conflict in THANKS
2013-11-30 10:39:19 +11:00
Daniel Black
4d86a17641
Merge pull request #453 from grooverdan/master_to_0.9
...
MRG: merge Master to 0.9
2013-11-29 15:37:44 -08:00
Daniel Black
56b6bf7d25
ENH: reduce firewalld-cmd-new -> firewallcmd-new
2013-11-30 10:30:29 +11:00
Daniel Black
04438cd1a1
BF/ENH: mysql jail - rename to mysql-syslog to be consistent with 0.8.13. Add port to syslog defination. Document mysql configuration required for mysql jails
2013-11-30 10:00:59 +11:00
Daniel Black
3f4d179612
BF: smtps not an IANA port - from #447
2013-11-30 09:52:32 +11:00
Daniel Black
fe9e077acf
BF: correct spelling of port for solid-pop3 jail in jail.conf
2013-11-30 09:51:30 +11:00
Daniel Black
86a0a5962a
BF: revert to fail2ban- prefix as f2b- was intended for 0.9
2013-11-30 08:05:20 +11:00
Yaroslav Halchenko
982d5abbef
Merge branch 'namelength20' of https://github.com/grooverdan/fail2ban
...
* 'namelength20' of https://github.com/grooverdan/fail2ban :
DOC: document rational behind 20 character jail name limit
Conflicts:
ChangeLog
2013-11-29 10:09:16 -05:00
Yaroslav Halchenko
25e967f23b
Merge branch 'mysqld-syslog-iptables-name-too-long' of https://github.com/grooverdan/fail2ban
...
* 'mysqld-syslog-iptables-name-too-long' of https://github.com/grooverdan/fail2ban :
BF: jail name mysqld-syslog-iptables too long. removed -iptables. Thanks Stefan (#447 )
Conflicts:
ChangeLog
2013-11-29 10:02:31 -05:00
Yaroslav Halchenko
f2fed88920
Merge pull request #465 from grooverdan/smtps-not-iana-protocol
...
BF: smtps not IANA standard. Closes #447
See http://en.wikipedia.org/wiki/SMTPS for more information on port 465
2013-11-29 06:58:17 -08:00
Daniel Black
2bcc6c66b1
TST: remove python 2.5 from TravisCI
2013-11-29 21:54:36 +11:00
Daniel Black
b9b2ddf996
BF: smtps not IANA standard. Closes #447
2013-11-29 21:47:53 +11:00
Daniel Black
cade746307
BF: jail name mysqld-syslog-iptables too long. removed -iptables. Thanks Stefan ( #447 )
2013-11-29 21:45:11 +11:00
Daniel Black
9e53892708
BF: did remove instead of move
2013-11-29 19:26:24 +11:00
Daniel Black
af4feb0c92
Actions to have f2b- as prefix instead of fail2ban- as per #462
2013-11-29 19:08:38 +11:00
Daniel Black
b157be22d2
TST: pids don't match test case for sshd filter
2013-11-29 16:02:28 +11:00
Daniel Black
fb666b69ff
BF: firewall-cmd-direct-new was too long. Thanks Joel.
2013-11-28 23:35:05 +11:00
Daniel Black
99838440c8
DOC: document rational behind 20 character jail name limit
2013-11-28 23:18:34 +11:00
Daniel Black
227f27ce6b
ENH: added multiline filter for sshd filter
2013-11-25 14:55:41 +11:00
Daniel Black
f80fa7d7a0
Merge pull request #456 from grooverdan/apffix
...
BF: add init section with name for action.d/apf. Closes #398
2013-11-24 13:48:46 -08:00
Daniel Black
13223c33f5
MRG: recidive-protocol-all
2013-11-25 08:22:09 +11:00
Daniel Black
dc154c792e
BF: add init section with name for action.d/apf. Closes #398
2013-11-25 08:08:20 +11:00
Daniel Black
093aee9676
TST: no python-2.5 any more - https://github.com/travis-ci/travis-ci/issues/1668
2013-11-25 07:54:49 +11:00
Yaroslav Halchenko
085ebbe1de
Changelog entries for the last changes
2013-11-24 11:55:58 -05:00
Yaroslav Halchenko
a26d4f42b7
ENH: added optional [PID] matching in recidive.conf
2013-11-24 10:21:02 -05:00
Yaroslav Halchenko
a6f085786c
ENH: reintroducing levelnameinto syslog msgs, time stamp and indentation in non-syslog msgs
...
any indentation from syslog msgs wsa removed -- no need
2013-11-24 10:19:50 -05:00
Yaroslav Halchenko
09e8c9be28
Merge pull request #454 from grooverdan/kernel-timestamp
...
BF: kernel messages can have space. Thanks ag4ve(shawn). Closes #448
2013-11-24 07:02:03 -08:00
Daniel Black
a989787e0d
DOC: more distro bug tracker urls
2013-11-24 18:43:23 +11:00
Daniel Black
9a82bc3c61
BF: kernel messages can have space. Thanks ag4ve(shawn). Closes #448
2013-11-24 18:21:02 +11:00
Daniel Black
98eacdf333
MRG/BF: merge from master. Fix bugs in iso8601
2013-11-24 16:36:06 +11:00
Daniel Black
f2c529ca7b
ENH: move signal.signal(signal.SIGHUP, signal.SIG_IGN) before fork in server. closes #446
2013-11-23 11:33:41 +11:00
Yaroslav Halchenko
d34d8db3d2
BF/ENH: include [PID] into logging msgs, remove indentation from syslog messages
...
Otherwise leads to incorrect parsing of the log messages by syslog(-ng). See
http://bugs.debian.org/730202
I also removed %(levelname)-6s from syslog messages completely since they are
passed to the syslog and it is up to the configuration/admin to decide include
levels into the messages or not (I have checked that at least debug level indeed
goes to /var/log/debug)
2013-11-22 15:57:03 -05:00
Daniel Black
28d8aec511
DOC: Arch Linux link
2013-11-21 07:05:21 +11:00
Daniel Black
24c143b411
Merge pull request #445 from grooverdan/suhosin
...
TST: more test cases for suhosin
2013-11-19 15:23:59 -08:00
Daniel Black
015b403df0
TST: more test cases for suhosin
2013-11-20 10:01:06 +11:00
Yaroslav Halchenko
629e9ae445
Merge pull request #443 from grooverdan/apache-authfix
...
BF: apache filters using error log weren't matched when referer existed ...
2013-11-18 15:53:39 -08:00
Daniel Black
284f811c91
BF: apache filters using error log weren't matched when referer existed in HTTP header
2013-11-19 10:27:55 +11:00
Yaroslav Halchenko
491165c929
Merge pull request #438 from grooverdan/solid-pop3d
...
ENH: filter for Solid-pop3d
2013-11-17 17:34:46 -08:00
Daniel Black
1ea68b2d0c
DOC: filter.d/solid-pop3d - document lack of PAM support. Thanks to Jacques for the log messages
2013-11-18 09:44:26 +11:00
Yaroslav Halchenko
d583637c50
changeset_ac061155f093464fb6cd2329d3d513b15c68e256.diff absorbed upstream
2013-11-17 17:32:25 -05:00
Yaroslav Halchenko
30fe2ce7ba
changelog entry for previous cherry picked patch
2013-11-17 17:29:56 -05:00
Yaroslav Halchenko
0c24daeb10
added patch changeset_d4f6ca4f8531f332bcb7ce3a89102f60afaaa08e.diff to "cherry-pick" d4f6ca4f85 (ENH: adding custom date format for proftpd when logging in its own log file (default on Debian) -- includes milliseconds)
2013-11-17 17:27:50 -05:00
Daniel Black
0eea0a35db
ENH: filter.d/solid-pop3d - added log messages and regexes
2013-11-18 08:58:23 +11:00
Daniel Black
8aa20a7b0e
ENH: credits for #440 recidive jail protocol=all
2013-11-18 07:59:56 +11:00
Daniel Black
dab2ddb9da
ENH: recidive jail to block all protocols. Closes #440
2013-11-18 07:57:16 +11:00
Daniel Black
2c63b1fe93
Merge pull request #439 from yarikoptic/bf/proftpd-millisec
...
ENH: proftpd in Debian (now or forever) has ",milliseconds" in its date format
2013-11-17 12:44:44 -08:00
Daniel Black
b3b9ea4559
ENH: jail for solid-pop3d
2013-11-18 07:42:45 +11:00
Yaroslav Halchenko
19a472928d
More of changelog entries to close bugs addressed in this release
2013-11-16 22:58:15 -05:00
Yaroslav Halchenko
4dba65f685
debian/NEWS - information for change of default iptables action to REJECT now ( Closes : #711463 )
2013-11-16 22:30:31 -05:00
Yaroslav Halchenko
82174ea4c4
Changelog for preceding proftpd date format change
2013-11-16 22:18:51 -05:00
Yaroslav Halchenko
d4f6ca4f85
ENH: adding custom date format for proftpd when logging in its own log file (default on Debian) -- includes milliseconds
...
Should resolve Debian #648276
2013-11-16 22:15:58 -05:00
Yaroslav Halchenko
2d068572bc
debian/jail.conf - dropbear jail: use dropbear filter (instead of ssh) and monitor auth.log instead of non-existing /var/log/dropbear ( Closes : #620760 )
2013-11-16 21:35:04 -05:00
Yaroslav Halchenko
7d8dc0f322
fresh changelog
2013-11-16 21:30:15 -05:00
Yaroslav Halchenko
b2f5a79eeb
Merge tag '0.8.11' into debian
...
* tag '0.8.11':
DOC: finalise 0.8.11 release
BF/ENH: DoS resistant roundcube-auth with test cases and more variation in IMAP error given
BF: exim filter to be DoS resistant
ENH: DoS resistant dropbear filter
BF/ENH: asterisk connection ID is a hex not decimal number. Add "Rejecting unknown SIP connection from <HOST>" regex thanks to Jonathan Lanning
ENH: apache-2.4 message IDs for filter apache-noscript
TST: change source URL
ENH: apache-overflow filter to have HTTP-2.4 message IDs and test samples
ENH: apache-overflows - more detail on "request failed: URI too long (longer than %d)" with test case
TST: end of json in sshd sample log
TST: fix space in sshd sample log
TST: test case that shows injection
DOC: more on filter regexes - DEVELOP
DOC: filter regex debugging
BF: anchor introduced nginx-http-auth at the end
2013-11-16 21:19:48 -05:00
Daniel Black
88eff70774
ENH: filter.d/solid-pop3d added
2013-11-16 09:43:15 +11:00
Daniel Black
ed212fcdcc
DOC: new ChangeLog header
2013-11-16 09:40:05 +11:00
Daniel Black
84f915c1f7
fix nginx-http-auth lof file location and MANIFEST
2013-11-13 09:57:13 +11:00
Daniel Black
a7604c899f
DOC: list Wiki pages to update after a release
2013-11-13 09:43:36 +11:00
Daniel Black
1ac7b53cad
MRG: merge from master
2013-11-13 09:16:45 +11:00
Daniel Black
752ea054db
DOC: post release version change
2013-11-13 09:01:52 +11:00
Daniel Black
fc213a103e
Merge pull request #437 from grooverdan/0.8.11_release
...
DOC: finalise 0.8.11 release
2013-11-12 13:06:54 -08:00
Daniel Black
d0498bec69
DOC: finalise 0.8.11 release
2013-11-13 08:05:08 +11:00
Daniel Black
286d78e13c
Merge pull request #430 from grooverdan/apache-overflows
...
ENH: Apache overflows - httpd-2.4 message IDs + samples
2013-11-12 12:46:52 -08:00
Daniel Black
50ca16e50e
Merge pull request #431 from grooverdan/apache-noscript
...
ENH: apache-2.4 message IDs for filter apache-noscript
2013-11-12 12:46:09 -08:00
Daniel Black
947c6ff9cc
Merge pull request #433 from grooverdan/asterisk
...
BF/ENH: asterisk connection ID is a hex not decimal number. Add "Rejecting unknown SIP connection from " regex thanks to Jonathan Lanning
2013-11-12 12:45:52 -08:00
Daniel Black
38503a5848
Merge pull request #434 from grooverdan/dos-resistant-dropbear
...
ENH: DoS resistant dropbear filter
2013-11-12 12:45:12 -08:00
Daniel Black
62b1f98dff
Merge pull request #435 from grooverdan/dos-resistant-exim
...
BF: exim filter to be DoS resistant
2013-11-12 12:44:53 -08:00
Daniel Black
0d47ea3348
Merge pull request #436 from grooverdan/dos-resistant-roundcube-auth
...
BF/ENH: DoS resistant roundcube-auth with test cases and more variation from IMAP responses
2013-11-12 12:44:36 -08:00
Daniel Black
be60518218
BF/ENH: DoS resistant roundcube-auth with test cases and more variation in IMAP error given
2013-11-12 18:57:01 +11:00
Daniel Black
52972164a2
BF: exim filter to be DoS resistant
2013-11-12 18:13:35 +11:00
Daniel Black
c272573fe3
ENH: DoS resistant dropbear filter
2013-11-12 18:06:16 +11:00
Daniel Black
eb9663eb4f
BF/ENH: asterisk connection ID is a hex not decimal number. Add "Rejecting unknown SIP connection from <HOST>" regex thanks to Jonathan Lanning
2013-11-12 09:22:41 +11:00
Daniel Black
648d48c355
ENH: apache-2.4 message IDs for filter apache-noscript
2013-11-11 10:49:11 +11:00
Daniel Black
c81ed53805
TST: change source URL
2013-11-11 10:40:12 +11:00
Daniel Black
a4718eb644
ENH: apache-overflow filter to have HTTP-2.4 message IDs and test samples
2013-11-11 10:38:02 +11:00
Daniel Black
87516eb92b
ENH: apache-overflows - more detail on "request failed: URI too long (longer than %d)" with test case
2013-11-11 09:46:40 +11:00
Daniel Black
e8aa676cf5
Merge pull request #429 from grooverdan/filter-develop-doco
...
DOC: Filter development doco
2013-11-10 14:10:10 -08:00
Daniel Black
191c4fda1b
Merge pull request #428 from grooverdan/ssh-dos
...
TST: test case that shows injection into username
2013-11-10 13:39:03 -08:00
Daniel Black
f1c98a799f
Merge pull request #421 from grooverdan/sendmail-spam
...
ENH: multiline filter for sendmail-spam. Closes gh-418
2013-11-10 13:37:33 -08:00
Daniel Black
d90130234d
TST: end of json in sshd sample log
2013-11-11 08:29:54 +11:00
Daniel Black
061a26c408
TST: fix space in sshd sample log
2013-11-11 08:28:09 +11:00
Daniel Black
d955714d26
TST: test case that shows injection
2013-11-11 08:11:32 +11:00
Daniel Black
b8f40fef1b
DOC: more on filter regexes - DEVELOP
2013-11-11 08:08:10 +11:00
Yaroslav Halchenko
8f54c1990a
provide Closes statements for Debian bugs
2013-11-10 12:17:13 -08:00
Yaroslav Halchenko
a4ab39ea82
minor jail.conf tune ups. More needed to adopt the jails/filter added upstrean
2013-11-10 00:24:24 -08:00
Yaroslav Halchenko
93f30fe4f6
added patch changeset_ac061155f093464fb6cd2329d3d513b15c68e256.diff to "cherry-pick" ac061155f0 (BF: anchor introduced nginx-http-auth at the end)
2013-11-08 17:30:35 -08:00
Yaroslav Halchenko
521f8062bc
Changelog entry/new version
2013-11-08 17:29:55 -08:00
Yaroslav Halchenko
128c4c978d
Merge commit '0.8.11.pre1-29-gccd2657' into debian
...
* commit '0.8.11.pre1-29-gccd2657': (363 commits)
DOC: minor typos in ChangeLog
DOC: adding DEV Notes for for non-greedy matchin within sshd.conf
BF: disallow exploiting of non-greedy .* in previous fix by providing too long rhost -- do not impose length limits for user-provided input
BF: fixing injection for OpenSSH 6.3 -- making .* before <HOST> non-greedy
Changelog for prior changes (gen_buildbots)
ENH: condense asterisk regexs for speed
BF: missed action in nginx-http-auth
ENH: add filter.d/nginx-http-auth. Partially forfills #405
ENH: regenerated config/filter.d/apache-badbots.conf
NF: gen_badbots script to (re)generate/update config/filter.d/apache-badbots.conf
DOC: keeping Changelog release-phrases uniform, simplified intro, unified
DOC: Untabifying and reindenting a bit ChangeLog
DOC: few more links for DEVELOP
BF: fix dovecot filter for newer failure message. Closes Debian bug #709324
BF: fix to filter.d/wuftp to support pam authentication - Debian bug #665925
Add Fedora git repo of fail2ban package to DEVELOP
firewalld-0.3.8 release that support --remove-rules out so documenting this.
BF: remove duplication definition secion in webmin-auth
DOC: alter release notes a bit more and versions in README.md
BF/DOC: fix hopefully final MANIFEST and release instructions
...
2013-11-08 17:25:40 -08:00
Daniel Black
c5021b55f6
Merge pull request #427 from yarikoptic/bf/nginx-regex-injection
...
BF: anchor introduced nginx-http-auth at the end
2013-11-08 17:23:03 -08:00
Daniel Black
724c6bfd92
DOC: filter regex debugging
2013-11-09 10:35:13 +11:00
Yaroslav Halchenko
ccd26578ec
Merge pull request #425 from grooverdan/asterisk-simplify
...
ENH: condense asterisk regexs for speed
2013-11-08 14:42:35 -08:00
Yaroslav Halchenko
ac061155f0
BF: anchor introduced nginx-http-auth at the end
...
needed since request probably could be not a correct HTTP statement but continue with
all those to match till the end and then injected ", client: VICTIM, server..." thus allowing
injection. We better anchor at the end then
2013-11-08 14:40:52 -08:00
Yaroslav Halchenko
49024fe6ea
DOC: minor typos in ChangeLog
2013-11-08 14:36:56 -08:00
Yaroslav Halchenko
ea8fce6308
Merge pull request #426 from yarikoptic/bf/openssh6.3-regex-injection
...
openssh 6.3 regex injection vectors: inject into ruser and/or exploiting pre-specified limits set for user provided data
2013-11-08 14:35:18 -08:00
Yaroslav Halchenko
bf245f9640
DOC: adding DEV Notes for for non-greedy matchin within sshd.conf
2013-11-08 14:34:31 -08:00
Daniel Black
d6bbe03861
Merge pull request #424 from grooverdan/nginx-auth
...
ENH: add filter.d/nginx-http-auth. Partially forfils #405
2013-11-08 14:24:02 -08:00
Yaroslav Halchenko
a169badb95
Merge pull request #423 from yarikoptic/enh/gen_badbots
...
badbots filter: adding the script which was used + updated filter
2013-11-08 10:10:46 -08:00
Yaroslav Halchenko
750e0c1e3d
BF: disallow exploiting of non-greedy .* in previous fix by providing too long rhost -- do not impose length limits for user-provided input
...
since daemon might eventually change reported length and we would need to adjust anyways. So limiting
in length does not provide additional security but allows for a possible injection vector
2013-11-08 10:10:33 -08:00
Yaroslav Halchenko
abb012ae5c
BF: fixing injection for OpenSSH 6.3 -- making .* before <HOST> non-greedy
2013-11-08 10:00:37 -08:00
Daniel Black
a8a1310098
ENH: sendmail-spam - loose regex on email and domain bits so more likely to match. Added dev notes and author attribution/blame
2013-11-08 10:54:10 +11:00
Yaroslav Halchenko
eace931c19
Changelog for prior changes (gen_buildbots)
2013-11-07 15:47:25 -08:00
Daniel Black
d7560d4041
ENH: condense asterisk regexs for speed
2013-11-08 10:24:50 +11:00
Daniel Black
ab9d921162
BF: missed action in nginx-http-auth
2013-11-08 10:09:19 +11:00
Daniel Black
a148d35d70
ENH: add filter.d/nginx-http-auth. Partially forfills #405
2013-11-08 10:06:40 +11:00
Yaroslav Halchenko
4522308354
ENH: regenerated config/filter.d/apache-badbots.conf
2013-11-07 14:26:18 -08:00
Yaroslav Halchenko
6f321068f1
NF: gen_badbots script to (re)generate/update config/filter.d/apache-badbots.conf
2013-11-07 14:25:57 -08:00
Daniel Black
cb982ef921
ENH: multiline filter for sendmail-spam. Closes gh-418
2013-11-08 08:55:45 +11:00
Daniel Black
e91d40ee34
Merge pull request #420 from yarikoptic/enh/release-0.8.11
...
DOC: release 0.8.11 - ChangeLog tidy
2013-11-06 12:48:09 -08:00
Yaroslav Halchenko
28ee7ba123
DOC: keeping Changelog release-phrases uniform, simplified intro, unified
2013-11-06 14:04:30 -05:00
Yaroslav Halchenko
f26fba9c19
DOC: Untabifying and reindenting a bit ChangeLog
2013-11-06 13:47:45 -05:00
Daniel Black
0730db9b2b
Merge pull request #416 from grooverdan/debian-bug-665925-wuftpd-pam
...
BF: wuftpd pam filter fix (Debian bug 665925)
2013-11-05 18:39:01 -08:00
Daniel Black
20693ffb8e
Merge pull request #417 from grooverdan/debian-bug-709324-dovecot
...
BF: dovecot allow for newer fail message - Debian bug 709324
2013-11-05 18:38:29 -08:00
Daniel Black
5ebc386833
DOC: few more links for DEVELOP
2013-11-06 13:35:04 +11:00
Daniel Black
e55b24c533
BF: fix dovecot filter for newer failure message. Closes Debian bug #709324
2013-11-06 12:51:21 +11:00
Daniel Black
8b54523316
BF: fix to filter.d/wuftp to support pam authentication - Debian bug #665925
2013-11-06 12:13:37 +11:00
Daniel Black
d22214da79
Add Fedora git repo of fail2ban package to DEVELOP
2013-11-06 12:03:19 +11:00
Daniel Black
ac1f45d18c
Merge pull request #412 from grooverdan/firewalld
...
ENH: enhance firewall-cmd to use firewall-0.8.3's --remove-rules
2013-11-05 16:46:18 -08:00
Daniel Black
87f68d7564
firewalld-0.3.8 release that support --remove-rules out so documenting this.
2013-11-06 11:37:56 +11:00
Daniel Black
1405188bcc
Merge pull request #414 from grooverdan/0.8.11-merge-to-0.9
...
MRG: 0.8.11 merge to 0.9
2013-11-05 16:04:37 -08:00
Daniel Black
2f79e7cd49
TST: fix test case for testVariousTimes
2013-11-06 11:01:35 +11:00
Daniel Black
5189fa4c11
MRG: pruge moved test cases actionstestcase and clientreadertestcase
2013-11-06 10:40:11 +11:00
Daniel Black
ee1edfbf0c
BF: remove duplication definition secion in webmin-auth
2013-11-04 17:54:36 +11:00
Daniel Black
60006bd70f
BF: remove duplication definition secion in webmin-auth
2013-11-04 17:51:41 +11:00
Daniel Black
47d35c9d80
MRG: 0.8.11 to 0.9
...
Epnoc of selinux is now true UTC
Merge multiline support and date detection in filter
2013-11-02 15:59:05 +11:00
Daniel Black
a9fe3d5df9
DOC: alter release notes a bit more and versions in README.md
2013-10-31 14:44:14 +11:00
Daniel Black
5cefb8aff9
BF/DOC: fix hopefully final MANIFEST and release instructions
2013-10-31 11:30:07 +11:00
Daniel Black
6db9e64934
DOC: final updates to release doco
2013-10-31 10:56:45 +11:00
Daniel Black
4ec0e3f087
DOC: version 0.8.11.pre1
2013-10-31 10:51:37 +11:00
Daniel Black
3b2083b06d
DOC: ChangeLog header and merge
2013-10-31 10:44:40 +11:00
Daniel Black
f860307b57
DOC: update man pages. Add references to jail.conf from fail2ban-client man page
2013-10-31 10:27:30 +11:00
Daniel Black
fff996c8df
ENH: fix fail2ban-regex output to generate a man page with copyright notices
2013-10-31 10:26:49 +11:00
Daniel Black
a38be3f9ab
Merge branch 'master' of https://github.com/fail2ban/fail2ban
2013-10-31 09:13:57 +11:00
Daniel Black
b5c10488c1
Merge pull request #409 from grooverdan/filter-doco
...
DOC: in filters, put user relevant doc at top, and developer info at bot...
2013-10-30 15:11:46 -07:00
Daniel Black
5eddd5d12d
DOC: document required firewalld version as > 0.3.7.1
2013-10-31 09:10:59 +11:00
Daniel Black
2810f97fe5
DOC: merge ChangeLog
2013-10-31 09:07:06 +11:00
Daniel Black
27d257d5a6
Merge pull request #408 from grooverdan/dropbear
...
BF: filter.d/dropbear
2013-10-30 14:43:07 -07:00
Daniel Black
8ac6081555
ENH: fix to use upstream --remove-rules
...
https://fedorahosted.org/firewalld/ticket/10
2013-10-31 01:23:00 +11:00
Daniel Black
a5ac0a49e7
DOC: Version number changes in DEVELOP
2013-10-31 01:12:04 +11:00
Daniel Black
3a4ba2dba6
DOC: ChangeLog - TODO top summary before final release
2013-10-31 01:11:42 +11:00
Daniel Black
363d53e8d7
update man pages for release
2013-10-31 01:00:38 +11:00
Daniel Black
c19a685ee3
DOC: version 0.8.11.pre
2013-10-31 00:58:48 +11:00
Daniel Black
93de46ac72
BF: maxretry=5 for ssh as per DEVELOP. align = in jail.conf
2013-10-31 00:52:47 +11:00
Daniel Black
8441539988
DOC: reorder bits of changelog
...
The enhancements list was too long an maybe not always appropriate.
Reclassified changes to filters to catch new versions as bug fixes
since the new version of the application is effectively broken.
Moved large enhancements to New Features.
2013-10-31 00:43:02 +11:00
Daniel Black
c3f9c9aa60
BF: filter.d/dropbear
...
Add PAM failures which is in dropbear-2013.60 in srv-authpam.c
Patch
http://www.unchartedbackwaters.co.uk/files/dropbear/dropbear-0.52.patch
obviously has exit with lower case e so adjust regex for both.
svr-authpasswd.c in 2013.60 (at bottom) for second regex ends after the
IP so the regex was altered.
.*\s* can be compressed to .*
2013-10-31 00:21:30 +11:00
Daniel Black
89fd792dfb
DOC: in filters, put user relevant doc at top, and developer info at bottom, and remove all the repetative blindly copied stuff that appears in the jail man page
2013-10-31 00:02:59 +11:00
Daniel Black
de9977441a
DOC: move named and mysql instructions into the filters from jail.conf
2013-10-30 21:12:16 +11:00
Daniel Black
7ab909d056
DOC: space out jail.conf consistantly
2013-10-30 20:34:06 +11:00
Daniel Black
95f3f38682
MRG: merge ChangeLog and jail.conf
2013-10-30 20:19:41 +11:00
Daniel Black
c7b6d789ca
DOC: add ChangeLog for #392
2013-10-30 20:16:22 +11:00
Daniel Black
e3150044fd
BF: fix selinux
...
TST: ignore *common.conf files in test cases as these are included
BF: Remove USER_LOGIN from selinux-ssh as its a duplicate message
ENH: add sample jail.conf
2013-10-30 20:05:49 +11:00
Daniel Black
0f85aef609
Merge pull request #407 from grooverdan/dovecot-jail
...
ENH: Dovecot jail
2013-10-29 15:15:19 -07:00
Daniel Black
3cd179112f
Merge pull request #404 from grooverdan/f2b-client-logSys.err
...
BF: log errors to syslog and respect the showRet parameter
2013-10-29 15:12:26 -07:00
Daniel Black
7596b96d4f
TST: fix date in test comparison for dovecot
2013-10-30 09:05:09 +11:00
Daniel Black
a991adb83f
ENH: add submission, smtps and sieve to blocked ports since this also typically rely on dovecot auth
2013-10-29 14:33:45 +11:00
Daniel Black
8412303131
ENH: dovecot jail examples
2013-10-29 10:17:45 +11:00
Daniel Black
cde389cadc
ENH: additional tweek to dovecot regex based on http://chrisgilligan.com/portfolio/fail2ban-regex/
2013-10-29 10:15:54 +11:00
Daniel Black
7faba5d7a4
Merge pull request #406 from grooverdan/vsftp
...
ENH: vsftp improvements
2013-10-28 13:34:45 -07:00
Daniel Black
0c14707201
ENH: add dovecot jail
2013-10-26 10:01:04 +11:00
Daniel Black
d451c2a231
FIX: vsftp improvements from Rich Mellor on mailing list
2013-10-26 09:51:25 +11:00
Daniel Black
2782edce74
PKG: missing actions
2013-10-23 21:43:17 +11:00
Daniel Black
7d23c2c24c
DOC: simpler diff for MANIFEST examination
2013-10-23 21:43:03 +11:00
Daniel Black
7e1482536f
PKG: sasl -> postfix-sasl in Manifest
2013-10-23 21:39:11 +11:00
bes.internal
6eb57b7f49
Merge branch 'master' of https://github.com/fail2ban/fail2ban
2013-10-22 18:31:19 +03:00
bes.internal
7bbfe5c67c
Revert to upstream
2013-10-22 18:26:47 +03:00
Daniel Black
2b3e866f5f
BF: log errors to syslog and respect the showRet parameter
2013-10-22 23:25:43 +11:00
Daniel Black
8408e3fb0b
Merge branch 'selinux_filter' of github.com:grooverdan/fail2ban into selinux_filter
2013-10-22 23:19:42 +11:00
Daniel Black
88d8111db1
DOC: changelog for selinux-ssh too
2013-10-22 23:18:10 +11:00
Daniel Black
b61fe0f12d
Merge pull request #378 from grooverdan/sasl
...
ENH: filter.d/postfix-sasl - anchor regex at start and rename from filter.d/sasl
2013-10-22 04:51:24 -07:00
Daniel Black
d9e7bc67cd
Merge pull request #3 from grooverdan/selinux_ssh_filter
...
ENH: separate selinux and selinux-ssh
2013-10-22 04:49:32 -07:00
Daniel Black
92f9e049ee
TST: rename test log file to match
2013-10-22 22:44:49 +11:00
Daniel Black
4ecc063bd0
ENH: rename filter.d/sasl -> filter.d/postfix-sasl
2013-10-22 22:40:29 +11:00
Daniel Black
c2b76d1fd0
Merge pull request #397 from yarikoptic/_enh/unify_default_strings
...
DOC: enh/unify "Default:" strings
2013-10-22 04:36:41 -07:00
Daniel Black
11266af4e4
Merge pull request #396 from grooverdan/firewalld
...
ENH: Firewalld - closes gh-395
2013-10-22 04:34:10 -07:00
hazg
3114fed8d1
fixes
2013-10-21 15:32:34 +04:00
hazg
6cfce7345a
__commandGet fix
2013-10-21 15:22:40 +04:00
hazg
0c7487af24
logic fix
2013-10-21 13:06:19 +04:00
hazg
8e3c1b73e9
ignorecommand
2013-10-21 13:00:04 +04:00
Daniel Black
b4cbf82912
DOC: remove Default: on action firewall-cmd-direct-new
2013-10-15 08:34:42 +11:00
Yaroslav Halchenko
4149c7495d
Options in actions to be specified in jails have no "Default"s besides those specified in the files -- thus removing from comments
2013-10-14 16:29:16 -04:00
Yaroslav Halchenko
d12eb2526a
Fixing up default values in fail2ban.conf + unifying formatting
2013-10-14 16:28:19 -04:00
Yaroslav Halchenko
8c4ca29577
BF: correct comparison while comparing for "too many lines"
2013-10-14 16:15:36 -04:00
Daniel Black
9ca5db7059
DOC: firewalld distro agnostic
2013-10-15 06:51:51 +11:00
Daniel Black
f1bb08aa6a
ENH: base blocktype off iptables-blocktype.conf for firewall-cmd-direct-new.conf like other iptables based actions
2013-10-14 23:06:38 +11:00
Daniel Black
12f7ea7ec4
DOC: remove excessive comments from firewall-cmd-direct-new
2013-10-14 22:39:38 +11:00
Daniel Black
0d8d1ae26c
ENH: new action.d/firewall-cmd-direct-new.conf from Redhat Bugzilla #979622
2013-10-14 22:36:01 +11:00
Daniel Black
123ad1cc9c
MRG: Merge branch 'asterisk-common-jail'
2013-10-14 22:29:56 +11:00
Daniel Black
8421007f32
MRG: merge man/jail.conf.5 entries
2013-10-14 22:28:34 +11:00
Daniel Black
ef62d0d4c1
Merge pull request #391 from grooverdan/jail-mysql-doc
...
ENH: mysql syslog jail.conf base
2013-10-14 04:25:49 -07:00
Daniel Black
445c6e6009
Merge pull request #392 from grooverdan/config_order
...
ENH: order config as jail.conf, jail.d/*.conf, jail.local, jail.d/*.local
2013-10-14 04:25:05 -07:00
Daniel Black
e417a2112c
Merge pull request #386 from grooverdan/qmail
...
ENH: filter.d/qmail - anchor at start. Add another regex
2013-10-14 04:24:32 -07:00
Daniel Black
e227568c3b
Merge pull request #384 from grooverdan/dovecot-325
...
ENH: added to dovecot filter. closes gh-325
2013-10-14 04:23:03 -07:00
Daniel Black
0022cca786
Merge pull request #385 from grooverdan/ipset
...
ENH/BF: Ipset - add iptables-ipset-proto6-allports / use blocktype on iptables-ipset-proto6*
2013-10-14 04:21:52 -07:00
Daniel Black
ab246f5608
Merge pull request #387 from grooverdan/recidive
...
ENH: filter.d/recidive - replace ignore regex with a negative lookahead assertion
2013-10-14 04:21:19 -07:00
Daniel Black
7004253621
DOC: ensuring the MANIFEST is complete
2013-10-11 07:47:50 +11:00
Daniel Black
5275feafce
BF: update MANIFEST
2013-10-11 07:34:31 +11:00
Daniel Black
013f7b0891
DOC: Releasing shortlog
2013-10-11 07:11:44 +11:00
Daniel Black
09cae9f4f3
DOC: comment on comments in jail.conf.5
2013-10-11 06:51:34 +11:00
Daniel Black
8fe542ca9f
DOC: reintroduce comment on comments
2013-10-11 06:48:31 +11:00
Daniel Black
d6d51e352c
ENH: order config as jail.conf, jail.d/*.conf, jail.local, jail.d/*.local. closes gh-388
2013-10-11 00:06:13 +11:00
Daniel Black
6b6169178f
ENH: mysql syslog jail.conf base
2013-10-10 10:00:20 +11:00
Daniel Black
ee58696531
DOC: try to encourage jail.local jail.d/*.local a lot more
2013-10-10 09:56:52 +11:00
Daniel Black
6ef33981e3
ENH: new asterisk jail to replace asterisk-(tcp|udp) (now that gh-37 is fixed)
2013-10-10 09:41:05 +11:00
Daniel Black
6b519d54db
ENH: filter.d/recidive - replace ignore regex with a negative lookahead assertion
2013-10-10 07:13:37 +11:00
Daniel Black
351eb5ec8f
ENH: filter.d/qmail - anchor at start. Add another regex for http://www.tjsi.com/rblsmtpd/faq/ patch to rblsmtpd
2013-10-09 16:44:48 +11:00
Daniel Black
eb59a57b7f
ENH: tighten pam_unix expression for dovecot
2013-10-09 14:54:36 +11:00
Daniel Black
864d2f41b9
ENH: auth-worker as per of _daemon definition for dovecot
2013-10-09 14:52:17 +11:00
Daniel Black
2d1bd54439
Merge pull request #379 from grooverdan/webmin
...
ENH: filter.d/webmin anchor at start and use syslog
2013-10-08 20:13:14 -07:00
Yaroslav Halchenko
500968874e
Merge pull request #381 from grooverdan/suhosin
...
ENH: filter.d/suhosin - anchor regex at start
2013-10-08 19:49:51 -07:00
Yaroslav Halchenko
a7b1b802e0
Merge pull request #382 from grooverdan/vsftpd
...
Vsftpd
2013-10-08 19:47:38 -07:00
Yaroslav Halchenko
1a2354a3e1
Merge pull request #376 from grooverdan/develop-doco
...
DOC: http://sourcecodebrowser.com/ as a tip for development
2013-10-08 19:46:02 -07:00
Yaroslav Halchenko
f0b91fcede
Merge pull request #380 from grooverdan/sogo
...
ENH: filter.d/sogo-auth - anchor regex at start
2013-10-08 19:41:55 -07:00
Daniel Black
df313649a4
ENH: escape . in recidive filter
2013-10-09 12:32:06 +11:00
Daniel Black
1a5e17f2a3
BF: use blocktype for iptables-ipset-proto6*
2013-10-09 11:59:16 +11:00
Daniel Black
dcb845f17c
ENH: add iptables-ipset-proto6-allports for blocking all ports
2013-10-09 11:57:35 +11:00
Daniel Black
2a1d629d88
BF: webmin -> webmin-auth
2013-10-09 11:08:44 +11:00
Daniel Black
ab457acc4d
BF: fix name in action for uwimap-auth
2013-10-09 11:06:38 +11:00
Daniel Black
0beea03914
ENH: jail.conf example for webmin
2013-10-09 11:05:50 +11:00
Daniel Black
d60f470096
ENH: added to dovecot filter. closes gh-325
2013-10-09 10:09:06 +11:00
Daniel Black
5a2623f0df
ENH: reorder osx-ipfw jail defination to near the other ssh examples
2013-10-09 09:26:36 +11:00
Daniel Black
359210f224
ENH: filter.d/squirrelmail added
2013-10-08 20:37:33 +11:00
Daniel Black
46386412a4
ENH: filter.d/vsftpd - pam regex as syslog and anchored at start
2013-10-05 20:02:40 +10:00
Daniel Black
bc10c90ffe
ENH: filter.d/vsftpd - disable regex for Pam pre 0.99.2.0
2013-10-05 20:02:30 +10:00
Daniel Black
1519712972
ENH: filter.d/vsftpd anchor internal regex at start
2013-10-05 20:02:21 +10:00
Daniel Black
9637c27873
ENH: filter.d/suhosin - anchor regex at start
2013-10-05 19:39:39 +10:00
Daniel Black
13bcc9aa84
ENH: filter.d/sogo-auth - anchor regex at start
2013-10-05 19:27:07 +10:00
Daniel Black
b64bf3fa7b
ENH: filter.d/webmin anchor at start and use syslog
2013-10-05 19:18:44 +10:00
Daniel Black
f4c7c8f4b3
ENH: sasl - anchor regex at start
2013-10-05 18:59:41 +10:00
Daniel Black
c1d1c181ce
DOC: document time detector changes more thoroughly
2013-10-02 12:27:54 +10:00
Daniel Black
dd10eaa5c0
DOC: improve ChangeLog entry
2013-10-02 12:19:41 +10:00
Daniel Black
caf284d518
DOC: ChangeLog deconflict
2013-10-02 09:11:15 +10:00
Daniel Black
23dd734aa9
Merge pull request #366 from grooverdan/dovecot
...
ENH: dovecot regex to match failure reported by Bob Cohen on mailing lis...
2013-10-01 15:50:39 -07:00
Daniel Black
f998e01590
Merge pull request #359 from grooverdan/pureftpd
...
ENH: Pureftpd syslog prefixing and filter achoring
2013-10-01 15:14:33 -07:00
Daniel Black
ba8183b116
Merge pull request #372 from grooverdan/uw-imap
...
ENH: filter.d/uwimap-auth added. Closes #18
2013-10-01 15:13:11 -07:00
Daniel Black
262616f7a7
ENH: filter.d/uwimap-auth - failure of an admin override to regex
2013-10-01 22:32:57 +10:00
Daniel Black
9211179d30
ENH: filter.d/uwimap-auth - add "disabled" to regex
2013-10-01 22:10:33 +10:00
Daniel Black
5fe87c45f2
Merge pull request #375 from yarikoptic/enh/anchor_date_pattern
...
TST: explicitly test date patterns being anchored or not
2013-10-01 05:03:55 -07:00
Daniel Black
4649cf9608
ENH: separate selinux and selinux-ssh
2013-10-01 20:21:45 +10:00
Daniel Black
84cb55dcc8
DOC: http://sourcecodebrowser.com/ as a tip for development
2013-10-01 10:52:23 +10:00
Daniel Black
cbdf4ceedd
TST: test cases for uw-imapd thanks to Internet
2013-10-01 10:21:11 +10:00
Yaroslav Halchenko
fab3772a60
TST: explicitly test date patterns being anchored or not
2013-09-30 20:15:24 -04:00
Daniel Black
791183b639
ENH: filter.d/uwimap-auth - add SYSTEM BREAK-IN ATTEMPT
2013-10-01 10:10:53 +10:00
Daniel Black
a1eaa5f755
ENH: filter.d/selinxu added. Closes #296
2013-10-01 09:59:15 +10:00
Yaroslav Halchenko
c35d2844bd
Merge pull request #371 from grooverdan/ssh-6.3
...
BF: fix regex for openssh-6.3
2013-09-30 16:32:14 -07:00
Yaroslav Halchenko
c7728331c7
Merge pull request #369 from yarikoptic/master
...
Dealing with dangling symlinks -- avoid adding those files to server for monitoring
2013-09-30 16:28:54 -07:00
Daniel Black
c8e8478502
Merge pull request #373 from kwirk/selinux-epoch
...
ENH: Allow SE Linux epoch date detection
2013-09-30 16:11:44 -07:00
Daniel Black
778f09debe
DOC/ENH: __md5hex regex defination to common.conf. Document debian bug #
2013-10-01 09:03:33 +10:00
Steven Hiscocks
a8f2448349
ENH: Allow SE Linux epoch date detection
2013-09-30 20:58:24 +01:00
Daniel Black
b3b62d65bf
ENH: filter.d/uwimap-auth added. Closes #18
2013-09-29 18:06:27 +10:00
Daniel Black
f2ae20a3b8
BF: filter.d/sshd group on md5hex and () for serial needed to be escaped
2013-09-29 17:44:45 +10:00
Daniel Black
eaba732d5b
Merge pull request #370 from grooverdan/test
...
MRG: more unit tests
2013-09-29 00:41:33 -07:00
Daniel Black
2ad26682a9
DOC: ChangeLog for filter.d/sshd
2013-09-29 17:31:49 +10:00
Daniel Black
1eeb6e94bd
BF: fix regex for openssh-6.3
2013-09-29 17:28:33 +10:00
Daniel Black
8a458b45bc
TST: dummyjail in own class
2013-09-29 15:57:03 +10:00
Daniel Black
6224d761ab
BF: simplify
2013-09-29 15:49:45 +10:00
Daniel Black
86d3ee5373
TST: py2.5 compatibility - no with
2013-09-29 15:46:15 +10:00
Daniel Black
723ea964a7
TST: failmanager get/sets on FailTotal and MaxTime
2013-09-29 15:12:44 +10:00
Daniel Black
bcc16789d0
TST: test elements of DateTemplate base class
2013-09-29 15:02:38 +10:00
Daniel Black
b576c4718d
TST: add test cases for Actions
2013-09-29 14:52:59 +10:00
Daniel Black
891b436874
TST: more complete Action testing
2013-09-29 14:17:31 +10:00
Daniel Black
4d1c060e21
ENH: dont execute empty commands
2013-09-29 13:14:52 +10:00
Daniel Black
13a12589a3
BF: full traceback on fail2ban-testcases needs to set formatter
2013-09-29 12:21:01 +10:00
Daniel Black
911eb45557
TST pragma: no cover for missing json or for py2.5 json
2013-09-29 12:16:50 +10:00
Yaroslav Halchenko
dcaacad7e3
BF: do not pass dangling symlinks to the server to be monitored
...
This is more of a workaround I guess than a "solution". Ideally server
should be more clever and allow adding symlinks which eventually might
point to existing file. But that is probably would be too much complication
for a rare use case. User on the mailing list informed that then server
does not monitor even other files, thus as a quick workaround -- do not even add dangling links
2013-09-28 22:16:34 -04:00
Yaroslav Halchenko
cf76019cca
TST: that we do receive IOError if trying to feed broken symlink into path to be monitored by server
2013-09-28 21:59:11 -04:00
Daniel Black
e12d389c65
MRG/DOC: jail.conf resolution, ChangeLog fixes
2013-09-29 08:21:13 +10:00
Daniel Black
b8d9c07280
Merge pull request #368 from grooverdan/0.9_datedetmerge
...
MRG: general merge from master + date time zone
2013-09-28 15:18:20 -07:00
Daniel Black
c5ad2552b2
Merge pull request #364 from kwirk/journal-datedetector
...
ENH: Journal datedetector - fail2ban-regex date pattern setting
2013-09-28 15:17:34 -07:00
Daniel Black
74434694dc
BF: more duplicate jail.conf entries - 3proxy exim{,-spam}, perdition
2013-09-28 21:38:15 +10:00
Daniel Black
5cf25a63df
BF: remove duplicate ssh-pf in jail.conf
2013-09-28 21:31:45 +10:00
Daniel Black
7b52a578bd
BF: group _f for %f in strptime for py2.5 compatibility
2013-09-28 21:29:39 +10:00
Daniel Black
6fd2179725
BF: timefix
2013-09-28 21:15:01 +10:00
Daniel Black
30d1f003e1
BF: add multiline support
2013-09-28 20:56:48 +10:00
Daniel Black
a2c903586c
Merge pull request #367 from yarikoptic/master
...
DOC: additional pass over DEVELOP (just rephrasings, spaces, formatting)
2013-09-25 19:17:18 -07:00
Yaroslav Halchenko
e9504122b8
DOC: additional pass over DEVELOP (just rephrasings, spaces, formatting)
2013-09-25 22:12:36 -04:00
Daniel Black
3d6fa59b53
Merge pull request #361 from grooverdan/develop-filterdoc
...
DOC: more info on developing filters
2013-09-25 16:03:35 -07:00
Daniel Black
3ae78814e7
Merge pull request #365 from mmckinst/master
...
ENH: add support for the APF firewall
2013-09-25 15:58:54 -07:00
Mark McKinstry
b6bf26c9f2
dont' need to set a default name
2013-09-25 18:37:22 -04:00
Mark McKinstry
4187e87b69
don't enabel ssh-apf jail by default
2013-09-25 18:35:09 -04:00
Mark McKinstry
ea112b450b
add ChangeLog and THANKS entry
2013-09-25 18:04:05 -04:00
Mark McKinstry
f9f4d2728f
add an example jail for apf action and ssh filter
2013-09-25 17:59:37 -04:00
Mark McKinstry
2668adc896
Merge branch 'master' of github.com:fail2ban/fail2ban
2013-09-25 17:54:38 -04:00
Mark McKinstry
1af4543aca
ability to name the jail that banned the IP with apf
2013-09-25 17:52:34 -04:00
Mark McKinstry
dd9ee4c39a
quotes around the comment put in apf's deny_hosts.rules file
2013-09-25 17:51:25 -04:00
Mark McKinstry
e64493c328
use human readable/longer options when banning and un-banning IPs with apf
2013-09-25 16:44:10 -04:00
Mark McKinstry
c692912a82
don't hardcode absolute path for apf firewall
2013-09-25 16:38:45 -04:00
Mark McKinstry
66aff43d68
remove un-needed '$' line
2013-09-25 16:37:58 -04:00
Steven Hiscocks
011ccbc675
TST+BF: Fix bug in Filter.{get,set}DatePattern and improve tests
2013-09-24 22:25:17 +01:00
Steven Hiscocks
9c61adcad7
ENH+DOC: Allow setting of Epoch and TAI64N date pattern
...
Also add this to jail.conf man page
2013-09-24 22:11:04 +01:00
Daniel Black
05b4d2ce5b
BF: -D to deconflict with datedetector
2013-09-24 08:35:12 +10:00
Steven Hiscocks
e07df3f7d4
ENH: fail2ban-regex uses ISO8601 when using journal backend
...
Also fix setting of date pattern occurring too early, before filter
being created.
2013-09-22 18:14:04 +01:00
Steven Hiscocks
badf9d03b9
ENH: Allow setting of ISO8601 via datepattern (default for systemd)
2013-09-22 18:12:16 +01:00
Daniel Black
b3cd5ca807
BF: correct scope for datetime.now
2013-09-22 21:51:51 +10:00
Daniel Black
ca496f6d41
DOC: corrections and enhancements on DEVELOP
2013-09-22 16:23:04 +10:00
Daniel Black
8109467459
BF: use string replace rather than re.sub
2013-09-22 15:49:30 +10:00
Daniel Black
4b5ecbccd1
ENH: debuggex URLs with fail2ban-regex
2013-09-22 13:20:17 +10:00
Daniel Black
37de5462be
ENH: iso8601 - remove default_timezone set to UTC, isn't valid any more - calculate from local timezone. Enforce T date/time separator in iso8601 regex. Make minutes in timezone optional as per ISO8601. Use consistant regex for ISO8601
2013-09-21 11:47:24 +10:00
Daniel Black
a0676cdd1e
ENH: add date format 2005-01-23 21:59:59 (%Y-%m-%d %H:%M:%S) so ISO8601 doesnt handle it
2013-09-21 11:44:50 +10:00
Daniel Black
855d802ba8
ENH: more detail in debug messages in date/time detection
2013-09-21 10:31:26 +10:00
Daniel Black
0035c99d07
BF: remove unused function DateDetector.getUnixTime
2013-09-21 10:22:15 +10:00
Daniel Black
ec0670f6d5
BF: fix MyTime imports
2013-09-21 09:44:24 +10:00
Daniel Black
33aee14fcc
DOC: comment examples of date formats
2013-09-21 09:16:31 +10:00
Daniel Black
cfd9778f3c
TST: fix unicode on test strings
2013-09-20 21:43:27 +10:00
Daniel Black
d9f0438a8d
MRG: remerge in %z and %f datetime format
2013-09-20 21:18:44 +10:00
Daniel Black
0f283f8b6f
BF: wrong variable name in previous merge
2013-09-20 21:16:39 +10:00
Daniel Black
9805d39b60
MRG: merge date changes to support timezones
2013-09-20 18:22:32 +10:00
Daniel Black
8c2a5612ed
DOC: resolve ChangeLog conflicts
2013-09-19 19:38:28 +10:00
Daniel Black
2a805452c6
DOC: resolve ChangeLog conflicts
2013-09-19 19:28:39 +10:00
Daniel Black
8e9fab9b3c
Merge branch 'master' of https://github.com/fail2ban/fail2ban
2013-09-19 19:25:47 +10:00
Daniel Black
3be7dcd701
DOC: resolve ChangeLog conflicts
2013-09-19 19:23:02 +10:00
Daniel Black
2562b2f1bc
DOC: used spellchecker finally. Debuggex needs promotion more than donations
2013-09-19 19:18:04 +10:00
Daniel Black
3fac971a5a
DOC: more info on developing filters
2013-09-19 13:10:21 +10:00
Daniel Black
89e0520675
ENH: dovecot regex to match failure reported by Bob Cohen on mailing list
2013-09-19 08:25:50 +10:00
Yaroslav Halchenko
c046479f2a
Merge pull request #360 from grooverdan/proftpd
...
BF: fix daemon name typo for filter proftpd
2013-09-18 08:06:14 -07:00
Daniel Black
c3ee03b9ba
BF: fix daemon name typo for filter proftpd
2013-09-18 07:32:26 +10:00
Daniel Black
39ca8837eb
TST: pureftpd - syslog therefore use syslog prefixes in filter
2013-09-17 22:24:56 +10:00
Daniel Black
9ce1e33313
TST: pureftpd - everything I've seen suggests that pureftpd only does syslog - even back to 2004. Not sure how this second example came into existance
2013-09-17 22:24:28 +10:00
Daniel Black
ad5fb81f4b
TST: failJSON set match to false on longer supported pam version
2013-09-17 21:18:24 +10:00
Yaroslav Halchenko
596abde712
Merge pull request #352 from grooverdan/recidive
...
ENH: filter.d/recidive - anchor regex at start and support f2b SYSLOG target
2013-09-16 19:51:42 -07:00
Daniel Black
bec723b21d
TST: failJSON date fix
2013-09-17 10:51:48 +10:00
Daniel Black
30bb1a77a3
ENH: added syslog prefix to pam-generic filter. Disable regex match for pre 2006 (< 0.99.2.0) versions on linux-pam
2013-09-17 10:50:46 +10:00
Daniel Black
7e756dfada
TST: correct failJSON for www3.google.com -> www.google.com changes. Disable test case for pre-0.99.2.0 version of linux-pam failure messages
2013-09-17 10:48:09 +10:00
Daniel Black
8f41422262
TST: domains need to exist for fail2ban-regex to work
2013-09-17 10:09:19 +10:00
Daniel Black
ee497ff1cb
ENH: filter mysqld-auth can be a is a syslog based service so anchor it using syslog prefix
2013-09-17 07:57:19 +10:00
Daniel Black
13ec9d58c0
ENH: filter gssftpd is a syslog based service so anchor it using syslog prefix
2013-09-17 07:25:23 +10:00
Yaroslav Halchenko
bb32295b50
DOC: minor - untabified few entries in the ChangeLog
2013-09-16 09:49:24 -04:00
Daniel Black
50a6289f03
BF: handle 2.4 and %f in strftime
2013-09-16 18:50:19 +10:00
Daniel Black
673cc4d77f
ENH: anchor at end of recidive filter
2013-09-16 18:43:56 +10:00
Yaroslav Halchenko
38b07ca46e
BF: catch and report exceptions while executing commands in client interactive mode ( Close #353 )
2013-09-15 23:05:32 -04:00
Daniel Black
504111b0b1
ENH: filter.d/recidive - anchor regex at start and support f2b SYSLOG target
2013-09-16 01:22:42 +10:00
Daniel Black
2cefce5ee0
TST: testDateDetectorTemplateOverlap fix for python-2.5 without %f in strftime
2013-09-16 00:09:41 +10:00
Daniel Black
d8f73c0205
ENH: full timezone support
...
ISO8601 and %z based timezones now fully supported.
Restructured so log lines are also only parsed once and return
a unixtime and a pattern match.
Fix all test cases to adjust for the change in return value.
2013-09-15 23:44:30 +10:00
Daniel Black
422e2527c4
TST: correct failData - faildata in UTC+1 not UTC
2013-09-15 23:42:38 +10:00
Daniel Black
4997b30193
TST: add datetime method on mytime for rework of datedetector
2013-09-15 23:39:41 +10:00
Daniel Black
d875e8ca0d
TST: fix test data - TAI64N timedata was in UTC+1 DST rather than UTC+1
2013-09-15 23:38:44 +10:00
Daniel Black
b785076548
TST: fix test data to match parsing of timezone in UTC
2013-09-15 23:37:04 +10:00
Yaroslav Halchenko
f1adf75b59
ENH: basic testing for iso8601 code which had no explicit tests + spit out ValueError for incorrect type of input and ParseError otherwise
2013-09-12 23:12:18 -04:00
Yaroslav Halchenko
abc75b3022
ENH: simplify our formatExceptionInfo
...
Actually it was not that consistent before and e.g. could add () if
exception had no parameters and empty tuple. Simple str'ing seems to
provide the most consistent output and now would bring up our coverage %
2013-09-12 22:47:58 -04:00
Yaroslav Halchenko
660e0597a7
DOC: Adding Manuel Ramierz to THANKS (was on Wiki) and spacing our Nick Munger
2013-09-12 14:21:20 -04:00
Yaroslav Halchenko
851520436f
DOC: slight tune up of THANKS file to list Cyril's role there since now THANKS is pointed to from Wiki
2013-09-12 13:24:26 -04:00
Daniel Black
a87b77af59
Merge pull request #350 from beauraines/master
...
ENH: Added server name to subject line in email notifications
2013-09-10 06:25:23 -07:00
Beau Raines
060bd45295
ENH - Added server name to subject line in email notifications
...
This is useful when fail2ban is running on multiple servers and
keeping the notifictions separate and knowing which machine is "under
attack".
2013-09-08 15:21:58 -07:00
Daniel Black
8c1b828423
BF: capture of microseconds no longer needed. Closes gh-341
2013-09-09 03:41:12 +10:00
Daniel Black
d0098b0213
ENH: add timezone offest and subsecond support to Datedetector
2013-09-09 03:37:59 +10:00
Daniel Black
1f1a56174f
MRG: merge from master
2013-09-08 21:02:35 +10:00
Daniel Black
ad291d7e38
Merge pull request #346 from grooverdan/bsd-ipfw-default-unreach-port
...
BF: action.d/bsd-ipfw - use blocktype instead of unused action for icmp ...
2013-09-04 16:18:19 -07:00
Daniel Black
e5f1a7f050
Merge pull request #344 from grooverdan/osx
...
ENH: OSX ipfw based on Andy Fragen's work
2013-09-04 16:16:16 -07:00
Daniel Black
4face1f3e7
MRG: resolve conficts in action.d/osx-ipfw design
2013-09-05 09:07:10 +10:00
Andy Fragen
d258a51a23
after some research it looks like setting to unreachable better than deny
2013-09-04 11:28:03 -07:00
Daniel Black
317e82e144
TST: one more exim test case
2013-09-02 17:10:49 +10:00
Andy Fragen
fe557e5900
more specific actionunban
2013-09-01 13:09:51 -07:00
Andy Fragen
a4884f82cd
add mods from grooverdan and fix actionunban
...
actionunban still not working in grooverdan's mod. I made this one grep both <ip> and <port>. It should be more specific if the same <ip> is banned on multiple ports.
2013-08-31 08:39:19 -07:00
Yaroslav Halchenko
8ae55fe03b
ChangeLog entries (+few typo fixes) for the last merges
2013-08-31 10:04:03 -04:00
Yaroslav Halchenko
f1487bfb74
Merge pull request #240 from jpmx/master
...
bug fixed on redhat-initd
per @opoplawski blessing
2013-08-31 06:57:42 -07:00
Yaroslav Halchenko
1135ff5297
Merge pull request #319 from opoplawski/jail.d
...
Install empty /etc/fail2ban/jail.d and fail2ban.d directories
2013-08-31 06:55:33 -07:00
Yaroslav Halchenko
cd100ce274
Merge pull request #342 from grooverdan/datedetector_test
...
TST: improve datedetector error reporting
2013-08-31 06:53:59 -07:00
Daniel Black
6b0e2289d4
Merge pull request #335 from grooverdan/gh-333-bind
...
ENH: filter.d/named-refused.conf - BIND 9.9.3 regex changes. Closes gh-333
2013-08-30 21:34:22 -07:00
Daniel Black
f2bcf84893
BF: action.d/bsd-ipfw - use blocktype instead of unused action for icmp rejecting blocked packets
2013-08-31 11:40:04 +10:00
Daniel Black
749f215089
ENH: port optional
2013-08-31 11:07:15 +10:00
Daniel Black
8b22fa15b5
BF: reverted to simplier random rulenum. If your machine is handling 1000s of block the addition complexity isnt what you want
2013-08-31 11:03:01 +10:00
Daniel Black
b31799a322
ENH: add action.d/osx-afctl anonymously contributed on f2b wiki
2013-08-31 10:51:04 +10:00
Daniel Black
808aa1a792
ENH: added jail.conf example. closes gh-340
2013-08-31 09:39:21 +10:00
Daniel Black
5741348f45
ENH: more options and ruggedness to prevent unintensional consequences
2013-08-31 09:38:18 +10:00
Daniel Black
908d4adf6f
DOC: credits and thanks for Andy for osx-ipfw
2013-08-31 09:37:15 +10:00
Daniel Black
52bd0f86a8
Merge branch 'osx-ipfw' of https://github.com/afragen/fail2ban into osx
2013-08-31 09:09:04 +10:00
Daniel Black
7cc3e8a8c0
BF: Invert expression on actionstop in bsd-ipfw.conf to ensure exit status 0 on success. Closes gh-343
2013-08-31 08:59:02 +10:00
Daniel Black
2acaef9d89
TST: more detail in assertion
2013-08-29 09:17:13 +10:00
Orion Poplawski
71317332ec
Install empty /etc/fail2ban/fail2ban.d directory
2013-08-28 11:33:05 -06:00
Daniel Black
f2a60daea1
TST/BF: assertIsNotNone replaced with assertNotEqual for python 2.4 compatibility
2013-08-28 12:55:21 +10:00
Daniel Black
13b4f176ab
TST: improve datedetector error reporting
2013-08-28 12:41:20 +10:00
Daniel Black
15f2f38972
ENH: anchor regex at start
2013-08-28 12:32:40 +10:00
Daniel Black
d5684a0834
BF: filter.d/routecube-auth - time offset can be positive or negative
2013-08-28 11:57:38 +10:00
Daniel Black
cbed57bffd
TST: fix year in named-bind test case
2013-08-28 08:52:56 +10:00
Daniel Black
a401d11644
ENH: add regex for bad zone transfer request/ TST: add test for bind-9.9 zone transfer denied
2013-08-28 00:53:08 +10:00
Andy Fragen
ef504c869f
added osx specific ipfw action with random rulenum
2013-08-26 16:06:23 -07:00
Yaroslav Halchenko
265a85ec1f
RF: do not catch for now "invalid nonce \S* received - hash is not \S*" -- imho needs more analysis
2013-08-26 09:48:56 -04:00
Daniel Black
5dfceee8cf
Merge pull request #339 from grooverdan/lighttpd
...
ENH: Lighttpd filter enhancements - tighten regex
2013-08-25 15:56:42 -07:00
Daniel Black
b8e7d0b867
ENH: further tighten lighttpd basic auth regex
2013-08-26 08:51:40 +10:00
Daniel Black
a7ebb84a7d
ENH: tighted up lighttpd regex
2013-08-26 08:42:45 +10:00
Daniel Black
1aabee20f6
DOC: credits for gh-338
2013-08-26 08:42:00 +10:00
Daniel Black
ac6c852374
Merge pull request #338 from sciunto/lightty1.4
...
MAINT: add support for lightty1.4.31
2013-08-25 14:52:36 -07:00
François Boulogne
e133b9f1d1
MAINT: add support for lightty1.4.31
2013-08-25 21:29:43 +02:00
Daniel Black
867c41b8d1
Merge pull request #336 from grooverdan/exim
...
ENH: filter.d/exim.conf - add authentication failures for "plain" authen...
2013-08-25 06:29:42 -07:00
Daniel Black
ca4729e943
ENH: filter.d/exim.conf - add authentication failures for "plain" authentication
2013-08-25 23:02:10 +10:00
Daniel Black
ef903db3c9
ENH: filter.d/named-refused.conf - BIND 9.9.3 regex changes. Closes gh-333
2013-08-25 22:44:30 +10:00
Daniel Black
cfb7dba268
DOC: merge ChangeLog
2013-08-25 21:26:13 +10:00
Daniel Black
b589533d69
Merge branch 'master' into kwirk-merge
...
Conflicts:
ChangeLog
testcases/files/logs/dropbear
2013-08-25 21:21:14 +10:00
Daniel Black
fd7cc5bda7
BF: duplicate regex match fixed
2013-08-25 21:13:11 +10:00
Daniel Black
ced271b908
ENH: date for apache-2.4 - adds milliseconds
2013-08-25 21:11:47 +10:00
Daniel Black
62c13c15d6
TST: reorder and condense error message for Multiple regexs matched
2013-08-25 21:02:30 +10:00
Daniel Black
9a1df3501b
TST: display details of duplicate matches
2013-08-25 20:19:42 +10:00
Daniel Black
6a56727669
BF: apache-common regex - datetime could be entirely consumed
2013-08-25 18:30:30 +10:00
Daniel Black
cb61fcd326
TST: standardise output format on Time mismatch test
2013-08-25 18:11:54 +10:00
Daniel Black
8e467437b2
TST: fix year on asctime
2013-08-25 18:09:39 +10:00
Yaroslav Halchenko
c84a2e595a
ENH(BF): put 'standard' template after more detailed ones with day of week and year
...
otherwise years present in the freshly contributed by Dan apache regexes do not match
although should have. I had also to adjust failing now vsftpd test
2013-08-25 17:52:12 +10:00
Daniel Black
21914d155e
TST: add failJSON data
2013-08-25 17:49:09 +10:00
Daniel Black
1d9702be32
TST: datetime mismatch to show error line
2013-08-25 17:34:36 +10:00
Daniel Black
0204cec5ce
TST: www.example.com DNS changed
2013-08-25 17:06:10 +10:00
Daniel Black
a9eb8a76c6
merge of change log and apache-auth differences
2013-08-25 16:51:35 +10:00
Steven Hiscocks
4e5feed7fc
Merge pull request #8 from grooverdan/gh-303-merge-2
...
training space on wuftp
2013-08-21 12:21:09 -07:00
Steven Hiscocks
53d8a46e8a
Merge pull request #7 from grooverdan/gh-303-merge
...
Gh 303 merge
2013-08-21 12:20:48 -07:00
Steven Hiscocks
a38958fc78
Merge pull request #5 from grooverdan/postfix-vrfy2
...
Postfix vrfy2
2013-08-21 12:20:18 -07:00
Daniel Black
aad7d08451
BF: disable filter expressions without tests
2013-08-20 07:33:35 +10:00
Yaroslav Halchenko
42f3aa9f62
Merge pull request #329 from grooverdan/bind-unauth-zonetransfer
...
Bind unauth zonetransfer. Closes #323
2013-08-19 06:48:13 -07:00
Yaroslav Halchenko
47e9f6c48e
Merge pull request #330 from grooverdan/mailx-arg-order
...
BF: dsshield+complain: order mailx arguments with dest email address last
2013-08-19 06:44:15 -07:00
Daniel Black
6a36ff1a4a
BF: order mailx arguments with dest email address last - redhat bugzilla 998020. Closes gh-328
2013-08-19 22:36:58 +10:00
Daniel Black
c44328b1a3
ENH: new "realm mismatch" message from https://issues.apache.org/bugzilla/show_bug.cgi?id=55284#c8
2013-08-19 22:04:55 +10:00
Daniel Black
ea7cba4205
ENH: trailing space as per discussion on gh-303
2013-08-19 21:42:43 +10:00
Daniel Black
ed42b08789
TST: merge dropbear log samples
2013-08-19 21:25:33 +10:00
Daniel Black
61d43608ae
ENH: filter.d/postfix - add filter for VRFY. Closes gh-322
2013-08-19 18:42:39 +10:00
Daniel Black
4f39d2b1fd
TST: fix failJson year
2013-08-18 23:04:53 +10:00
Daniel Black
444e989dd5
TST: another zone transfer refused example for file named-refused
2013-08-18 22:49:59 +10:00
Daniel Black
5d451bc4d6
ENH: add refused zone tranfer to named-refused filter. closes #323
2013-08-18 22:19:31 +10:00
Orion Poplawski
d3ce9e860f
Install empty /etc/fail2ban/jail.d directory
2013-08-09 14:39:06 -06:00
Steven Hiscocks
53e16e07ad
ENH: Minor tweak on previous commit proftpd regex changes
2013-08-09 19:04:26 +01:00
Steven Hiscocks
9002de069e
ENH: Improve proftpd regex.
...
Taken from @yarikoptic comment:
https://github.com/fail2ban/fail2ban/pull/303#discussion_r5687500
2013-08-09 18:54:08 +01:00
Yaroslav Halchenko
2aa8ddea4d
BF: fixed up conditioning of tests under cygwin (still 3 fail)
2013-08-08 22:58:06 -04:00
Yaroslav Halchenko
a120ff191a
Merge pull request #317 from opoplawski/paths
...
Use /var/run/fail2ban in config/action.d/dummy.conf
2013-08-08 19:46:28 -07:00
Orion Poplawski
31a78b2711
Use /var/run/fail2ban in config/action.d/dummy.conf
2013-08-08 20:41:44 -06:00
Yaroslav Halchenko
e75fa74994
Merge pull request #316 from opoplawski/paths
...
Change /tmp/fail2ban.sock to /var/run/fail2ban/fail2ban.sock
2013-08-08 19:37:48 -07:00
Yaroslav Halchenko
511e0ace2e
TST: Even more of conditioning of tests for cygwin
2013-08-08 22:35:07 -04:00
Orion Poplawski
67497db6e5
Change /tmp/fail2ban.sock to /var/run/fail2ban/fail2ban.sock
2013-08-08 20:28:55 -06:00
Yaroslav Halchenko
e4dad8dfc9
TST: SYSLOG present only on Linuxes thus do not test if not Linux
2013-08-08 22:00:17 -04:00
Yaroslav Halchenko
e7d5e466b9
Merge branch 'enh/asterisk_and_dropbear_filters'
...
* enh/asterisk_and_dropbear_filters:
ENH: hardened added dropbear failregex to avoid trailing .* and enclose username in ''
minor: consistent indentation in dropbear.conf
https://github.com/fail2ban/fail2ban/issues/306
fail2ban-users: Sebastian Arcus - Detect device auth failures on Asterisk 11
2013-08-08 09:59:24 -04:00
Yaroslav Halchenko
4e0ddc5f67
ENH: hardened added dropbear failregex to avoid trailing .* and enclose username in ''
2013-08-08 09:58:36 -04:00
Yaroslav Halchenko
9487ee5562
minor: consistent indentation in dropbear.conf
2013-08-08 09:54:15 -04:00
Yaroslav Halchenko
c0456fd835
BF: Fixing a name for MySQL date pattern which misplaced Year (should not effect functionality) Closes #312
2013-08-08 09:47:47 -04:00
Yaroslav Halchenko
547c123cfb
BF: example.com is pointing to another IP now. Closes #313
...
This is a permanent change according to private correspondence with
David Closson @ IANN, thus replaced 192.0.43.10 with updated IP
93.184.216.119, while leaving 192.0.43.10 as is in the sample log
files (it is still within IANN dedicated testing network).
2013-08-07 22:56:57 -04:00
Daniel Black
c0a2e50559
TST: apache auth - opaque value
2013-08-06 17:13:09 +10:00
Daniel Black
04ff9450b5
BF: testcases is a package that needs to be installed. Thanks to Michael Danko on irc
2013-07-29 10:45:15 +10:00
Daniel Black
d8883f4346
DOC: Notes about 401 responses and how apache logs this
2013-07-29 08:59:25 +10:00
Daniel Black
7b2773889d
TST: apache-auth filter - nonce timetravel tests + other expression fixes
2013-07-29 02:29:04 +10:00
Daniel Black
52aaa1c9bb
TST: bad include of vim swap files
2013-07-28 22:01:51 +10:00
Daniel Black
0fb04cb2f0
ENH: filter enhancements on mod-digest (with test cases) for apache-auth (httpd-2.4.4)
2013-07-28 22:00:55 +10:00
Daniel Black
d5291517a7
MISC: merge from master
2013-07-28 19:43:54 +10:00
Daniel Black
56faf7f5ad
DOC: fix ChangeLog merge
2013-07-28 18:02:38 +10:00
Steven Hiscocks
1e270078b4
TST: Warn if date templates overlap in default detectors
2013-07-27 20:21:05 +01:00
Steven Hiscocks
088e7f92aa
ENH: fail2ban-regex uses iterable for files and journal access
2013-07-27 12:35:42 +01:00
Steven Hiscocks
879c1a32f7
ENH: fail2ban-regex now uses iteraable for log file
...
Previosuly, the whole file was read in first
2013-07-27 11:36:01 +01:00
Steven Hiscocks
af46cd0e4f
ENH: fail2ban-regex now sorts date templates, similar to actual filters
...
Sort occurs every 10 lines, as to not overly effect performance
2013-07-27 11:34:10 +01:00
Jamyn Shanley
a355fab91b
https://github.com/fail2ban/fail2ban/issues/306
...
Fix regex for latest dropbear (keep backwards compatibility). Add test case logfiles.
Signed-off-by: Jamyn Shanley <jshanley@gmail.com >
2013-07-27 03:43:32 +00:00
Jamyn Shanley
8936f2cd02
fail2ban-users: Sebastian Arcus - Detect device auth failures on Asterisk 11
2013-07-27 00:06:06 +00:00
Steven Hiscocks
3392190924
DOC: Point to jail.conf(5) manpage when date not matched by datedetector
2013-07-26 18:14:31 +01:00
Steven Hiscocks
9fb926ebae
DOC: Add datepattern to jail.conf man page
2013-07-26 17:55:20 +01:00
Steven Hiscocks
11100a2fc0
DOC: Changelog additions for regex changes
2013-07-26 17:20:05 +01:00
Steven Hiscocks
bf021ebd97
TST: Mandate that all filters and each regex has sample log entry
2013-07-26 17:05:17 +01:00
Steven Hiscocks
1c7d28d1ea
TST: Add qmail sample log
2013-07-26 17:03:14 +01:00
Steven Hiscocks
5437f5fe90
TST: Add gssftpd sample log
2013-07-26 17:02:53 +01:00
Steven Hiscocks
f7d8e68738
TST: Add apache-badbots sample log
2013-07-26 12:32:29 +01:00
Steven Hiscocks
2f4aaa9fb9
ENH: Simplify sieve filter failregex
2013-07-26 12:01:09 +01:00
Steven Hiscocks
b5639a8672
ENH: Simplify cyrus-imap filter fail regex
2013-07-26 11:55:09 +01:00
Steven Hiscocks
27feb57e80
Merge pull request #299 from kwirk/datepatterns-dateregex
...
Custom date templates and date detector changes
2013-07-26 03:53:40 -07:00
Yaroslav Halchenko
1721991755
Merge pull request #304 from yarikoptic/master
...
RF(ENH): JailsReader.getOptions -- avoid code duplication when asking for 1 jail or all
upon @kwirk blessing ;)
2013-07-25 18:45:10 -07:00
Daniel Black
2d52fc3d18
Merge pull request #302 from grooverdan/perdition
...
ENH: new filter perdition.conf
2013-07-23 18:31:27 -07:00
Daniel Black
8f532f9148
NIT: space remove
2013-07-24 11:29:58 +10:00
Daniel Black
7d7ef08145
ENH: authentication_id can be an imap4 quoted string, whatever that is, so using .+ as its id
2013-07-24 10:44:52 +10:00
Daniel Black
abc4146079
ENH: perdition proxies other types hence daemon can include (perdidtion.(imap|pop)s?|managesieve). Also support local authentication resulting in the log message: local authentication failure
2013-07-24 10:27:12 +10:00
Yaroslav Halchenko
3b52eca608
ENH+TST: Ticket -- drop unused/bogus get|setFile + enh __str__ + basic testing
2013-07-22 12:09:33 -04:00
Yaroslav Halchenko
149a83545f
TST: basic test for reading of a bogus jail
2013-07-22 11:52:51 -04:00
Yaroslav Halchenko
b92316ff17
RF(ENH): JailsReader.getOptions -- avoid code duplication when asking for 1 jail or all
2013-07-22 11:47:36 -04:00
Steven Hiscocks
37f240bef0
TST: Add sample log for php-url-fopen filter
2013-07-21 22:13:37 +01:00
Steven Hiscocks
cf1e5bdbc2
ENH: Tweak proftpd regex and add sample logs
...
Needed to add optional ":" post __pid_re, and for consistency, decided
to make use of __prefix_line instead which includes this.
2013-07-21 22:03:49 +01:00
Steven Hiscocks
e59a4960a3
TST: Add additional sample log line for apache-noscript
2013-07-21 16:48:12 +01:00
Steven Hiscocks
8b9bafda79
ENH: Change lighttpd-fastcgi to suhosin, and improve regex and samples
...
suhosin is hardened php implmentation, which will log the alerts (as
seen in samples) to stderr, which is picked up by fastcgi webserver
(e.g. lighttpd, apache, nginx)
2013-07-21 16:35:37 +01:00
Steven Hiscocks
4033857f63
ENH: Improve xinetd-fail regex and add sample logs
2013-07-21 15:44:09 +01:00
Steven Hiscocks
b5ffbced37
TST: Sample test cases now handle ignoreregex and add recidive samples
2013-07-21 15:31:32 +01:00
Steven Hiscocks
e7b7815de3
TST: Add additional sshd sample logs
2013-07-21 15:22:44 +01:00
Daniel Black
0de02f9ab0
Merge pull request #300 from kwirk/ejabberd-auth
...
ENH: Add ejabberd-auth filter and sample log lines
2013-07-20 15:39:01 -07:00
Steven Hiscocks
a11f91b835
ENH: Improve cyrus-imap regex and add extra sample line
2013-07-20 17:28:28 +01:00
Steven Hiscocks
534be189dc
ENH: Improve sieve regex and add sample line
2013-07-20 17:26:09 +01:00
Steven Hiscocks
d791ba12ba
TST: Add sample log for dropbear filter
2013-07-20 16:54:28 +01:00
Steven Hiscocks
ab671b0b1a
ENH: Improve wuftpd failregex, drop duplicate pam regex and add sample
...
For wu-ftpd configured to use pam, the pam filter used be used, as regex
is more robust.
2013-07-20 16:34:24 +01:00
Steven Hiscocks
57a6c11260
ENH: Improve courierlogin regex and add sample logs
2013-07-20 15:53:18 +01:00
Steven Hiscocks
bd175f0267
ENH: Improve cyrus-imap regex and add sample log file
2013-07-20 15:38:29 +01:00
Steven Hiscocks
83a80a29ea
ENH: Improve couriersmtp and add sample logs
2013-07-20 15:34:00 +01:00
Steven Hiscocks
eb2f0c9272
ENH: Improve postfix regex and add more samples
2013-07-20 15:31:21 +01:00
Daniel Black
5cfe108186
ENH: filter enhancements (with test cases) for apache-auth (httpd-2.4.4)
2013-07-20 22:21:08 +10:00
Daniel Black
bdcde678d1
TST: fix year
2013-07-20 15:15:02 +10:00
Daniel Black
6fdfd8d356
BF: fix port
2013-07-20 15:09:25 +10:00
Daniel Black
eea5b071e6
ENH: jail for perdition
2013-07-19 20:27:15 +10:00
Daniel Black
fcf79b475f
ENH: new filter perdition.conf
2013-07-19 20:14:53 +10:00
Steven Hiscocks
a012b54117
TST: Add additional postfix filter sample
2013-07-18 22:17:31 +01:00
Steven Hiscocks
2a3a627322
TST: Add sample for sieve regex
2013-07-18 22:17:14 +01:00
Steven Hiscocks
26b472f70f
ENH: Add ejabberd-auth filter and sample log lines
2013-07-18 21:31:51 +01:00
Yaroslav Halchenko
60aa44f42d
DOC: added a note on commit comments for merges with Conflicts
2013-07-18 14:43:41 -04:00
Daniel Black
fa85be2eea
DOC/TST: fix configuration path for apache-auth test cases
2013-07-18 08:37:05 +10:00
Steven Hiscocks
2b6ecfe56a
TST: More verbose when multiple regexs matched in sample test case
2013-07-17 22:25:27 +01:00
Steven Hiscocks
7c3a2a0223
ENH: Allow setting of date pattern as part of filter config Init section
2013-07-17 21:27:19 +01:00
Steven Hiscocks
614fb8505e
BF: globally make HEAVYDEBUG logging level when importing fail2ban
2013-07-17 21:12:48 +01:00
Steven Hiscocks
674e1d82f4
TST: vsftpd fail data update due to recent date pattern changes
2013-07-17 21:12:16 +01:00
Steven Hiscocks
bf86edb3ae
BF: ISO8601 format now returns time in local time zone
2013-07-17 21:11:29 +01:00
Steven Hiscocks
d661b8c046
BF: Apache regex and sample fail data update due to date pattern changes
2013-07-17 21:09:30 +01:00
Steven Hiscocks
72430e805d
Merge branch 'datepatterns' into datepatterns-dateregex
...
Conflicts:
bin/fail2ban-regex
fail2ban/client/beautifier.py
fail2ban/server/datedetector.py
2013-07-17 21:07:09 +01:00
Daniel Black
03ec7c211b
ENH: could not find a way to trigger filter ^%(_apache_error_client)s authorization failure \(no authenticated user\): \S*\s*$
2013-07-18 00:37:33 +10:00
Daniel Black
8ce9c78474
TST: apache-auth digest logs
2013-07-18 00:36:17 +10:00
Daniel Black
f8b5b3a1ef
ENH: apache-auth - quite a lot of authorization failure messages depending on module. Make a wildcard
2013-07-17 23:31:44 +10:00
Daniel Black
4eca2c0bd5
TST: apache-auth client denied by server configuration
2013-07-17 23:24:19 +10:00
Daniel Black
e0292913eb
ENH/TST: filter, testcase and log entry for apache-auth authorization scheme mod_authz_owner
2013-07-17 23:05:04 +10:00
Daniel Black
40cc336cd5
TST: testcases and logs for apache-auth basic
2013-07-17 22:46:04 +10:00
Steven Hiscocks
05fac65a50
BF: fail2ban-regex multiline regex matches no longer in missed lines
...
Closes #263
Closes #282
2013-07-17 00:08:43 +01:00
Steven Hiscocks
c61ba9f0de
ENH+BF: Allow multi lines regex to be tested with samples test case
...
Multi line regex currently only flags on last line, and other lines must
be labelled as not matched.
TODO: Create extension to fail JSON data to allow tying together of
multiple lines
2013-07-16 23:47:28 +01:00
Steven Hiscocks
774c9ce4fd
BF: setup.py build now includes sample log files for tests
2013-07-16 23:37:44 +01:00
Steven Hiscocks
1eea0dcec8
Merge branch 'master' into 0.9
...
Conflicts:
ChangeLog
bin/fail2ban-regex
bin/fail2ban-testcases
config/jail.conf
fail2ban/server/failregex.py
fail2ban/server/filter.py
fail2ban/tests/files/logs/lighttpd
fail2ban/tests/files/logs/mysqld.log
fail2ban/tests/files/logs/wu-ftpd
fail2ban/tests/filtertestcase.py
fail2ban/tests/utils.py
testcases/files/logs/lighttpd
testcases/files/logs/lighttpd-auth
testcases/files/logs/mysqld-auth
testcases/files/logs/mysqld.log
testcases/files/logs/wu-ftpd
testcases/files/logs/wuftpd
2013-07-16 23:16:22 +01:00
Steven Hiscocks
bf05f2ac95
Merge branch 'filter-failregex-return'
...
Conflicts:
server/filter.py
2013-07-16 21:17:18 +01:00
Steven Hiscocks
ba29f6bef3
DOC: Update doc in reference to changes for sample testcases
2013-07-16 21:11:10 +01:00
Steven Hiscocks
c2bdfefb62
DOC: Comment to fail2ban-regex - flagging lines matched multiple regexs
2013-07-16 20:58:44 +01:00
Yaroslav Halchenko
e4d759ac94
Merge pull request #283 from yarikoptic/master
...
Roundcube failregex -- anchor at the beginning as well + mandate <HOST> to end with alphanumeric
2013-07-16 12:49:25 -07:00
Yaroslav Halchenko
90ec82669c
DOC: changelog entries for preceeding changes
2013-07-16 15:10:41 -04:00
Yaroslav Halchenko
f6a8a04cf3
ENH: roundcube-auth - adopt for current format with trailing error message. thanks @kwirk for the review/feedback
...
I also used non-greedy .*? for the login portion since not sure if space could
be there and trying to minimize possibility of reacting on injected "from
<HOST>" somewhere within the trailing .*
2013-07-16 15:07:32 -04:00
Yaroslav Halchenko
0a02cfe9e8
ENH: <HOST> must end with alphanumeric \w (not a dot or a dash etc)
...
Otherwise <HOST> regexp might swallow period in the sentence right after the address.
I have decided to enforce alphanumeric instead of switching to non-greedy +? ... because
I think it is closer to what we actually want here
2013-07-16 15:03:06 -04:00
Yaroslav Halchenko
8add63c733
ENH: anchor roundcube-auth at the beginning as well
2013-07-16 14:16:23 -04:00
Yaroslav Halchenko
148cbd8d2a
ENH: heavier debugging -- log split date/log line even for no match. Log matching regex upon match
2013-07-16 14:16:23 -04:00
Steven Hiscocks
1a2b6442a0
ENH+BF+TST: Filter now returns reference to failregex and ignoreregex
...
This avoids duplication of code across fail2ban-regex and samples test
cases. This also now more neatly resolves the issue of double counting
date templates matches in fail2ban-regex.
In addition, the samples test cases now also print a warning message
that not all regexs have samples for them, with future plan to change
this to an assertion.
2013-07-15 22:22:13 +01:00
Yaroslav Halchenko
5bd186b854
ENH(minor): fail2ban-regex comment line doesn't have to have a space after leading #
2013-07-15 13:52:42 -04:00
Steven Hiscocks
2c8747cc76
BF: fail2ban-regex date detector template hits count now correct
...
closes #295
2013-07-15 18:40:32 +01:00
Steven Hiscocks
4855cae487
Merge branch 'sample-log-meta-data'
...
Conflicts:
testcases/files/logs/dovecot
2013-07-14 18:29:36 +01:00
Steven Hiscocks
1116f23151
TST: Sample log regex test now warns if no log for a filter
...
Also checks that at least some tests are present
2013-07-14 18:19:16 +01:00
Yaroslav Halchenko
6ee2323fa1
Merge pull request #285 from kwirk/python3-config-unicode
...
BF+DOC: All fail2ban config files are UTF-8 decoded for python3
2013-07-14 07:31:57 -07:00
Yaroslav Halchenko
e562515df7
Merge pull request #292 from grooverdan/solaris-doc
...
DOC: shorten example and provide clarification and spelling fix
2013-07-14 07:13:20 -07:00
Steven Hiscocks
728399c39e
Merge pull request #281 from kwirk/dovecot-filter
...
ENH: dovecot filter additions for session, time value and blank user
2013-07-14 05:18:04 -07:00
Daniel Black
6e4b144164
DOC: fix for README.Solaris. Thanks Steven.
2013-07-14 21:43:14 +10:00
Steven Hiscocks
94376bfbe1
TST: Handle lack of json library in python2.5 for samples test case
2013-07-14 11:15:45 +01:00
Daniel Black
ab10664b57
ENH: action.d/hostsdeny to take daemon_list arguement as suggested in README.Solaris
2013-07-14 16:20:21 +10:00
Daniel Black
09850d6ba5
DOC: shorten example and provide clarifcation and spelling fixes
2013-07-14 10:25:06 +10:00
Steven Hiscocks
40f67c64b8
TST: Test sample logs' entries are matched by filter regexs
2013-07-13 23:03:01 +01:00
Steven Hiscocks
606e97683b
BF: jail.conf multiport actions previously using single port iptables
2013-07-12 23:34:04 +01:00
Daniel Black
1bb427cc14
TST: remove dup test log entry
2013-07-12 09:09:24 +10:00
Daniel Black
975999591f
ENH/DOC: more realm mismatch errors. Documented filter design criteria
2013-07-12 07:39:18 +10:00
Daniel Black
bf54db7ce7
ENH: ChangeLog notes for apache-auth enhancements
2013-07-11 23:10:44 +10:00
Daniel Black
10e3be857a
ENH: apache-auth filter added mod_auth_digest message
2013-07-11 23:08:46 +10:00
Daniel Black
384b72a535
ENH: apache-auth filter - client wrong auth
2013-07-11 22:58:36 +10:00
Daniel Black
fce431add8
ENH: add mod_authz_core failures to apache-auth
2013-07-11 22:28:27 +10:00
Daniel Black
6ce41a611d
BF: fix filter on apache-auth. Closes #286
2013-07-11 22:13:51 +10:00
Steven Hiscocks
acf9e51d98
BF+DOC: All fail2ban config files are UTF-8 decoded for python3
2013-07-10 22:18:53 +01:00
Daniel Black
e433a5c633
Merge pull request #260 from grooverdan/develop
...
DOC: developing filters without DoS + close/fix/resolves messages in commits
2013-07-08 15:52:26 -07:00
Daniel Black
424da92601
DOC: close message for commits.
2013-07-09 08:51:11 +10:00
Daniel Black
1d6d5a7aae
DOC: ChangeLog merge confict
2013-07-09 08:41:28 +10:00
Daniel Black
174e3dba6d
DOC: Note on new dependency - ed for hosts_deny
2013-07-09 08:36:53 +10:00
Daniel Black
5412d7336f
DOC: ChangeLog confict
2013-07-09 08:23:44 +10:00
Daniel Black
1f5097649c
DOC: ChangeLog for exim-spam.conf filter and tabs->spaces in changelog
2013-07-09 08:20:13 +10:00
Yaroslav Halchenko
965c07cb26
debian/watch - restrict version matching only to numbers and period (to exclude alpha releases of 0.9 series)
2013-07-08 10:08:35 -04:00
Yaroslav Halchenko
5f04b4954f
Merge pull request #280 from yarikoptic/master
...
BF+ENHs: polling backend tracks ino and size now in addition to mtime, filters do not read file unless it has content + few other minor issues
2013-07-07 08:33:55 -07:00
Daniel Black
619603fe05
BF: match asterisk InvalidPassword correctly
2013-07-07 17:48:20 +10:00
Steven Hiscocks
25f06f779d
TST: Execute action timeout test almost equal assertion more forgiving
2013-07-05 18:56:47 +01:00
Steven Hiscocks
3dbe2c04ca
BF: fail2ban now don't print maxlines twice when using ignoreregex
...
Also read failregex first, as more natural place to get maxlines value
from.
2013-07-05 18:47:08 +01:00
Steven Hiscocks
bfa2b9dec3
ENH: dovecot filter additions for session, time value and blank user
2013-07-05 18:36:02 +01:00
Yaroslav Halchenko
04b8069cee
ENH: adjust sendmail-whois 'active' example to have also sendername in it
2013-07-05 10:12:29 -04:00
Yaroslav Halchenko
e332efb7cd
Merge pull request #279 from 7adietri/feature/configurable-sender-name
...
Move sendmail settings to common file, make sender name configurable
2013-07-05 07:09:20 -07:00
Alexander Dietrich
2155f6bfa5
Update ChangeLog and jail.conf example
2013-07-04 08:57:52 +02:00
Yaroslav Halchenko
e282d6b1c7
ENH: Remove unused any longer _ctime helper
2013-07-03 00:09:39 -04:00
Yaroslav Halchenko
404574499d
BF: fail2ban-testcases -- use full "warning" instead of warn for the verbosity dictionary
2013-07-02 23:52:37 -04:00
Yaroslav Halchenko
5df6796e69
ENH: DNS resolution -- catch parent exception
...
IMHO there is no good reason to capture only gaierror.
on my network it was consistent to error out with
======================================================================
ERROR: testIgnoreIPNOK (testcases.filtertestcase.IgnoreIP)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/yoh/deb/gits/fail2ban/testcases/filtertestcase.py", line 166, in testIgnoreIPNOK
self.assertFalse(self.filter.inIgnoreIPList(ip))
File "/home/yoh/deb/gits/fail2ban/server/filter.py", line 277, in inIgnoreIPList
ips = DNSUtils.dnsToIp(i)
File "/home/yoh/deb/gits/fail2ban/server/filter.py", line 625, in dnsToIp
return socket.gethostbyname_ex(dns)[2]
error: [Errno 11] Resource temporarily unavailable
with this commit tests would pass normally as they should
2013-07-02 23:51:09 -04:00
Yaroslav Halchenko
5d7ab9e7fb
DOC: Changelog for preceding changes
2013-07-02 23:38:27 -04:00
Yaroslav Halchenko
47ac39fb34
TST: minor enhancement to test failure msg
2013-07-02 23:37:41 -04:00
Yaroslav Halchenko
8d25e83f5d
BF: race condition -- file should not be read unless it is not empty
...
Previous code would store md5sum of an empty line as the one
identifying the monitored file. That file then was read and possibly
failures were found. Upon next "container.open()", md5 digest of now
present first line was compared against previous digest of an empty
line, which was different, thus file was assumed to be rotated and all
the log lines were read once again.
The History
-----------
In rare cases various tests failed somewhat consistently. Below you
can find one case in test_move_file where such failure really made no
sense -- we should have not had 4 failures by that point.
Fail2ban 0.8.10.dev test suite. Python 2.4.6 (#2 , Sep 25 2009, 22:22:06) [GCC 4.3.4]. Please wait...
I: Skipping gamin backend testing. Got exception 'No module named gamin'
I: Skipping pyinotify backend testing. Got exception 'No module named pyinotify'
D: fn=/home/yoh/test/monitorfailures_FilterPoll9nUKoCfail2ban-0 hashes=d41d8cd98f00b204e9800998ecf8427e/d41d8cd98f00b204e9800998ecf8427e inos=5398862/5398862 pos=0 rotate=False
D: Adding a ticket for ('193.168.0.128', 1124013599.0, ['Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n'])
D: Adding a ticket for ('193.168.0.128', 1124013599.0, ['Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n'])
D: Closed <closed file '/home/yoh/test/monitorfailures_FilterPoll9nUKoCfail2ban-0', mode 'r' at 0x7f472b2efdc8> with pos 1231
D: fn=/home/yoh/test/monitorfailures_FilterPoll9nUKoCfail2ban-0 hashes=d41d8cd98f00b204e9800998ecf8427e/aeb4e73e6922a746d027eb365ece2149 inos=5398862/5398862 pos=1231 rotate=True
D: Adding a ticket for ('193.168.0.128', 1124013599.0, ['Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n'])
D: Adding a ticket for ('193.168.0.128', 1124013599.0, ['Aug 14 11:59:59 [sshd] error: PAM: Authentication failure for kevin from 193.168.0.128\n'])
D: Closed <closed file '/home/yoh/test/monitorfailures_FilterPoll9nUKoCfail2ban-0', mode 'r' at 0x7f472b2ef558> with pos 1231
F
======================================================================
FAIL: test_move_file (testcases.filtertestcase.MonitorFailures<FilterPoll>(/home/yoh/test/monitorfailures_FilterPoll9nUKoCfail2ban))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/yoh/deb/gits/fail2ban/testcases/filtertestcase.py", line 451, in test_move_file
"Queue must be empty but it is not: %s."
AssertionError: Queue must be empty but it is not: server.ticket.FailTicket: ip=193.168.0.128 time=1124013599.0 #attempts=4.
----------------------------------------------------------------------
N.B.1 I preserved here and in the code corresponding additional debug
print statements, which are commented out by default. sensible md5
digest was generated by using hexdigest() instead of current a bit
faster digest(). Running tests with all the debug output simply
breaks the race loose and failure doesn't trigger.
N.B.2 d41d8cd98f00b204e9800998ecf8427e is an md5sum of an empty
string, and aeb4e73e6922a746d027eb365ece2149 of the first line in that
file.
2013-07-02 23:37:23 -04:00
Yaroslav Halchenko
052e7ff9da
ENH: deprecate sophisticated MTimeSleep in favor of no sleeping at all
...
all invocations of mtimesleep() are left in the tests for now
2013-07-02 20:44:28 -04:00
Yaroslav Halchenko
f340e5c0f5
ENH(+possibly BF): for FilterPoll rely not only on mtime but also ino and size to assess if file was modified
...
mtime alone is a poor measure here as many of our tests shown -- on older Pythons and some file systems
mtime might be reported only with precision up to a second. If file gets rotated fast, or there are new
modifications within the same second, fail2ban might miss them with Polling backend if judging only by
mtime. With this modification we will track also inode and size which are all indicative of a file
change.
2013-07-02 20:43:51 -04:00
Yaroslav Halchenko
8c125b6053
ENH: do not sleep 1 sec only on older Pythons while testing filters
2013-07-02 19:50:22 -04:00
Yaroslav Halchenko
2ffc143597
ENH: more of heavydebug'ing for FilterPoll
2013-07-02 19:49:41 -04:00
Daniel Black
256f60adae
DOC: improved log message
2013-07-03 09:01:24 +10:00
Daniel Black
d6dece4900
ENH: Split log and provide jail examples
2013-07-03 07:42:47 +10:00
Yaroslav Halchenko
e9c8a51ce4
ENH: further tighten up detection of mtimesleep duration + log what was assigned
2013-07-02 17:26:41 -04:00
Yaroslav Halchenko
591590860a
BF: setSleepTime -- would barf since value is not str (wasn't used/tested)
2013-07-02 17:11:24 -04:00
Yaroslav Halchenko
8f3671bc94
BF: figure out minimal sleep time needed for mtime changes to get detected. Close #223 , and probably #103
2013-07-02 17:10:00 -04:00
Alexander Dietrich
da594075f3
Move sendmail settings to common file, make sender name configurable
2013-07-02 20:30:41 +02:00
Yaroslav Halchenko
e6ebcf6687
Merge branch 'dovecot' of https://github.com/grooverdan/fail2ban
...
* 'dovecot' of https://github.com/grooverdan/fail2ban :
ENH: remove non-capturing groups for readibility
BF: fix dovecot filter for when no TLS is enabled on pop/imap
Conflicts:
ChangeLog -- changelog entries. Also untabified few other spots
2013-07-02 10:12:51 -04:00
Yaroslav Halchenko
f0f237fa05
Merge pull request #269 from grooverdan/asterisk
...
ENH: filter.d/asterisk - consolidate log prefix regex and add a few fail messages
2013-07-02 07:04:10 -07:00
Daniel Black
e6823149a1
ENH: remove non-capturing groups for readibility
2013-07-02 20:16:43 +10:00
Daniel Black
aebd24ec54
BF: replace with ed so its cross platform, fixes permission problem gh-266, and Yaroslav doesn't revert to perl
2013-07-02 20:09:27 +10:00
Daniel Black
4777cfd4e7
ENH: split out exim-spam into speparate filter
2013-07-02 20:03:16 +10:00
Yaroslav Halchenko
54cce29b3e
Merge pull request #271 from yarikoptic/master
...
BF: support apache 2.4 more detailed error log format. Close #268
Thanks @grooverdan for the review
2013-07-01 20:52:36 -07:00
Yaroslav Halchenko
6df949b29a
Merge pull request #277 from yarikoptic/0.9
...
ENH: ban also submission port (587) for all smtp-related jails
2013-07-01 20:30:16 -07:00
Yaroslav Halchenko
70ae1ed68b
ENH: ban also submission port (587) for all smtp-related jails
...
see http://www.rfc-editor.org/rfc/rfc4409.txt
and http://en.wikipedia.org/wiki/Mail_submission_agent
Users of advanced setups might like to split those into multiple jails anyways
to have separate control over submission agents and incoming mail servers.
2013-07-01 14:50:02 -04:00
Yaroslav Halchenko
8960b5734a
debian/jail.conf - added "submission" (port 587) to all SMTP-related jails ( Closes : #714632 ). Thanks Tony den Haan for the report
2013-07-01 14:38:39 -04:00
Daniel Black
c7d64c3c7f
TST: url reference fix
2013-07-01 21:58:03 +10:00
Daniel Black
ca996ace5e
ENH: remove temporary failures from local_scan in line with comments in gh-258
2013-07-01 21:56:02 +10:00
Daniel Black
9757e1df2b
ENH: make groupings non-capturing
2013-07-01 21:53:05 +10:00
Daniel Black
72f9e6a51e
ENH/TST: more samples and rejection types for sender verify fail and rejected RCPT
2013-07-01 21:50:35 +10:00
Daniel Black
3b76fc79f9
BF: fix dovecot filter for when no TLS is enabled on pop/imap
2013-07-01 21:12:51 +10:00
Daniel Black
c2696fe641
DOC: enhance development doc to show how CVE-2013-2178 was done
2013-06-30 15:03:13 +10:00
Steven Hiscocks
8513fde92a
BF: Skip error in jail reader when no log files and with systemd backend
...
Updated to avoid logpath elements entirely
2013-06-30 00:50:15 +01:00
Steven Hiscocks
1aee817be2
BF: Skip error in jail reader when no log files and with systemd backend
2013-06-29 23:26:40 +01:00
Steven Hiscocks
379b4860a1
TST: Fix test for MultipleSameAction with no logs files
2013-06-29 20:36:09 +01:00
Steven Hiscocks
1dbba35cd9
Merge branch 'master' into 0.9
...
Conflicts:
fail2ban/client/jailreader.py
fail2ban/tests/clientreadertestcase.py
fail2ban/tests/files/logs/sshd
2013-06-29 20:31:26 +01:00
Steven Hiscocks
b670b5c792
TST: Change depreciated assertEquals to assertEqual in some tests
2013-06-29 20:17:42 +01:00
Steven Hiscocks
ec0680d73a
BF: fail2ban-regex when using ignoreregex file with empty regex
2013-06-29 19:17:22 +01:00
Steven Hiscocks
88bee24edb
DOC: Neaten format for fail2ban-regex maxlines print
2013-06-29 19:14:42 +01:00
Steven Hiscocks
d081a71759
BF: fail2ban-regex on python3+
2013-06-29 13:57:12 +01:00
Steven Hiscocks
5ca6a9aeb6
Merge branch 'systemd-journal' into 0.9
...
Conflicts:
bin/fail2ban-regex
config/filter.d/sshd.conf
Closes github #224
2013-06-29 13:00:40 +01:00
Daniel Black
0086a7edab
ENH: missed a $
2013-06-29 11:30:37 +10:00
Yaroslav Halchenko
1b170b2aef
BF: support apache 2.4 more detailed error log format. Close #268
2013-06-28 09:49:36 -04:00
Yaroslav Halchenko
0fe93cf992
Merge branch 'master' of git://github.com/fail2ban/fail2ban
...
* 'master' of git://github.com/fail2ban/fail2ban:
2013-06-27 11:44:55 -04:00
Yaroslav Halchenko
6d331bcbea
BF: make colon after [daemon] optional. Close #267
2013-06-27 11:44:47 -04:00
Daniel Black
fa7a105483
ENH: filter.d/asterisk - consolidate log prefix regex and add a few fail messages
2013-06-27 09:16:14 +10:00
Yaroslav Halchenko
b20159a715
Merge pull request #265 from yarikoptic/master
...
Improve fail2ban-client errors logging/handling -- fail if no log file could be read, dump logs to stderr
2013-06-24 07:09:10 -07:00
Yaroslav Halchenko
b9e971c25d
Merge branch 'exim' of https://github.com/grooverdan/fail2ban
...
* 'exim' of https://github.com/grooverdan/fail2ban :
DOC: credits/blame to me for changes to exim
ENH: new exim filter regexs. Also note a begining PID in this format. Thanks to ftoppi for the log entries
TST/ENH: Improve regex around exim
2013-06-23 00:21:28 -04:00
Yaroslav Halchenko
057f0ad135
ENH: allow_no_files option for jail's convert to allow testing of stock jail.conf
2013-06-21 12:44:37 -04:00
Yaroslav Halchenko
61f81c6b2f
Changelog entries with close statements for recent changes
2013-06-21 11:12:44 -04:00
Yaroslav Halchenko
27947407bc
ENH: raise an exception if not a single file was found for the jail. Close #63
2013-06-21 11:12:44 -04:00
Yaroslav Halchenko
b6be8b8243
ENH/RF: remove __readJailConfig in favor of __readConfig + catch/error exceptions while reading the configuration
2013-06-21 11:12:44 -04:00
Yaroslav Halchenko
2974cac40c
RF: log all logging output from fail2ban-client to stderr. Close #264
...
otherwise it
1. 'interferes' with meaninful output of the client
2. if ERROR is logged it better go to stderr and separating ERROR from other levels is not that transparent with python's logging
2013-06-21 11:12:36 -04:00
Yaroslav Halchenko
278b49f52d
debian/jail.conf: pure-ftpd jail should monitor syslog not auth.log.
...
Thanks Laurent Léonard for the report
2013-06-21 10:48:32 -04:00
Yaroslav Halchenko
01d637e9c0
status calls would dump all output to /dev/null
2013-06-19 22:19:40 -04:00
Yaroslav Halchenko
b89e6ca770
BF: debian/fail2ban.init - fixed handling of the return code from do_start/do_stop
2013-06-19 21:56:35 -04:00
Steven Hiscocks
f87c53fa52
BF: fail2ban-regex adding duplicate lines with each regex
...
This is another fix on top of e73b3dd to correctly resolve this issue
2013-06-19 20:03:19 +01:00
Steven Hiscocks
123ec3da13
BF: Incorrect import for 0.9 branch in fail2ban-regex
2013-06-19 20:02:49 +01:00
Yaroslav Halchenko
8487cb2e90
Merge commit '0.8.10-31-g1ab0f0f' into 0.9
...
* commit '0.8.10-31-g1ab0f0f': (24 commits)
BF/ENH: Incorrect authentication data doesn't need tailier so that's optional. Also gained log entry for Unrouteable address
ENH: readibility thanks to Yaroslav
DOC: Changelog for fail2ban-regex RF
DOC: Changelog for asterisk hardening
ENH: fail2ban-regex -- add specification of loglevels to enable
RF: reworked -regex cmdline tool to use optparse, some unification and enhancement of outputs
ENH: 'heavydebug' level == 5 for even more debugging in tricky cases
ENH: asterisk -- use \S instead of [^:] + prefix failregex with ^\[
BF: missed a space
BF: [SSL-out] is optional in assp
ENH: regex hardening on assp
ENH: anchor a bit mor. Use \d and \w where possible. Escape a literal .
TST: attempts at injection with username=rhost=1.2.3.4 have no user= logged in dovecot-1.2.15
ENH: proftpd chan accept usernames with spaces
ENH: injection of fail data into USER field
ENH: dovecot regexs rewritten and extra failures
ENH: proftp regex hardening and log messages
ENH/BF: exim improvements with sample
BF: fix to proxy port in 3proxy example
ENH: sample log + more specific regex
...
Conflicts: -- it was a messy merge/resolution.
ChangeLog
bin/fail2ban-regex
fail2ban-testcases
fail2ban/server/filter.py
2013-06-18 20:21:23 -04:00
Steven Hiscocks
9b8eaa90ef
ENH: Reorder date regex and remove duplicate ISO8601 format
2013-06-18 22:19:53 +01:00
Yaroslav Halchenko
1ab0f0f9e3
Merge branch 'master' of https://github.com/yarikoptic/fail2ban
...
* 'master' of https://github.com/yarikoptic/fail2ban :
DOC: Changelog for fail2ban-regex RF
ENH: fail2ban-regex -- add specification of loglevels to enable
RF: reworked -regex cmdline tool to use optparse, some unification and enhancement of outputs
ENH: 'heavydebug' level == 5 for even more debugging in tricky cases
Conflicts:
ChangeLog
2013-06-15 10:52:05 -04:00
Daniel Black
25c3bbfc2f
DOC: credits/blame to me for changes to exim
2013-06-16 00:25:24 +10:00
Daniel Black
b8cfda68b8
ENH: new exim filter regexs. Also note a begining PID in this format. Thanks to ftoppi for the log entries
2013-06-16 00:19:37 +10:00
Daniel Black
ee786671aa
DOC: developing filters without DoS
2013-06-15 13:17:09 +10:00
Daniel Black
d441d61a1e
TST/ENH: Improve regex around exim
...
rejected by local_scan now has test cases.
Unrouteable address error messages now normalised after looking into
exim code.
2013-06-15 12:34:16 +10:00
Yaroslav Halchenko
9d4b613ee4
Merge branch '3proxy' of https://github.com/grooverdan/fail2ban
...
* '3proxy' of https://github.com/grooverdan/fail2ban :
BF: fix to proxy port in 3proxy example
ENH: sample log + more specific regex
BF: authentication errors end in 01-09 but the beginning part indicates the service as per https://github.com/fail2ban/fail2ban/issues/246#issuecomment-19327955 thanks to ykimon
BF: need to anchor the start to avoid another repeat of DoS injection like Apache
ENH: stricter regex thanks to Steven Hiscocks (kwirk)
DOC: credits
Conflicts:
ChangeLog
2013-06-14 12:32:51 -04:00
Yaroslav Halchenko
173fe48e77
Merge branch 'exim' of https://github.com/grooverdan/fail2ban
...
* 'exim' of https://github.com/grooverdan/fail2ban :
BF/ENH: Incorrect authentication data doesn't need tailier so that's optional. Also gained log entry for Unrouteable address
ENH: readibility thanks to Yaroslav
ENH/BF: exim improvements with sample
Conflicts:
ChangeLog
2013-06-14 12:28:07 -04:00
Yaroslav Halchenko
ec629ab4e8
Merge branch 'proftpd' of https://github.com/grooverdan/fail2ban
...
* 'proftpd' of https://github.com/grooverdan/fail2ban :
ENH: proftpd chan accept usernames with spaces
ENH: injection of fail data into USER field
ENH: proftp regex hardening and log messages
Conflicts:
ChangeLog
2013-06-14 12:16:59 -04:00
Yaroslav Halchenko
ab2c738b43
Merge branch 'dovecot' of https://github.com/grooverdan/fail2ban
...
* 'dovecot' of https://github.com/grooverdan/fail2ban :
TST: attempts at injection with username=rhost=1.2.3.4 have no user= logged in dovecot-1.2.15
ENH: dovecot regexs rewritten and extra failures
Conflicts:
ChangeLog -- merged entries
2013-06-14 12:14:40 -04:00
Daniel Black
8cc13b5b40
BF/ENH: Incorrect authentication data doesn't need tailier so that's optional. Also gained log entry for Unrouteable address
2013-06-14 18:12:53 +10:00
Daniel Black
a433a8ea5f
ENH: readibility thanks to Yaroslav
2013-06-14 15:21:50 +10:00
Yaroslav Halchenko
948be73115
Merge branch 'assp' of https://github.com/grooverdan/fail2ban
...
* 'assp' of https://github.com/grooverdan/fail2ban :
BF: missed a space
BF: [SSL-out] is optional in assp
ENH: regex hardening on assp
Conflicts:
ChangeLog -- merged the two entries into 1
2013-06-13 23:32:45 -04:00
Yaroslav Halchenko
77044fce35
DOC: Changelog for fail2ban-regex RF
2013-06-13 23:21:48 -04:00
Yaroslav Halchenko
9b351350dd
DOC: Changelog for asterisk hardening
2013-06-13 23:19:28 -04:00
Yaroslav Halchenko
e91419d361
ENH: fail2ban-regex -- add specification of loglevels to enable
2013-06-13 23:19:28 -04:00
Yaroslav Halchenko
ffe381d91c
RF: reworked -regex cmdline tool to use optparse, some unification and enhancement of outputs
2013-06-13 23:19:28 -04:00
Yaroslav Halchenko
97f9cfc0b0
ENH: 'heavydebug' level == 5 for even more debugging in tricky cases
...
I mocked logging library directly -- seems to be Ok.
2013-06-13 23:19:28 -04:00
Yaroslav Halchenko
09302c5c25
ENH: asterisk -- use \S instead of [^:] + prefix failregex with ^\[
...
detected date portion is stripped from the string to be matched, so it is not only
the right ] is left, but also the left one ;-)
2013-06-13 23:15:48 -04:00
Daniel Black
7018d81244
BF: missed a space
2013-06-14 12:35:44 +10:00
Daniel Black
a447aa615d
BF: [SSL-out] is optional in assp
2013-06-14 12:27:35 +10:00
Daniel Black
d4940563d3
ENH: regex hardening on assp
2013-06-14 08:55:25 +10:00
Daniel Black
6a09ecff5c
ENH: anchor a bit mor. Use \d and \w where possible. Escape a literal .
2013-06-14 08:41:50 +10:00
Daniel Black
e8b6acfa65
TST: attempts at injection with username=rhost=1.2.3.4 have no user= logged in dovecot-1.2.15
2013-06-14 00:53:03 +10:00
Daniel Black
9940cd1b6b
ENH: proftpd chan accept usernames with spaces
2013-06-14 00:29:43 +10:00
Daniel Black
2e2ec5d1f5
ENH: injection of fail data into USER field
2013-06-14 00:17:41 +10:00
Daniel Black
dbe7ffe050
ENH: dovecot regexs rewritten and extra failures
2013-06-13 23:52:15 +10:00
Daniel Black
4c67a269bf
ENH: proftp regex hardening and log messages
2013-06-13 22:11:05 +10:00
Daniel Black
3e3802512a
ENH/BF: exim improvements with sample
2013-06-13 17:44:18 +10:00
Daniel Black
88b4598ed8
BF: fix to proxy port in 3proxy example
2013-06-13 14:43:15 +10:00
Yaroslav Halchenko
f6cb981fc0
Merge commit '0.8.10-1-g460e09a' into 0.9
...
* commit '0.8.10-1-g460e09a':
it was not the end of the world and we should continue
DOC: add information on where to report vulnerabilities + pointer to HOWTO_Seek_Help
Changes for 0.8.10 release (changelog, version, etc)
BF: anchor apache- filters. Close #248
DOC: credits for gh-244
Filter Asterisk: Add sample log entry to testcase.
Filter Asterisk: Add AUTH_UNKNOWN_DOMAIN error to list
ENH: purge a few more .*
DOC: credits
DOC: how to do filter enhancements
TST: normalize logs to use example.com and 1.2.3.4 as IP
ENH/BF: constrain regex. Fix ACL error regex
ENH: port optional
Update asterisk
Update asterisk.conf
Conflicts:
ChangeLog
DEVELOP
README.md
fail2ban/version.py
2013-06-12 21:30:47 -04:00
Yaroslav Halchenko
460e09af66
it was not the end of the world and we should continue
2013-06-12 21:22:26 -04:00
Daniel Black
9dbaec0894
ENH: sample log + more specific regex
2013-06-13 10:23:14 +10:00
Daniel Black
8faf84b7f7
BF: authentication errors end in 01-09 but the beginning part indicates the service as per https://github.com/fail2ban/fail2ban/issues/246#issuecomment-19327955 thanks to ykimon
2013-06-13 08:34:10 +10:00
Yaroslav Halchenko
39699896aa
initial changelog for 0.8.10, urgency high
2013-06-12 13:31:53 -04:00
Yaroslav Halchenko
3ed3c3af3d
Merge tag '0.8.10' into debian
...
Release 0.8.10 -- wanna-be-secure, addresses possible DoS with apache- filters
* tag '0.8.10': (25 commits)
DOC: add information on where to report vulnerabilities + pointer to HOWTO_Seek_Help
Changes for 0.8.10 release (changelog, version, etc)
BF: anchor apache- filters. Close #248
DOC: credits for gh-244
Filter Asterisk: Add sample log entry to testcase.
Filter Asterisk: Add AUTH_UNKNOWN_DOMAIN error to list
ENH: purge a few more .*
DOC: credits
DOC: how to do filter enhancements
TST: normalize logs to use example.com and 1.2.3.4 as IP
ENH/BF: constrain regex. Fix ACL error regex
ENH: port optional
Changelog for previous PR
DOC: Changelog entry fro preceeding merge from Terence
TST: Fix fail2ban.conf reader test for unreliable dictionary order
failregex when roundcube log driver is set to 'syslog'
fixed failregex line for roundcube 0.9+
TST: test all stock jails to have actions and correctly specifying blocktype
CFG: assure actions for all the jails
BF: blocktype must be defined within [Init] -- adding [Init] section. Close #232
...
2013-06-12 13:25:15 -04:00
Yaroslav Halchenko
921d9a8e4b
DOC: add information on where to report vulnerabilities + pointer to HOWTO_Seek_Help
...
originally following command was used to add header to all config files:
sed -ie '/# Author/ i\# Please report vulnerabilities to fail2ban-vulnerabilities at lists dot sourceforge dot net\n# and see http://www.fail2ban.org/wiki/index.php/HOWTO_Seek_Help for generic bug-reports.\n#' action.d/* filter.d/*
but it would be overkill ATM causing havoc in user-tuned configs -- postponed for now
Also adjusted the release date for today (by mistake in 1 commit ... sorry)
2013-06-12 13:21:12 -04:00
Yaroslav Halchenko
728b5e8bf4
Changes for 0.8.10 release (changelog, version, etc)
2013-06-11 19:20:50 -04:00
Yaroslav Halchenko
6ccd57813c
BF: anchor apache- filters. Close #248
...
See https://vndh.net/note:fail2ban-089-denial-service for more information
2013-06-11 19:19:25 -04:00
Daniel Black
fd9f9f16e0
BF: need to anchor the start to avoid another repeat of DoS injection like Apache
2013-06-12 08:48:30 +10:00
Daniel Black
f2fa4d53a8
ENH: stricter regex thanks to Steven Hiscocks (kwirk)
2013-06-12 08:30:59 +10:00
Daniel Black
16d63434ef
DOC: credits
2013-06-11 23:56:09 +10:00
Daniel Black
4787777cee
DOC: credits for gh-244
2013-06-11 10:30:56 +10:00
Daniel Black
66d8210f80
Merge pull request #244 from clopez/filter-asterisk
...
Filter Asterisk: Add AUTH_UNKNOWN_DOMAIN error to list
2013-06-10 17:28:35 -07:00
Carlos Alberto Lopez Perez
7248ef4564
Filter Asterisk: Add sample log entry to testcase.
...
* Sample log entry for AUTH_UNKNOWN_DOMAIN (Not a local domain)
2013-06-11 02:13:37 +02:00
Carlos Alberto Lopez Perez
47b063b022
Filter Asterisk: Add AUTH_UNKNOWN_DOMAIN error to list
...
* I have been seeing bruteforcing attempts where asterisk fails with
AUTH_UNKNOWN_DOMAIN (Not a local domain)
2013-06-10 19:50:35 +02:00
JP Espinosa
32b271c36e
Update redhat-initd
...
- Using `-x` to remove previous socket on start
- Using Should- to wait for iptables and wrappers
2013-06-03 12:34:47 -04:00
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
2013-06-03 06:29:36 -05:00
Yaroslav Halchenko
b53612cb10
Merge pull request #237 from grooverdan/asterisk-227
...
Asterisk enhancements
2013-05-29 18:38:15 -07:00
Daniel Black
05c88bd85d
ENH: purge a few more .*
2013-05-30 11:34:04 +10:00
Daniel Black
28fc14d010
DOC: credits
2013-05-30 10:27:30 +10:00
Daniel Black
e54498f6fe
DOC: how to do filter enhancements
2013-05-30 10:25:03 +10:00
Daniel Black
916b5a7c23
TST: normalize logs to use example.com and 1.2.3.4 as IP
2013-05-30 10:24:48 +10:00
Daniel Black
4cf402d60e
ENH/BF: constrain regex. Fix ACL error regex
2013-05-30 10:15:58 +10:00
Daniel Black
0f7b609336
ENH: port optional
2013-05-30 09:43:39 +10:00
Daniel Black
278fd43429
Merge branch 'patch-1' of https://github.com/silviogarbes/fail2ban into asterisk-227
2013-05-30 09:39:12 +10:00
Daniel Black
eceede175a
Merge branch 'patch-4' of https://github.com/silviogarbes/fail2ban into asterisk-227
2013-05-30 09:37:00 +10:00
Yaroslav Halchenko
9f9e9a33c6
BF: in 0.9 it is allowed to have multiple same actions with different names -- so use action_name
...
+ address RF action._ActionReader__cInfo -> action._initOpts
2013-05-29 12:38:03 -04:00
Yaroslav Halchenko
ea6f3bedb0
BF: DefinitionInitConfigReader has _file, not __file
2013-05-29 12:36:40 -04:00
Yaroslav Halchenko
a3161f59fa
Merge commit '0.8.9-13-g39d32e0' into 0.9
...
* commit '0.8.9-13-g39d32e0':
Changelog for previous PR
DOC: Changelog entry fro preceeding merge from Terence
TST: Fix fail2ban.conf reader test for unreliable dictionary order
failregex when roundcube log driver is set to 'syslog'
fixed failregex line for roundcube 0.9+
TST: test all stock jails to have actions and correctly specifying blocktype
CFG: assure actions for all the jails
BF: blocktype must be defined within [Init] -- adding [Init] section. Close #232
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
ENH: opensuse script from opensuse: https://build.opensuse.org/package/view_file?expand=1&file=fail2ban.init&package=fail2ban&project=openSUSE%3AFactory
Conflicts:
ChangeLog
config/jail.conf
testcases/clientreadertestcase.py -- had to "git show XXX | patch -p2" under tests/ 2 commits: 8a57ffd 7a4db4b
2013-05-29 11:32:35 -04:00
Yaroslav Halchenko
39d32e0352
Changelog for previous PR
2013-05-29 09:56:15 -04:00
Yaroslav Halchenko
374e7c6fc9
Merge pull request #208 from grooverdan/opensuse_init
...
Opensuse init -- from stock suse distribution
2013-05-29 06:54:25 -07:00
Yaroslav Halchenko
567cd353a1
DOC: Changelog entry fro preceeding merge from Terence
2013-05-29 09:41:20 -04:00
Yaroslav Halchenko
fae2d5c0ce
Merge branch 'patch-3' extending roundcube failregex to support v0.9+ (from https://github.com/teroz/fail2ban )
...
* 'patch-3' of https://github.com/teroz/fail2ban :
failregex when roundcube log driver is set to 'syslog'
fixed failregex line for roundcube 0.9+
2013-05-29 09:38:35 -04:00
Yaroslav Halchenko
92188a462d
Merge remote-tracking branch 'origin/0.9' into 0.9
...
* origin/0.9:
TST: Fix TraceBack tests when running via "setup"
Conflicts:
fail2ban/tests/misctestcase.py -- choose my version since it also could
be ran 'nosetests' or probably even some other tester, so better just to check
if it is a straight invocation of the fail2ban-tests
2013-05-28 07:40:46 -04:00
Yaroslav Halchenko
d379c0c06d
Merge branch 'sshd-locked' of https://github.com/kwirk/fail2ban into 0.9
...
* 'sshd-locked' of https://github.com/kwirk/fail2ban :
DOC: Update man page for <SKIPLINES> usage
ENH: Add new regex for locked accounts for sshd
BF: fail2ban-regex adding duplicate lines with each regex
2013-05-28 00:27:34 -04:00
Yaroslav Halchenko
84e8ba698a
BF: remedy traceback testing case -- just check if called from fail2ban-testcases
2013-05-28 00:26:54 -04:00
Steven Hiscocks
296a3f37e8
TST: Fix TraceBack tests when running via "setup"
2013-05-27 22:34:02 +01:00
Steven Hiscocks
5f87e59911
DOC: Update man page for <SKIPLINES> usage
2013-05-27 22:07:30 +01:00
Steven Hiscocks
49261925d7
ENH: Add new regex for locked accounts for sshd
2013-05-27 22:06:49 +01:00
Steven Hiscocks
e73b3dd53e
BF: fail2ban-regex adding duplicate lines with each regex
...
This issue was caused by the fact that every "line" is processed for each
regex, meaning each line was duplicated for every regex. This caused
duplicate fail matches and the buffer filling too quickly and possibly
missing failures.
2013-05-27 18:11:08 +01:00
Steven Hiscocks
7a4db4b4b9
TST: Fix fail2ban.conf reader test for unreliable dictionary order
2013-05-26 14:36:51 +01:00
Steven Hiscocks
01109e3a04
BF: Fix status of systemd filter backend
2013-05-26 14:05:11 +01:00
Terence Namusonge
098c88a67b
failregex when roundcube log driver is set to 'syslog'
2013-05-26 07:46:29 +02:00
Terence Namusonge
244a96f9b3
fixed failregex line for roundcube 0.9+
...
# Only works only if log driver: is set to 'syslog'. this is becoz fail2ban fails to 'read' the line due to the
brackets around the date timestamp on logline when log driver is set to file
2013-05-25 19:26:13 +02:00
Yaroslav Halchenko
8a57ffd2fb
TST: test all stock jails to have actions and correctly specifying blocktype
2013-05-24 14:33:48 -04:00
Yaroslav Halchenko
d2b1c73b92
CFG: assure actions for all the jails
2013-05-24 14:33:08 -04:00
Yaroslav Halchenko
89e06bba15
BF: blocktype must be defined within [Init] -- adding [Init] section. Close #232
2013-05-24 11:15:46 -04:00
Steven Hiscocks
00e289e11b
BF+TST: Fix handling of spaces and + char for journalmatch
...
Previous fix attempted shlex split which whilst worked for reading from
config file, failed when using fail2ban-client, as the input is already
effectively shelx split by the executing shell.
FilterSystemd journal match methods now handle list structures which
should be shlex split when reading from config file, and simply pass all
the relevant arguments from the shell when using fail2ban-client
2013-05-15 00:31:16 +01:00
silviogarbes
52fa5f19b0
Update asterisk
2013-05-14 12:58:43 -03:00
silviogarbes
5c8fb68a2c
Update asterisk.conf
...
Para ficar compatível com asterisk 11
2013-05-14 08:04:11 -03:00
Steven Hiscocks
82211e3891
TST: TravisCI coverage now includes untested systemd backend elements
2013-05-13 23:44:01 +01:00
Steven Hiscocks
09199095b4
BF: Allow journal matches with spaces and "+" in
2013-05-13 23:42:33 +01:00
Steven Hiscocks
c1226afe92
TST: Add tests for transmitter journalmatch
2013-05-13 23:42:09 +01:00
Yaroslav Halchenko
6a380139bd
Merge remote-tracking branch 'origin/0.9' into 0.9
...
* origin/0.9:
TST: Move test files to correct folder for 0.9 branch
BF: fail2ban-regex fix for maxlines init option reader
2013-05-13 16:38:39 -04:00
Steven Hiscocks
fe3ed176df
DOC: Update jail.conf man page with systemd elements
2013-05-13 21:12:58 +01:00
Yaroslav Halchenko
c21b7c3b9e
Merge branch 'master' into 0.9 -- with that also progress into 0.9.0a1
...
* master:
Getting ready for further development
Conflicts:
ChangeLog
fail2ban/version.py
2013-05-13 12:58:53 -04:00
Yaroslav Halchenko
725d666ee6
Getting ready for further development
2013-05-13 12:56:21 -04:00
Yaroslav Halchenko
f5a8a8ac7c
Merge tag '0.8.9' into 0.9 (quite a bit of conflicts "resolved")
...
Release 0.8.9
* tag '0.8.9':
BF: add missing files to MANIFEST (I think we shoult not rely on sdist anyways -- 'git tag' tarballs are more thorough ;) )
All the (version) updates for the release of 0.8.9
BF: (travis) relax the test for needed to be presented installed directories -- allow new
BF: (travis) if tests ran under coverage -- there is a traceback parts to report (thus > would be present)
ENH: also print the failing traceback line in case of failure
ENH: include explicit list of new files which should not be there upon "install --root"
ENH: now we know that logging handlers closing was still buggy in 2.6.2
ENH: issue a warning if jail name is longer than 19 symbols (Close #222 )
DOC: inline commends with ';' are in effect only if ';' follows as space
BF: Fix for filterpoll incorrectly checking for jailless state
ENH: strengthen detection of working pyinotify
ENH: use the same python executable for setup.py test
ENH: actually tune up TraceBack to determine "unittest" portions of the stack across all python releases
TST: Some primarily smoke tests for tests utils
TST: cover few more lines in fail2banreader.py
ENH: basic test for setup.py itself (when applicable, should greatly improve coverage ;) )
ENH: consistent operation of formatExceptionInfo + unittest for it
ENH: point to the status of master branch on travis
Conflicts:
ChangeLog
MANIFEST
README.md
fail2ban/version.py -- all of the above obvious version changes
below files primarily needed just a bit of help in resolution
config/jail.conf
fail2ban/server/filterpoll.py
fail2ban/server/server.py
fail2ban/tests/servertestcase.py
and following were more difficult -- git wasn't able to track renames/moves of the code
fail2ban-testcases -- needed to introduce those changes to tests/utils.py
testcases/clientreadertestcase.py -- manually applied patch from master
testcases/utils.py -- manually applied patch from master
2013-05-13 12:29:41 -04:00
Yaroslav Halchenko
8811f4c5a8
Just ignore build-time tests failures for now -- still TODO
2013-05-13 12:00:10 -04:00
Yaroslav Halchenko
b4b7fa6c60
patch deb_temp_disable_inaccessiblefile_test to allow build with fakeroot
2013-05-13 11:45:52 -04:00
Yaroslav Halchenko
6e6b1f1355
update lucid-dsc-patch patch
2013-05-13 11:37:06 -04:00
Yaroslav Halchenko
5b431f18dd
boost policy compliance to 3.9.4
2013-05-13 11:34:08 -04:00
Yaroslav Halchenko
2e3eb926a5
ENH: run unittests at build time
2013-05-13 11:33:36 -04:00
Yaroslav Halchenko
e3d068fcf8
BF: create directory for bash_completion.d
2013-05-13 11:27:55 -04:00
Yaroslav Halchenko
39bc2e34f1
Merge tag '0.8.9' into debian
...
Release 0.8.9
* tag '0.8.9':
BF: add missing files to MANIFEST (I think we shoult not rely on sdist anyways -- 'git tag' tarballs are more thorough ;) )
2013-05-13 11:24:26 -04:00
Yaroslav Halchenko
152c619dc4
BF: add missing files to MANIFEST (I think we shoult not rely on sdist anyways -- 'git tag' tarballs are more thorough ;) )
2013-05-13 11:24:07 -04:00
Yaroslav Halchenko
30adad2029
added new sample jails definitions for ssh-route, ssh-iptables-ipset{4,6}, roundcube-auth, sogo-auth, mysqld-auth
2013-05-13 11:18:23 -04:00
Yaroslav Halchenko
4361f4c869
provides bash_completion.d/fail2ban
2013-05-13 11:06:52 -04:00
Yaroslav Halchenko
8332f6a3af
refreshed manpage patches
2013-05-13 11:04:09 -04:00
Yaroslav Halchenko
414a1f0a84
update changelog entry
2013-05-13 11:03:51 -04:00
Yaroslav Halchenko
a0b20c642c
Merge tag '0.8.9' into debian
...
Releasing 0.8.9
* tag '0.8.9': (46 commits)
All the (version) updates for the release of 0.8.9
BF: (travis) relax the test for needed to be presented installed directories -- allow new
BF: (travis) if tests ran under coverage -- there is a traceback parts to report (thus > would be present)
ENH: also print the failing traceback line in case of failure
ENH: include explicit list of new files which should not be there upon "install --root"
ENH: now we know that logging handlers closing was still buggy in 2.6.2
ENH: issue a warning if jail name is longer than 19 symbols (Close #222 )
DOC: inline commends with ';' are in effect only if ';' follows as space
BF: Fix for filterpoll incorrectly checking for jailless state
ENH: strengthen detection of working pyinotify
ENH: use the same python executable for setup.py test
ENH: actually tune up TraceBack to determine "unittest" portions of the stack across all python releases
TST: Some primarily smoke tests for tests utils
TST: cover few more lines in fail2banreader.py
ENH: basic test for setup.py itself (when applicable, should greatly improve coverage ;) )
ENH: consistent operation of formatExceptionInfo + unittest for it
ENH: point to the status of master branch on travis
ENH: close open file in a test
Previous coverage was 56% (without disregarding any pragma)
ENH: close files in _test_move_into_file
...
2013-05-13 11:02:40 -04:00
Yaroslav Halchenko
a7f41af671
All the (version) updates for the release of 0.8.9
2013-05-13 11:00:44 -04:00
Yaroslav Halchenko
04bf9eceb6
BF: (travis) relax the test for needed to be presented installed directories -- allow new
...
on travis scripts install into user's home by default
2013-05-12 23:42:57 -04:00
Yaroslav Halchenko
6aed705f3d
BF: (travis) if tests ran under coverage -- there is a traceback parts to report (thus > would be present)
2013-05-12 23:42:01 -04:00
Yaroslav Halchenko
1b301d723d
ENH: also print the failing traceback line in case of failure
...
Also to troubleshoot
https://travis-ci.org/fail2ban/fail2ban/jobs/7112324
2013-05-12 23:27:32 -04:00
Yaroslav Halchenko
f345c4d7dc
ENH: include explicit list of new files which should not be there upon "install --root"
...
that is to figure out what gets there on failing travis tests:
e.g. https://travis-ci.org/fail2ban/fail2ban/jobs/7112324
2013-05-12 23:22:55 -04:00
Yaroslav Halchenko
21474884e0
ENH: now we know that logging handlers closing was still buggy in 2.6.2
2013-05-12 22:55:02 -04:00
Yaroslav Halchenko
571ff33fde
ENH: issue a warning if jail name is longer than 19 symbols ( Close #222 )
2013-05-12 22:19:50 -04:00
Yaroslav Halchenko
90b8433ac5
DOC: inline commends with ';' are in effect only if ';' follows as space
2013-05-12 21:42:59 -04:00
Yaroslav Halchenko
14f92d9144
Merge pull request #225 from yarikoptic/master
...
Additional check that pyinotify is functional on this platform to enable it
2013-05-12 17:24:17 -07:00
Steven Hiscocks
90de5aa568
TST: Update travis coverage config to exempt systemd related code
2013-05-12 13:40:25 +01:00
Steven Hiscocks
c08bd67f50
BF: fail2ban-regex systemd-journal field fix for __CURSOR
2013-05-12 13:05:21 +01:00
Steven Hiscocks
33a7763cfc
RF+BF+ENH: Rewrite extract options, and now allow "=" char in options
2013-05-10 17:24:23 +01:00
Steven Hiscocks
970291867b
TST: Improve tests for JailReader extract options
2013-05-10 17:14:13 +01:00
Steven Hiscocks
b9630c2979
DOC: Add version requirement for systemd backend to README
2013-05-10 17:06:53 +01:00
Steven Hiscocks
8af3ffb332
BF: Fix for filterpoll incorrectly checking for jailless state
2013-05-10 16:54:53 +01:00
Yaroslav Halchenko
8161038987
ENH: strengthen detection of working pyinotify
...
Even though import might work -- pyinotify might be dysfunctional.
Check by creating/deleting a dummy WatchManager upon import
2013-05-10 11:40:12 -04:00
Yaroslav Halchenko
bdc86e5f1d
ENH: use the same python executable for setup.py test
...
This doesn't anyhow resolve gh-161 which was revealed consistently on Debian sytem
after adding this testSetupInstallRoot
2013-05-10 11:17:04 -04:00
Steven Hiscocks
809873f359
DOC: Update MANIFEST for systemd backend
2013-05-10 10:48:27 +01:00
Steven Hiscocks
4b5d6b6940
ENH: systemd backend produce more reliable isoformat dates
2013-05-10 10:28:06 +01:00
Steven Hiscocks
e584ab66ac
BF: Avoid setting of log encoding for systemd backend
2013-05-10 10:27:26 +01:00
Yaroslav Halchenko
281d310b7e
ENH: actually tune up TraceBack to determine "unittest" portions of the stack across all python releases
...
before for 2.7 it would spit out "suite" and other components of unittest module
2013-05-10 00:02:49 -04:00
Yaroslav Halchenko
dc05eee0f5
TST: Some primarily smoke tests for tests utils
2013-05-09 23:43:22 -04:00
Yaroslav Halchenko
e70d01bc10
TST: cover few more lines in fail2banreader.py
2013-05-09 23:16:03 -04:00
Yaroslav Halchenko
26715d5e5e
ENH: basic test for setup.py itself (when applicable, should greatly improve coverage ;) )
2013-05-09 23:08:20 -04:00
Yaroslav Halchenko
90d6a4a6cd
ENH: consistent operation of formatExceptionInfo + unittest for it
2013-05-09 22:46:59 -04:00
Yaroslav Halchenko
728aaec6b8
ENH: point to the status of master branch on travis
2013-05-09 22:27:16 -04:00
Steven Hiscocks
7751f4ad5a
TST: Coverage ignore for systemd backend on TravisCI
2013-05-10 00:15:33 +01:00
Steven Hiscocks
f7d328195f
NF: Add systemd journal backend
2013-05-10 00:15:07 +01:00
Yaroslav Halchenko
ded87bad9a
Merge pull request #220 from kwirk/0.9_tweaks
...
0.9 tweaks. file moves after the merge and exception catching
2013-05-09 16:14:05 -07:00
Steven Hiscocks
b7912446ef
TST: Move test files to correct folder for 0.9 branch
2013-05-09 23:39:52 +01:00
Steven Hiscocks
c98b01bd1d
BF: fail2ban-regex fix for maxlines init option reader
2013-05-09 23:37:52 +01:00
Yaroslav Halchenko
709b437b7d
Merge commit '0.8.8-312-g7a6eecb' into 0.9
...
* commit '0.8.8-312-g7a6eecb':
ENH: close open file in a test
2013-05-09 13:25:41 -04:00
Yaroslav Halchenko
7a6eecbe21
ENH: close open file in a test
2013-05-09 13:25:29 -04:00
Yaroslav Halchenko
7a86d30c6d
ENH: unify appearance of log msgs in executeCmd -- separate additional information with "--"
2013-05-09 11:50:17 -04:00
Yaroslav Halchenko
810a28f136
Merge branch 'actionreader-timeout' of https://github.com/kwirk/fail2ban into 0.9
...
* 'actionreader-timeout' of https://github.com/kwirk/fail2ban :
BF: Fix for setting of timeout value via actionreader
2013-05-09 11:39:12 -04:00
Yaroslav Halchenko
fcdb74a471
Merge pull request #218 from kwirk/multiline-rstrip
...
BF: Multiline regex now works with log line strip of "\r\n"
2013-05-09 08:36:17 -07:00
Steven Hiscocks
60d1dfebee
BF: Fix for setting of timeout value via actionreader
2013-05-08 22:45:49 +01:00
Steven Hiscocks
d4e5c174e2
BF: Multiline regex now works with log line strip of "\r\n"
2013-05-08 21:57:23 +01:00
Yaroslav Halchenko
f5dfa610e6
Merge branch 'master' into 0.9 (propagating \r\n fix)
...
* master:
Previous coverage was 56% (without disregarding any pragma)
Changelog for preceeding commit
ENH: strip CR and LF while analyzing the lines (processLine) (Close #202 )
Conflicts:
fail2ban/server/filter.py
2013-05-08 16:37:53 -04:00
Yaroslav Halchenko
0e5f7b5951
Merge branch '_enh/strip_crlf'
...
* _enh/strip_crlf:
Changelog for preceeding commit
ENH: strip CR and LF while analyzing the lines (processLine) (Close #202 )
2013-05-08 16:36:14 -04:00
Yaroslav Halchenko
f4d2b5b338
Previous coverage was 56% (without disregarding any pragma)
2013-05-08 16:12:37 -04:00
Yaroslav Halchenko
2c21fe78a8
Merge branch 'master' into 0.9
...
* master:
ENH: close files in _test_move_into_file
ENH: remove use of $Revision and $Date SVN tags
Add README.Solaris into distribution
Conflicts:
client/actionreader.py
2013-05-08 15:16:13 -04:00
Yaroslav Halchenko
28794d842d
ENH: close files in _test_move_into_file
2013-05-08 15:14:28 -04:00
Yaroslav Halchenko
582d1c5ea5
ENH: remove use of $Revision and $Date SVN tags
2013-05-08 13:59:09 -04:00
Yaroslav Halchenko
b86d8e9565
BF: avoid circular imports -- import testcases right in gatherTests
2013-05-08 13:54:11 -04:00
Yaroslav Halchenko
f1b6806eb4
Merge branch 'master' into 0.9
...
* master: (51 commits)
ENH: Use real (resolving) example.com instead of test.example.com
DOC: Slight tune ups to ChangeLog -- we must release!
Changelog entries for the latest merges
BF: add bash-completion to MANIFEST
DOC: ChangeLog for default action type change
ENH: consolidate where blocktype is defined for iptables rules
BF: default type to unreachable
ENH: separate out regex and escape a .
ENH: logs/sshd -- have ":" after [daemon] (other uses are uncommon)
ENH: logs/sshd -- use example.com as the resolved hostname in sample log lines
ENH: filter.d/sshd.conf -- allow for trailing "via IP" in logs
DOC: Drop sudo from bash-completion
DOC: Added bash-completion script
ENH: add blocktype to all relevant actions. Also default the rejection to a ICMP reject rather than a drop
ENH: Removed unused log line
ENH: logrotate file
BF: missed MANIFEST include
BF: missed MANIFEST include
BF: missed MANIFEST include
ENH: some form of logrotate based on what distros are doing
...
Conflicts:
ChangeLog
MANIFEST
client/actionreader.py
config/jail.conf
fail2ban/server/datedetector.py
fail2ban/tests/datedetectortestcase.py
2013-05-08 13:53:38 -04:00
Yaroslav Halchenko
c9dd163852
Add README.Solaris into distribution
2013-05-08 13:46:06 -04:00
Yaroslav Halchenko
239406a8b9
Changelog for preceeding commit
2013-05-08 12:09:06 -04:00
Yaroslav Halchenko
6fef85ff2d
ENH: strip CR and LF while analyzing the lines (processLine) ( Close #202 )
...
This should allow to resolve issues with logs written in MS-DOS fashion,
e.g. with daemontools
See https://github.com/fail2ban/fail2ban/issues/202\#issuecomment-17393613
2013-05-08 12:07:29 -04:00
Yaroslav Halchenko
2b1e19933f
Merge branch 'master' of git://github.com/fail2ban/fail2ban
...
* 'master' of git://github.com/fail2ban/fail2ban:
BF: missed MANIFEST include
DOC: credits for bsd-ipfw
ENH: add ipfw rule for bsd using the tables.
2013-05-08 10:32:18 -04:00
Yaroslav Halchenko
571cadd80c
ENH: Use real (resolving) example.com instead of test.example.com
2013-05-08 10:30:38 -04:00
Yaroslav Halchenko
976a65bb89
Merge branch 'bsd_logs' of https://github.com/grooverdan/fail2ban
...
* 'bsd_logs' of https://github.com/grooverdan/fail2ban :
ENH: separate out regex and escape a .
BF: missed MANIFEST include
DOC: credits for bsd log
DOC: bsd syslog files thanks to Nick Hilliard
BF: change common.conf to handle formats of syslog -v and syslog -vv in BSD
Conflicts:
config/filter.d/common.conf
2013-05-08 10:30:04 -04:00
Yaroslav Halchenko
5accc10a47
Merge pull request #206 from grooverdan/bsd_ipfw
...
NF: BSD ipfw
2013-05-08 07:24:56 -07:00
Yaroslav Halchenko
0ae49ab11e
Merge branch 'bsd_pf' of https://github.com/grooverdan/fail2ban
...
* 'bsd_pf' of https://github.com/grooverdan/fail2ban :
BF: missed MANIFEST include
DOC: add jail.conf entry for pf
DOC: credit for pf action. Origin: http://svnweb.freebsd.org/ports/head/security/py-fail2ban/files/patch-pf.conf?view=log
ENH: pf action thanks to Nick Hilliard <nick@foobar.org >.
Conflicts:
ChangeLog
2013-05-08 10:24:01 -04:00
Yaroslav Halchenko
e85914cef8
Merge pull request #215 from grooverdan/reject_no_drop_by_default
...
ENH: add blocktype to all relevant actions and change default action to reject
2013-05-08 07:20:14 -07:00
Yaroslav Halchenko
11031d5ec9
DOC: Slight tune ups to ChangeLog -- we must release!
2013-05-08 10:15:18 -04:00
Yaroslav Halchenko
63b9e4f358
Changelog entries for the latest merges
2013-05-08 10:10:04 -04:00
Yaroslav Halchenko
746c7d990e
Merge pull request #217 from kwirk/bash-completion
...
NF: bash-completion
2013-05-08 07:03:09 -07:00
Daniel Black
b3f11df317
BF: add bash-completion to MANIFEST
2013-05-08 08:27:38 +10:00
Daniel Black
ac1944ac6d
DOC: ChangeLog for default action type change
2013-05-08 08:21:17 +10:00
Daniel Black
9c03ee6d9e
ENH: consolidate where blocktype is defined for iptables rules
2013-05-08 07:52:08 +10:00
Daniel Black
c7fd777966
BF: default type to unreachable
2013-05-08 07:31:31 +10:00
Daniel Black
de56347619
ENH: separate out regex and escape a .
2013-05-08 06:32:27 +10:00
Yaroslav Halchenko
7b24a7a599
README is .md now
2013-05-07 12:44:11 -04:00
Yaroslav Halchenko
f2d75f612a
updated changelog and suggest system-log-daemon
2013-05-07 12:41:28 -04:00
Yaroslav Halchenko
d59c41197e
Merge commit '0.8.8-276-g5e1d8b0' into debian
...
* commit '0.8.8-276-g5e1d8b0': (103 commits)
ENH: logs/sshd -- have ":" after [daemon] (other uses are uncommon)
ENH: logs/sshd -- use example.com as the resolved hostname in sample log lines
ENH: filter.d/sshd.conf -- allow for trailing "via IP" in logs
ENH: Removed unused log line
ENH: logrotate file
ENH: some form of logrotate based on what distros are doing
DOC: macports distribution of fail2ban
TST: test case for <br> tags in action
DOC: credits for BSD ssh filter changes
EHN: enhance sshd filter for bsd.
DOC: purge of svn tags
Slight tune up of changelog entry (treeish change due to squashing)
fixed test date thx to steven
tight control of the filter for ASSP
as yaroslav wishes
as daniel desires
changed from DateASSPlike class to DateStrptime
fixed little things
added new date format support for ASSP SMTP Proxy
Forgotten Changelog entry for "is None" changes
...
2013-05-07 12:33:13 -04:00
Yaroslav Halchenko
5e1d8b07e8
ENH: logs/sshd -- have ":" after [daemon] (other uses are uncommon)
...
See https://github.com/fail2ban/fail2ban/issues/216\#issuecomment-17535577
for the analysis
2013-05-07 12:30:05 -04:00
Yaroslav Halchenko
ffcac2ccee
ENH: logs/sshd -- use example.com as the resolved hostname in sample log lines
2013-05-07 12:26:13 -04:00
Yaroslav Halchenko
e7cb0f8b8c
ENH: filter.d/sshd.conf -- allow for trailing "via IP" in logs
2013-05-07 12:22:49 -04:00
Steven Hiscocks
95726b3976
DOC: Drop sudo from bash-completion
2013-05-06 20:37:58 +01:00
Steven Hiscocks
92dff6d645
DOC: Added bash-completion script
2013-05-06 20:17:26 +01:00
Yaroslav Halchenko
2143cdff39
Merge: opensolaris docs/fixes, no 'sed -i' in hostsdeny, sshd regex tuneups
...
Origin: from https://github.com/jamesstout/fail2ban
* 'OpenSolaris' of https://github.com/jamesstout/fail2ban :
ENH: Removed unused log line
BF: fail2ban.local needs section headers
ENH: Use .local config files for logtarget and jail
ENH+TST: ssh failure messages for OpenSolaris and OS X
ENH: fail message matching for OpenSolaris and OS X
ENH: extra daemon info regex
ENH: actionunban back to a sed command
Readme for config on Solaris
create socket/pid dir if needed
Extra patterns for Solaris
change sed to perl for Solaris
Conflicts:
config/filter.d/sshd.conf
2013-05-06 11:11:12 -04:00
Yaroslav Halchenko
822a01018f
Merge pull request #205 from grooverdan/bsd_ssh
...
BSD ssh improvements (casing, msg)
2013-05-06 07:54:58 -07:00
Yaroslav Halchenko
bcecf085f1
Merge pull request #209 from grooverdan/tst_br
...
TST: test case for <br> tags in action
2013-05-06 07:53:41 -07:00
Yaroslav Halchenko
535ad0d93d
Merge pull request #210 from grooverdan/dev_doc_macports
...
DOC: links to macports distribution of fail2ban
2013-05-06 07:53:06 -07:00
Yaroslav Halchenko
b8777c033d
Merge pull request #211 from grooverdan/logrotate
...
ENH: basic logrotate based on what distros are doing
2013-05-06 07:50:17 -07:00
Yaroslav Halchenko
c6784aec38
Merge pull request #203 from grooverdan/purgeofsvntags
...
DOC: purge of svn tags
2013-05-06 07:47:46 -07:00
Daniel Black
3b4a7b7926
ENH: add blocktype to all relevant actions. Also default the rejection to a ICMP reject rather than a drop
2013-05-05 15:43:18 +10:00
Steven Hiscocks
d5006f36c8
TST: Add test for transmitter datepattern
2013-05-04 18:26:25 +01:00
Steven Hiscocks
9d0f143a81
DOC: Update warning for undetectable date format
2013-05-04 17:25:19 +01:00
Steven Hiscocks
7371d2a271
ENH: Added datepattern option to fail2ban-regex
2013-05-04 17:15:47 +01:00
Steven Hiscocks
20049dd3a0
NF: Generate datetemplates from strptime format strings
...
Can also set custom time format from fail2ban-client, replacing the
default detectors
2013-05-04 16:59:01 +01:00
jamesstout
932bd102fe
ENH: Removed unused log line
...
removed #9 per
https://github.com/fail2ban/fail2ban/pull/182#discussion_r4068885
2013-05-04 18:38:05 +08:00
Daniel Black
8b8c720d07
ENH: logrotate file
2013-05-03 17:16:42 +10:00
Daniel Black
f52142b5cb
BF: missed MANIFEST include
2013-05-03 17:15:28 +10:00
Daniel Black
54c2bf3dfb
BF: missed MANIFEST include
2013-05-03 17:14:20 +10:00
Daniel Black
8a17a70d25
BF: missed MANIFEST include
2013-05-03 17:12:55 +10:00
Daniel Black
c12813836b
ENH: some form of logrotate based on what distros are doing
2013-05-03 17:05:28 +10:00
Daniel Black
ea25ed7cb0
DOC: macports distribution of fail2ban
2013-05-03 16:59:54 +10:00
Daniel Black
503602b332
TST: test case for <br> tags in action
2013-05-03 16:58:21 +10:00
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
2013-05-03 16:56:30 +10:00
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
2013-05-03 16:53:03 +10:00
Daniel Black
aa52743f52
DOC: add jail.conf entry for pf
2013-05-03 16:42:10 +10:00
Daniel Black
462dafa32f
DOC: credit for pf action. Origin: http://svnweb.freebsd.org/ports/head/security/py-fail2ban/files/patch-pf.conf?view=log
2013-05-03 16:38:30 +10:00
Daniel Black
0c5a9c53e1
ENH: pf action thanks to Nick Hilliard <nick@foobar.org>.
2013-05-03 16:34:54 +10:00
Daniel Black
f402609f19
DOC: credits for bsd-ipfw
2013-05-03 16:32:11 +10:00
Daniel Black
b6d0e8ad9c
ENH: add ipfw rule for bsd using the tables.
2013-05-03 16:31:45 +10:00
Daniel Black
be725ae5c3
DOC: credits for BSD ssh filter changes
2013-05-03 16:19:44 +10:00
Daniel Black
40c56b10a0
EHN: enhance sshd filter for bsd.
2013-05-03 16:17:35 +10:00
Daniel Black
ebfab512bc
DOC: credits for bsd log
2013-05-03 16:15:26 +10:00
Daniel Black
cde7108033
DOC: bsd syslog files thanks to Nick Hilliard
2013-05-03 16:12:19 +10:00
Daniel Black
b3bd877d23
BF: change common.conf to handle formats of syslog -v and syslog -vv in BSD
2013-05-03 16:12:13 +10:00
Daniel Black
495f2dd877
DOC: purge of svn tags
2013-05-03 16:03:38 +10:00
Yaroslav Halchenko
617fe6cb02
Slight tune up of changelog entry (treeish change due to squashing)
2013-05-03 01:03:53 -04:00
Yaroslav Halchenko
89adcd7ff7
Merge branch PR #193 ASSP SMTP Proxy support (with some manual squashing)
...
Origin: https://github.com/lenrico/fail2ban
Squashing was done via rebase -i 1524b076d6c22f38cb68c5813b8923050721a1bf
to eliminate massive assp sample log file originally added
fixed test date thx to steven
tight control of the filter for ASSP
as yaroslav wishes
as daniel desires
changed from DateASSPlike class to DateStrptime
fixed little things
added new date format support for ASSP SMTP Proxy
2013-05-03 00:57:49 -04:00
Enrico Labedzki
fd01649a61
fixed test date thx to steven
2013-05-03 00:56:53 -04:00
Enrico Labedzki
36b0d78ff8
tight control of the filter for ASSP
2013-05-03 00:56:53 -04:00
Enrico Labedzki
e27385e873
as yaroslav wishes
2013-05-03 00:56:53 -04:00
Enrico Labedzki
07aee8cd33
as daniel desires
2013-05-03 00:56:53 -04:00
Enrico Labedzki
9185c070eb
changed from DateASSPlike class to DateStrptime
2013-05-03 00:56:52 -04:00
Enrico Labedzki
ba8f012637
fixed little things
2013-05-03 00:56:52 -04:00
Enrico Labedzki
24a8d07c20
added new date format support for ASSP SMTP Proxy
2013-05-03 00:56:46 -04:00
Yaroslav Halchenko
93ad298aa8
Changelog entry for timeout option + fixed tabs in previous entry
2013-05-03 00:25:42 -04:00
Yaroslav Halchenko
b6059f4773
Merge branch 'cmd-timeout' (PR #190 ) of https://github.com/kwirk/fail2ban into 0.9
...
* 'cmd-timeout' of https://github.com/kwirk/fail2ban :
NF: For action execution, log stdout and stderr if debug or cmd error
NF: Allow setting of timeout for execution of action commands
Conflicts:
fail2ban/client/actionreader.py
fail2ban/server/action.py
2013-05-03 00:21:29 -04:00
Yaroslav Halchenko
415aea7e31
Merge branch 'master' into 0.9
...
* master:
Forgotten Changelog entry for "is None" changes
2013-05-03 00:12:55 -04:00
Yaroslav Halchenko
8b7b213e3d
Forgotten Changelog entry for "is None" changes
2013-05-03 00:12:51 -04:00
Yaroslav Halchenko
124223c24d
Merge remote-tracking branch 'gh-yarikoptic/0.9' into 0.9
...
* gh-yarikoptic/0.9:
changelog for new jail.conf
2013-05-03 00:09:52 -04:00
Yaroslav Halchenko
b65205d4ad
Merge branch 'master' into 0.9
...
* master:
ENH: "is None" instead of "== None" + tune ups in headers
BF: log error only if there were missed config files that couldn't be read
DOC: missing cinfo tags are ok. Log error for self referencing definitions
DOC: s/defination/definition/g learn to spell
Changelog entry for the previous commit and some untabify
BF: pyinotify backend should also handle IN_MOVED_TO events
ENH: remove stats of config files and use results of SafeConfigParserWithIncludes.read to facilitate meaningful error messages
DOC: credits for gh-70 fix
BF: ensure dates in email are in the C locale. Thanks iGeorgeX
DOC: ChangeLog for recursive tag substition
ENH: allow recursive tag substitution in action files.
DOC: document <br> tag
DOC: ChangeLog for named-refused entry
ENH: Account for views in named filter. By Romain Riviere in gentoo bug #259458
DOC: release documentation and distributor contacts
DOC: changelog entry for enhanced ssh filter
BF: Rename mentioning of README to README.md (Fixes #187 )
updated README.md to hyperlink, add travis and coversall
Moving README into a markup README.md for github's goodnesses
Conflicts:
DEVELOP
README.md
fail2ban/client/configreader.py
fail2ban/server/datedetector.py
2013-05-02 23:55:26 -04:00
Yaroslav Halchenko
7c409dd24f
Merge branch 'master' of git://github.com/fail2ban/fail2ban
...
* 'master' of git://github.com/fail2ban/fail2ban:
BF: log error only if there were missed config files that couldn't be read
DOC: missing cinfo tags are ok. Log error for self referencing definitions
DOC: s/defination/definition/g learn to spell
ENH: remove stats of config files and use results of SafeConfigParserWithIncludes.read to facilitate meaningful error messages
DOC: ChangeLog for recursive tag substition
ENH: allow recursive tag substitution in action files.
2013-05-02 23:28:18 -04:00
Yaroslav Halchenko
8e63d4c6da
ENH: "is None" instead of "== None" + tune ups in headers
...
is None is generally faster than == and from looking at those places
should be adequate.
Also while at those files removed unneded duplicate author listing +
expanded copyright/authors with myself where applicable
2013-05-02 23:25:43 -04:00
Yaroslav Halchenko
097fe63dcb
Changelog for preceeding actname merge
2013-05-02 22:34:58 -04:00
Steven Hiscocks
c0e8ce5854
NF: For action execution, log stdout and stderr if debug or cmd error
2013-05-01 21:07:13 +01:00
Yaroslav Halchenko
e019ab784c
Merge pull request #189 from kwirk/multiaction
...
Allow creation of multiple of the same action for a filter -- use actname option. Close #37
2013-04-30 12:44:16 -07:00
Yaroslav Halchenko
cb6e47c871
Merge pull request #194 from grooverdan/defination-substitution
...
ENH: Allow recursive tag substitution in action files
2013-04-30 06:47:30 -07:00
Yaroslav Halchenko
c09a3f86a5
Merge pull request #197 from grooverdan/bf-gh-153
...
ENH: remove stats of config files
2013-04-30 06:45:11 -07:00
Steven Hiscocks
aab9df9f90
DOC: Document use of multiple actions with actname in jail.conf man
2013-04-29 23:41:10 +01:00
Steven Hiscocks
f196709be1
ENH: Update asterisk example jail.conf entry for multiaction
2013-04-29 23:40:18 +01:00
Daniel Black
98aa0e23eb
BF: log error only if there were missed config files that couldn't be read
2013-04-30 08:19:11 +10:00
Daniel Black
d7862266d6
DOC: missing cinfo tags are ok. Log error for self referencing definitions
2013-04-30 08:14:50 +10:00
Daniel Black
d28f3fa285
DOC: s/defination/definition/g learn to spell
2013-04-30 08:07:21 +10:00
jamesstout
0c2900e458
BF: fail2ban.local needs section headers
2013-04-30 05:41:29 +08:00
jamesstout
86a5de040b
ENH: Use .local config files for logtarget and jail
...
Per: https://github.com/fail2ban/fail2ban/pull/182#discussion_r3886353
2013-04-30 04:35:36 +08:00
jamesstout
018913db6a
ENH+TST: ssh failure messages for OpenSolaris and OS X
2013-04-30 04:24:56 +08:00
jamesstout
3367dbd987
ENH: fail message matching for OpenSolaris and OS X
...
- OpenSolaris keyboard message matched by new regex 3
- Removed Bye Bye regex per
https://github.com/fail2ban/fail2ban/issues/175#issuecomment-16538036
- PAM auth failure or error and first char case-insensitive, can also
have chars after the hostname. e.g.
Apr 29 16:53:38 Jamess-iMac.local sshd[47831]: error: PAM:
authentication error for james from 205.186.180.101 via 192.168.1.201
2013-04-30 04:23:13 +08:00
jamesstout
d2a9537568
ENH: extra daemon info regex
...
for matching log lines like:
Mar 29 05:20:09 dusky sshd[19558]: [ID 800047 auth.info] Failed
keyboard-interactive for james from 205.186.180.30 port 54520 ssh2
this matches [ID 800047 auth.info]
2013-04-30 04:14:36 +08:00
jamesstout
b7795addd0
ENH: actionunban back to a sed command
...
per https://github.com/fail2ban/fail2ban/pull/182#discussion_r3999128
2013-04-30 04:10:32 +08:00
Yaroslav Halchenko
4f59e14616
Changelog entry for the previous commit and some untabify
2013-04-29 14:00:25 -04:00
Yaroslav Halchenko
f21566049c
BF: pyinotify backend should also handle IN_MOVED_TO events
2013-04-29 13:54:14 -04:00
Yaroslav Halchenko
2a0ce5da09
Merge pull request #196 from grooverdan/bf-gh-70
...
date format in emails: use LC_TIME=C. Close #70
2013-04-29 07:30:56 -07:00
Daniel Black
2403f395e9
ENH: remove stats of config files and use results of SafeConfigParserWithIncludes.read to facilitate meaningful error messages
2013-04-29 15:33:45 +10:00
Daniel Black
f91ad7e878
DOC: credits for gh-70 fix
2013-04-29 14:12:15 +10:00
Daniel Black
945ad3d9e6
BF: ensure dates in email are in the C locale. Thanks iGeorgeX
2013-04-29 14:10:23 +10:00
Daniel Black
e5474e57aa
DOC: ChangeLog for recursive tag substition
2013-04-29 12:38:42 +10:00
Daniel Black
1d9abd1b39
ENH: allow recursive tag substitution in action files.
2013-04-29 12:37:16 +10:00
Steven Hiscocks
219860ed8e
BF: Raise ValueError for adding of duplicate named action
2013-04-28 13:23:57 +01:00
Steven Hiscocks
6d2ff47e71
NF: Allow return of list of actions from jail via fail2ban-client
2013-04-28 13:23:06 +01:00
Yaroslav Halchenko
7b87afef48
Merge pull request #192 from grooverdan/gentoo-bug-182661
...
Gentoo bug 182661 - named-refused to account for view
2013-04-27 19:22:36 -07:00
Yaroslav Halchenko
503ef5a630
Merge pull request #191 from grooverdan/misc
...
release procedures with distributors
2013-04-27 19:21:42 -07:00
Daniel Black
6a4605a675
DOC: document <br> tag
2013-04-28 11:26:03 +10:00
Daniel Black
f2f5234076
DOC: ChangeLog for named-refused entry
2013-04-28 11:05:07 +10:00
Daniel Black
0ac8746d05
ENH: Account for views in named filter. By Romain Riviere in gentoo bug #259458
2013-04-28 11:03:44 +10:00
Daniel Black
63870341d8
DOC: release documentation and distributor contacts
2013-04-28 10:44:05 +10:00
Daniel Black
a0bb5163df
DOC: changelog entry for enhanced ssh filter
2013-04-28 09:23:41 +10:00
Steven Hiscocks
a3e216b0b2
BF: Change name->actname for multi action jails to avoid clash
...
Primary examples is `name` is used in iptables actions for the chain.
Also changed pop->get so actname can be used as keyword
2013-04-27 20:56:31 +01:00
Steven Hiscocks
d07df66370
NF: Allow setting of timeout for execution of action commands
...
This uses subprocess.Popen, polling until `timeout` seconds has passed
or the command has exit. If the command has not exited, fail2ban then
sends SIGTERM, and if this is unsuccessful, SIGKILL.
The timeout can be changed for an entire action via action [Init]
options, or via jail.conf override, or fail2ban-client. The default
timeout period is 60 seconds.
2013-04-27 20:06:09 +01:00
Steven Hiscocks
bec70cbe4b
TST: Clean up after jails test for MultipleSameAction
2013-04-27 19:11:58 +01:00
Yaroslav Halchenko
c5287e3d9c
BF: Rename mentioning of README to README.md ( Fixes #187 )
2013-04-26 22:51:59 -04:00
Steven Hiscocks
45c9c45b41
BF+RF: Allow multiple of same action in a single jail
2013-04-25 22:36:08 +01:00
Steven Hiscocks
7a29a952c1
TST: Add test case for jails with multiple of the same action
2013-04-25 22:34:07 +01:00
Yaroslav Halchenko
03687264d8
Merge pull request #186 from yarikoptic/master
...
Make README.md a bit github aware
2013-04-25 11:56:16 -07:00
Yaroslav Halchenko
ce912bb11c
updated README.md to hyperlink, add travis and coversall
...
for some reason coversall says 'unknown' -- may be it requires a paid account for the badges?
2013-04-25 01:07:39 -03:00
Yaroslav Halchenko
61949b4ff7
Moving README into a markup README.md for github's goodnesses
2013-04-24 23:23:31 -04:00
Yaroslav Halchenko
e5261aade6
changelog for new jail.conf
2013-04-24 16:08:54 -04:00
Yaroslav Halchenko
bddbf1e398
Merge pull request #185 from yarikoptic/_tent/jail.conf
...
"Debian-style" jail.conf -- lean and nice (Fixes #156 ) + more testing.
2013-04-24 12:10:18 -07:00
Yaroslav Halchenko
62602a9ed0
Revert "ENH: by default enable a single jail -- sshd"
...
This reverts commit 47a62b6072 .
Enabling any jail by default should be a prerogative of particular
distributions (thanks Fabian Wenk for the discussion)
Conflicts:
config/jail.conf
2013-04-23 13:58:58 -04:00
Yaroslav Halchenko
1d72a8265d
Merge branch '0.9' into _tent/jail.conf
...
* 0.9:
BF: usedns deals with forward (not reverse) DNS lookups (thanks Steven Hiscocks)
Conflicts:
config/jail.conf
2013-04-23 13:57:52 -04:00
Yaroslav Halchenko
2a48b0ab54
Merge branch 'master' into 0.9
...
* master:
BF: usedns deals with forward (not reverse) DNS lookups (thanks Steven Hiscocks)
2013-04-23 13:57:07 -04:00
Yaroslav Halchenko
22f04677b6
BF: usedns deals with forward (not reverse) DNS lookups (thanks Steven Hiscocks)
2013-04-23 13:56:51 -04:00
Yaroslav Halchenko
87bac37139
ENH: default port to all ports (0:65535) + remove where thus not needed + typos
2013-04-23 13:55:26 -04:00
Yaroslav Halchenko
203ddb370a
PY3(BF): config reader -- handle __name__ interpolation
2013-04-23 10:10:49 -04:00
Yaroslav Halchenko
d05e7a5746
TST: elaborate pass through the default jail.conf with basic checking of shipped filters and actions
2013-04-22 23:47:52 -04:00
Yaroslav Halchenko
f4a74d8d8b
RF: rename/unify naming of courier filters/jails
2013-04-22 22:42:09 -04:00
Yaroslav Halchenko
47a62b6072
ENH: by default enable a single jail -- sshd
2013-04-22 22:35:01 -04:00
Yaroslav Halchenko
3ba540eca3
ENH+BF: use %(__name__) by default for filter, defined enabled = false by DEFAULT
...
Now jail.conf is really neat.
BF: tests
2013-04-22 22:23:23 -04:00
Yaroslav Halchenko
8a0ac30bd9
ENH: Throw exception if requested Jail is actually not defined at all
2013-04-22 16:59:00 -04:00
Yaroslav Halchenko
24e4cfe1b7
Merge branch '0.9' into _tent/jail.conf
...
* 0.9: (45 commits)
Beef up changelog for 0.9
ENH: make fail2ban-regex aware of possible maxlines in the filter config file
BF+TST: Correctly reset time in tearDownMyTime
ENH: Reimplement warning suppression of setup.py test --quiet
ENH: Renamed OptionConfigReader to DefinitionInitConfigReader
ENH: Rename splitAction to extractOptions in jailreader
ENH: Use os.path.join for filter/action config readers
BF: Remove warnings handler which breaks setup.py python2<2.7 and python3<3.2
ENH: For python3.2+ use ConfigPaser which replaces SafeConfigParser
TST: Change depreciated unittest assertEquals method to assertEqual
TST: Ensure files are closed in tests to remove ResourceWarnings
BF: Change logging instance logSys `warn` method to `warning`
ENH: use os.path.join for consistency -- add "Contributors" to authors
RF: setup.py now imports version number again
DOC: tune up formatting (spaces) and prelude for the changelog entry
TST+RF: Add ability to execute test from setup.py with setuptools
TST: Move test gathering to function is test utils
TST: Move test TZ changes to setUp and tearDown methods
ENH: Remove redundant `maxlines` option from jail reader
TST: Add test for FilterReader [Init] `maxlines` override
...
Conflicts:
config/jail.conf
2013-04-22 10:21:13 -04:00
Yaroslav Halchenko
54bae189a3
Beef up changelog for 0.9
2013-04-22 10:10:20 -04:00
Yaroslav Halchenko
698c74d9ed
Merge commit '0.8.8-212-gf6f30f1' into 0.9
...
* commit '0.8.8-212-gf6f30f1': (24 commits)
DOC: tune up formatting (spaces) and prelude for the changelog entry
DOC: more ChangeLog entries all the way back to 0.8.8
DOC: move new actions and filters to New Features in ChangeLog
DOC: tomcat and Guacmole are next release
DOC: credit man page edits
DOC: developers please rebase and use a single commit
DOC: post release ChangeLog entry
DOC: ChangeLog - current HEAD back to ce3ab34
DOC: begining of ChangeLog
DOC: version/date of release
DOC: ChangeLog versions and dates for Releasing
DOC: guidance for pull requests
BF: filter.d/sshd "Did not receive identification string" relates to an exploit so document this in sshd-ddos.conf but leave it out of authentication based blocks in sshd.conf
DOC: a plugin to thanks for the community support
Add After, PIDFile, and change WantedBy to multi-user.target in fail2ban.server
DOC: slight tune ups to README (we are no longer compatible with python 2.3 ;) )
ENH: more openssh fail messages from openssh source code (CVS 20121205)
Add systemd unit file and tmpfiles.d configuration files
BF: do not rely on scripts being under /usr -- might differ eg on Fedora -- rely on import of common.version (Closes gh-112)
RF: move exceptions used by both client and server into common/exceptions.py
...
Conflicts:
ChangeLog
README
2013-04-22 09:55:27 -04:00
Yaroslav Halchenko
1fcb5efbd7
ENH: make fail2ban-regex aware of possible maxlines in the filter config file
2013-04-22 00:01:30 -04:00
Yaroslav Halchenko
a648cc29e8
Merge: 'github_kwirk_fail2ban/filter-init' into 0.9 -- allow options for filters (move maxlines into filters handling)
...
* github_kwirk_fail2ban/filter-init:
ENH: Renamed OptionConfigReader to DefinitionInitConfigReader
ENH: Rename splitAction to extractOptions in jailreader
ENH: Use os.path.join for filter/action config readers
ENH: Remove redundant `maxlines` option from jail reader
TST: Add test for FilterReader [Init] `maxlines` override
ENH: Move jail `maxlines` to filter config
NF: Filters now allow adding of [Init] section similar to actions
Conflicts:
fail2ban/tests/clientreadertestcase.py
2013-04-21 23:34:48 -04:00
Yaroslav Halchenko
28f00161c9
Merge 'github_kwirk_fail2ban/warnings-fix' into 0.9: warnings + tests
...
* github_kwirk_fail2ban/warnings-fix:
BF+TST: Correctly reset time in tearDownMyTime
ENH: Reimplement warning suppression of setup.py test --quiet
BF: Remove warnings handler which breaks setup.py python2<2.7 and python3<3.2
ENH: For python3.2+ use ConfigPaser which replaces SafeConfigParser
TST: Change depreciated unittest assertEquals method to assertEqual
TST: Ensure files are closed in tests to remove ResourceWarnings
BF: Change logging instance logSys `warn` method to `warning`
2013-04-21 22:57:37 -04:00
Steven Hiscocks
dadd6aed2f
BF+TST: Correctly reset time in tearDownMyTime
2013-04-21 17:39:56 +01:00
Steven Hiscocks
6f3c66f466
ENH: Reimplement warning suppression of setup.py test --quiet
2013-04-21 13:23:08 +01:00
Steven Hiscocks
e57505e074
ENH: Renamed OptionConfigReader to DefinitionInitConfigReader
2013-04-21 11:27:32 +01:00
Steven Hiscocks
1a43a0bce1
ENH: Rename splitAction to extractOptions in jailreader
2013-04-21 11:26:46 +01:00
Steven Hiscocks
c95b87c13c
ENH: Use os.path.join for filter/action config readers
2013-04-21 11:21:06 +01:00
Steven Hiscocks
9d2d907fc1
BF: Remove warnings handler which breaks setup.py python2<2.7 and python3<3.2
2013-04-21 10:59:14 +01:00
Steven Hiscocks
b182c5b5d4
ENH: For python3.2+ use ConfigPaser which replaces SafeConfigParser
...
Current SafeConfigParser alias to be dropped in future python versions
2013-04-21 10:30:13 +01:00
Steven Hiscocks
3936793413
TST: Change depreciated unittest assertEquals method to assertEqual
2013-04-21 10:28:34 +01:00
Steven Hiscocks
c9b1b88bfc
TST: Ensure files are closed in tests to remove ResourceWarnings
2013-04-21 10:26:30 +01:00
Steven Hiscocks
12df12f282
BF: Change logging instance logSys warn method to warning
...
`warn` is long time depreciated method, which may be dropped in
python3.4 http://bugs.python.org/issue13235
2013-04-21 10:21:54 +01:00
Yaroslav Halchenko
f6f30f122e
Merge pull request #175 from grooverdan/ssh-filter
...
ENH: more openssh fail messages from openssh source code (CVS 20121205)
2013-04-20 21:05:47 -07:00
Yaroslav Halchenko
7341031a30
ENH: use os.path.join for consistency -- add "Contributors" to authors
2013-04-20 23:12:38 -04:00
Steven Hiscocks
f07a92f0f7
RF: setup.py now imports version number again
2013-04-21 00:58:22 +01:00
Yaroslav Halchenko
274227bdfa
DOC: tune up formatting (spaces) and prelude for the changelog entry
2013-04-20 19:40:56 -04:00
jamesstout
686f43caac
Readme for config on Solaris
2013-04-21 07:31:27 +08:00
jamesstout
578a8998c6
create socket/pid dir if needed
...
Also remove any lingering sockets
2013-04-21 07:30:52 +08:00
jamesstout
10fcfb925d
Extra patterns for Solaris
2013-04-21 07:30:21 +08:00
jamesstout
de98e3dabd
change sed to perl for Solaris
2013-04-21 07:29:48 +08:00
Yaroslav Halchenko
550176412b
Merge pull request #178 from grooverdan/release-polish
...
Release polish -- changelog entries and DEVELOP guidance
2013-04-20 16:29:12 -07:00
Steven Hiscocks
55810a3c30
TST+RF: Add ability to execute test from setup.py with setuptools
...
Note that the fail2ban version can no longer be imported from
"fail2ban.version", as this breaks 2to3 conversion for tests
2013-04-20 20:17:36 +01:00
Steven Hiscocks
9e684abad7
TST: Move test gathering to function is test utils
2013-04-20 20:13:21 +01:00
Steven Hiscocks
4cc3a81cc1
TST: Move test TZ changes to setUp and tearDown methods
2013-04-20 20:09:44 +01:00
Steven Hiscocks
b47ea7f813
ENH: Remove redundant maxlines option from jail reader
2013-04-19 18:17:56 +01:00
Steven Hiscocks
5b227b6670
TST: Add test for FilterReader [Init] maxlines override
2013-04-18 22:33:42 +01:00
Steven Hiscocks
9672e44d39
ENH: Move jail maxlines to filter config
2013-04-18 22:11:41 +01:00
Steven Hiscocks
01499ad0de
NF: Filters now allow adding of [Init] section similar to actions
2013-04-18 22:07:19 +01:00
Daniel Black
e5e0118717
DOC: more ChangeLog entries all the way back to 0.8.8
2013-04-18 12:13:26 +10:00
Daniel Black
5413f9b3a1
DOC: move new actions and filters to New Features in ChangeLog
2013-04-18 11:36:37 +10:00
Daniel Black
ed123ea403
DOC: tomcat and Guacmole are next release
2013-04-18 11:34:44 +10:00
Daniel Black
d4b5e8ec30
DOC: credit man page edits
2013-04-18 08:45:20 +10:00
Daniel Black
0a57b61836
DOC: developers please rebase and use a single commit
2013-04-18 07:09:07 +10:00
Daniel Black
3e0e0482ae
DOC: post release ChangeLog entry
2013-04-18 07:07:05 +10:00
Daniel Black
dc2f42b24d
DOC: ChangeLog - current HEAD back to ce3ab34
2013-04-18 06:57:35 +10:00
Daniel Black
60fa4b5d7c
DOC: begining of ChangeLog
2013-04-18 05:08:45 +10:00
Daniel Black
6b260ab974
DOC: version/date of release
2013-04-18 04:53:17 +10:00
Daniel Black
d1c8b57952
DOC: ChangeLog versions and dates for Releasing
2013-04-18 04:52:21 +10:00
Daniel Black
1331e15ac3
DOC: guidance for pull requests
2013-04-18 04:48:51 +10:00
Daniel Black
41b9f7b6ac
BF: filter.d/sshd "Did not receive identification string" relates to an exploit so document this in sshd-ddos.conf but leave it out of authentication based blocks in sshd.conf
2013-04-18 04:38:03 +10:00
Yaroslav Halchenko
76c08cebe9
DOC: a plugin to thanks for the community support
2013-04-17 11:54:45 -04:00
Yaroslav Halchenko
82e2fc34eb
Merge branch 'systemd' of https://github.com/opoplawski/fail2ban
...
Just two files to enable fail2ban within systemd:
files/fail2ban-tmpfiles.conf | 1 +
files/fail2ban.service | 14 ++++++++++++++
* 'systemd' of https://github.com/opoplawski/fail2ban :
Add After, PIDFile, and change WantedBy to multi-user.target in fail2ban.server
Add systemd unit file and tmpfiles.d configuration files
2013-04-17 11:40:03 -04:00
Orion Poplawski
ddebcab9aa
Add After, PIDFile, and change WantedBy to multi-user.target in fail2ban.server
2013-04-17 09:27:06 -06:00
Yaroslav Halchenko
6f4dad46f0
DOC: slight tune ups to README (we are no longer compatible with python 2.3 ;) )
2013-04-17 10:07:01 -04:00
Yaroslav Halchenko
4665ac6b27
RF: jail.conf with entries from Debian's copy and changing existing ones to conform the "template"
...
our unittests fail now -- will BF later
2013-04-17 01:05:04 -04:00
Yaroslav Halchenko
9a14cf8b7b
Merge branch 'master' into 0.9
...
* master:
DOC: initiated changelog (but not juice left to actually fill it up ;-))
TST: test all valid loglevels in server testcases
TST: Add tag replace and escape test for actions
ENH: Minor change to action for consistency of execStart/Stop
TST: Coverage for coveralls.io should only be run on success
TST: no cover additions to server, primarily daemon creation
DOC: thanks @kwirk for spotting the typos in exception message
FD_CLOEXEC support
Typo in default pidfile in fail2ban.conf
Conflicts:
.travis.yml -- after_success
ChangeLog -- added perspective changelog for 0.8.9
fail2ban/server/asyncserver.py -- imports
fail2ban/server/server.py -- no pragma (if I got it right ;-) )
2013-04-16 23:50:43 -04:00
Yaroslav Halchenko
b8e823bd4e
DOC: initiated changelog (but not juice left to actually fill it up ;-))
2013-04-16 23:44:38 -04:00
Yaroslav Halchenko
4869186c8f
Merge branch 'py3' of https://github.com/kwirk/fail2ban into 0.9
...
* 'py3' of https://github.com/kwirk/fail2ban : (38 commits)
DOC: Add python3 to requirements
ENH: Clarify use of bytes in csocket and asyncserver for python3
DOC: Revert dnsToIp error change, seperate log message for socket.error
TST: Tweak python3 open statement to resolve python2.5 SyntaxError
TST: Revert changes for filter testcase open statement
DOC: Revert setup.py messages to use print statement
Add *.bak files generated by 2to3 to gitignore
TST: Fix up fail2ban python3 scripts
TST: Fix issues in tests which assumed dictionary's order
ENH: setup.py now automatically runs 2to3 for python3.x
TST: Remove Travis CI unsupported versions of python from Travis config
add fail2ban-2to3 to MANIFEST file
ENH: Add python3 versions to Travis CI config
BF: Handle expected errors for python3.{0,1} when changing log target
Minor tweaks to fail2ban-regex for encoding
Added ability to set log file encoding with fail2ban-regex
Add ability to set log encoding for jail
Move handling of unicode decoding to FileContainer readline
Fix incorrect exit code from fail2ban-2to3
Remove redundant reassignment of variable
...
Conflicts:
fail2ban/tests/servertestcase.py -- both branches added a new unittest at the same point
2013-04-16 23:24:49 -04:00
Yaroslav Halchenko
f5572c8ade
Merge pull request #173 from kwirk/maxlines
...
Maxlines jail setting tweaks
2013-04-16 19:50:00 -07:00
Yaroslav Halchenko
8af32ed547
Merge pull request #176 from kwirk/guacamole
...
Guacamole filter and Apache Tomcat date format
2013-04-16 17:44:28 -07:00
Steven Hiscocks
4d80fad874
ENH+DOC: Add Guacamole filter, example log and jail
2013-04-16 21:13:31 +01:00
Steven Hiscocks
c6bd8fc807
ENH+TST: Add Apache Tomcat date format
2013-04-16 21:09:53 +01:00
Daniel Black
32d10e904a
ENH: more openssh fail messages from openssh source code (CVS 20121205)
2013-04-17 00:03:36 +10:00
Steven Hiscocks
1756f709da
DOC: Revert change to fail2ban-refex from 183cfa6
2013-04-15 22:14:00 +01:00
Steven Hiscocks
183cfa6e00
ENH: Default maxlines value in jail.conf, and verify value is int >0
2013-04-15 21:21:19 +01:00
Steven Hiscocks
be0e8faa4e
TST: Add maxlines to transmitter testcases
2013-04-15 21:14:12 +01:00
Steven Hiscocks
f14cb7302a
DOC: Add python3 to requirements
2013-04-15 21:00:45 +01:00
Steven Hiscocks
4db77ebf41
ENH: Clarify use of bytes in csocket and asyncserver for python3
2013-04-15 20:47:37 +01:00
Steven Hiscocks
a8f2e02eea
DOC: Revert dnsToIp error change, seperate log message for socket.error
2013-04-15 20:44:13 +01:00
Yaroslav Halchenko
12f1398ec1
Merge pull request #172 from kwirk/minor
...
Minor tweaks -- removing duplication and improving testing
2013-04-15 06:31:09 -07:00
Steven Hiscocks
94956bee84
TST: test all valid loglevels in server testcases
2013-04-14 15:59:05 +01:00
Steven Hiscocks
4c4b60f4b4
TST: Add tag replace and escape test for actions
2013-04-14 15:58:35 +01:00
Steven Hiscocks
3d6791fe3e
ENH: Minor change to action for consistency of execStart/Stop
2013-04-14 15:57:37 +01:00
Steven Hiscocks
d259e903a3
TST: Coverage for coveralls.io should only be run on success
2013-04-14 15:56:14 +01:00
Steven Hiscocks
28e9acf86a
TST: no cover additions to server, primarily daemon creation
2013-04-14 15:55:18 +01:00
Steven Hiscocks
88187fc161
TST: Tweak python3 open statement to resolve python2.5 SyntaxError
2013-04-14 11:00:08 +01:00
Steven Hiscocks
d28788c87b
TST: Revert changes for filter testcase open statement
...
Also merging python3 support
2013-04-14 10:24:44 +01:00
Steven Hiscocks
36097ffc3e
DOC: Revert setup.py messages to use print statement
2013-04-14 10:18:22 +01:00
Yaroslav Halchenko
ffe48741e3
DOC: thanks @kwirk for spotting the typos in exception message
2013-04-13 22:20:57 -04:00
Steven Hiscocks
70bcb0e32f
Add *.bak files generated by 2to3 to gitignore
2013-04-13 17:05:19 +01:00
Steven Hiscocks
9241ded376
TST: Fix up fail2ban python3 scripts
2013-04-13 17:01:18 +01:00
Steven Hiscocks
d061b2b549
TST: Fix issues in tests which assumed dictionary's order
2013-04-13 16:55:22 +01:00
Steven Hiscocks
fa0f8f9e6d
Merge branch '0.9' into py3
...
Conflicts:
.travis.yml
MANIFEST
bin/fail2ban-regex
fail2ban/server/filter.py
fail2ban/tests/servertestcase.py
setup.py
2013-04-13 16:54:22 +01:00
Yaroslav Halchenko
301460f451
Merge remote-tracking branch 'pr/167/head': FD_CLOEXEC bug fixes (filters) + support (actions). Avoid sockets descriptors leak.
...
* pr/167/head:
FD_CLOEXEC support
2013-04-11 15:05:56 -04:00
Yaroslav Halchenko
5aef036f54
Merge remote-tracking branch 'github_kwirk_fail2ban/module' into 0.9
...
* github_kwirk_fail2ban/module:
TST: revert change of log format for testcases in commit a3d82e2
ENH: fail2ban logging uses __name__ for logger names
2013-04-11 14:19:39 -04:00
Steven Hiscocks
0ea9904440
TST: revert change of log format for testcases in commit a3d82e2
2013-04-11 18:19:44 +01:00
Steven Hiscocks
a3d82e2ab9
ENH: fail2ban logging uses __name__ for logger names
2013-04-10 21:33:55 +01:00
Yaroslav Halchenko
59192a5585
Merge remote-tracking branch 'github_kwirk_fail2ban/pidfile'
...
* github_kwirk_fail2ban/pidfile:
Typo in default pidfile in fail2ban.conf
2013-04-09 23:48:46 -04:00
Yaroslav Halchenko
fe1c3fbdd9
BF: fixing incorrect merge conflict -- run coverage only for 2.7
2013-04-09 20:24:54 -04:00
Yaroslav Halchenko
7a385fd442
BF: Move mysqld.log into a new location under fail2ban module
2013-04-09 19:46:24 -04:00
Yaroslav Halchenko
e630b77fca
Make fail2ban a full blown module. Close gh-26
...
AKA: Merge remote-tracking branch 'github_kwirk_fail2ban/module' into 0.9
* github_kwirk_fail2ban/module:
BF: Added test filter.d files to setup.py package data
TST: Fix up tests from multiline elements broken in previous merge
TST: clientreader test now use /etc/fail2ban/ if no local config/
ENH+TST: Move fail2ban-* scripts to bin/
TST+ENH: Move testcases to part of fail2ban module
TST: Update Travis CI coverage config for python module structure
ENH+BF+TST+DOC: Make fail2ban a python module
Conflicts:
.travis.yml -- the line for PYTHONPATH
.travis_coveragerc -- now we do cover gamin tests
2013-04-09 19:39:58 -04:00
Yaroslav Halchenko
ebfb9422d8
Merge branch 'master' into 0.9
...
* master:
ENH: for consistency (and future expansion ;)) -- rename to mysqld-auth
Adjusting previous PR (MySQL logs) according to my comments
TST: Add gamin testing for and only coveralls coverage for python2.7
change the license to GPLv2 + adapat text
TST: Add gamin support for Travis CI
fix the script name to check_fail2ban everywhere
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)
Added testcase for MySQL date format to testcases/datedetectortestcase.py and example of MySQL log file.
Added support for MySQL logfiles
2013-04-09 18:49:18 -04:00
Yaroslav Halchenko
99a5d78e37
ENH: for consistency (and future expansion ;)) -- rename to mysqld-auth
2013-04-09 18:03:34 -04:00
Yaroslav Halchenko
ffaa9697ee
Adjusting previous PR (MySQL logs) according to my comments
2013-04-09 18:00:40 -04:00
Yaroslav Halchenko
3e6be243bf
Merge branch 'Support_for_mysql_log_example' of https://github.com/arto-p/fail2ban
...
* 'Support_for_mysql_log_example' of https://github.com/arto-p/fail2ban :
Added testcase for MySQL date format to testcases/datedetectortestcase.py and example of MySQL log file.
Added support for MySQL logfiles
Conflicts:
testcases/datedetectortestcase.py -- conflictde with other added test cases
2013-04-09 17:55:14 -04:00
Yaroslav Halchenko
4fb06170f1
Merge 'Update the check_fail2ban script' PR from https://github.com/labynocle/fail2ban
...
* 'master' of https://github.com/labynocle/fail2ban :
change the license to GPLv2 + adapat text
fix the script name to check_fail2ban everywhere
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)
2013-04-09 17:41:36 -04:00
Steven Hiscocks
a33bf5baca
ENH: setup.py now automatically runs 2to3 for python3.x
2013-04-09 19:40:54 +01:00
Yaroslav Halchenko
f5ad99b527
Merge pull request #166 from kwirk/travis-gamin
...
Travis gamin support on Travis CI
2013-04-06 08:20:21 -07:00
Steven Hiscocks
47c54ba293
TST: Add gamin testing for and only coveralls coverage for python2.7
2013-04-06 11:08:07 +01:00
Steven Hiscocks
3a16ceed0a
BF: Added test filter.d files to setup.py package data
2013-04-06 10:20:53 +01:00
Steven Hiscocks
c4bdc48edb
TST: Fix up tests from multiline elements broken in previous merge
2013-04-06 10:15:43 +01:00
Steven Hiscocks
8e0f5f8ea6
Merge branch '0.9' into module
...
Conflicts:
fail2ban/tests/clientreadertestcase.py
fail2ban/tests/filtertestcase.py
2013-04-06 09:57:44 +01:00
Nicolas Collignon
39667ff6f7
FD_CLOEXEC support
...
* 001-fail2ban-server-socket-close-on-exec-no-leak.diff
Add code that marks server and client sockets with FD_CLOEXEC flags.
Avoid leaking file descriptors to processes spawned when handling
fail2ban actions (ex: iptables).
Unix sockets managed by fail2ban-server don't need to be passed to any
child process. Fail2ban already uses the FD_CLOEXEC flags in the filter
code.
This patch also avoids giving iptables access to fail2ban UNIX socket in
a SELinux environment (A sane SELinux policy should trigger an audit
event because "iptables" will be given read/write access to the fail2ban
control socket).
Some random references related to this bug:
http://sourceforge.net/tracker/?func=detail&atid=689044&aid=2086568&group_id=121032
http://www.redhat.com/archives/fedora-selinux-list/2009-June/msg00124.html
http://forums.fedoraforum.org/showthread.php?t=234230
* 002-fail2ban-filters-close-on-exec-typo-fix.diff
There is a typo in the fail2ban server/filter.py source code. The
FD_CLOEXEC is correctly set but additional *random* flags are also set.
It has no side-effect as long as the fd doesn't match a valid flag :)
"fcntl.fcntl(fd, fcntl.F_SETFD, fd | fcntl.FD_CLOEXEC)" <== the 3rd
parameter should be flags, not a file descriptor.
* 003-fail2ban-gamin-socket-close-on-exec-no-leak.diff
Add code that marks the Gamin monitor file descriptor with FD_CLOEXEC
flags. Avoid leaking file descriptors to processes spawned when handling
fail2ban actions (ex: iptables).
---
File descriptors in action process before patches:
dr-x------ 2 root root 0 .
dr-xr-xr-x 8 root root 0 ..
lr-x------ 1 root root 64 0 -> /dev/null <== OK
l-wx------ 1 root root 64 1 -> /tmp/test.log <== used by test action
lrwx------ 1 root root 64 2 -> /dev/null <== OK
lrwx------ 1 root root 64 3 -> socket:[116361] <== NOK (fail2ban.sock leak)
lr-x------ 1 root root 64 4 -> /proc/20090/fd <== used by test action
l-wx------ 1 root root 64 5 -> /var/log/fail2ban.log <== OK
lrwx------ 1 root root 64 6 -> socket:[115608] <== NOK (gamin sock leak)
File descriptors in action process after patches:
dr-x------ 2 root root 0 .
dr-xr-xr-x 8 root root 0 ..
lr-x------ 1 root root 64 0 -> /dev/null <== OK
l-wx------ 1 root root 64 1 -> /tmp/test.log <== used by test action
lrwx------ 1 root root 64 2 -> /dev/null <== OK
lr-x------ 1 root root 64 3 -> /proc/18284/fd <== used by test action
l-wx------ 1 root root 64 5 -> /var/log/fail2ban.log <== OK
2013-04-02 19:11:59 +02:00
Erwan Ben Souiden
44736035bd
change the license to GPLv2 + adapat text
2013-04-02 09:49:44 +02:00
Steven Hiscocks
0ce046ec47
TST: clientreader test now use /etc/fail2ban/ if no local config/
2013-04-01 19:06:58 +01:00
Steven Hiscocks
a153653a27
ENH+TST: Move fail2ban-* scripts to bin/
2013-04-01 19:06:13 +01:00
Steven Hiscocks
e3bd2042eb
TST+ENH: Move testcases to part of fail2ban module
...
This allows fail2ban-testcases to be run on an installed fail2ban
instance.
TODO: Fix tests requiring config files
2013-04-01 11:22:40 +01:00
Steven Hiscocks
e53bfafd6a
TST: Update Travis CI coverage config for python module structure
2013-03-31 19:36:52 +01:00
Steven Hiscocks
dba88e842f
ENH+BF+TST+DOC: Make fail2ban a python module
2013-03-31 18:18:21 +01:00
Steven Hiscocks
77aa523f22
Merge branch 'master' into py3
...
Conflicts:
.travis.yml
server/datetemplate.py
server/server.py
testcases/filtertestcase.py
2013-03-30 22:51:36 +00:00
Yaroslav Halchenko
e43fcc80db
BF: setBaseDir is not static method now -- so set it for the filterReader in question
2013-03-30 18:30:23 -04:00
Yaroslav Halchenko
03f6c42352
Merge commit '0.8.8-160-g74e76e0' into 0.9
...
* commit '0.8.8-160-g74e76e0': (65 commits)
TST+BF: Use separate coveragerc for Travis CI
RF+TST: bring inBanList back from private to protected and enabled its rudimentary unittests
TST: coverage ignore Travis CI python virtual environments
ENH: increase waiting to 4 sec for gamin/pyinotify
TST+BF: Fix incorrect commands for coveralls support
TST: Add support for coveralls for python 2.6 and python 2.7
ENH: deleted trailing spaces in fail2ban- cmdline tools
DOC: minor change -- refer to the fail2ban manpage
TST: be more aggressive in cleanup of temp files + use mktemp instead of mkstemp
ENH(BF?): overload open() (for buffering) within filtertestcase to guarantee atomic writing
BF: delay check for the existence of config directory until read()
DOC: minor fix ups of manpages. fixes #159
non-static (get|set)BaseDir for Configurator. fixes #160
ENH: Slight tune ups for fresh SOGo filter + comment into the sample log file
ENH: postfix filter -- react also on (450 4.7.1) with empty from/to. fixes #126
TST: basic testing of reading the shipped jail.conf (forcing all jails to be enabled)
ENH: allow to force enable all jails (for testing), do not crash for jails without actions (just warn)
ENH: minor -- add default value into the warning if option had none provided
ENH: _copy_lines_between_files -- read all needed, and only then write/flush at once
ENH: move pyinotify callback debug message into callback + delay string interpolations
...
Conflicts:
fail2ban-testcases
testcases/clientreadertestcase.py -- fix for setBaseDir will follow
2013-03-30 18:29:39 -04:00
Steven Hiscocks
5acd035f72
TST: Remove Travis CI unsupported versions of python from Travis config
2013-03-30 21:51:22 +00:00
Steven Hiscocks
d30f6a2d66
add fail2ban-2to3 to MANIFEST file
2013-03-30 21:40:42 +00:00
Steven Hiscocks
b0a08b9790
TST: Add gamin support for Travis CI
2013-03-30 18:17:01 +00:00
Yaroslav Halchenko
74e76e068c
Merge pull request #164 from kwirk/coveralls
...
TST+BF: Use separate coveragerc for Travis CI
2013-03-29 13:32:29 -07:00
Steven Hiscocks
0002fb4ca3
TST+BF: Use separate coveragerc for Travis CI
...
Should now ignore server/filtergamin.py as gamin is not tested. Also
ignores Travis CI python virtual environments
2013-03-29 20:14:13 +00:00
Yaroslav Halchenko
33a31e096a
RF+TST: bring inBanList back from private to protected and enabled its rudimentary unittests
2013-03-29 15:33:08 -04:00
Yaroslav Halchenko
08dd6fed26
Merge pull request #163 from kwirk/coveralls
...
Coveralls.io
2013-03-29 12:15:34 -07:00
Steven Hiscocks
e0e116cb36
TST: coverage ignore Travis CI python virtual environments
2013-03-29 19:09:55 +00:00
Yaroslav Halchenko
e7184e70f6
ENH: increase waiting to 4 sec for gamin/pyinotify
...
This will be the last gesture from me for the bloody tests:
https://travis-ci.org/kwirk/fail2ban/jobs/5904668
2013-03-29 14:59:52 -04:00
Steven Hiscocks
92d26e6897
TST+BF: Fix incorrect commands for coveralls support
2013-03-29 17:22:48 +00:00
Steven Hiscocks
b3251fca79
TST: Add support for coveralls for python 2.6 and python 2.7
2013-03-29 17:16:19 +00:00
Yaroslav Halchenko
ffbbb9f8a3
ENH: deleted trailing spaces in fail2ban- cmdline tools
...
Now it was already a mix, and Cyril is not working on this code any
longer so no need to maintain this convention.
2013-03-29 12:31:50 -04:00
Yaroslav Halchenko
7cf509378c
DOC: minor change -- refer to the fail2ban manpage
2013-03-28 11:36:18 -04:00
Yaroslav Halchenko
ef3f2b7e99
TST: be more aggressive in cleanup of temp files + use mktemp instead of mkstemp
2013-03-27 23:40:50 -04:00
Yaroslav Halchenko
bf4d4af1d4
ENH(BF?): overload open() (for buffering) within filtertestcase to guarantee atomic writing
...
This is with the hope to further resolve random tests failures
( primarily on fast travis-ci systems ;) )
2013-03-27 15:11:49 -04:00
Yaroslav Halchenko
ab044b75ea
BF: delay check for the existence of config directory until read()
2013-03-27 12:22:39 -04:00
Yaroslav Halchenko
b94dede5d5
adjusted changelog
2013-03-27 12:03:13 -04:00
Yaroslav Halchenko
76cdacf43a
Merge commit '0.8.8-147-g4b11f07' into debian
...
* commit '0.8.8-147-g4b11f07':
DOC: minor fix ups of manpages. fixes #159
non-static (get|set)BaseDir for Configurator. fixes #160
2013-03-27 12:02:35 -04:00
Yaroslav Halchenko
4b11f071ed
DOC: minor fix ups of manpages. fixes #159
2013-03-27 12:02:19 -04:00
Yaroslav Halchenko
f643e2e907
non-static (get|set)BaseDir for Configurator. fixes #160
...
ConfigReader's (get|set)BaseDir are no longer static as a result of
.d/ support RFing
2013-03-27 11:51:07 -04:00
Yaroslav Halchenko
d9826d2a2d
install .5 manpages as well
2013-03-27 11:28:25 -04:00
Yaroslav Halchenko
9b18768192
Refresh the manpages patch
2013-03-27 11:26:46 -04:00
Yaroslav Halchenko
1f78630865
Minimalistic changelog entry for a snapshot build
2013-03-27 11:22:58 -04:00
Yaroslav Halchenko
6c4aeaedc5
Merge commit '0.8.8-145-g72b0647' into debian
...
* commit '0.8.8-145-g72b0647': (114 commits)
ENH: Slight tune ups for fresh SOGo filter + comment into the sample log file
ENH: postfix filter -- react also on (450 4.7.1) with empty from/to. fixes #126
TST: basic testing of reading the shipped jail.conf (forcing all jails to be enabled)
ENH: allow to force enable all jails (for testing), do not crash for jails without actions (just warn)
ENH: minor -- add default value into the warning if option had none provided
ENH: _copy_lines_between_files -- read all needed, and only then write/flush at once
ENH: move pyinotify callback debug message into callback + delay string interpolations
ENH: adding ability to incorporate tracebacks into log lines while running tests
ENH: FailManager -- improve log message to report total # of detected failures as well
BF: allow to wait longer for FilterPoll in test_move_file
ENH: elaborated debug log message about already detected failures
BF: Remove custom __str__ for MonitorFailures and just adjust __name__ of the generated class
DOC: Added suggested by @beilber description of .d/ + added I formatting to all filenames
ENH: increase timeout to 20 sec from 10 sec in assert_correct_last_attempt
BF: fixing up for handling of TAI64N timestamps and adding some unittest for prev commit (not effective much though)
An example of failed logins against sogo
Update sogo-auth.conf
Added Daniel and Steven to THANKS
My improvements to manpages
PKG: change email that I want in RPMs
...
2013-03-27 11:19:46 -04:00
Yaroslav Halchenko
72b06479a5
ENH: Slight tune ups for fresh SOGo filter + comment into the sample log file
2013-03-27 11:09:54 -04:00
Yaroslav Halchenko
105306e1a8
Merge remote-tracking branch 'pr/117/head' -- SOGo filters
...
* pr/117/head:
An example of failed logins against sogo
Update sogo-auth.conf
Update config/filter.d/sogo-auth.conf
Create sogo-auth.conf
Update config/jail.conf
2013-03-27 11:09:35 -04:00
Yaroslav Halchenko
cd57d9c552
Merge pull request #155 from yarikoptic/master
...
TST+ENH: enable basic (smoke) testing of the default jail.conf + improve postfix filter
2013-03-27 05:43:55 -07:00
Yaroslav Halchenko
01b4870adc
Merge pull request #154 from fail2ban/_tent/fixup_tests_racing
...
Multiple ENHs + fixup tests racing. fixes #103
2013-03-27 05:42:44 -07:00
Erwan Ben Souiden
c4d92fba71
fix the script name to check_fail2ban everywhere
2013-03-26 16:08:05 +01:00
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)
2013-03-26 15:55:26 +01:00
Yaroslav Halchenko
91d5736c12
ENH: postfix filter -- react also on (450 4.7.1) with empty from/to. fixes #126
2013-03-26 09:40:04 -04:00
Yaroslav Halchenko
c06b7abb46
TST: basic testing of reading the shipped jail.conf (forcing all jails to be enabled)
2013-03-26 00:01:56 -04:00
Yaroslav Halchenko
8fe4e11b67
ENH: allow to force enable all jails (for testing), do not crash for jails without actions (just warn)
...
also a bit more explicit handling of regexp groups in splitAction
2013-03-26 00:01:12 -04:00
Yaroslav Halchenko
2fb053643e
ENH: minor -- add default value into the warning if option had none provided
2013-03-25 23:59:42 -04:00
Yaroslav Halchenko
7064a411c2
ENH: _copy_lines_between_files -- read all needed, and only then write/flush at once
...
I think this is the one which should resolve
https://github.com/fail2ban/fail2ban/issues/103
2013-03-25 23:05:55 -04:00
Yaroslav Halchenko
ba042c6e3a
ENH: move pyinotify callback debug message into callback + delay string interpolations
2013-03-25 23:05:55 -04:00
Yaroslav Halchenko
52af29a080
ENH: adding ability to incorporate tracebacks into log lines while running tests
2013-03-25 23:05:48 -04:00
Yaroslav Halchenko
c29553354b
ENH: FailManager -- improve log message to report total # of detected failures as well
2013-03-25 23:05:47 -04:00
Yaroslav Halchenko
f72bc13111
BF: allow to wait longer for FilterPoll in test_move_file
2013-03-25 23:05:47 -04:00
Yaroslav Halchenko
5ea2ab14e6
ENH: elaborated debug log message about already detected failures
...
Now it should be evaluated only if logging mode is debug or "lower", and also
should happen not only on initial detections but for every added failure.
It also reports counts per each IP now
2013-03-25 23:05:47 -04:00
Yaroslav Halchenko
e6983b4f9b
BF: Remove custom __str__ for MonitorFailures and just adjust __name__ of the generated class
...
Also to guarantee unique file names across tests -- append incremental
numeric suffix.
This should prevent unittest from not reporting specific unittest method names,
thus complicating the analysis of failures
2013-03-25 23:05:07 -04:00
Yaroslav Halchenko
ca474eb488
DOC: Added suggested by @beilber description of .d/ + added I formatting to all filenames
2013-03-25 12:05:10 -04:00
Yaroslav Halchenko
755f27493e
Merge branch '_tent/conf_d'. fixes #114
...
It also fixes #115 since current implementation provides similarly informative
error messages. But see #153 for possible improvements
* _tent/conf_d:
Reincarnated removed (by mistake) test for SplitAction
ENH: made log messages while parsing files more informative + test for inaccessible file (Closes: gh-24)
NF: allow customization configuration under corresponding .d directories (Closes gh-114)
Fix up for warning/error for inaccessible config files
Warn if config file present but unreadable
Conflicts:
fail2ban-testcases
2013-03-25 11:53:45 -04:00
Yaroslav Halchenko
007827fac6
ENH: increase timeout to 20 sec from 10 sec in assert_correct_last_attempt
...
This is done with a hope to resolve randomly failing tests on travis-ci
and thus fixing the #103
2013-03-25 11:03:55 -04:00
Yaroslav Halchenko
3b4084d471
BF: fixing up for handling of TAI64N timestamps and adding some unittest for prev commit (not effective much though)
2013-03-25 10:41:13 -04:00
Yaroslav Halchenko
7813340e1c
Merge branch 'master' of https://github.com/sebres/fail2ban
...
* 'master' of https://github.com/sebres/fail2ban :
invalid date recognition, irregular because of sorting template list, now via setRegex
invalid date recognition, irregular because of sorting template list (sometimes not reproducible by fail2ban-regex, cause will be not sorted)
2013-03-25 10:00:55 -04:00
Artur Penttinen
edc0eb2a9c
Added testcase for MySQL date format to testcases/datedetectortestcase.py
...
and example of MySQL log file.
2013-03-25 16:00:07 +02:00
ArndRa
ebb6e5f4eb
An example of failed logins against sogo
2013-03-25 09:11:51 +01:00
ArndRa
bba3fd8568
Update sogo-auth.conf
...
included hint by user yarikoptic
2013-03-25 08:43:13 +01:00
Yaroslav Halchenko
c0915e5c7b
Added Daniel and Steven to THANKS
2013-03-24 22:13:16 -04:00
Yaroslav Halchenko
6eb262fea6
My improvements to manpages
2013-03-24 22:12:52 -04:00
Yaroslav Halchenko
e86addf171
Merge branch 'misc-fixes' of https://github.com/grooverdan/fail2ban
...
Conflicts:
testcases/servertestcase.py -- excluded all the changes to this file,
since they were conflicting and actually not needed (yet at least)
* 'misc-fixes' of https://github.com/grooverdan/fail2ban :
PKG: change email that I want in RPMs
BF: defer testSocket for later
DOC: Defin{a,i}tion
DOC: add fail2ban.1 manual page
DOC: init -> Init, defination -> Defination. Improved intro
DOC: punishment claimed
BF: add missing items from MANIFEST, used by python setup.py sdist
DOC: tags are documented in the jail.conf(5) man page
ENH: add test case for testing socket
ENH: jail.conf man page
ENH: git ignore failed patch reminants
BF: remove non-existant files from setup.py. ENH: add documentation
ENH: packaging information for RPM builds
completed items from TODO list
2013-03-24 21:19:26 -04:00
Artur Penttinen
29d0df58be
Added support for MySQL logfiles
2013-03-24 16:52:58 +02:00
Steven Hiscocks
21888dfe69
ENH: Add python3 versions to Travis CI config
2013-03-23 19:31:29 +00:00
Steven Hiscocks
8ddc9de928
BF: Handle expected errors for python3.{0,1} when changing log target
2013-03-23 19:04:58 +00:00
Daniel Black
e6ae8872c6
PKG: change email that I want in RPMs
2013-03-23 21:31:09 +11:00
Daniel Black
6f804f9259
BF: defer testSocket for later
2013-03-23 21:04:03 +11:00
Daniel Black
ab16246619
DOC: Defin{a,i}tion
2013-03-23 20:19:05 +11:00
Daniel Black
b5cbee9e65
DOC: add fail2ban.1 manual page
2013-03-23 20:12:31 +11:00
Yaroslav Halchenko
996e23455c
DOC: reverted unneeded stripping of DoW + added comments for why [:6]
2013-03-22 20:56:45 -04:00
Yaroslav Halchenko
e3d3a6ac02
Merge branch 'datedetector-testcase' of https://github.com/kwirk/fail2ban
...
* 'datedetector-testcase' of https://github.com/kwirk/fail2ban :
Correct datedetector testcases for TAI64N format
Additional date/time formats for datedetector testcases
2013-03-22 20:27:39 -04:00
Yaroslav Halchenko
217b04d009
Merge pull request #148 from kwirk/testcases-logissues
...
Do not allow server tests to change logging until the last moment. fixes #147
2013-03-22 15:24:59 -07:00
Daniel Black
847c474b11
DOC: init -> Init, defination -> Defination. Improved intro
2013-03-23 09:17:40 +11:00
Daniel Black
8ce986e9f9
DOC: punishment claimed
2013-03-23 09:15:55 +11:00
Steven Hiscocks
7a442f079f
BF: When changing log target with python2.{4,5} handle KeyError
2013-03-22 21:19:31 +00:00
Steven Hiscocks
ec87e3edbd
TST: Break out server testcases that modify logging settings
2013-03-22 21:15:37 +00:00
Yaroslav Halchenko
989fc06a42
DOC: DEVELOP -- mention TST commit tag, adjust formatting in Releasing
2013-03-22 09:26:33 -04:00
Yaroslav Halchenko
99bf14851f
BF+TST: Introduce delay before stopping all jails in testStartStopAllJail. fixes #146
2013-03-22 09:20:21 -04:00
Yaroslav Halchenko
1330c7d4b8
Merge branch 'socket-testcase' of https://github.com/kwirk/fail2ban
...
* 'socket-testcase' of https://github.com/kwirk/fail2ban :
Update MANIFEST with and author of testcases/sockettestcase.py
Added testcase for csocket and asyncserver
2013-03-17 10:10:11 -04:00
Steven Hiscocks
43b8a66482
Update MANIFEST with and author of testcases/sockettestcase.py
2013-03-17 09:18:14 +00:00
Daniel Black
936a29f7a6
BF: add missing items from MANIFEST, used by python setup.py sdist
2013-03-17 12:31:29 +11:00
Daniel Black
67544d1dd6
DOC: tags are documented in the jail.conf(5) man page
2013-03-17 10:52:49 +11:00
Steven Hiscocks
86d48a854f
Correct datedetector testcases for TAI64N format
2013-03-16 18:18:27 +00:00
Steven Hiscocks
883892a683
Additional date/time formats for datedetector testcases
...
Also made a note that some workarounds for certain date/time formats
may cause week/year day to be incorrect. This does not affect
functionality of fail2ban so no urgency to fix.
2013-03-16 17:55:22 +00:00
Daniel Black
3cffb0c9e0
ENH: add test case for testing socket
2013-03-16 16:18:59 +11:00
Daniel Black
3aeb1a9f4e
ENH: jail.conf man page
2013-03-16 13:57:42 +11:00
Daniel Black
c6ac9c2e35
ENH: git ignore failed patch reminants
2013-03-16 13:53:51 +11:00
Daniel Black
10d4aa1682
BF: remove non-existant files from setup.py. ENH: add documentation
2013-03-16 13:53:12 +11:00
Daniel Black
a5928cc3cf
ENH: packaging information for RPM builds
2013-03-16 13:52:18 +11:00
Daniel Black
2a57a17c86
completed items from TODO list
2013-03-16 13:51:23 +11:00
Orion Poplawski
ed386dfe07
Add systemd unit file and tmpfiles.d configuration files
2013-03-15 14:37:11 -06:00
Orion Poplawski
fb006ff624
Merge branch 'master' of git://github.com/fail2ban/fail2ban
2013-03-15 13:31:39 -06:00
Yaroslav Halchenko
1eb23cf8af
BF: do not rely on scripts being under /usr -- might differ eg on Fedora -- rely on import of common.version (Closes gh-112)
...
This is also not ideal, since if there happens to be some systemwide common.version -- we are doomed
but otherwise, we cannot keep extending comparison check to /bin, /sbin whatelse
2013-03-15 13:30:00 -06:00
Yaroslav Halchenko
7fc83196b9
RF: move exceptions used by both client and server into common/exceptions.py
...
this prevents importing of server while operating with client only
2013-03-15 13:30:00 -06:00
Orion Poplawski
9055d925f2
Remove unneeded setting of opts.no_network
2013-03-15 13:30:00 -06:00
Yaroslav Halchenko
e4aedfdc00
BF: pyinotify - use bitwise op on masks and do not try tracking newly created directories
2013-03-15 13:30:00 -06:00
Orion Poplawski
3b0800459b
Initial support for --no-network option for fail2ban-testcases
2013-03-15 13:30:00 -06:00
blotus
5087b41054
Escape ' and " in matches tag
2013-03-15 13:30:00 -06:00
Yaroslav Halchenko
abd56dbedf
Merge branch 'master' into 0.9
...
* master: (26 commits)
DOC: added a note that coverage script is python-coverage on Debian systems
Fixed typos
Added additional Transmitter tests, and some associated fixes
TODO: test filters/examples files
add corresponding ChangeLog entry
do catch all exception
ENH: typo + head -1 has been deprecated for 10+ years.
ENH: add help command
BF: allow more than single word for command action[start,stop,ban,unban,check] and for setcinfo too
BF: general Exception catch was excessive. Only IOError and OSError are possible and has different meanings
Add development documentation and framework for code coverage measurement
FSF address changes missing from previous
refresh generated manpages (since 0.8.2 state)
Downgrade log rotation detection message to DEBUG level from INFO. Closes: gh-129
BF: do not shutdown logging until all jails stop -- so move into Server.quit()
BF: safeguard closing of log handlers + close in reverse order
Added transmitter get cinfo option for action
Fix for missing value in transmitter delaction
Rewrite and enable server testcase for Transmitter
ENH: adding more of diagnostic messages into -client while starting the daemon
...
2013-03-12 20:48:09 -04:00
Steven Hiscocks
d4362859ef
Added testcase for csocket and asyncserver
2013-03-11 17:22:57 +00:00
sebres
b6bb2f88c1
invalid date recognition, irregular because of sorting template list, now via setRegex
2013-03-11 13:52:31 +01:00
Yaroslav Halchenko
be42522bba
Merge branch 'transmitter-testcase' of https://github.com/kwirk/fail2ban
...
* 'transmitter-testcase' of https://github.com/kwirk/fail2ban :
Added additional Transmitter tests, and some associated fixes
2013-03-10 21:23:04 -04:00
Yaroslav Halchenko
cabbc0fd96
DOC: added a note that coverage script is python-coverage on Debian systems
2013-03-10 21:21:27 -04:00
Yaroslav Halchenko
5e5eaaf838
Merge pull request #134 from grooverdan/misc-fixes
...
BF: fail2ban client can't handle multi word setcinfo or action[*] values
2013-03-10 18:01:17 -07:00
Yaroslav Halchenko
5163f02e92
Merge pull request #138 from pborreli/typos
...
Those were not the typos but an alternative self-expression ;-) Thanks @pborreli
2013-03-10 17:58:51 -07:00
Pascal Borreli
a2b29b4875
Fixed typos
2013-03-10 22:05:33 +00:00
Steven Hiscocks
4bbbc07872
Added additional Transmitter tests, and some associated fixes
...
This includes some tweaks such that errors are raised for certain
commands
2013-03-10 14:55:39 +00:00
Yaroslav Halchenko
a6cf3246d0
Merge pull request #135 from grooverdan/dev-doco-2
...
Dev doco 2
2013-03-10 06:31:29 -07:00
Daniel Black
d0d89b4321
TODO: test filters/examples files
2013-03-10 17:47:52 +11:00
Daniel Black
8b91b58e2d
add corresponding ChangeLog entry
2013-03-10 17:47:41 +11:00
Daniel Black
23bbc60b1c
do catch all exception
2013-03-10 17:10:40 +11:00
Yaroslav Halchenko
b03e046370
Merge pull request #133 from grooverdan/development-code-coverage
...
coverage pragma comments, improved documentation for the developers
2013-03-09 21:30:05 -08:00
Daniel Black
a0f088be25
ENH: typo + head -1 has been deprecated for 10+ years.
2013-03-10 16:28:45 +11:00
Daniel Black
7cd6dab7f0
ENH: add help command
2013-03-10 15:45:54 +11:00
Daniel Black
f0610c01d5
BF: allow more than single word for command action[start,stop,ban,unban,check] and for setcinfo too
2013-03-10 15:29:48 +11:00
Daniel Black
c8c7b0b984
BF: general Exception catch was excessive. Only IOError and OSError are possible and has different meanings
2013-03-10 15:29:27 +11:00
Daniel Black
3665e6dc44
Add development documentation and framework for code coverage measurement
2013-03-10 15:18:42 +11:00
Daniel Black
00ad4d56a7
FSF address changes missing from previous
2013-03-10 15:18:09 +11:00
Yaroslav Halchenko
6e77427516
refresh generated manpages (since 0.8.2 state)
2013-03-07 13:03:49 -05:00
sebres
d17b415371
invalid date recognition, irregular because of sorting template list (sometimes not reproducible by fail2ban-regex, cause will be not sorted)
...
date in following log line (from nginx) will be wrong detected:
2012/10/11 02:37:17 [error] 18434#0: *947 user "test" was not found in "/www/...", client: 192.168.1.5, ...
sometimes it is [correct] - 2012/10/11 (%Y/%m/%d) = 1349919861.71
sometimes it is [invalid] - 12/10/11 (%d/%m/%y) = 1349915838.06
and older as now - 1800 seconds (therefore will be not found)
solution: regular expression fixed, cause date in log used always after non symbol (\W) character, so r"\d{2}/\d{2}/\d{2}" will be r"(?<!\w)\d{2}/\d{2}/\d{2}".
2013-03-05 00:02:39 +01:00
Yaroslav Halchenko
59c35bc44a
Downgrade log rotation detection message to DEBUG level from INFO. Closes: gh-129
...
This message useful only when debugging problems so it is more reasonable
to have it suppressed otherwise
2013-03-01 19:57:56 -05:00
Steven Hiscocks
a4a24048d4
Minor tweaks to fail2ban-regex for encoding
2013-02-27 18:31:47 +00:00
Steven Hiscocks
578d9bed1b
Added ability to set log file encoding with fail2ban-regex
2013-02-27 18:13:22 +00:00
Steven Hiscocks
66367876bb
Add ability to set log encoding for jail
2013-02-27 18:09:55 +00:00
Steven Hiscocks
d23d365be2
Move handling of unicode decoding to FileContainer readline
...
Also print warning for unicode decode failure, leaving as str in python2
and ignoring erroneous characters in python3
2013-02-25 22:45:16 +00:00
Steven Hiscocks
7e1819ed65
Fix incorrect exit code from fail2ban-2to3
2013-02-24 19:34:05 +00:00
Steven Hiscocks
184e0eccb6
Remove redundant reassignment of variable
2013-02-24 19:28:41 +00:00
Steven Hiscocks
78d86bc38d
Minor typo in fail2ban-testcases-all-python3
2013-02-24 19:24:07 +00:00
Steven Hiscocks
3a3d07ef39
Undo removal of unicode prefix in server/datetemplate.py
2013-02-24 19:22:50 +00:00
Steven Hiscocks
31b173f032
Remove functools from filter testcases for python2.4 compatibility
2013-02-24 19:13:36 +00:00
Steven Hiscocks
418d845f9b
fail2ban-regex open files as utf-8 for python3
2013-02-24 18:59:07 +00:00
Steven Hiscocks
dbc40d6210
Added helper scripts to carry out 2to3 and testcases on python3
2013-02-24 18:27:40 +00:00
Steven Hiscocks
c8c9ed4dfc
Fix DNSUtils dnsToIp not catching general socket.error exception
2013-02-24 18:13:48 +00:00
Steven Hiscocks
0dd3a81ba2
Fix use of python3 bytes in client/server socket for python2.5
2013-02-24 18:04:40 +00:00
Steven Hiscocks
e28a698c0e
Change filter testcases python3 open wrapper to utf-8
2013-02-24 10:11:34 +00:00
Steven Hiscocks
46a2b6e428
Fix up for client/server socket for python3
2013-02-24 10:10:15 +00:00
Steven Hiscocks
6f4da8f3c4
Remove spurious space in fail2ban-server
2013-02-24 10:04:36 +00:00
Steven Hiscocks
df255063ae
python3: Default open encoding for files to UTF-8
...
Also tidy up unicode check in processLine, which is handled by `2to3`
2013-02-23 22:20:55 +00:00
Steven Hiscocks
5d0d362e3f
Ensure jail names return in alphabetical order in status
...
Primarily to support testing as order can switch
2013-02-23 22:06:16 +00:00
Steven Hiscocks
53be2ade86
Wrap open method to allow python3 to ignore unicode errors
2013-02-23 21:05:23 +00:00
Steven Hiscocks
2bb3469644
Change filter to ignore unicode errors in python3
...
Also do not try to convert unicode to unicode again for python3 and
python2
2013-02-23 21:03:51 +00:00
Steven Hiscocks
ad7119a3fe
time.mktime argument should be tuple
2013-02-23 21:01:39 +00:00
Steven Hiscocks
2ecf34540e
Change sort in datedetector to use key based comparison
2013-02-23 19:34:05 +00:00
Steven Hiscocks
99c92a56ca
Check for unicode and encode before md5sum in filter
2013-02-23 18:52:10 +00:00
Steven Hiscocks
c926c88ea1
Remove spurious space at start of line
2013-02-23 18:42:50 +00:00
Yaroslav Halchenko
c7ab71ae1f
Merge pull request #124 from kwirk/servertestcase
...
Rewrite and enable server testcases + fixed few bugs along the way (logging, missing assignment)
2013-02-22 06:32:11 -08:00
Steven Hiscocks
6aadd6b7dc
Merge pull request #1 from yarikoptic/servertestcase
...
Servertestcase -- resolving issues with logging while running on python 2.4 and 2.5
2013-02-22 00:20:15 -08:00
Yaroslav Halchenko
154aa38e3f
BF: do not shutdown logging until all jails stop -- so move into Server.quit()
...
Together with previous commit it should resolve failures with the server tests on python < 2.6
2013-02-21 20:59:46 -05:00
Yaroslav Halchenko
012264dce1
BF: safeguard closing of log handlers + close in reverse order
...
otherwise there might be "stuck" handler in the queue. and closing
exceptions can occur -- even stock logging guards in recent versions
2013-02-21 20:58:27 -05:00
Steven Hiscocks
b36835f6f0
Added transmitter get cinfo option for action
2013-02-20 23:33:39 +00:00
Steven Hiscocks
b6a68f5138
Fix for missing value in transmitter delaction
2013-02-20 23:24:46 +00:00
Steven Hiscocks
088e40c481
Rewrite and enable server testcase for Transmitter
2013-02-20 23:14:42 +00:00
Yaroslav Halchenko
a8bd9c20a0
Merge branch 'master' of git://github.com/fail2ban/fail2ban
...
* 'master' of git://github.com/fail2ban/fail2ban:
add blocking type
add example jail.conf for blocking through blackhole routes for ssh
add support for blocking through blackhole routes
2013-02-18 23:12:06 -05:00
Yaroslav Halchenko
40c5a2d996
ENH: adding more of diagnostic messages into -client while starting the daemon
2013-02-18 23:08:44 -05:00
Yaroslav Halchenko
b951ad78c4
debian/jail.conf: added findtime and documentation on those basic options from jail.conf
2013-02-18 18:51:15 -05:00
Yaroslav Halchenko
d5ae28facf
Merge pull request #104 from gebi/t/route
...
add support for blocking through blackhole routes
2013-02-18 08:01:34 -08:00
Michael Gebetsroither
a37ed388e7
Merge pull request #1 from grooverdan/route
...
add blocking types
2013-02-18 03:14:33 -08:00
Steven Hiscocks
294f073741
Typo in default pidfile in fail2ban.conf
2013-02-17 22:42:24 +00:00
Yaroslav Halchenko
ec3080cba5
Reincarnated removed (by mistake) test for SplitAction
2013-02-17 17:21:03 -05:00
Yaroslav Halchenko
2312b1d950
ENH: made log messages while parsing files more informative + test for inaccessible file (Closes: gh-24)
2013-02-17 17:19:09 -05:00
Steven Hiscocks
ce3ab34dd8
Added ability to specify PID file
2013-02-17 22:14:01 +00:00
Yaroslav Halchenko
5c9a9b1129
Merge remote-tracking branch 'github_kwirk_fail2ban/upstream#24' into _tent/conf_d
...
Merge is done with -X ours -- since I have implemented more generic handling
for config files, including now the ones under .d/ subdirectories.
* github_kwirk_fail2ban/upstream#24 :
Fix up for warning/error for inaccessible config files
Warn if config file present but unreadable
2013-02-17 17:05:30 -05:00
Yaroslav Halchenko
9ba27353b6
NF: allow customization configuration under corresponding .d directories (Closes gh-114)
...
Additional changes:
ENH: make basedir for Config's a kwarg to the constructor
ENH: improved analysis/reporting on presence/accessibility of config
files. Got carried away and forgot about existing work done by
Steven Hiscocks in the gh-115 -- will merge it in the next
commit for the fair ack of his work
Now for any X.conf configuration file we have following ways to
provide customizations
X.local -- read after .conf (kept for backward compatibility)
X.d/ -- directory to contain additional .conf files, sorted
alphabetically, e.g
X.d/01_enable.conf - to enable the jail
X.d/02_custom_port.conf - to change the port
X could be a 'jail' or 'fail2ban' or any other configuration file in
fail2ban.
Mention that all files still must contain the corresponding sections
(most of the time duplicating it across all of them).
2013-02-17 17:03:23 -05:00
Daniel Black
47b1ee39d8
add blocking type
2013-02-17 12:44:15 +11:00
Yaroslav Halchenko
8cf006827e
BF: remove path from grep call in sendmail-whois-lines.conf Closes: gh-118
2013-02-12 08:48:05 -05:00
ArndRa
6cd358ee95
Update config/filter.d/sogo-auth.conf
...
Comment line in the top altered to fit file name. My local file was named differently...
2013-02-12 10:45:37 +01:00
Yaroslav Halchenko
6004fe7a94
just trailing spaces in setup.py
2013-02-11 16:17:52 -05:00
Yaroslav Halchenko
4d4c2d7e02
Brief changelog entry for multiline failregex. With this Close gh-54
2013-02-11 16:04:44 -05:00
Yaroslav Halchenko
c7ae460b8a
Merge remote-tracking branch 'github_kwirk_fail2ban/multi-line' into 0.9
...
* github_kwirk_fail2ban/multi-line:
Revert changes to man/fail2ban-client.1
Removed "common.local" include for FilterReader test
Added 'maxlines' option to fail2ban-regex
Regex get(Un)MatchedLines now returns whole lines only
Added FilterReader test
Added multiregex test for multi-line filter
ignoreregex now functions correctly with multiline
Minor typo in server/failregex.py
Added <SKIPLINES> regex applicable for multi-line
Sanitise testcase log 04
Changed multi-line test to provided example
Filter for multi-line now stores last time match
Simplify and change some filter line buffer
Initial changes and test for multi-line filtering
2013-02-11 16:01:11 -05:00
Yaroslav Halchenko
9dc662af27
Introducing 0.9.x series with 0.9.0a0
...
0.9.0a0 is chosen so that StrictVersion works within python 2.x
2013-02-11 16:00:05 -05:00
ArndRa
35bf84abad
Create sogo-auth.conf
...
Regexp works with SOGo 2.0.5 or newer, following new feature implemented here: http://www.sogo.nu/bugs/view.php?id=2229
2013-02-11 08:19:48 -08:00
ArndRa
52f952e645
Update config/jail.conf
...
Update to use the new sogo-auth filter
2013-02-11 17:14:29 +01:00
Yaroslav Halchenko
f8983872ad
BF: return str(host) to avoid spurious characters in the logs (Close gh-113)
...
thanks to opoplawski@github
2013-02-01 16:24:04 -05:00
Yaroslav Halchenko
5f2d3832f7
NF: roundcube-auth filter (to close Debian #699442 , needing debian/jail.conf section)
2013-01-31 14:41:34 -05:00
Steven Hiscocks
9c2e0cbbc8
Fix up for warning/error for inaccessible config files
2013-01-31 18:36:23 +00:00
Steven Hiscocks
bf5f46c3d5
Warn if config file present but unreadable
2013-01-30 19:57:03 +00:00
Steven Hiscocks
efea62e03f
Revert changes to man/fail2ban-client.1
2013-01-28 20:47:32 +00:00
Steven Hiscocks
02218294bc
Removed "common.local" include for FilterReader test
2013-01-28 18:41:12 +00:00
Yaroslav Halchenko
d561a4c2bb
BF: do not rely on scripts being under /usr -- might differ eg on Fedora -- rely on import of common.version (Closes gh-112)
...
This is also not ideal, since if there happens to be some systemwide common.version -- we are doomed
but otherwise, we cannot keep extending comparison check to /bin, /sbin whatelse
2013-01-28 09:54:12 -05:00
Yaroslav Halchenko
acab23bdfe
RF: move exceptions used by both client and server into common/exceptions.py
...
this prevents importing of server while operating with client only
2013-01-28 09:46:50 -05:00
Steven Hiscocks
b48c17b8c4
Added 'maxlines' option to fail2ban-regex
...
This allows multi-line regex to be tested
2013-01-27 10:47:13 +00:00
Steven Hiscocks
99914ac0f3
Regex get(Un)MatchedLines now returns whole lines only
...
Fix issue where for regexs not anchored at start/end of line, that
getMatchedLines and getUnmatchedLines returned partial lines
2013-01-27 09:17:48 +00:00
Yaroslav Halchenko
f8c8a5583e
Merge remote-tracking branch 'gh-yarikoptic/master'
...
* gh-yarikoptic/master:
BF: pyinotify - use bitwise op on masks and do not try tracking newly created directories
2013-01-26 12:36:49 -05:00
Yaroslav Halchenko
c900c08eed
Merge pull request #111 from opoplawski/nonettest
...
Initial support for --no-network option for fail2ban-testcases (Closes gh-110)
2013-01-25 16:45:01 -08:00
Orion Poplawski
431489c9b9
Remove unneeded setting of opts.no_network
2013-01-25 14:19:10 -07:00
Yaroslav Halchenko
6b2e76ba7f
BF: pyinotify - use bitwise op on masks and do not try tracking newly created directories
2013-01-25 16:06:41 -05:00
Orion Poplawski
fdd9dfb4b5
Initial support for --no-network option for fail2ban-testcases
2013-01-25 12:56:00 -07:00
Steven Hiscocks
d05f420758
Added FilterReader test
2013-01-25 18:28:48 +00:00
Yaroslav Halchenko
b8a861d012
Merge remote-tracking branch 'gh-yarikoptic/master'
...
* gh-yarikoptic/master:
ENH: Added login authenticator failed regexp for exim filter
DOC: Mention that logrotate configuration needs to be adjusted if logtarget is changed (Closes : #697333 )
2013-01-25 13:27:30 -05:00
Steven Hiscocks
7234c2a3aa
Added multiregex test for multi-line filter
2013-01-25 18:16:55 +00:00
Steven Hiscocks
ea466d59f4
ignoreregex now functions correctly with multiline
...
Ignore regexs are now only compared to lines that match the failregex.
Supporting test also added for multiline regex and overlapping
multiline regex matches.
2013-01-25 18:11:40 +00:00
Yaroslav Halchenko
4a48844027
Merge pull request #107 from opoplawski/master
...
sshd filter - avoid banning on pam failures since might be too early. Close gh-106
If desired to ban on pam -- enable pam-generic filter, possibly even tuning in pam-generic.local the value for caught ttys in case of more detailed control needed
Provided example was:
Jan 18 12:47:34 host sshd[23755]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.123.123.123 user=myuser
Jan 18 12:47:34 host sshd[23755]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.123.123.123 user=myuser
Jan 18 12:47:34 host sshd[23755]: Accepted password for myuser from 123.123.123.123 port 50615 ssh2
2013-01-25 08:24:44 -08:00
Yaroslav Halchenko
7d630cb0de
Merge pull request #109 from blotus/master
...
Escape ' and " in matches
2013-01-25 08:11:04 -08:00
blotus
96eb8986cc
Escape ' and " in matches tag
2013-01-25 13:37:22 +01:00
Steven Hiscocks
28f68a693f
Minor typo in server/failregex.py
2013-01-24 21:12:45 +00:00
Steven Hiscocks
9b4806bfd3
Added <SKIPLINES> regex applicable for multi-line
...
This allows lines captured by <SKIPLINES> regex to remain in the line
buffer in Filter
2013-01-24 18:20:43 +00:00
Steven Hiscocks
5952819a58
Sanitise testcase log 04
2013-01-23 19:32:55 +00:00
Steven Hiscocks
00ab425492
Changed multi-line test to provided example
2013-01-23 19:10:27 +00:00
Steven Hiscocks
055aeeb227
Filter for multi-line now stores last time match
...
This is useful for log files which dont contain a date/time on every
line
2013-01-23 18:42:25 +00:00
Steven Hiscocks
5c7e3841e0
Simplify and change some filter line buffer
...
Include change variable names to `fail2ban` style
2013-01-23 18:26:49 +00:00
Steven Hiscocks
aec709f4c1
Initial changes and test for multi-line filtering
2013-01-22 20:54:14 +00:00
Orion Poplawski
bb7628591c
Update config/filter.d/sshd.conf
...
Do not trigger sshd bans on pam_unix authentication failures, this will trigger on successful logins on systems that use non-pam_unix authentication (sssd, ldap, etc.).
2013-01-18 14:44:49 -07:00
Yaroslav Halchenko
9a39292813
ENH: Added login authenticator failed regexp for exim filter
2013-01-04 15:23:05 -05:00
Yaroslav Halchenko
b3d8ba146b
DOC: Mention that logrotate configuration needs to be adjusted if logtarget is changed ( Closes : #697333 )
2013-01-04 15:23:05 -05:00
Yaroslav Halchenko
3ce53e8798
ENH: Added login authenticator failed regexp for exim filter
2013-01-04 15:22:18 -05:00
Yaroslav Halchenko
8f0c533d64
DOC: Mention that logrotate configuration needs to be adjusted if logtarget is changed ( Closes : #697333 )
2013-01-04 10:55:14 -05:00
Michael Gebetsroither
03433f79cd
add example jail.conf for blocking through blackhole routes for ssh
2013-01-04 16:09:04 +01:00
Michael Gebetsroither
f9b78ba927
add support for blocking through blackhole routes
2013-01-03 18:46:31 +01:00
Yaroslav Halchenko
be06b1b914
Merge pull request #102 from grooverdan/ipset
...
Ipset
2012-12-30 19:51:15 -08:00
Daniel Black
da0ba8ab4c
ENH: add example jail for ipset
2012-12-31 14:38:51 +11:00
Daniel Black
9221886df6
more documentation and optimisations/fixes based on testing
2012-12-31 14:31:37 +11:00
Daniel Black
abd5984234
base ipset support
2012-12-31 14:31:37 +11:00
Yaroslav Halchenko
05af52e833
ENH: fail2ban-regex -- __str__ for RegexStat + modeline
2012-12-24 11:05:44 -05:00
Yaroslav Halchenko
21e966e4bb
example logs should carry the same name as the filter they are devised for
2012-12-13 08:24:02 -05:00
Yaroslav Halchenko
f96ea013bb
Merge pull request #99 from pigsyn/patch-2
...
Update config/filter.d/webmin-auth.conf for trailing spaces
2012-12-13 05:22:43 -08:00
pigsyn
123d457924
Update testcases/files/logs/Webmin
2012-12-13 08:33:07 +01:00
pigsyn
38dd1506cc
Sample Webmin logs
2012-12-12 23:25:31 -08:00
pigsyn
f336d9f876
Update config/filter.d/webmin-auth.conf
...
Added '\s*$' to the regular expression to match the space written by webmin logs at line-endings
2012-12-13 08:14:49 +01:00
pigsyn
dc67b24270
Update config/filter.d/webmin-auth.conf
...
Added a trailing '.*$' to each regex so they can find expressions in targeted log files.
2012-12-12 23:07:39 +01:00
Yaroslav Halchenko
3969e3f77b
ENH: dovecot.conf - require space(s) before rip/rhost log entry
2012-12-12 09:16:52 -05:00
Yaroslav Halchenko
68c1defb76
ENH: added dovecot example from Daniel Black + example with DoS attempt via injected rhost
2012-12-12 09:16:27 -05:00
Yaroslav Halchenko
6d804df504
Merge branch 'patch-2' of https://github.com/hamilton5/fail2ban (dovecot log examples)
...
* 'patch-2' of https://github.com/hamilton5/fail2ban :
Update testcases/files/logs/dovecot
Update testcases/files/logs/dovecot
2012-12-12 09:11:34 -05:00
Yaroslav Halchenko
d7b7d7d491
Merge branch 'patch-1' of https://github.com/hamilton5/fail2ban
...
* 'patch-1' of https://github.com/hamilton5/fail2ban :
Update config/filter.d/dovecot.conf
Update config/filter.d/dovecot.conf
Update config/filter.d/dovecot.conf
2012-12-12 09:10:44 -05:00
Yaroslav Halchenko
46e2de98ff
Merge pull request #97 from grooverdan/simplefix
...
name -> IP is a normal DNS lookup not a reverse
2012-12-12 06:08:14 -08:00
Yaroslav Halchenko
620d6015ac
Merge pull request #98 from grooverdan/gitignore
...
ignore build directory and compiled python bits
2012-12-12 06:07:09 -08:00
Daniel Black
fd7929863b
name -> IP is a normal DNS lookup not a reverse
2012-12-12 21:59:01 +11:00
Daniel Black
b95dc592b9
ignore build directory and compiled python bits
2012-12-12 21:43:27 +11:00
hamilton5
266cdc29a6
Update config/filter.d/dovecot.conf
...
even tho not on the fail2ban site..
suggested to not be greedy by yarikoptic
2012-12-11 12:09:28 -05:00
hamilton5
ccc62ddbf3
Update testcases/files/logs/dovecot
2012-12-11 12:05:01 -05:00
Yaroslav Halchenko
67145d8b78
ENH: assure that all date templates have unique names
2012-12-11 11:18:52 -05:00
Yaroslav Halchenko
d1625253eb
ENH: debug msgs on which template was taken (+ use "is" for None comparisons)
2012-12-11 11:18:52 -05:00
Yaroslav Halchenko
2b6366656f
BF: make sorting of date templates stable
...
Before, it would first do stable sort followed with explicit reverse.
Now reverse is given as an argument to sort, and it results in actually
preserving the order in case of e.g. no sorting needed
2012-12-11 11:18:52 -05:00
Yaroslav Halchenko
7bd977e2df
ENH: fail2ban-testscases -- allow to specify regexps for tests to be ran
...
Eventually we will switch to use nose or py.test -- for now this
homebrew solution could be used to run selected suites only
2012-12-11 11:18:52 -05:00
hamilton5
c534c1d03d
Update testcases/files/logs/dovecot
2012-12-11 11:05:22 -05:00
hamilton5
e040c6d8a3
Update config/filter.d/dovecot.conf
...
site actually needs updated because of <HOST> alias
per Notes above.
2012-12-11 03:26:14 -05:00
hamilton5
7ede1e8518
Update config/filter.d/dovecot.conf
...
added failregex line for debian and centos per
http://www.fail2ban.org/wiki/index.php/Talk:Dovecot
2012-12-10 19:17:04 -05:00
Yaroslav Halchenko
fc27e00290
ENH: tune up sshd-ddos to use common.conf and allow training spaces
2012-12-07 15:24:34 -05:00
Yaroslav Halchenko
3754a48b24
Added lucid-dsc-patch to use pycentral on systems without dh_python2
2012-12-06 12:53:20 -05:00
Yaroslav Halchenko
1187253b6e
Changelog entry for 0.8.8-1
2012-12-05 22:54:29 -05:00
Yaroslav Halchenko
e484ef0a26
Merge tag '0.8.8' into debian
...
Primarily a bugfix release 0.8.8
* tag '0.8.8': (31 commits)
Getting ready for 0.8.8 release (changelog, version boost)
BF: guarantee that IP is stored as a base, non-unicode str (Closes gh-91)
ENH: BF (forgotten import) for prev commit + removed duplicate Author, adjusted __ fields for that in fail2ban-* scripts
ENH: until we make it proper module -- adjust sys.path only if system-wide run
ENH: fail2ban-testcases-all -- pass cmdline options to fail2ban-testcases
ENH: To help with gh-87 added hints into the log on some failure return codes (e.g. 0x7f00 for this one)
ENH: trying to go native travis-ci python way to take advantage of virtualenv's with older pythons
BF: typo
BF: added a little shell script to excercise tests against all available Python versions
ENH: travis -- try to run tests against all available python versions
NF: rudimentary .travis.yml for travis-ci.org service
BF: do not enable pyinotify backend if pyinotify is too old (Closes gh-80)
DOC: forgotten --help entry for " unban "
ENH: downgrade "already banned" from WARN to INFO level (Closes gh-79)
minor: added a note on now "negative" log entries on "POSSIBLE BREAK-IN ATTEMPT"
DOC: minor "fixes" in DEVELOP
Added in while loop to process the Fail Manager after the requested banned IP was added to its queue. This solves the issue of needing to touch the log file that is being monitored to get the IP to be banned accordingly. Added in import of FailManagerEmpty exception class.
ENH: refactored previous commit to make it more Pythonic (With prev commit closes gh-86, gh-81)
Added in command option to unban and IP, just like using 'banip'. Command looks like: fail2ban-client set <jail name> unbanip <ip>
BF: in code we should use MyTime wrapper instead of time module directly
...
2012-12-05 22:53:04 -05:00
Yaroslav Halchenko
51a3be2d79
Getting ready for 0.8.8 release (changelog, version boost)
2012-12-05 22:51:29 -05:00
Yaroslav Halchenko
37a2e59d69
BF: guarantee that IP is stored as a base, non-unicode str (Closes gh-91)
...
Otherwise it might lead to spurious characters dumped into the
terminal at few places, unless casted upon every use in the logs. To
prevent those issues in the source, store IP as a basic string if it
is a string at all
2012-11-26 12:01:42 -05:00
Yaroslav Halchenko
03b31398aa
ENH: BF (forgotten import) for prev commit + removed duplicate Author, adjusted __ fields for that in fail2ban-* scripts
2012-11-09 08:58:19 -05:00
Yaroslav Halchenko
9e7a3b7a04
ENH: until we make it proper module -- adjust sys.path only if system-wide run
2012-11-09 08:57:33 -05:00
Yaroslav Halchenko
348239cf14
ENH: fail2ban-testcases-all -- pass cmdline options to fail2ban-testcases
2012-11-07 11:34:20 -05:00
Yaroslav Halchenko
f10537941b
ENH: To help with gh-87 added hints into the log on some failure return codes (e.g. 0x7f00 for this one)
2012-11-07 11:33:17 -05:00
Yaroslav Halchenko
efc4fd5f0b
ENH: trying to go native travis-ci python way to take advantage of virtualenv's with older pythons
2012-11-06 22:05:41 -05:00
Yaroslav Halchenko
29aef9381a
BF: typo
2012-11-06 21:48:44 -05:00
Yaroslav Halchenko
39172a99c5
BF: added a little shell script to excercise tests against all available Python versions
...
also report Python version inside fail2ban-testcases
2012-11-06 21:45:55 -05:00
Yaroslav Halchenko
ef2ea965c8
ENH: travis -- try to run tests against all available python versions
2012-11-06 14:12:35 -05:00
Yaroslav Halchenko
da626b51cc
NF: rudimentary .travis.yml for travis-ci.org service
2012-11-06 14:00:27 -05:00
Yaroslav Halchenko
b159eabb51
BF: do not enable pyinotify backend if pyinotify is too old (Closes gh-80)
2012-11-06 13:14:42 -05:00
Yaroslav Halchenko
63237a785e
DOC: forgotten --help entry for " unban "
2012-11-05 21:50:49 -05:00
Yaroslav Halchenko
f52ba9923a
ENH: downgrade "already banned" from WARN to INFO level (Closes gh-79)
...
Most of the time it is a benign latency effect so nothing to warn about.
2012-11-05 21:30:07 -05:00
Yaroslav Halchenko
1e12c220e6
minor: added a note on now "negative" log entries on "POSSIBLE BREAK-IN ATTEMPT"
2012-11-05 21:22:33 -05:00
Yaroslav Halchenko
6ecf4fd80a
Merge pull request #64 from sourcejedi/remove_sshd_rdns
...
Misconfigured DNS should not ban *successful* ssh logins
Per our discussion indeed better (and still as "safe") to not punish users behind bad DNS
2012-11-05 18:20:37 -08:00
Yaroslav Halchenko
b773ed617b
DOC: minor "fixes" in DEVELOP
2012-11-05 21:12:03 -05:00
David Engeset
2d672d1c81
Added in while loop to process the Fail Manager after the requested banned IP was added to its queue. This solves the issue of needing to touch the log file that is being monitored to get the IP to be banned accordingly. Added in import of FailManagerEmpty exception class.
2012-11-05 20:38:40 -05:00
Yaroslav Halchenko
f14c7ae401
ENH: refactored previous commit to make it more Pythonic (With prev commit closes gh-86, gh-81)
2012-11-05 20:37:06 -05:00
David Engeset
6288ec2757
Added in command option to unban and IP, just like using 'banip'. Command looks like: fail2ban-client set <jail name> unbanip <ip>
2012-11-05 20:11:28 -05:00
Yaroslav Halchenko
8e64c281dd
BF: in code we should use MyTime wrapper instead of time module directly
...
to allow for some tests to work correctly
2012-11-05 20:09:15 -05:00
Yaroslav Halchenko
09355663f7
BF: (python 2.4) -- access to staticmethod should go via Class
...
TODO: get away from using all those staticmethods in f2b
2012-11-05 16:54:19 -05:00
Yaroslav Halchenko
5becaf8ef2
BF: (python 2.[45]) store backends names in a list to use .index later on (Closes gh-83)
...
.index() got into tuple's API only in 2.6
2012-11-01 15:34:20 -04:00
Yaroslav Halchenko
9510619b7b
ENH: minor -- print out why skipping a backend while testing
2012-11-01 15:24:32 -04:00
Mark McKinstry
95de9c1a97
add support for the APF firewall
2012-10-18 11:17:04 -04:00
Yaroslav Halchenko
652b5a77e0
BF: fixing current version string to contain the patch index, i.e. ".1" Thanks Fabian Fischer
2012-10-10 08:39:18 -04:00
Yaroslav Halchenko
83109bce14
BF: escape the content of <matches> since its value could contain arbitrary symbols
2012-10-08 22:14:51 -04:00
Yaroslav Halchenko
6ee2c0a014
DOC: untabified for proper formatting + trailing spaces
2012-10-03 09:12:37 -04:00
Yaroslav Halchenko
282724a7f9
ENH: join both failregex for lighttpd-auth into a single one
...
they are close in meaning
should provide a slight run-time performance benefit
2012-09-30 11:30:24 -04:00
Yaroslav Halchenko
cc5d410004
Merge pull request #77 from sciunto/lightty
...
Lighttpd: support auth.backend = "htdigest"
2012-09-30 08:28:12 -07:00
François Boulogne
958a1b0a40
Lighttpd: support auth.backend = "htdigest"
2012-09-30 13:27:21 +02:00
Yaroslav Halchenko
2a225aa6ee
Added a warning within "complaint.conf" action about care with enabling it
2012-08-13 23:03:52 -04:00
Yaroslav Halchenko
2d66f31ef5
ENH: instead of "Invalid command" warning log exception why command failed
2012-08-02 19:48:59 -04:00
Yaroslav Halchenko
2a83cf2814
new changelog entry
2012-07-31 21:49:10 -04:00
Yaroslav Halchenko
020ac1b2e9
Merge tag '0.8.7.1' into debian
...
Minor bugfix release 0.8.7.1
* tag '0.8.7.1':
Changelog for the fix -- will rerelease 0.8.7.1
BF: removed sneaked a commented out sys.path.insert
2012-07-31 21:48:59 -04:00
Yaroslav Halchenko
0b5c66fb59
Changelog for the fix -- will rerelease 0.8.7.1
2012-07-31 21:45:04 -04:00
Yaroslav Halchenko
6b7544a63a
BF: removed sneaked a commented out sys.path.insert
2012-07-31 21:45:03 -04:00
Yaroslav Halchenko
b41a249161
recommend python-pyinotify and only suggest python-gamin
2012-07-31 18:02:24 -04:00
Yaroslav Halchenko
197edfc271
debian/control,rules: switch to use dh_python2, boost policy compliance to 3.9.3
2012-07-31 17:33:13 -04:00
Yaroslav Halchenko
d969aef8f8
BF: specify full action for recidive jail since it needs allport action
2012-07-31 17:02:34 -04:00
Yaroslav Halchenko
235267b7ac
debian/source: switch to 3.0 (quilt) format
2012-07-31 16:54:09 -04:00
Yaroslav Halchenko
9429655045
use unprefixed upstream release tags
2012-07-31 16:52:44 -04:00
Yaroslav Halchenko
475558056e
Merged changelog with unreleased 0.8.6-4 to avoid possible confusions
2012-07-31 16:52:00 -04:00
Yaroslav Halchenko
29f108dbb1
Close also #653074 since fixed in 5cac32e038
2012-07-31 16:50:35 -04:00
Yaroslav Halchenko
86ae7d2f5e
debian/fail2ban.init: Should-(start|stop): iptables-persistent ( Closes : #598109 ), ferm ( Closes : #604843 )
2012-07-31 16:21:03 -04:00
Yaroslav Halchenko
59e95b053e
debian/jail.conf: adopted few jails from "upstreams" jail.conf: asterisk, recidive, lighttpd, php-url-open
2012-07-31 16:16:55 -04:00
Yaroslav Halchenko
1163450227
added usedns option into debian/jail.conf
2012-07-31 16:08:00 -04:00
Yaroslav Halchenko
c4acaf8bd0
Refreshed the patch
2012-07-31 16:06:01 -04:00
Yaroslav Halchenko
d8d950dcc6
ENH: adopted description about backends from upstream's jail.conf
2012-07-31 16:02:31 -04:00
Yaroslav Halchenko
14d609941b
monitor syslog not auth.log for wuftpd
2012-07-31 15:59:44 -04:00
Yaroslav Halchenko
23e979a20e
Adjusted changelog to reflect changes pulled with the merge
2012-07-31 15:58:15 -04:00
Yaroslav Halchenko
1fd9b6934e
Merge tag '0.8.7' into debian -- additional fixes after reviewing more of Debian bug reports
...
Re-tagging 0.8.7 with hope to do that last time ;)
* tag '0.8.7':
ENH: match possibly present "pam_unix(sshd:auth):" portion for sshd (Closes : #648020 )
ENH: add wu-ftpd failregex for use against syslog (Closes : #514239 )
BF: anchor chain name in actioncheck's for iptables actions (Closes : #672228 )
BF: inline comments must use ; not # -- recidive jail
2012-07-31 15:56:49 -04:00
Yaroslav Halchenko
c06c504a8e
Adjusted changelog to reflect the last change
2012-07-31 15:54:33 -04:00
Yaroslav Halchenko
2082fee7b1
ENH: match possibly present "pam_unix(sshd:auth):" portion for sshd ( Closes : #648020 )
2012-07-31 15:53:41 -04:00
Yaroslav Halchenko
2b885e07f4
Adjusted changelog to reflect the last change
2012-07-31 15:52:48 -04:00
Yaroslav Halchenko
6ad55f64b3
ENH: add wu-ftpd failregex for use against syslog ( Closes : #514239 )
2012-07-31 15:43:13 -04:00
Yaroslav Halchenko
a512ea47d2
Adjusted changelog to reflect the last change
2012-07-31 15:33:30 -04:00
Yaroslav Halchenko
80b191c7fd
BF: anchor chain name in actioncheck's for iptables actions ( Closes : #672228 )
2012-07-31 15:27:05 -04:00
Yaroslav Halchenko
a3b242d6dd
BF: inline comments must use ; not # -- recidive jail
2012-07-31 14:05:42 -04:00
Yaroslav Halchenko
d0c5da97a4
Initiated debian changelog entry for 0.8.7-1
2012-07-31 14:04:25 -04:00
Yaroslav Halchenko
16d3ec579f
Merge tag '0.8.7' into debian
...
Releasing 0.8.7
* tag '0.8.7':
Boosted version to 0.8.7 + few more comments
perspective changelog for 0.8.7
DOC: minor (untabify, utf8) for ChangeLog
2012-07-31 12:34:17 -04:00
Yaroslav Halchenko
99c0caa9cc
Boosted version to 0.8.7 + few more comments
2012-07-31 12:32:25 -04:00
Yaroslav Halchenko
da752aff14
perspective changelog for 0.8.7
...
Conflicts:
ChangeLog
2012-07-30 14:50:43 -04:00
Yaroslav Halchenko
6495942550
DOC: minor (untabify, utf8) for ChangeLog
2012-07-30 13:57:00 -04:00
Yaroslav Halchenko
25077092e9
adjusted revision
2012-07-20 09:56:36 -04:00
Yaroslav Halchenko
954254008b
Merge commit '0.8.6-100-gdca5634' into debian-devel -- inotify backend should work
...
* commit '0.8.6-100-gdca5634':
RF: reordered tests + enabled gamin now that its fix is pending in Debian
ENH+BF: filtergamin -- to be more inline with current design of filterinotify
ENH: 1 more sleep_4_poll to guarantee difference in time stamp
ENH: few more delays for cases relying on time stamps
2012-07-20 09:55:37 -04:00
Yaroslav Halchenko
dca5634717
Merge branch '_enh/test_backends' -- fixing inotify backend, RF backends, unittests
...
* _enh/test_backends:
RF: reordered tests + enabled gamin now that its fix is pending in Debian
ENH+BF: filtergamin -- to be more inline with current design of filterinotify
ENH: 1 more sleep_4_poll to guarantee difference in time stamp
ENH: few more delays for cases relying on time stamps
ENH: tests much more robust now across pythons 2.4 -- 2.7
BF+RF: pyinotify refreshes watcher upon CREATE, unified/simplified *(add|del)LogPath among *Filters
ENH: fail2ban-testcases -- custom logging format to ease debugging, non-0 exit code in case of failure
ENH: Filter's testcases -- rename, del + list again --- a bit unstable, might still fail from time to time
BF: pyinotify -- monitor the parent directory for IN_CREATE + process freshly added file (Closes gh-44)
ENH: first working unittest for checking polling and inotify backends
RF/BF: just use pyinotify.ThreadedNotifier thread in filterpyinotify
RF: filter.py -- single readline in a loop
ENH: FilterPoll -- adjusted some msgs + allowed to operate without jail (for testing)
Minor additional comment to DEVELOP
ENH: extended test LogfileMonitor
2012-07-20 09:50:08 -04:00
Yaroslav Halchenko
481b1530d6
RF: reordered tests + enabled gamin now that its fix is pending in Debian
...
reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542361
2012-07-19 23:08:33 -04:00
Yaroslav Halchenko
c6f5d854d3
ENH+BF: filtergamin -- to be more inline with current design of filterinotify
2012-07-19 23:07:43 -04:00
Yaroslav Halchenko
337f3f6f7b
ENH: 1 more sleep_4_poll to guarantee difference in time stamp
2012-07-19 23:07:08 -04:00
Yaroslav Halchenko
e9964846fa
ENH: few more delays for cases relying on time stamps
2012-07-19 21:41:04 -04:00
Yaroslav Halchenko
b8a8720a49
updated changelog
2012-07-19 17:30:25 -04:00
Yaroslav Halchenko
cbce65574b
Merge commit '0.8.6-95-gc0c1232' into debian-devel
...
* commit '0.8.6-95-gc0c1232':
ENH: tests much more robust now across pythons 2.4 -- 2.7
BF+RF: pyinotify refreshes watcher upon CREATE, unified/simplified *(add|del)LogPath among *Filters
Ask users to report bugs to github's issues
Replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul (Closes gh-66)
2012-07-19 17:29:54 -04:00
Yaroslav Halchenko
c0c1232c5f
Merge branch 'master' into _enh/test_backends
...
* master:
Ask users to report bugs to github's issues
Replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul (Closes gh-66)
2012-07-19 17:29:35 -04:00
Yaroslav Halchenko
a1a67d34a9
ENH: tests much more robust now across pythons 2.4 -- 2.7
...
* needed additional sleeps for polling filter since that one relies on
time-stamps and too rapid changes would not be caught by the
PollFilter
* in python 2.4, time stamps are up to a second (int's) so sleeps longer
* test_new_bogus_file -- just to make sure that addition of new files
does not alter our monitoring
2012-07-19 17:29:12 -04:00
Yaroslav Halchenko
d9248a6cf8
BF+RF: pyinotify refreshes watcher upon CREATE, unified/simplified *(add|del)LogPath among *Filters
...
* all of the *Filters had too much of common logic in their *LogPath
methods, which is now handled by FileFilter and derived classes only
add custom actions in corresponding _(add|del)LogPath methods
pyinotify:
* upon CREATE event:
- unknown files should not be handled at all
- "watcher" for the monitored files should be recreated.
Lead to adding _(add|del)FileWatcher helper methods
* callback now obtains full event to judge what to do
2012-07-19 17:26:09 -04:00
Yaroslav Halchenko
b33ae8c194
Ask users to report bugs to github's issues
2012-07-19 14:51:46 -04:00
Yaroslav Halchenko
f6137c4def
Adjusting the patch new path to report bugs
2012-07-19 14:50:51 -04:00
Yaroslav Halchenko
7dbbc61319
adjusted revision
2012-07-19 14:06:44 -04:00
Yaroslav Halchenko
09dd317b20
Merge commit '0.8.6-90-g08564bd' into debian-devel
...
* commit '0.8.6-90-g08564bd':
ENH: fail2ban-testcases -- custom logging format to ease debugging, non-0 exit code in case of failure
ENH: Filter's testcases -- rename, del + list again --- a bit unstable, might still fail from time to time
BF: pyinotify -- monitor the parent directory for IN_CREATE + process freshly added file (Closes gh-44)
ENH: first working unittest for checking polling and inotify backends
RF/BF: just use pyinotify.ThreadedNotifier thread in filterpyinotify
RF: filter.py -- single readline in a loop
ENH: FilterPoll -- adjusted some msgs + allowed to operate without jail (for testing)
Minor additional comment to DEVELOP
ENH: extended test LogfileMonitor
ENH: add more verbosity levels to be controlled while running unittests
Added few tests of FileFilter. yet to place them into a Jail-ed execution test
DOC: distilling some of server "design" into DEVELOP notes for common good
ENH: minor, just trailing spaces/tabs + reformated a string
ENH: added a basic test for FilterPoll for detection of modifications
clarified that the are existing test cases and the 'coming soon' is about creating new ones.
Added beginnings of documentation for developers
BF: usedns=no was not working at all
RF: filtertestcase.py to put common testing into a helping subroutine
ENH: be able to control verbosity from cmdline for fail2ban-testcases
2012-07-19 14:06:14 -04:00
Yaroslav Halchenko
08564bda1a
ENH: fail2ban-testcases -- custom logging format to ease debugging, non-0 exit code in case of failure
2012-07-19 13:30:55 -04:00
Yaroslav Halchenko
6ac9fd5d26
ENH: Filter's testcases -- rename, del + list again --- a bit unstable, might still fail from time to time
2012-07-19 13:30:01 -04:00
Yaroslav Halchenko
3c95121a8b
BF: pyinotify -- monitor the parent directory for IN_CREATE + process freshly added file (Closes gh-44)
2012-07-19 13:28:48 -04:00
Yaroslav Halchenko
60260bce3d
ENH: first working unittest for checking polling and inotify backends
2012-07-19 01:14:55 -04:00
Yaroslav Halchenko
baa09098f0
RF/BF: just use pyinotify.ThreadedNotifier thread in filterpyinotify
...
that seems also to overcome the problem of often locking upon stop()
2012-07-19 01:14:02 -04:00
Yaroslav Halchenko
25674a95f8
RF: filter.py -- single readline in a loop
2012-07-19 01:10:59 -04:00
Yaroslav Halchenko
b3614d4ea2
ENH: FilterPoll -- adjusted some msgs + allowed to operate without jail (for testing)
2012-07-19 01:08:34 -04:00
Yaroslav Halchenko
42523dce92
Minor additional comment to DEVELOP
2012-07-19 01:04:05 -04:00
Yaroslav Halchenko
47e956bc8e
Replace "|" with "_" in ipmasq-ZZZzzz|fail2ban.rul (Closes gh-66)
...
Surprise -- that is for Windows compatibility
2012-07-18 10:29:59 -04:00
Yaroslav Halchenko
0b842272e3
ENH: extended test LogfileMonitor
2012-07-18 10:26:42 -04:00
Yaroslav Halchenko
ad6d9760f9
Adjusted url to "local DOS" issue now described in the manual
2012-07-14 11:12:54 -04:00
Alan Jenkins
8c38907016
Misconfigured DNS should not ban *successful* ssh logins
...
Noticed while looking at the source (to see the point of ssh-ddos).
POSSIBLE BREAK-IN ATTEMPT - sounds scary? But keep reading
the message. It's not a login failure. It's a warning about
reverse-DNS. The login can still succeed, and if it _does_ fail,
that will be logged as normal.
<exhibit n="1">
Jul 9 05:43:00 brick sshd[18971]: Address 200.41.233.234 maps to host234.advance.com.
ar, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
Jul 9 05:43:00 brick sshd[18971]: Invalid user html from 200.41.233.234
</exhibit>
The problem (in my mind) is that some users are stuck with bad dns.
The warning won't stop them from logging in. I'm pretty sure they can't
even see it. But when they exceed a threshold number of logins -
which could be all successful logins - fail2ban will trigger.
fail2ban shouldn't adding additional checks to successful logins
- it goes against the name fail2ban :)
- the first X "POSSIBLE BREAK-IN ATTEMPT"s would be permitted anyway
- if you want to ban bad DNS, the right way is PARANOID in /etc/hosts.deny
I've checked the source of OpenSSH, and this will only affect the
reverse-DNS error. (I won't be offended if you want to check
for yourself though ;)
<exhibit n="2">
$ grep -r -h -C1 'ATTEMPT' openssh-5.5p1/
logit("reverse mapping checking getaddrinfo for %.700s "
"[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop);
return xstrdup(ntop);
--
logit("Address %.100s maps to %.600s, but this does not "
"map back to the address - POSSIBLE BREAK-IN ATTEMPT!",
ntop, name);
$
</exhibit>
2012-07-13 21:41:58 +01:00
Yaroslav Halchenko
9a2b41f6ad
ENH: add more verbosity levels to be controlled while running unittests
2012-06-30 00:35:43 -04:00
Yaroslav Halchenko
398cc73d3d
Added few tests of FileFilter. yet to place them into a Jail-ed execution test
...
At the moment they are, despite being provided different backends,
pretty much test FileFilter functionality.
2012-06-30 00:35:08 -04:00
Yaroslav Halchenko
bbab49a415
DOC: distilling some of server "design" into DEVELOP notes for common good
2012-06-29 12:59:26 -04:00
Yaroslav Halchenko
9b360bb12d
ENH: minor, just trailing spaces/tabs + reformated a string
2012-06-29 12:58:53 -04:00
Yaroslav Halchenko
215c3cc5c5
ENH: added a basic test for FilterPoll for detection of modifications
...
The test class MonitorFailures is intended to be excercised for all
Filter*'s, i.e. backends. It is just atm it is useful only for Poll
2012-06-29 12:56:32 -04:00
Yaroslav Halchenko
f970bb288a
Merge pull request #59 from yakatz/doc/DEVELOP
...
clarified that the are existing test cases and the 'coming soon' is about creating new ones
2012-06-26 21:05:41 -07:00
Yehuda Katz
bd40cc7c31
clarified that the are existing test cases and the 'coming soon' is about creating new ones.
2012-06-26 23:16:16 -04:00
Yaroslav Halchenko
25b629a75b
Merge pull request #58 from yakatz/doc/DEVELOP
...
Added beginnings of documentation for developers
2012-06-26 14:50:55 -07:00
Yehuda Katz
322f53e26d
Added beginnings of documentation for developers
2012-06-26 12:25:52 -04:00
Yaroslav Halchenko
3989d24967
BF: usedns=no was not working at all
...
it was not adding any detected address, IP or not to the list of failed attempts
This commit also adds appropriate unittest
2012-06-15 23:43:11 -04:00
Yaroslav Halchenko
971406f722
RF: filtertestcase.py to put common testing into a helping subroutine
2012-06-15 22:23:38 -04:00
Yaroslav Halchenko
d0a322f2b8
ENH: be able to control verbosity from cmdline for fail2ban-testcases
2012-06-15 22:21:16 -04:00
Yaroslav Halchenko
ffd12554e4
changelog entry for 0.8.6~+git69-gb4099da-1
2012-06-06 23:41:10 -04:00
Yaroslav Halchenko
59baf83110
Merge commit '0.8.6-69-gb4099da' into debian-devel
...
* commit '0.8.6-69-gb4099da': (57 commits)
DOC: Adjusted header for config/*.conf to mention .local and way to comment
Fixed addBannedIP to add enough failures to trigger a ban, rather than just one failure.
Fix Gentoo initd script (drop extra_commands)
ENH: catch failed ssh logins due to being listed in DenyUsers. Close gh-47 (Closes : #669063 )
DOC: comment in jail.conf for the need of multiple jails for asterisk
Add the INCLUDE section to use __pid_re feature
Disable asterisk jail by default
Change jail for asterisk, add support for SIP and SIP-TLS on TCP and UDP ports
Change NOTICE by NOTICE%(__pid_re)s
Added a warning for the recidive jail
BF: fail2ban-regex -- adding forgotten char for -v
Remove custom bantime
Add sample log file for asterisk
Add $ at the end of the failregex
ENH: fail2ban-regex -- quieter by default and added --verbose mode
ENH: minor, just pythonized some parts of fail2ban-regex summary
ENH: rudimentary __repr__ for Filter and Jail + moved usedns into set method
BF: allow trailing whitespace in few missing it regexes for sshd.conf
BF+ENH: added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if already present in the pattern
minor comment into TODO
...
2012-06-06 23:39:22 -04:00
Yaroslav Halchenko
6ad4276a4e
DOC: note about way to add comments + pruned not needed authorship line and obsolete $Revision$
2012-06-04 22:46:59 -04:00
Yaroslav Halchenko
b4099dae57
DOC: Adjusted header for config/*.conf to mention .local and way to comment
...
thanks to Stefano Forli for reminding about comments
see Debian Bug#676146
2012-06-04 22:41:28 -04:00
Yaroslav Halchenko
958aa2e932
Merge pull request #50 from mellitus/master
...
Fix addBannedIP/banip command (Closes gh-31)
2012-05-01 15:11:00 -07:00
Chris Reffett
a018a26133
Fixed addBannedIP to add enough failures to trigger a ban, rather than
...
just one failure.
2012-05-01 17:13:21 -04:00
Jeremy Olexa
444e4ac3ed
Fix Gentoo initd script (drop extra_commands)
2012-04-21 22:24:51 -04:00
Petr Voralek
4007751191
ENH: catch failed ssh logins due to being listed in DenyUsers. Close gh-47 ( Closes : #669063 )
2012-04-16 20:36:53 -04:00
Yaroslav Halchenko
7b77beee0e
DOC: comment in jail.conf for the need of multiple jails for asterisk
2012-02-28 12:04:24 -05:00
Yaroslav Halchenko
71a3fb17e2
Merge remote-tracking branch 'gh-magicrhesus/master'
...
* gh-magicrhesus/master:
Add the INCLUDE section to use __pid_re feature
Disable asterisk jail by default
Change jail for asterisk, add support for SIP and SIP-TLS on TCP and UDP ports
Change NOTICE by NOTICE%(__pid_re)s
Remove custom bantime
Add sample log file for asterisk
Add $ at the end of the failregex
Add asterisk support
Conflicts:
config/jail.conf -- placed asterisk jails before recidive and added blank lines after the jail headers
2012-02-28 12:03:16 -05:00
Xavier Devlamynck
8c00ce0a65
Add the INCLUDE section to use __pid_re feature
2012-02-28 17:28:06 +01:00
Xavier Devlamynck
180c17bede
Disable asterisk jail by default
2012-02-27 16:14:18 +01:00
Xavier Devlamynck
df0e0fdc07
Change jail for asterisk, add support for SIP and SIP-TLS on TCP and UDP ports
2012-02-21 18:53:44 +01:00
Xavier Devlamynck
c679a1a588
Change NOTICE by NOTICE%(__pid_re)s
2012-02-21 18:05:53 +01:00
Yaroslav Halchenko
42dd05210a
Added a warning for the recidive jail
2012-02-18 20:15:42 -05:00
Yaroslav Halchenko
617094fad5
BF: fail2ban-regex -- adding forgotten char for -v
2012-02-18 20:12:23 -05:00
Xavier Devlamynck
d7ca754980
Merge branch 'master' of github.com:magicrhesus/fail2ban
2012-02-15 19:47:04 +01:00
Xavier Devlamynck
c7613ce311
Remove custom bantime
2012-02-15 18:55:35 +01:00
Xavier D
7a76838737
Add sample log file for asterisk
2012-02-13 17:57:55 +01:00
Xavier D
d98cdb25d6
Add $ at the end of the failregex
2012-02-13 17:11:32 +01:00
Yaroslav Halchenko
5891d2d218
ENH: fail2ban-regex -- quieter by default and added --verbose mode
...
now # of hits groupped into regexp listings since it makes little to no sense
to have it separate
2012-02-10 22:51:31 -05:00
Yaroslav Halchenko
d2ffee0b2d
ENH: minor, just pythonized some parts of fail2ban-regex summary
2012-02-10 22:19:44 -05:00
Yaroslav Halchenko
2245ff5b41
ENH: rudimentary __repr__ for Filter and Jail + moved usedns into set method
...
otherwise usedns is way too noisy, especially within fail2ban-regex
2012-02-10 21:59:26 -05:00
Yaroslav Halchenko
25f1e8d98c
BF: allow trailing whitespace in few missing it regexes for sshd.conf
2012-02-10 21:14:51 -05:00
Yaroslav Halchenko
826f53f92d
adjusted changelog
2012-02-10 08:20:10 -05:00
Yaroslav Halchenko
7154b3aefd
Since we are exiting with non-0 -- all msgs should be failures
2012-02-09 13:03:53 -05:00
Yaroslav Halchenko
f0da12e58b
Merge pull request #36 from glennaaldering/patch-3
...
Provide informative exit codes upon exit of status.
Debian policy is not specifying any and status command is optional, but LSB http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html does provide the desired ones
2012-02-09 09:48:33 -08:00
Glenn Aaldering
5cac32e038
Making sure that the status command gives the correct exit code when fail2ban is not running.
2012-02-09 18:33:14 +01:00
Yaroslav Halchenko
b257be4cd1
BF+ENH: added %m-%d-%Y pattern + do not add %Y for Feb 29 fix if already present in the pattern
...
although %m-%d-%Y is ambioius with %d-%m-%Y it comes after so it should not
be too dangerous (i.e. in upcoming days having smth like 02-01 should work as before matching
first one first) and proper fix to select between the two should follow some time
soon
2012-01-28 12:43:42 -05:00
Yaroslav Halchenko
10729f96b9
minor comment into TODO
2012-01-26 23:43:47 -05:00
Yaroslav Halchenko
221210404c
Merge branch '_tent/gentoo+recidive'
...
* _tent/gentoo+recidive:
ENH: moved jail definition for recidive into jail.conf + swapped/commented durations + non-groupping ?:
gentoo init scipt: $opts variable is deprecated See http://forums.gentoo.org/viewtopic-t-899018.html
Fix for https://github.com/fail2ban/fail2ban/issues/19
2012-01-26 23:29:04 -05:00
Yaroslav Halchenko
1807be5a8c
ENH: moved jail definition for recidive into jail.conf + swapped/commented durations + non-groupping ?:
...
thanks @cepheid666 for the useful comments
2012-01-26 23:28:44 -05:00
Tom Hendrikx
0eaa4c2750
gentoo init scipt: $opts variable is deprecated
...
See http://forums.gentoo.org/viewtopic-t-899018.html
2012-01-26 23:41:55 +01:00
Tom Hendrikx
f94a121663
Fix for https://github.com/fail2ban/fail2ban/issues/19
...
Based on previous work as documented in the bug by Amir and myself,
plus some enhancements and documentation added to the file itself rather
than a URL (they rot).
2012-01-26 23:33:01 +01:00
Yaroslav Halchenko
56261fe67a
Merge branch '_tent/bf-unicode-syslog'
...
* _tent/bf-unicode-syslog:
Enforce "ip" field returned as str, not unicode so that log message stays non-unicode
2012-01-26 11:14:41 -05:00
Yaroslav Halchenko
ed16ecc50a
Enforce "ip" field returned as str, not unicode so that log message stays non-unicode
...
Should address #32
2012-01-25 19:22:16 -05:00
Lee Clemens
d73a71f5cf
ENH: Add usedns parameter for the jails
...
following commits were squashed from feature branch use_dns
commit 068c105eb58b85aaf5ad9df02e7f4122a4efea81
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 22:19:04 2012 -0500
Prevent warning when IP is read from log
commit 635ed36a8c7280658d501318d882f6e9dd426343
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 22:17:08 2012 -0500
Removed logDebug
commit 24656d2812c18e0f9312ce36d42ef51ecb68b354
Merge: 7957fbe c429f5c
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 21:13:11 2012 -0500
Merge branch 'enh/use_dns' of github:leeclemens/fail2ban into enh/use_dns
Conflicts:
testcases/filtertestcase.py
commit 7957fbe821b0cebf162f64b4627a345db551c2d0
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 21:09:58 2012 -0500
filtertestcase fixes from yarikoptic
commit 6ce9d04640789c1eb587454d2ec95d61f7b67ce8
Author: Yaroslav Halchenko <debian@onerussian.com >
Date: Tue Jan 10 19:26:05 2012 -0500
RF: for consistency use_dns -> usedns
I guess it was might fault of inconsistency suggesting that name.
Other options/commands do not have _ in the names, so let it be
consistent with the rest for now
commit cfb2c75b49942b127fff6da4e4e349c667606b5d
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 19:18:41 2012 -0500
Updated DNSUtilsTests to test use_dns and added positive test to testTextToIp
commit f6186eff14ff1ff9da42f30c7f6268fd792104e6
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 19:02:04 2012 -0500
Changed wording of 'DNS Reverse lookup used' message
commit 82c62d29dc49582594ff86fb24dc710654ea6269
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 18:53:17 2012 -0500
Removed extraneous "n"
commit dc0ae2193227cbf8e837bdd173403edbd68afd9a
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 23:07:59 2012 -0500
ENH: use_dns - removed debugging statements
commit 594e25818cd6b5dd366194d7e74af99294c5a394
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 22:53:39 2012 -0500
Added use_dns protocol to set and get per jail during runtime
commit 48ff80ffac25d8c3d538e5c05678514f6c9628f6
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 22:41:18 2012 -0500
Completed use_dns for initial startup - with debugging statements
commit 0bdab4c2d7f0d0c29d4999e70db5f748b51fe1b5
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 20:05:35 2012 -0500
ENH: Added use_dns option
commit 6d6b734ea51a2f2792ed34d9a4227bb7a3361adb
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 20:01:34 2012 -0500
ENH: Added use_dns option
commit 11ad2b61254ee03fa761e0c3a7e4905dd89bc54a
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 19:17:30 2012 -0500
Added useDns flag to testcase
commit b48fa9b6af242fc04c1d1fe1ddf8f7bc1c8fdeed
Author: Lee Clemens <java@leeclemens.net >
Date: Sun Jan 8 15:13:27 2012 -0500
Added use_dns option in jail.conf
commit c429f5c91ae935b359e28376b2120eb3d6ea0ad7
Merge: 4b18afb 0021906
Author: leeclemens <java@leeclemens.net >
Date: Tue Jan 10 16:32:22 2012 -0800
Merge pull request #3 from yarikoptic/enh/use_dns
let's be consistent ;-)
commit 0021906358e50c9f53d2fa98ba853a16f6388078
Author: Yaroslav Halchenko <debian@onerussian.com >
Date: Tue Jan 10 19:26:05 2012 -0500
RF: for consistency use_dns -> usedns
I guess it was might fault of inconsistency suggesting that name.
Other options/commands do not have _ in the names, so let it be
consistent with the rest for now
commit 4b18afb28a5be525913ad552459bfb3287ccfda5
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 19:18:41 2012 -0500
Updated DNSUtilsTests to test use_dns and added positive test to testTextToIp
commit 4fae37e46fef62058738040325a3c9cd2be11d45
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 19:02:04 2012 -0500
Changed wording of 'DNS Reverse lookup used' message
commit e94806ce4804ff3bdc124a0f5265602987245525
Author: Lee Clemens <java@leeclemens.net >
Date: Tue Jan 10 18:53:17 2012 -0500
Removed extraneous "n"
commit 4d30c5290725b7d92b0a8f49c1eb5a6a2d12b32e
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 23:07:59 2012 -0500
ENH: use_dns - removed debugging statements
commit 76696d452ae59e0fa161e1f85e31c6411352f966
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 22:53:39 2012 -0500
Added use_dns protocol to set and get per jail during runtime
commit 06316180870a0349630e27f7ef078624c6f006cd
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 22:41:18 2012 -0500
Completed use_dns for initial startup - with debugging statements
commit d23d495547fe382ea6669c30eeac5033284b4c5f
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 20:05:35 2012 -0500
ENH: Added use_dns option
commit 9538553bc5a71faf23b5b810b83d7acb133c8d56
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 20:01:34 2012 -0500
ENH: Added use_dns option
commit ae1e857e53e0c014da5b717976536be172a37dc1
Author: Lee Clemens <java@leeclemens.net >
Date: Mon Jan 9 19:17:30 2012 -0500
Added useDns flag to testcase
commit ace43eb94128f32538182472fd35e97c220bbf34
Author: Lee Clemens <java@leeclemens.net >
Date: Sun Jan 8 15:13:27 2012 -0500
Added use_dns option in jail.conf
2012-01-12 23:23:41 -05:00
Yaroslav Halchenko
35e9f6e464
Merge pull request #29 from leeclemens/enh/pyinotify
...
BF: Fixed and added error message if no backends initialized...
2012-01-12 20:08:49 -08:00
Lee Clemens
e7dce7cc5a
BF: Added logging above ValueError, since only INVALID COMMAND is printed by calling method
2012-01-12 01:05:51 -05:00
Lee Clemens
3282f86651
capitalized Jail
2012-01-12 00:33:12 -05:00
Lee Clemens
642d9afb9a
Reformated printing of jail's name to be consistent with init's info messages
2012-01-12 00:32:37 -05:00
Lee Clemens
a1898b1840
Fixed and added error message if no backends initialized. INVALID COMMAND is printed when RuntimeError is raised, so we don't get to see the error's message
2012-01-12 00:30:10 -05:00
Yaroslav Halchenko
29c8e43354
BF: must be named _initPolling to be consistent with the 'polling' value
2012-01-11 17:20:07 -05:00
Xavier Devlamynck
7d465f98c1
Add asterisk support
2012-01-11 16:35:40 +01:00
Yaroslav Halchenko
9559fcd3a0
Merge pull request #25 from leeclemens/enh/pyinotify
...
ENH: pyinotify
2012-01-09 18:17:41 -08:00
Lee Clemens
b7adb29088
Spelling, Changed docstring to comment
2012-01-09 19:30:49 -05:00
Yaroslav Halchenko
b25dddff31
Added dovecot section to Debian's jail.conf. Thanks to Laurent Léonard ( Closes : #655182 )
2012-01-08 21:47:18 -05:00
Yaroslav Halchenko
f90d53fc26
RF: traverse known backends in a loop
...
should now be
- easier to comprehend
- more scalable happens new backends come
- more informative with all the info and debug messages
NB not sure why __setBackend was instance's attribute, now there is a
method _setBackend
2012-01-08 21:29:43 -05:00
Yaroslav Halchenko
7413817f9a
RF: for pyinotify's filter -- adjusted authors/copyright and avoided super() for old-style class
2012-01-08 21:27:12 -05:00
Lee Clemens
f9ccc0543f
Added pyinotify requirements to README
2012-01-08 14:27:00 -05:00
Yaroslav Halchenko
f3f80d49ce
DOC: a bit extended and reordered run-rootless.txt
2012-01-07 21:08:34 -05:00
Zbigniew Jędrzejewski-Szmek
959146128f
DOC: add documentation for xt_recent-echo without root
...
Conflicts:
debian/docs -- was only for the debian/ branch
2012-01-07 21:07:31 -05:00
Yaroslav Halchenko
35201f6690
Merge remote-tracking branch 'gh-keszybz/master'
...
* gh-keszybz/master:
NF: xt_recent-echo action
2012-01-07 20:59:50 -05:00
Yaroslav Halchenko
088aa67381
DOC: finalizing changelog
2012-01-07 19:46:42 -05:00
Yaroslav Halchenko
84e30ff73a
DOC: a bit extended and reordered run-rootless.txt
2012-01-07 19:43:15 -05:00
Yaroslav Halchenko
7821174da8
FIX: direct users to issues on github instead of bothering cyril
2012-01-07 19:03:11 -05:00
Yaroslav Halchenko
1be14b8470
FIX: added blank build-{arch,indep} to pacify lintian
2012-01-07 18:56:07 -05:00
Yaroslav Halchenko
5701ecb681
FIX: reversed Vcs- fields
2012-01-07 18:54:34 -05:00
Yaroslav Halchenko
2828ad4968
FIX: we are using debian not debian-release branch now
2012-01-07 18:53:13 -05:00
Lee Clemens
9092a63ce5
Changed TLDs to invalid domains, in accordance with RFC 2606
2012-01-07 15:39:31 -05:00
Yaroslav Halchenko
055c3e9323
changelog for xt changes
2012-01-07 15:33:20 -05:00
Yaroslav Halchenko
5c2abe60a1
Added pure-ftpd section to Debian's jail.conf. Thanks to Laurent Léonard ( Closes : #654412 )
2012-01-05 23:01:11 -05:00
Zbigniew Jędrzejewski-Szmek
5a82e41285
Merge branch 'xt_recent-echo' into debian
2012-01-06 00:55:04 +01:00
Zbigniew Jędrzejewski-Szmek
bc82a68481
DOC: add documentation for xt_recent-echo without root
2012-01-06 00:55:04 +01:00
Zbigniew Jędrzejewski-Szmek
321670487e
NF: xt_recent-echo action
...
The default configuration can only be run by root. To actually support
running as a different user, the setup action must be disabled.
2012-01-06 00:51:03 +01:00
Zbigniew Jędrzejewski-Szmek
de502cf2e4
NF: run as different user (disabled by default)
2012-01-06 00:36:50 +01:00
Lee Clemens
c9945db756
Updated TODO
2012-01-03 21:30:55 -05:00
Lee Clemens
02894623cf
Moved dict() above debug statement
2012-01-03 20:14:24 -05:00
Lee Clemens
aa4514bffa
Removed PYINOTIFY prefix to debug statement for Callback for Event
2011-12-31 03:39:25 -05:00
Lee Clemens
5c4ec6e7fb
Renamed Notifier and Watch Manager to start with __ prefix
2011-12-31 03:37:43 -05:00
Lee Clemens
4c13063498
Added addLogPath and delLogPath functionality (adds/removes paths from the WatchManager)
2011-12-31 03:33:58 -05:00
Lee Clemens
b0830385ed
Update Free Software Foundation's address
2011-12-31 02:01:19 -05:00
Lee Clemens
8a2e26403a
Merge remote-tracking branch 'upstream/master'
2011-12-31 01:57:55 -05:00
Lee Clemens
adca2b87e8
Changed Copyright information
2011-12-30 17:20:58 -05:00
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.
2011-12-30 12:41:46 -05:00
Leonardo Chiquitto
4502adfe69
Fix comments to reflect code
...
Commit 638bb6652 changed some defaults but the comments still point
to the previous values.
2011-12-30 12:41:46 -05:00
Lee Clemens
4bf4d4ddb5
Removed wd assignment and irrelevant comment
2011-12-30 00:37:15 -05:00
Lee Clemens
d1050350db
Added pyinotify backend
2011-12-30 00:28:17 -05:00
Lee Clemens
e442503133
Added pyinotify backend
2011-12-30 00:18:52 -05:00
Yaroslav Halchenko
789b520ac3
Merge pull request #13 from leeclemens/master
...
spelling/grammar fixes in files/nagios
2011-12-27 18:38:02 -08:00
Lee Clemens
47c03a2c13
files/nagios - spelling/grammar fixes
2011-12-26 12:49:47 -05:00
Yaroslav Halchenko
baea0bf3e8
Merge branch 'master' of https://github.com/sciunto/fail2ban
...
* 'master' of https://github.com/sciunto/fail2ban :
Correction of the IP in testcase for lighttpd
2011-12-25 15:00:50 -05:00
François Boulogne
115092956f
Correction of the IP in testcase for lighttpd
2011-12-25 20:15:57 +01:00
Yaroslav Halchenko
4c76fb3b54
ENH: allow trailing white-spaces in lighttpd-auth.conf
...
now catches the one in testcases/files/logs/lighttpd
2011-12-25 10:00:50 -05:00
François Boulogne
683d4f269d
modifications suggested by a referee (log ex+regexp)
2011-12-24 22:24:08 +01:00
François Boulogne
a7cb20edac
add lighttpd-auth jail
2011-12-24 21:56:38 +01:00
François Boulogne
b6d9f795dc
add filter for lighttpd mod_auth failure
2011-12-24 21:51:18 +01:00
Yaroslav Halchenko
aa4f5cf2b7
BF: adjusted vcs- fields to point to github upstream repo
2011-11-29 09:00:29 -05:00
Yaroslav Halchenko
e5ea44b999
Adjusted debian/watch to fetch tarballs from github
2011-11-28 23:01:32 -05:00
Yaroslav Halchenko
a27bff08e5
[ 1efe1bc] Fresh upstream release ( Closes : #648324 ) + boost policy to 3.9.2
2011-11-28 22:54:36 -05:00
Yaroslav Halchenko
2fd8be18e5
Merge commit '0.8.6' into debian
...
* commit '0.8.6':
Changelog and version changes for 0.8.6
Revert "ENH: server.py -- addLogPath with tail=True"
DOC: updated contact information to direct to github and mailing list
ENH: added custom timeformat with '.' as separator. Close gh-1
BF: stop all communications before stopping the jails (Close gh-7)
ENH: added logging while stopping the jails
Add Date: header for sendmail*.conf actions
BF: gentoo-initd assure /var/run dir + remove stale sock file
ENH: fix of syntax for compatibility with Python 2.4
ENH: stay compatible with python < 2.5 (use md5 if hashlib is N/A)
BF: use hashlib instead of deprecated md5
ENH: Remove obsolete code from gentoo init script. Bug gentoo#367819.
2011-11-28 22:47:27 -05:00
Yaroslav Halchenko
1efe1bc171
Changelog and version changes for 0.8.6
2011-11-28 22:46:04 -05:00
Yaroslav Halchenko
3e1983a8ec
Revert "ENH: server.py -- addLogPath with tail=True"
...
This reverts commit 927a01a076 .
Let's not change this behavior for now from previous release since it
would break finding recent hits upon restart.
2011-11-28 22:22:16 -05:00
Yaroslav Halchenko
2cb14c50ac
DOC: updated contact information to direct to github and mailing list
2011-11-28 21:39:41 -05:00
Yaroslav Halchenko
db39c7438a
ENH: added custom timeformat with '.' as separator. Close gh-1
...
Probably evening effect -- can't understand why reported days of the weeks
differ and it was 1 originally at all. Left as TODO
2011-11-21 20:01:15 -05:00
Yaroslav Halchenko
16322440ed
BF: stop all communications before stopping the jails (Close gh-7)
...
It is necessary because otherwise if jails actions try to communicate
to the server we are getting a lockup since threads are locked
2011-11-21 19:36:52 -05:00
Yaroslav Halchenko
fbce415622
ENH: added logging while stopping the jails
2011-11-21 19:35:14 -05:00
Tom Hendrikx
9fa54cf233
Add Date: header for sendmail*.conf actions
...
According to rfc2822, Date: headers are not optional.
Added these to all sendmail action templates, format specification
should conform to rfc and be portable across multiple platforms.
2011-11-18 16:52:44 -05:00
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
2011-11-18 14:51:08 -05:00
Yaroslav Halchenko
eda7efbca3
ENH: fix of syntax for compatibility with Python 2.4
2011-11-18 14:47:55 -05:00
Yaroslav Halchenko
bd658fc74b
ENH: stay compatible with python < 2.5 (use md5 if hashlib is N/A)
2011-11-18 14:38:24 -05:00
Markos Chandras
492d8e5ff8
BF: use hashlib instead of deprecated md5
...
Bugfix revision. Fixes bug 260337,283629,301139,315073,343955. Thanks to Robert Trace <bugzilla-gentoo@farcaster.org >, Harley Peters <harley@thepetersclan.com > for the patches.
Picked up from
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-analyzer/fail2ban/files/fail2ban-0.8.4-hashlib.patch\?view\=markup
2011-11-18 14:32:37 -05:00
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
2011-11-18 14:28:23 -05:00
Yaroslav Halchenko
9faeecc67c
Merge branch 'master' into debian-release
...
* master:
moving log samples under testcases/files
2011-11-18 11:59:21 -05:00
Yaroslav Halchenko
40fbb55044
Merge branch 'master' (early part) into debian-release
...
* 'master' (early part):
Adding log samples accumulated in Debian branch
BF: removing minor bashism in ipmasq example file (closes : #530078 ). Thanks Raphael Geissert
Added ipmasq rule file to restart fail2ban when iptables are wiped out (closes : #461417 ). Thanks Guido Bozzetto
added rudimentary .gitignore
BF: be able to detect time for VNC recording only 2 letters of year (closes : #537610 )
2011-11-18 11:59:08 -05:00
Yaroslav Halchenko
fceff2d5b9
moving log samples under testcases/files
2011-11-18 11:57:20 -05:00
Yaroslav Halchenko
b9a6b622cc
Adding log samples accumulated in Debian branch
2011-11-18 11:55:46 -05:00
Yaroslav Halchenko
aa0024db00
BF: removing minor bashism in ipmasq example file ( closes : #530078 ). Thanks Raphael Geissert
2011-11-18 11:51:59 -05:00
Yaroslav Halchenko
713fea6371
Added ipmasq rule file to restart fail2ban when iptables are wiped out ( closes : #461417 ). Thanks Guido Bozzetto
2011-11-18 11:51:59 -05:00
Yaroslav Halchenko
c6ea666ac8
added rudimentary .gitignore
2011-11-18 11:50:49 -05:00
Yaroslav Halchenko
9b96a01d3e
adjusting email for Cyril to be cyril.jaquier@fail2ban.org
2011-11-18 11:49:34 -05:00
Yaroslav Halchenko
42e6653486
RF: moving manpages tune ups into debian patch
...
original commit 3389184f41
2011-11-18 11:43:33 -05:00
Yaroslav Halchenko
fd4c151353
BF: be able to detect time for VNC recording only 2 letters of year ( closes : #537610 )
2011-11-18 11:02:43 -05:00
Yaroslav Halchenko
e28688a3d3
Adding files which were not present in sdist
...
and removed PKG-INFO
2011-11-18 10:47:47 -05:00
Yaroslav Halchenko
cd38985e61
Merge branch 'master' into debian-release
...
* master: (27 commits)
ENH: server.py -- addLogPath with tail=True
ENH: set/getFile for ticket.py -- found in source distribution of 0.8.4
NF: adding unittests for previous commit
ENH: removed expansion for few Date and Revision SVN keywords
ENH: sshd.conf -- allow user names to have spaces and trailing spaces in the line
Removed duplicate entry for DataCha0s/2\.0 in badbots (closes : #519557 )
BF: return declaration of TABLE back (thanks to michaelberg79)
Update server/datetemplate.py
format output of matches data.
ENH: minor unittest to see if tickets carry correct 'matches'
ENH: introduced usa of Ticket.__matches throughout
ENH: added 'matches' to the Ticket(s) and deprecated "custom" constructors for derived *Tickets
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
ENH: failmanager -- additional debug message about # of known failures
ENH: rudimentary __str__ for the ticket
ENH: more human-accessible printout of the dates if any comparison fails
ENH: few debug messages and use MyTime.localtime instead of straight time.time
ENH: Added localtime() to MyTime
BF: set TZ to CEST while unittesting so dates matching would work
ENH: added a .pylintrc to help with consistent appearance and catch obvious problems
...
Conflicts:
MANIFEST -- wasn't present before due to base on source distribution
server/ticket.py -- strange conflict -- should be benign
2011-11-18 10:43:13 -05:00
Yaroslav Halchenko
927a01a076
ENH: server.py -- addLogPath with tail=True
...
it was present in source distribution of 0.8.4 but seems to lack from VCS
2011-11-18 10:40:51 -05:00
Yaroslav Halchenko
a33135c24d
ENH: set/getFile for ticket.py -- found in source distribution of 0.8.4
...
it was present in source distribution but seems to lack from VCS
2011-11-18 10:39:39 -05:00
Yaroslav Halchenko
441cd891bc
NF: adding unittests for previous commit
2011-11-18 10:16:17 -05:00
Yaroslav Halchenko
a9be451079
ENH: removed expansion for few Date and Revision SVN keywords
...
For consistency of appearance... eventually we might just remove them
altogether
2011-11-18 10:14:39 -05:00
Yaroslav Halchenko
8f3d54882a
manually removed all expansion for SVN keywords to match with master
2011-11-18 10:10:45 -05:00
Yaroslav Halchenko
dad91f7969
ENH: sshd.conf -- allow user names to have spaces and trailing spaces in the line
...
absorbed from patches carried by Debian distribution of f2b
2011-11-18 10:07:13 -05:00
Yaroslav Halchenko
ed0bf3ad96
Removed duplicate entry for DataCha0s/2\.0 in badbots ( closes : #519557 )
2011-11-18 09:40:56 -05:00
Yaroslav Halchenko
9d45e35642
BF: return declaration of TABLE back (thanks to michaelberg79)
2011-11-16 07:45:46 -05:00
Yaroslav Halchenko
8a1f44a0f2
Merge pull request #5 from JohnyByk/patch-3
...
Update server/datetemplate.py to support dates in Polish locale
2011-11-10 09:57:23 -08:00
Łukasz
5f235427aa
Update server/datetemplate.py
2011-11-10 18:51:29 +01:00
Tom Hendrikx
22b700766c
format output of matches data.
2011-11-08 00:20:52 -05:00
Yaroslav Halchenko
344effb437
ENH: minor unittest to see if tickets carry correct 'matches'
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
de8786dd1d
ENH: introduced usa of Ticket.__matches throughout
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
b52d420575
ENH: added 'matches' to the Ticket(s) and deprecated "custom" constructors for derived *Tickets
2011-10-07 15:49:47 -04:00
Yaroslav Halchenko
ed6daa70bf
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
2011-10-07 15:49:38 -04:00
Yaroslav Halchenko
19c9ac4fb5
ENH: failmanager -- additional debug message about # of known failures
2011-10-07 15:32:16 -04:00
Yaroslav Halchenko
1674b7b4f2
ENH: rudimentary __str__ for the ticket
2011-10-07 15:32:08 -04:00
Yaroslav Halchenko
94aa94e966
ENH: more human-accessible printout of the dates if any comparison fails
2011-10-07 15:15:18 -04:00
Yaroslav Halchenko
6641b1ce8b
ENH: few debug messages and use MyTime.localtime instead of straight time.time
2011-10-07 15:14:54 -04:00
Yaroslav Halchenko
b6d50c1dea
ENH: Added localtime() to MyTime
2011-10-07 15:14:34 -04:00
Yaroslav Halchenko
5a2d518bf2
BF: set TZ to CEST while unittesting so dates matching would work
...
now unittesting should work on any box (not only in CEST timezone ;) )
uff -- so much time was wasted to come to this minimal (and now
obvious) solution -- it is just scary ;)
2011-10-07 15:14:13 -04:00
Yaroslav Halchenko
08fced9646
ENH: added a .pylintrc to help with consistent appearance and catch obvious problems
2011-10-04 10:55:16 -04:00
Cyril Jaquier
ec4fda8a1f
Removed Subversion keyword
2011-10-03 22:31:56 +02:00
Yaroslav Halchenko
877de0d45f
adjusted the version in README to match the most recent "release" 0.8.5
2011-10-03 15:22:36 -04:00
Yaroslav Halchenko
90167a1bef
DOC: moved THANKS into a THANKS file for better visibility, concise README
2011-10-03 15:21:35 -04:00
Yaroslav Halchenko
c3215933d7
Thank Yehuda for all his work on bringing sanity to wiki
2011-10-02 21:50:55 -04:00
Adam Spiers
3152afbdc2
Recognise time-stamped kernel messages
...
e.g.
Sep 25 12:51:04 myhost kernel: [773580.832329] sshd[25557]: Invalid user pgsql from 91.203.223.206
This fixes the sshd filter on Fedora 15, and probably other filters on
other newish distros too.
2011-09-28 12:46:28 -04:00
Yaroslav Halchenko
3a58d0e6e4
BF: Lock server's executeCmd to prevent racing among iptables calls ( Closes : #554162 )
...
Many kudos go to Michael Saavedra for the solution and the patch.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@784 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-09-24 02:28:45 +00:00
Yaroslav Halchenko
2b27d83625
changelog for 0.8.5-2
2011-09-23 22:12:27 -04:00
Yaroslav Halchenko
9c4b041821
BF: Lock server's executeCmd to prevent racing among iptables calls ( Closes : #554162 )
...
Many kudos go to Michael Saavedra for the solution and the patch.
2011-09-23 22:05:29 -04:00
Yaroslav Halchenko
3eb5e3b876
BF: Allow for trailing spaces in sasl logs
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@783 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-08-07 02:41:08 +00:00
Yaroslav Halchenko
a41a8e3dc7
adjusted changelog
2011-07-28 23:22:33 -04:00
Yaroslav Halchenko
72109ef12c
Merge branch 'debian' into debian-release
...
* debian:
Added a note on diverting logrotate configuration for custom logtarget=SYSLOG (Closes : #631917 )
2011-07-28 23:20:39 -04:00
Yaroslav Halchenko
60f459e3c4
Added a note on diverting logrotate configuration for custom logtarget=SYSLOG ( Closes : #631917 )
2011-07-28 23:20:23 -04:00
Yaroslav Halchenko
584539a2c4
changelog for 0.8.5-1
2011-07-28 23:08:16 -04:00
Yaroslav Halchenko
d7dd84be01
Merge branch 'upstream' into debian-release
...
* upstream:
for 0.8.5 release -- changelog + version
BF: use addfailregex instead of failregex while processing per-jail "failregex" parameter (Closes : #635830 ) (LP: #635036 )
BF: use os.path.join to generate full path - fixes includes in configs given local filename
very minor -- uniform indentation in example
BF: use standard/reserved example.com instead of mail.com
ENH: Adding author for dovecot filter and prunning unneeded space in the regexp
2011-07-28 23:08:08 -04:00
Yaroslav Halchenko
2ab8e35652
Merge branch 'debian' into debian-release
...
* debian:
Set backend to auto and recommends python-gamin (Closes : #524425 )
2011-07-28 23:08:03 -04:00
Yaroslav Halchenko
6c07999157
Merge commit 'remotes/upstream-repo/tags/FAIL2BAN-0_8_5^' into upstream
...
* commit 'remotes/upstream-repo/tags/FAIL2BAN-0_8_5^':
for 0.8.5 release -- changelog + version
BF: use addfailregex instead of failregex while processing per-jail "failregex" parameter (Closes : #635830 ) (LP: #635036 )
BF: use os.path.join to generate full path - fixes includes in configs given local filename
very minor -- uniform indentation in example
BF: use standard/reserved example.com instead of mail.com
ENH: Adding author for dovecot filter and prunning unneeded space in the regexp
Conflicts:
common/version.py -- my added copyright
2011-07-28 23:07:09 -04:00
Yaroslav Halchenko
9e3c29659d
Set backend to auto and recommends python-gamin ( Closes : #524425 )
2011-07-28 22:56:33 -04:00
Yaroslav Halchenko
2da1a55a48
for 0.8.5 release -- changelog + version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@781 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-07-29 02:31:01 +00:00
Yaroslav Halchenko
a35e586ac0
BF: use addfailregex instead of failregex while processing per-jail "failregex" parameter ( Closes : #635830 ) (LP: #635036 )
...
patch from Marat Khayrullin received in Ubuntu BTS. Otherwise custom per-jail
failregex forbidded fail2ban from starting
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@780 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-07-29 02:08:31 +00:00
Yaroslav Halchenko
afee14e778
BF: use os.path.join to generate full path - fixes includes in configs given local filename
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@779 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-06-27 03:40:16 +00:00
Yaroslav Halchenko
b9b9e42223
very minor -- uniform indentation in example
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@778 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-06-27 03:40:08 +00:00
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
2011-05-07 03:16:40 +00:00
Yaroslav Halchenko
6d25310e28
ENH: Adding author for dovecot filter and prunning unneeded space in the regexp
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@776 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 21:38:26 +00:00
Yaroslav Halchenko
846029d154
untabify the most recent changelog
2011-03-23 17:34:32 -04:00
Yaroslav Halchenko
559c76700d
Merge branch 'debian' into debian-release
...
* debian:
Added dropbear jail and made formatting of jails consistent (and untabified)
ENH: Moving gbp.conf under debian/
2011-03-23 17:22:26 -04:00
Yaroslav Halchenko
a7632c0d2a
Added dropbear jail and made formatting of jails consistent (and untabified)
2011-03-23 17:22:21 -04:00
Yaroslav Halchenko
1d76a032ee
ENH: Moving gbp.conf under debian/
2011-03-23 17:19:54 -04:00
Yaroslav Halchenko
66934d4ed6
changelog entry for 0.8.4+svn20110323-1
2011-03-23 17:19:14 -04:00
Yaroslav Halchenko
ba09fae1ac
Merge branch 'debian' into debian-release
...
* debian: (21 commits)
debian/jail.conf: got 'chain' parameter to be specified for iptables actions (Closes : #515599 )
debian/jail.conf: closing " for protocol specification
BF: proftpd filter -- if login failed -- count regardless of the reason for failure
BF: Allow for trailing spaces in proftpd logs
BF: escaping () in pure-ftpd filter. Thanks Teodor
BF: allow space in the trailing of failregex for sasl.conf: see http://bugs.debian.org/573314
ENH: add <chain> to action.d/iptables*. Thanks Matthijs Kooijman: see http://bugs.debian.org/515599
NF: Adding found on a drive filter.d/dovecot.conf
ENH: make filter.d/apache-overflows.conf catch more: see http://bugs.debian.org/574182
ENH: dropbear filter: see http://bugs.debian.org/546913
BF: Use /var/run/fail2ban instead of /tmp for temp files in actions: see http://bugs.debian.org/544232
ENH: adjusted description for sasl jail (Closes : #615952 )
ENH: slight rewordings of the long description (Closes : #588176 )
debian/copyright: updated copyright years
Boosted policy compliance version to 3.9.1 (no changes seems to be due)
spellcheck jail.conf. Thanks Christoph Anton Mitterer
spellcheck debian/jail.conf (Closes : #598206 ). Thanks Christoph Anton Mitterer
debian: default ignoreip to ignore entire loopback zone (/8): see http://bugs.debian.org/598200
default ignoreip to ignore entire loopback zone (/8): see http://bugs.debian.org/598200
Tai64N stores time in GMT, we need to convert to local time before returning
...
2011-03-23 17:04:21 -04:00
Yaroslav Halchenko
086176c4df
debian/jail.conf: got 'chain' parameter to be specified for iptables actions ( Closes : #515599 )
...
+ trailing whitespaces were removed
Thanks to Christoph Anton Mitterer for the original bugreport raising the
concern and Matthijs Kooijman for giving 'chains parameter' idea
2011-03-23 16:59:39 -04:00
Yaroslav Halchenko
350c5f676b
debian/jail.conf: closing " for protocol specification
...
not sure how it did not have any negative impact before :-/
2011-03-23 16:56:57 -04:00
Yaroslav Halchenko
898fab7758
Merge commit 'upstream/0.8.4+svn20110323' into debian
...
* commit 'upstream/0.8.4+svn20110323': (37 commits)
BF: proftpd filter -- if login failed -- count regardless of the reason for failure
BF: Allow for trailing spaces in proftpd logs
BF: escaping () in pure-ftpd filter. Thanks Teodor
BF: allow space in the trailing of failregex for sasl.conf: see http://bugs.debian.org/573314
ENH: add <chain> to action.d/iptables*. Thanks Matthijs Kooijman: see http://bugs.debian.org/515599
NF: Adding found on a drive filter.d/dovecot.conf
ENH: make filter.d/apache-overflows.conf catch more: see http://bugs.debian.org/574182
ENH: dropbear filter: see http://bugs.debian.org/546913
BF: Use /var/run/fail2ban instead of /tmp for temp files in actions: see http://bugs.debian.org/544232
spellcheck jail.conf. Thanks Christoph Anton Mitterer
default ignoreip to ignore entire loopback zone (/8): see http://bugs.debian.org/598200
Tai64N stores time in GMT, we need to convert to local time before returning
debug entry for lines ignored due to falling below findtime (v2)
disabling entirely named-refused-udp jail with a big fat warning
added time module. bug reported in buanzo's blog at http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html
- Patch to make log file descriptors cloexec to stop leaking file descriptors on fork/exec. Thanks to Jonathan Underwood. https://bugzilla.redhat.com/show_bug.cgi?id=230191#c24
- Changed to SVN version.
- Release 0.8.4.
- Oups... Forgot the ChangeLog...
- Check the inode number for rotation in addition to checking the first line of the file. Thanks to Jonathan Kamens. - Red Hat Bugzilla - Bug 503852 - SF.net Bug #2800279 .
...
2011-03-23 16:53:51 -04:00
Yaroslav Halchenko
93d1583bb9
Merge branch 'upstream-0.8' into upstream
...
* upstream-0.8:
BF: proftpd filter -- if login failed -- count regardless of the reason for failure
BF: Allow for trailing spaces in proftpd logs
BF: escaping () in pure-ftpd filter. Thanks Teodor
BF: allow space in the trailing of failregex for sasl.conf: see http://bugs.debian.org/573314
ENH: add <chain> to action.d/iptables*. Thanks Matthijs Kooijman: see http://bugs.debian.org/515599
NF: Adding found on a drive filter.d/dovecot.conf
ENH: make filter.d/apache-overflows.conf catch more: see http://bugs.debian.org/574182
ENH: dropbear filter: see http://bugs.debian.org/546913
BF: Use /var/run/fail2ban instead of /tmp for temp files in actions: see http://bugs.debian.org/544232
2011-03-23 16:51:16 -04:00
Yaroslav Halchenko
eab9af9caa
BF: proftpd filter -- if login failed -- count regardless of the reason for failure
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@775 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:37:19 +00:00
Yaroslav Halchenko
d4b89d8404
BF: Allow for trailing spaces in proftpd logs
...
See http://bugs.debian.org/507986
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@774 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:37:10 +00:00
Yaroslav Halchenko
1cb48bbc96
BF: escaping () in pure-ftpd filter. Thanks Teodor
...
See http://bugs.debian.org/544744
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@773 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:37:00 +00:00
Yaroslav Halchenko
02e7dfb099
BF: allow space in the trailing of failregex for sasl.conf: see http://bugs.debian.org/573314
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@772 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:36:50 +00:00
Yaroslav Halchenko
3831fbf98b
ENH: add <chain> to action.d/iptables*. Thanks Matthijs Kooijman: see http://bugs.debian.org/515599
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@771 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:36:41 +00:00
Yaroslav Halchenko
6558c03f8e
NF: Adding found on a drive filter.d/dovecot.conf
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@770 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:36:28 +00:00
Yaroslav Halchenko
10faba5163
ENH: make filter.d/apache-overflows.conf catch more: see http://bugs.debian.org/574182
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@769 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:36:17 +00:00
Yaroslav Halchenko
0073ba3838
ENH: dropbear filter: see http://bugs.debian.org/546913
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@768 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:36:08 +00:00
Yaroslav Halchenko
638bb66523
BF: Use /var/run/fail2ban instead of /tmp for temp files in actions: see http://bugs.debian.org/544232
...
It should be robust since /var/run/fail2ban is guaranteed to exist to carry the
socket file, and it will be owned by root (or some other dedicated fail2ban
user) thus avoiding possibility for the exploit
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@767 a942ae1a-1317-0410-a47c-b1dcaea8d605
2011-03-23 20:35:56 +00:00
Yaroslav Halchenko
a6bc0e517f
ENH: adjusted description for sasl jail ( Closes : #615952 )
2011-03-23 16:09:00 -04:00
Yaroslav Halchenko
97ac5bd205
ENH: slight rewordings of the long description ( Closes : #588176 )
2011-03-23 16:00:01 -04:00
Yaroslav Halchenko
cfd6cf7b1b
debian/copyright: updated copyright years
2011-03-23 15:55:43 -04:00
Yaroslav Halchenko
eb5bcdad81
Boosted policy compliance version to 3.9.1 (no changes seems to be due)
2011-03-23 15:55:01 -04:00
Yaroslav Halchenko
4c288cd156
1 more example log line for sasl filter
2011-03-23 15:48:31 -04:00
Yaroslav Halchenko
d3ca26d4b1
adding sample log files for apache-overflows and dovecot
2011-03-23 15:08:19 -04:00
Yaroslav Halchenko
2394a465fa
Merge branch 'upstream-0.8' into upstream
...
* upstream-0.8:
spellcheck jail.conf. Thanks Christoph Anton Mitterer
default ignoreip to ignore entire loopback zone (/8): see http://bugs.debian.org/598200
Tai64N stores time in GMT, we need to convert to local time before returning
debug entry for lines ignored due to falling below findtime (v2)
disabling entirely named-refused-udp jail with a big fat warning
added time module. bug reported in buanzo's blog at http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html
2011-03-23 13:36:22 -04:00
Yaroslav Halchenko
aede895096
Forgotten Merge commit 'upstream/0.8.4' into debian
...
Should have been done long before -- debian/ branch tracks source
releases of fail2ban, and there was 0.8.4 which was at once merged into
debian-release (debian branch + patches/fixes) but not into debian
* commit 'upstream/0.8.4':
Imported Upstream version 0.8.4
- Use 80 columns.
- Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714 .
- Made the named-refused regex a bit less restrictive in order to match logs with "view". Thanks to Stephen Gildea.
- Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276 .
- Changed <HOST> template to be more restrictive. Debian bug #514163 .
- Added cyrus-imap and sieve filters. Thanks to Jan Wagner. Debian bug #513953 .
- Pull a commit from Yaroslav git repo. BF: addressing added bang to ssh log (closes : #512193 ).
- Added missing semi-colon in the bind9 example. Thanks to Yaroslav Halchenko.
- Added NetBSD ipfilter (ipf command) action. Thanks to Ed Ravin. Tracker #2484115 .
- Improved SASL filter. Thanks to Loic Pefferkorn. Tracker #2310410 .
- Added CPanel date format. Thanks to David Collins. Tracker #1967610 .
- Added nagios script. Thanks to Sebastian Mueller.
- Removed print.
- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824 .
- Remove socket file on startup is fail2ban crashed. Thanks to Detlef Reichelt.
2011-03-23 13:20:40 -04:00
Yaroslav Halchenko
7b54c7b33b
spellcheck jail.conf. Thanks Christoph Anton Mitterer
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@766 a942ae1a-1317-0410-a47c-b1dcaea8d605
2010-09-27 13:18:32 +00:00
Yaroslav Halchenko
db6aadfc39
spellcheck debian/jail.conf ( Closes : #598206 ). Thanks Christoph Anton Mitterer
2010-09-27 09:16:34 -04:00
Yaroslav Halchenko
35e43cf650
debian: default ignoreip to ignore entire loopback zone (/8): see http://bugs.debian.org/598200
2010-09-27 09:11:47 -04:00
Yaroslav Halchenko
521631cfcc
default ignoreip to ignore entire loopback zone (/8): see http://bugs.debian.org/598200
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@765 a942ae1a-1317-0410-a47c-b1dcaea8d605
2010-09-27 13:10:48 +00:00
Yaroslav Halchenko
12304f7a3e
Tai64N stores time in GMT, we need to convert to local time before returning
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@764 a942ae1a-1317-0410-a47c-b1dcaea8d605
2010-09-27 13:10:40 +00:00
Yaroslav Halchenko
2a38820ed6
debug entry for lines ignored due to falling below findtime (v2)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@763 a942ae1a-1317-0410-a47c-b1dcaea8d605
2010-09-21 17:52:44 +00:00
Yaroslav Halchenko
95a28f3c65
Merge branch 'debian' into debian-release
...
* debian:
adding misc:Depends as advised by lintian
Adding news about named-refused-udp
thanks lintian -- tuning up version for elderly NEWS entry
2010-06-28 22:13:37 -04:00
Yaroslav Halchenko
baf8cc7eb5
adding misc:Depends as advised by lintian
2010-06-28 22:13:27 -04:00
Yaroslav Halchenko
ecb29697e2
Adding news about named-refused-udp
2010-06-28 22:13:15 -04:00
Yaroslav Halchenko
52f37cc159
thanks lintian -- tuning up version for elderly NEWS entry
2010-06-28 22:10:22 -04:00
Yaroslav Halchenko
f7bb5e2df4
changelog entry for 0.8.4-3
2010-06-28 21:50:37 -04:00
Yaroslav Halchenko
20c0d92e89
Merge branch 'debian' into debian-release
...
* debian:
Replacing word of caution with big fat warning and commenting out named-refused-udp completely (Closes : #583364 )
Adding arno-iptables-firewall (no deprecation of ipmasq per Joey Hess mentioning, which still could be used on lenny systems)
2010-06-28 21:45:56 -04:00
Yaroslav Halchenko
833f60a38a
Replacing word of caution with big fat warning and commenting out named-refused-udp completely ( Closes : #583364 )
2010-06-28 21:45:47 -04:00
Yaroslav Halchenko
d9b8625629
Merge branch 'upstream-0.8' into debian-release
...
* upstream-0.8:
disabling entirely named-refused-udp jail with a big fat warning
added time module. bug reported in buanzo's blog at http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html
2010-06-28 21:42:06 -04:00
Yaroslav Halchenko
dabe3aeae1
disabling entirely named-refused-udp jail with a big fat warning
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@761 a942ae1a-1317-0410-a47c-b1dcaea8d605
2010-06-29 01:34:08 +00:00
Yaroslav Halchenko
d1b9e71173
Adding arno-iptables-firewall (no deprecation of ipmasq per Joey Hess mentioning, which still could be used on lenny systems)
2010-05-26 17:58:20 -04:00
Arturo 'Buanzo' Busleiman
7aad6685af
added time module. bug reported in buanzo's blog at http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@758 a942ae1a-1317-0410-a47c-b1dcaea8d605
2010-03-04 17:15:12 +00:00
Yaroslav Halchenko
eb08f17cb2
changelog entry for -2
2010-02-25 00:20:08 -05:00
Yaroslav Halchenko
47fae42a3b
Merge branch 'upstream' into debian-release
...
* upstream:
- Patch to make log file descriptors cloexec to stop leaking file descriptors on
- Changed to SVN version.
2010-02-25 00:17:02 -05:00
Yaroslav Halchenko
26c3416793
Merge branch 'debian' into debian-release
...
* debian:
BF: --install-layout=deb for setup.py + python (>= 2.5.4-1~) to fix install with python2.6 (closes : #571213 )
2010-02-25 00:16:59 -05:00
Yaroslav Halchenko
3f898d7c05
BF: --install-layout=deb for setup.py + python (>= 2.5.4-1~) to fix install with python2.6 ( closes : #571213 )
2010-02-25 00:03:22 -05:00
Yaroslav Halchenko
1b8a52fa48
Merge remote branch 'upstream-repo/FAIL2BAN-0_8' into upstream
...
* upstream-repo/FAIL2BAN-0_8:
- Patch to make log file descriptors cloexec to stop leaking file descriptors on
- Changed to SVN version.
2010-02-24 23:56:21 -05:00
Cyril Jaquier
8007a02539
- Patch to make log file descriptors cloexec to stop leaking file descriptors on
...
fork/exec. Thanks to Jonathan Underwood. https://bugzilla.redhat.com/show_bug.cgi?id=230191#c24
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@757 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-12-15 22:57:54 +00:00
Cyril Jaquier
46313ca7e5
- Changed to SVN version.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@756 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-12-15 22:54:57 +00:00
Yaroslav Halchenko
d0f32768d6
releasing 0.8.4-1 into Debian
2009-09-11 01:49:04 -04:00
Yaroslav Halchenko
d410555435
Merge branch 'debian' into debian-release
...
* debian:
NF: .gbp.conf with instructions for git-buildpackage
2009-09-11 01:10:25 -04:00
Yaroslav Halchenko
d2d283d18c
NF: .gbp.conf with instructions for git-buildpackage
2009-09-11 01:10:15 -04:00
Yaroslav Halchenko
187d6c96a9
changelog entry
2009-09-11 00:53:53 -04:00
Yaroslav Halchenko
e783caaee1
Merge branch 'up/fixes' into build
...
* up/fixes:
BF: proftpd filter -- if login failed -- count regardless of the reason for failure
BF: Allow for trailing spaces in proftpd logs (closes : #507986 )
BF: be able to detect time for VNC recording only 2 letters of year (closes : #537610 )
BF: escaping (). Thanks Teodor (Closes : #544744 )
Conflicts:
config/filter.d/proftpd.conf
2009-09-10 18:03:51 -04:00
Yaroslav Halchenko
3b7e6b6cbc
Merge branches 'debian' and 'up/log_examples' into build
...
* debian:
actually boosting policy
BF: use "set logtartet" instead of "reload" while logrotate. Thanks J.M.Roth (Closes : #537773 )
BF: adjusted README.Debian - multiport is default (closes : #545971 )
* up/log_examples:
added proftpd examples from wiki
NF: few examples for pure-ftpd
2009-09-10 18:03:32 -04:00
Yaroslav Halchenko
513d4bc2e9
Merge branch 'upstream' into build
...
* upstream: (21 commits)
Imported Upstream version 0.8.4
- Release 0.8.4.
- Oups... Forgot the ChangeLog...
- Check the inode number for rotation in addition to checking the first line of the file. Thanks to Jonathan Kamens.
- Fixed typo. Thanks to Dudi Goldenberg.
added traceback to asyncserver.py's import.
Added item about logging subsystem shutdown being moved, to Changelog.
moved logging shutdown out of quit(), into end of start() in server.py
Disabled jail lighttpd-fastcgi by default.
- Added entry for "Ban IP" command.
added "Ban IP" command to fail2ban branch 0.8
- Added two new filters: lighttpd-fastcgi and php-url-fopen.
- Moved last entries in the config/ part.
added two new filter files (PHP url_fopen, lighttpd fastcgi alerts), updated MANIFEST and jail.conf accordingly
- Added svn:keywords property.
- Added helper module in common.
added 'unexpected communication error' fix to ChangeLog. Added formatExceptionInfo to server/asyncserver.py
added missing import sys to asyncserver.py
more readable code for python version comparison
added python version detection to asyncore.loop(use_poll=True|False)
...
2009-09-10 18:02:00 -04:00
Yaroslav Halchenko
f5c69d8958
Merge commit '0_8_4' into upstream
...
* commit '0_8_4':
- Release 0.8.4.
- Oups... Forgot the ChangeLog...
- Check the inode number for rotation in addition to checking the first line of the file. Thanks to Jonathan Kamens.
- Fixed typo. Thanks to Dudi Goldenberg.
added traceback to asyncserver.py's import.
Added item about logging subsystem shutdown being moved, to Changelog.
moved logging shutdown out of quit(), into end of start() in server.py
Disabled jail lighttpd-fastcgi by default.
- Added entry for "Ban IP" command.
added "Ban IP" command to fail2ban branch 0.8
- Added two new filters: lighttpd-fastcgi and php-url-fopen.
- Moved last entries in the config/ part.
added two new filter files (PHP url_fopen, lighttpd fastcgi alerts), updated MANIFEST and jail.conf accordingly
- Added svn:keywords property.
- Added helper module in common.
added 'unexpected communication error' fix to ChangeLog. Added formatExceptionInfo to server/asyncserver.py
added missing import sys to asyncserver.py
more readable code for python version comparison
added python version detection to asyncore.loop(use_poll=True|False)
Fix for python 2.6 / 3.0 incompatibility
2009-09-10 17:56:16 -04:00
Yaroslav Halchenko
c13c64d28b
Imported Upstream version 0.8.4
2009-09-10 15:08:14 -04:00
Yaroslav Halchenko
5ed0f7f90a
BF: proftpd filter -- if login failed -- count regardless of the reason for failure
2009-09-10 12:04:42 -04:00
Yaroslav Halchenko
b81cfae700
added proftpd examples from wiki
2009-09-10 12:02:02 -04:00
Yaroslav Halchenko
7721695f44
BF: Allow for trailing spaces in proftpd logs ( closes : #507986 )
2009-09-10 11:58:12 -04:00
Yaroslav Halchenko
efb1f57f62
actually boosting policy
2009-09-10 11:22:48 -04:00
Yaroslav Halchenko
3389184f41
BF: be able to detect time for VNC recording only 2 letters of year ( closes : #537610 )
2009-09-10 11:15:38 -04:00
Yaroslav Halchenko
472a7b31ce
BF: use "set logtartet" instead of "reload" while logrotate. Thanks J.M.Roth ( Closes : #537773 )
2009-09-10 11:05:56 -04:00
Yaroslav Halchenko
2d4b82c670
BF: escaping (). Thanks Teodor ( Closes : #544744 )
2009-09-10 10:50:31 -04:00
Yaroslav Halchenko
bae3183f9b
NF: few examples for pure-ftpd
2009-09-10 10:35:05 -04:00
Yaroslav Halchenko
3dd16eeddf
BF: adjusted README.Debian - multiport is default ( closes : #545971 )
2009-09-10 09:09:01 -04:00
Cyril Jaquier
0bc43bde31
- Release 0.8.4.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@754 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-09-07 19:13:45 +00:00
Cyril Jaquier
6c2ce35f8c
- Oups... Forgot the ChangeLog...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@753 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-09-01 21:29:13 +00:00
Cyril Jaquier
a3d6ae19f6
- Check the inode number for rotation in addition to checking the first line of the file. Thanks to Jonathan Kamens.
...
- Red Hat Bugzilla - Bug 503852
- SF.net Bug #2800279 .
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@752 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-09-01 21:21:30 +00:00
Cyril Jaquier
c480304c8e
- Fixed typo. Thanks to Dudi Goldenberg.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@751 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-09-01 20:25:32 +00:00
Arturo 'Buanzo' Busleiman
3e3a68f9de
added traceback to asyncserver.py's import.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@750 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-09-01 17:33:04 +00:00
Arturo 'Buanzo' Busleiman
6d1fa0cf1d
Added item about logging subsystem shutdown being moved, to Changelog.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@749 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-31 14:42:45 +00:00
Arturo 'Buanzo' Busleiman
5945ca09ae
moved logging shutdown out of quit(), into end of start() in server.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@748 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-31 14:14:02 +00:00
Arturo 'Buanzo' Busleiman
b91595dd11
Disabled jail lighttpd-fastcgi by default.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@747 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-31 13:57:32 +00:00
Cyril Jaquier
833c5413af
- Added entry for "Ban IP" command.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@746 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 21:07:37 +00:00
Arturo 'Buanzo' Busleiman
a1a106a27e
added "Ban IP" command to fail2ban branch 0.8
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@745 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 18:26:15 +00:00
Cyril Jaquier
a354050913
- Added two new filters: lighttpd-fastcgi and php-url-fopen.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@744 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 14:49:16 +00:00
Cyril Jaquier
f0f96a6cfd
- Moved last entries in the config/ part.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@743 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 14:21:41 +00:00
Arturo 'Buanzo' Busleiman
dde7afe1f3
added two new filter files (PHP url_fopen, lighttpd fastcgi alerts), updated MANIFEST and jail.conf accordingly
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@742 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 14:17:29 +00:00
Cyril Jaquier
9c05632dd8
- Added svn:keywords property.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@741 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 14:13:04 +00:00
Cyril Jaquier
b88956e898
- Added helper module in common.
...
- Moved formatExceptionInfo by Buanzo to common/helpers.py.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@740 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 14:03:18 +00:00
Arturo 'Buanzo' Busleiman
81e2fe8306
added 'unexpected communication error' fix to ChangeLog. Added formatExceptionInfo to server/asyncserver.py
...
We should move that function to a helpers module.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@739 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 13:51:17 +00:00
Arturo 'Buanzo' Busleiman
b2f0bfe751
added missing import sys to asyncserver.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@738 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 13:36:04 +00:00
Arturo 'Buanzo' Busleiman
08a36ca657
more readable code for python version comparison
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@737 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 13:32:19 +00:00
Arturo 'Buanzo' Busleiman
fd898c9eac
added python version detection to asyncore.loop(use_poll=True|False)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@736 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 13:27:52 +00:00
Arturo 'Buanzo' Busleiman
e09fad559a
Fix for python 2.6 / 3.0 incompatibility
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@735 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-08-30 00:36:40 +00:00
Yaroslav Halchenko
779d377ac5
Merge branch 'debian' into build
...
* debian:
actually removing fail2ban installed /var/run/fail2ban while building package
2009-07-09 01:48:49 -04:00
Yaroslav Halchenko
d2695899a0
actually removing fail2ban installed /var/run/fail2ban while building package
2009-07-09 01:48:43 -04:00
Yaroslav Halchenko
f6861cd5ee
Changelog entries
2009-07-09 01:42:48 -04:00
Yaroslav Halchenko
fee38e2fc0
Merge branch 'debian' into build
...
* debian:
BF: thanks lintian -- removing stale /var/run/fail2ban from dirs -- should be created by init script
Thanks lintian for catching a misspell in README.Debian
boosted debhelper compatibility to 5
2009-07-09 01:38:05 -04:00
Yaroslav Halchenko
01a5faf131
BF: thanks lintian -- removing stale /var/run/fail2ban from dirs -- should be created by init script
2009-07-09 01:37:58 -04:00
Yaroslav Halchenko
8de0f450e9
Thanks lintian for catching a misspell in README.Debian
2009-07-09 01:36:46 -04:00
Yaroslav Halchenko
53066981af
boosted debhelper compatibility to 5
2009-07-09 01:36:03 -04:00
Yaroslav Halchenko
59223c3513
Very lengthy debian/changelog entry
2009-07-09 01:15:47 -04:00
Yaroslav Halchenko
5f6a30fe9e
Merge branches 'up/fixes', 'up/log_examples', 'debian' and 'up/ipmasq' into build
...
* up/fixes:
Removed duplicate entry for DataCha0s/2\.0 in badbots (closes : #519557 )
BF: Allow for trailing spaces in proftpd logs (closes : #507986 )
* up/log_examples:
added sasl example log file
* debian:
Added a comment into Debian-shipped jail.conf about sasl logpath -- it might preferable to monitor warn.log in case of postfix
* up/ipmasq:
BF: removing minor bashism in ipmasq example file (closes : #530078 ). Thanks Raphael Geissert
2009-07-09 00:58:46 -04:00
Yaroslav Halchenko
9eefb6927f
Removed duplicate entry for DataCha0s/2\.0 in badbots ( closes : #519557 )
2009-07-09 00:58:29 -04:00
Yaroslav Halchenko
a687363fff
Merge branch 'upstream' into build
...
* upstream:
- Use 80 columns.
- Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714 .
- Made the named-refused regex a bit less restrictive in order to match logs with "view". Thanks to Stephen Gildea.
- Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276 .
- Changed <HOST> template to be more restrictive. Debian bug #514163 .
- Added cyrus-imap and sieve filters. Thanks to Jan Wagner. Debian bug #513953 .
- Pull a commit from Yaroslav git repo. BF: addressing added bang to ssh log (closes : #512193 ).
- Added missing semi-colon in the bind9 example. Thanks to Yaroslav Halchenko.
- Added NetBSD ipfilter (ipf command) action. Thanks to Ed Ravin. Tracker #2484115 .
- Improved SASL filter. Thanks to Loic Pefferkorn. Tracker #2310410 .
- Added CPanel date format. Thanks to David Collins. Tracker #1967610 .
- Added nagios script. Thanks to Sebastian Mueller.
- Removed print.
- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824 .
- Remove socket file on startup is fail2ban crashed. Thanks to Detlef Reichelt.
Conflicts:
config/filter.d/sshd.conf
server/filter.py
2009-07-09 00:55:57 -04:00
Yaroslav Halchenko
fec4e7d286
Merge commit 'upstream-repo/FAIL2BAN-0_8' into upstream
...
* commit 'upstream-repo/FAIL2BAN-0_8':
- Use 80 columns.
- Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714 .
- Made the named-refused regex a bit less restrictive in order to match logs with "view". Thanks to Stephen Gildea.
- Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276 .
- Changed <HOST> template to be more restrictive. Debian bug #514163 .
- Added cyrus-imap and sieve filters. Thanks to Jan Wagner. Debian bug #513953 .
- Pull a commit from Yaroslav git repo. BF: addressing added bang to ssh log (closes : #512193 ).
- Added missing semi-colon in the bind9 example. Thanks to Yaroslav Halchenko.
- Added NetBSD ipfilter (ipf command) action. Thanks to Ed Ravin. Tracker #2484115 .
- Improved SASL filter. Thanks to Loic Pefferkorn. Tracker #2310410 .
- Added CPanel date format. Thanks to David Collins. Tracker #1967610 .
- Added nagios script. Thanks to Sebastian Mueller.
- Removed print.
- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824 .
- Remove socket file on startup is fail2ban crashed. Thanks to Detlef Reichelt.
Conflicts:
MANIFEST
TODO
2009-07-09 00:53:42 -04:00
Yaroslav Halchenko
6197fb178c
Added a comment into Debian-shipped jail.conf about sasl logpath -- it might preferable to monitor warn.log in case of postfix
2009-07-09 00:48:05 -04:00
Yaroslav Halchenko
213954466f
BF: removing minor bashism in ipmasq example file ( closes : #530078 ). Thanks Raphael Geissert
2009-07-09 00:40:38 -04:00
Yaroslav Halchenko
e3e0f8986e
added sasl example log file
2009-07-09 00:32:00 -04:00
Yaroslav Halchenko
483292900c
BF: Allow for trailing spaces in proftpd logs ( closes : #507986 )
2009-07-09 00:22:02 -04:00
Yaroslav Halchenko
3114418b1e
Merge branch 'debian' into build
...
* debian:
Boosted policy to 3.8.2 -- no changed are due
fixed Vcs-git field
2009-07-09 00:05:13 -04:00
Yaroslav Halchenko
034f07ada6
Boosted policy to 3.8.2 -- no changed are due
2009-07-09 00:05:03 -04:00
Yaroslav Halchenko
8d07aa603e
fixed Vcs-git field
2009-07-09 00:00:26 -04:00
Cyril Jaquier
53886e91b3
- Use 80 columns.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@732 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-09 22:36:11 +00:00
Cyril Jaquier
0cf733e878
- Fixed maxretry/findtime rate. Many thanks to Christos Psonis. Tracker #2019714 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@731 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-09 22:08:21 +00:00
Cyril Jaquier
55fd21ec4b
- Made the named-refused regex a bit less restrictive in order to match logs with "view". Thanks to Stephen Gildea.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@730 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-09 20:27:35 +00:00
Cyril Jaquier
3155bc8f03
- Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@729 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-08 19:50:44 +00:00
Cyril Jaquier
abd061bad8
- Changed <HOST> template to be more restrictive. Debian bug #514163 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@728 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-08 17:31:24 +00:00
Yaroslav Halchenko
d47bfd73d6
added changelog entry about BF
2009-02-05 09:54:22 -05:00
Yaroslav Halchenko
2a94e90363
Merge branch 'up/fix_searchIP_v2' into build
...
* up/fix_searchIP_v2:
NF: adding unittests for previous commit
BF: anchoring regex for IP with " *$" at the end + adjust regexp for <HOST>
2009-02-05 09:51:36 -05:00
Yaroslav Halchenko
441318eba9
NF: adding unittests for previous commit
2009-02-05 09:49:45 -05:00
Yaroslav Halchenko
b54290affb
BF: anchoring regex for IP with " *$" at the end + adjust regexp for <HOST>
...
to forbid matching IPs encoded in the hostname (like
1.2.3.4.xxx.yyyyy.zzz) prior doing actual DNS lookup.
It is quite important and actually security hazard: DoS is easy to
perform...
Since now we don't do \S matching in <HOST> regexp, in the development
branches we should also allow for unicode characters by adding 're.U' to HOST's
regexp
2009-02-05 09:42:50 -05:00
Cyril Jaquier
7fd0300a73
- Added cyrus-imap and sieve filters. Thanks to Jan Wagner. Debian bug #513953 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@727 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-03 22:37:46 +00:00
Cyril Jaquier
376f348823
- Pull a commit from Yaroslav git repo. BF: addressing added bang to ssh log ( closes : #512193 ).
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@726 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-03 21:56:03 +00:00
Cyril Jaquier
e86e7d002e
- Added missing semi-colon in the bind9 example. Thanks to Yaroslav Halchenko.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@725 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-02-03 21:51:32 +00:00
Yaroslav Halchenko
e5ca2a97b1
BF: added missing semicolon in a logging template for bind within jail.conf (thanks to anonymous on www.debian-administration.org)
2009-02-02 23:03:48 -05:00
Yaroslav Halchenko
5810109405
Merge branch 'up/fixes' into build
...
* up/fixes:
BF: added missing semicolon in a logging template for bind within jail.conf
2009-02-02 23:02:41 -05:00
Yaroslav Halchenko
84f3a0c413
Merge branch 'debian' into build
...
* debian:
BF: added missing semicolon in a logging template for bind within jail.conf
2009-02-02 23:02:35 -05:00
Yaroslav Halchenko
5fe12cc756
BF: added missing semicolon in a logging template for bind within jail.conf
2009-02-02 23:01:17 -05:00
Yaroslav Halchenko
2db0b346b2
BF: added missing semicolon in a logging template for bind within jail.conf
2009-02-02 22:59:06 -05:00
Cyril Jaquier
e16c18d091
- Added NetBSD ipfilter (ipf command) action. Thanks to Ed Ravin. Tracker #2484115 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@724 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-27 23:39:38 +00:00
Cyril Jaquier
e46e8ed32e
- Improved SASL filter. Thanks to Loic Pefferkorn. Tracker #2310410 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@723 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-27 23:35:46 +00:00
Cyril Jaquier
6b9896c332
- Added CPanel date format. Thanks to David Collins. Tracker #1967610 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@722 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-27 23:21:55 +00:00
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
2009-01-27 22:58:29 +00:00
Cyril Jaquier
024a77a679
- Removed print.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@720 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-20 23:08:59 +00:00
Cyril Jaquier
870f9d9ea7
- Removed begin-line anchor for "standard" timestamp. Fixed Debian bug #500824 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@719 a942ae1a-1317-0410-a47c-b1dcaea8d605
2009-01-20 21:48:04 +00:00
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
2009-01-20 21:24:33 +00:00
Yaroslav Halchenko
65159d1498
updated changelog
2009-01-18 11:58:31 -05:00
Yaroslav Halchenko
17165182c9
Merge branch 'debian' into build
...
* debian:
adjusted description of bantime/findtime in README.Debian (closes : #507771 )
2009-01-18 11:57:12 -05:00
Yaroslav Halchenko
de98375553
adjusted description of bantime/findtime in README.Debian ( closes : #507771 )
2009-01-18 11:56:20 -05:00
Yaroslav Halchenko
01db469fb3
Merge branch 'up/fixes' into build
...
* up/fixes:
BF: removing starting anchor from standard time pattern (closes : #500824 ).
Conflicts:
server/datedetector.py
2009-01-18 11:44:27 -05:00
Yaroslav Halchenko
b54b7def46
BF: removing starting anchor from standard time pattern ( closes : #500824 ).
2009-01-18 11:43:48 -05:00
Yaroslav Halchenko
463564d590
New changelog entry to describe the merge of upstream
...
* added example for BREAK-IN in ssh
* Syncing current debian revision to FAIL2BAN-0_8@717 of upstream,
since it includes fixes to some forwarded bugs. Total list of
functional changes
- Added actions to report abuse to ISP, DShield and myNetWatchman.
Thanks to Russell Odom.
- Added apache-nohome.conf. Thanks to Yaroslav Halchenko.
- Added new time format. No idea from where it comes...
- Added new regex. Thanks to Tobias Offermann.
- Try to match the regex even if the line does not contain a valid
date/time. Described in Debian #491253 . Thanks to Yaroslav
Halchenko.
- Removed "timeregex" and "timepattern" stuff that is not needed
anymore.
- Added date template for Day-Month-Year Hour:Minute:Second
(closes : #491253 )
- Added date pattern for Hour:Minute:Second. Thanks to Andreas
Itzchak Rehberg.
- Use current day and month instead of Jan 1st if both are not
available in the log. Thanks to Andreas Itzchak Rehberg.
- Improved pattern. Thanks to Yaroslav Halchenko.
- Merged patches from Debian package. Thanks to Yaroslav Halchenko.
2009-01-18 11:42:13 -05:00
Yaroslav Halchenko
479fb6e201
Merge branch 'up/log_examples' into build
...
* up/log_examples:
added example for BREAK-IN in ssh
2009-01-18 11:28:02 -05:00
Yaroslav Halchenko
47341e0358
Merge branch 'debian' into build
...
* debian:
- Added actions to report abuse to ISP, DShield and myNetWatchman. Thanks to Russell Odom.
- Added svn:keywords property.
- Added apache-nohome.conf. Thanks to Yaroslav Halchenko.
- Added new time format. No idea from where it comes...
- Added new regex. Thanks to Tobias Offermann.
- Try to match the regex even if the line does not contain a valid date/time. Described in Debian #491253 . Thanks to Yaroslav Halchenko.
- Removed "timeregex" and "timepattern" stuff that is not needed anymore.
- Added date template for Day-Month-Year Hour:Minute:Second.
- Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
- Use current day and month instead of Jan 1st if both are not available in the log. Thanks to Andreas Itzchak Rehberg.
- Improved pattern. Thanks to Yaroslav Halchenko.
- Merged patches from Debian package. Thanks to Yaroslav Halchenko.
- Changed to SVN version.
Conflicts:
config/filter.d/sshd.conf
2009-01-18 11:26:13 -05:00
Yaroslav Halchenko
342c40c7b0
Merge branch 'upstream' into debian
...
* upstream:
- Added actions to report abuse to ISP, DShield and myNetWatchman. Thanks to Russell Odom.
- Added svn:keywords property.
- Added apache-nohome.conf. Thanks to Yaroslav Halchenko.
- Added new time format. No idea from where it comes...
- Added new regex. Thanks to Tobias Offermann.
- Try to match the regex even if the line does not contain a valid date/time. Described in Debian #491253 . Thanks to Yaroslav Halchenko.
- Removed "timeregex" and "timepattern" stuff that is not needed anymore.
- Added date template for Day-Month-Year Hour:Minute:Second.
- Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
- Use current day and month instead of Jan 1st if both are not available in the log. Thanks to Andreas Itzchak Rehberg.
- Improved pattern. Thanks to Yaroslav Halchenko.
- Merged patches from Debian package. Thanks to Yaroslav Halchenko.
- Changed to SVN version.
2009-01-18 11:24:35 -05:00
Yaroslav Halchenko
3ecce6a188
Merge commit 'remotes/upstream-repo/FAIL2BAN-0_8' into upstream
...
* commit 'remotes/upstream-repo/FAIL2BAN-0_8':
- Added actions to report abuse to ISP, DShield and myNetWatchman. Thanks to Russell Odom.
- Added svn:keywords property.
- Added apache-nohome.conf. Thanks to Yaroslav Halchenko.
- Added new time format. No idea from where it comes...
- Added new regex. Thanks to Tobias Offermann.
- Try to match the regex even if the line does not contain a valid date/time. Described in Debian #491253 . Thanks to Yaroslav Halchenko.
- Removed "timeregex" and "timepattern" stuff that is not needed anymore.
- Added date template for Day-Month-Year Hour:Minute:Second.
- Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
- Use current day and month instead of Jan 1st if both are not available in the log. Thanks to Andreas Itzchak Rehberg.
- Improved pattern. Thanks to Yaroslav Halchenko.
- Merged patches from Debian package. Thanks to Yaroslav Halchenko.
- Changed to SVN version.
Conflicts:
MANIFEST
2009-01-18 11:23:47 -05:00
Yaroslav Halchenko
196d4c31d8
BF: addressing added bang to ssh log ( closes : #512193 ). Thanks Silvestre Zabala.
2009-01-18 10:41:13 -05:00
Yaroslav Halchenko
0a1326d12d
Merge branch 'up/sshd_fixes' into build
...
* up/sshd_fixes:
BF: addressing added bang to ssh log (closes : #512193 )
2009-01-18 10:25:46 -05:00
Yaroslav Halchenko
2d8bdb6c85
added example for BREAK-IN in ssh
2009-01-18 10:25:00 -05:00
Yaroslav Halchenko
b623bef3ff
BF: addressing added bang to ssh log ( closes : #512193 )
2009-01-18 10:18:21 -05:00
Cyril Jaquier
6cd56802bb
- Added actions to report abuse to ISP, DShield and myNetWatchman. Thanks to Russell Odom.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@717 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-10-13 14:56:54 +00:00
Cyril Jaquier
622218271d
- Added svn:keywords property.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@716 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-10-13 14:38:41 +00:00
Cyril Jaquier
bb8e610795
- Added apache-nohome.conf. Thanks to Yaroslav Halchenko.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@715 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-10-13 14:37:25 +00:00
Cyril Jaquier
f6d44e6bc8
- Added new time format. No idea from where it comes...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@714 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-10-10 16:26:18 +00:00
Cyril Jaquier
391a38a7a8
- Added new regex. Thanks to Tobias Offermann.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@713 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-10-10 16:00:10 +00:00
Cyril Jaquier
6ee4843d11
- Try to match the regex even if the line does not contain a valid date/time. Described in Debian #491253 . Thanks to Yaroslav Halchenko.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@712 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 22:40:07 +00:00
Cyril Jaquier
8db3e1f74a
- Removed "timeregex" and "timepattern" stuff that is not needed anymore.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@711 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 22:05:13 +00:00
Cyril Jaquier
9e2a4a935a
- Added date template for Day-Month-Year Hour:Minute:Second.
...
- Values as string are shown in capital in the description.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@710 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 21:42:21 +00:00
Cyril Jaquier
e064ebba45
- Added date pattern for Hour:Minute:Second. Thanks to Andreas Itzchak Rehberg.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@709 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 20:59:17 +00:00
Cyril Jaquier
b26f9ca97a
- Use current day and month instead of Jan 1st if both are not available in the log. Thanks to Andreas Itzchak Rehberg.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@708 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 20:51:55 +00:00
Cyril Jaquier
3615c8ec81
- Improved pattern. Thanks to Yaroslav Halchenko.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@707 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-08-12 19:20:02 +00:00
Yaroslav Halchenko
f868269362
releasing 0.8.3-2
2008-08-06 15:49:34 -04:00
Yaroslav Halchenko
f54b7bf214
Merge branch 'up/apache_noscript_fix' into build
...
* up/apache_noscript_fix:
BF: script not found could be in 2 shapes depending on inclusion of the name of the scipt
2008-08-06 15:46:38 -04:00
Yaroslav Halchenko
e8fd1fe941
BF: script not found could be in 2 shapes depending on inclusion of the name of the scipt
2008-08-06 15:46:00 -04:00
Yaroslav Halchenko
3f577f7fbf
BF in apache-noscript.conf - regexp matched in referer ( Closes : #492319 ). Thanks Bernd Zeimetz.
2008-07-25 13:35:19 -04:00
Yaroslav Halchenko
ddd56a1577
Merge branch 'up/apache_noscript_fix' into build
...
* up/apache_noscript_fix:
BF: url is from nonspace characters. that avoids matching in referer which might be in the trailer
2008-07-25 13:33:41 -04:00
Yaroslav Halchenko
79c0d26b55
BF: url is from nonspace characters. that avoids matching in referer which might be in the trailer
2008-07-25 13:31:46 -04:00
Cyril Jaquier
155c4652a4
- Merged patches from Debian package. Thanks to Yaroslav Halchenko.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@706 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-07-22 22:29:57 +00:00
Cyril Jaquier
a8f4d3a8b4
- Changed to SVN version.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@705 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-07-22 22:23:52 +00:00
Yaroslav Halchenko
79442fcc7b
adjusted changelog due to merges
2008-07-21 10:40:22 -04:00
Yaroslav Halchenko
6bdc15ed70
Merge branch 'up/sshd_fixes' into build
...
* up/sshd_fixes:
BF: Specify explicitely facilities in "Failed .. for". Thanks Dean Gaudet. (closes : #481760 )
Added failregex for "User not known" in sshd.conf. thanks Alexander Gerasiov (closes : #479966 )
2008-07-21 10:37:23 -04:00
Yaroslav Halchenko
53581eed66
BF: Specify explicitely facilities in "Failed .. for". Thanks Dean Gaudet. ( closes : #481760 )
2008-07-21 10:37:01 -04:00
Yaroslav Halchenko
569c24fe5a
Added failregex for "User not known" in sshd.conf. thanks Alexander Gerasiov ( closes : #479966 )
2008-07-21 10:34:02 -04:00
Yaroslav Halchenko
8cd185ebbb
adjusted changelog for 0.8.3-1
2008-07-21 10:29:24 -04:00
Yaroslav Halchenko
122ef9f306
Merge branch 'debian' into build
...
* debian:
Boosted policy compliance to 3.8.0 (no changes needed)
2008-07-21 10:25:51 -04:00
Yaroslav Halchenko
8ab68346b1
Boosted policy compliance to 3.8.0 (no changes needed)
2008-07-21 10:25:32 -04:00
Yaroslav Halchenko
bf9e991b4a
Merge branch 'debian' into build
...
* debian: (23 commits)
Imported Upstream version 0.8.3
- Prepared for 0.8.3.
Adjusted vcs paths
- Prepared for 0.8.3
- Send file if the number of lines is greater or equal and not only equal to the limit.
- Use poll instead of select in asyncore.loop. This should solve the "Unknown error 514". Thanks to Michael Geiger and Klaus Lehmann.
- Added missing ignoreregex to filters. Thanks to Klaus Lehmann.
- Added and changed some logging level and messages.
- Added svn:keywords.
- Added ISO 8601 date/time format.
- Better (correct) fix for ignoreregex in jail.[conf|local].
- Fixed ignoreregex processing in fail2ban-client. Thanks to René Berber.
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
- Added svn:keywords.
- Added gssftpd filter. Thanks to Kevin Zembower.
- Changed some log level.
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986 .
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
- Fixed socket path in redhat and suse init script. Thanks to Jim Wight.
- Create /var/run/fail2ban during install.
...
Conflicts:
ChangeLog
config/filter.d/gssftpd.conf
config/filter.d/pam-generic.conf
debian/changelog
2008-07-21 10:22:06 -04:00
Yaroslav Halchenko
9eb96ab812
Merge branch 'upstream' into debian
...
* upstream: (22 commits)
Imported Upstream version 0.8.3
- Prepared for 0.8.3.
- Prepared for 0.8.3
- Send file if the number of lines is greater or equal and not only equal to the limit.
- Use poll instead of select in asyncore.loop. This should solve the "Unknown error 514". Thanks to Michael Geiger and Klaus Lehmann.
- Added missing ignoreregex to filters. Thanks to Klaus Lehmann.
- Added and changed some logging level and messages.
- Added svn:keywords.
- Added ISO 8601 date/time format.
- Better (correct) fix for ignoreregex in jail.[conf|local].
- Fixed ignoreregex processing in fail2ban-client. Thanks to René Berber.
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
- Added svn:keywords.
- Added gssftpd filter. Thanks to Kevin Zembower.
- Changed some log level.
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986 .
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
- Fixed socket path in redhat and suse init script. Thanks to Jim Wight.
- Create /var/run/fail2ban during install.
- Added "pam-generic" filter and more configuration fixes. Thanks to Yaroslav Halchenko.
...
2008-07-21 10:16:49 -04:00
Yaroslav Halchenko
3f62835d63
Merge commit '0_8_3' into upstream
...
* commit '0_8_3': (21 commits)
- Prepared for 0.8.3.
- Prepared for 0.8.3
- Send file if the number of lines is greater or equal and not only equal to the limit.
- Use poll instead of select in asyncore.loop. This should solve the "Unknown error 514". Thanks to Michael Geiger and Klaus Lehmann.
- Added missing ignoreregex to filters. Thanks to Klaus Lehmann.
- Added and changed some logging level and messages.
- Added svn:keywords.
- Added ISO 8601 date/time format.
- Better (correct) fix for ignoreregex in jail.[conf|local].
- Fixed ignoreregex processing in fail2ban-client. Thanks to René Berber.
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
- Added svn:keywords.
- Added gssftpd filter. Thanks to Kevin Zembower.
- Changed some log level.
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986 .
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
- Fixed socket path in redhat and suse init script. Thanks to Jim Wight.
- Create /var/run/fail2ban during install.
- Added "pam-generic" filter and more configuration fixes. Thanks to Yaroslav Halchenko.
- Process failtickets as long as failmanager is not empty.
...
2008-07-21 10:16:03 -04:00
Yaroslav Halchenko
68e22af143
Imported Upstream version 0.8.3
2008-07-21 10:13:13 -04:00
Cyril Jaquier
24c8340d81
- Prepared for 0.8.3.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@703 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-07-17 21:28:51 +00:00
Yaroslav Halchenko
a779bfc655
Adjusted vcs paths
2008-07-17 11:21:51 -04:00
Cyril Jaquier
2ca9261bb3
- Prepared for 0.8.3
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@702 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-07-16 22:10:44 +00:00
Cyril Jaquier
9ed39a4387
- Send file if the number of lines is greater or equal and not only equal to the limit.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@701 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-07-16 21:11:42 +00:00
Cyril Jaquier
cc62cd7076
- Use poll instead of select in asyncore.loop. This should solve the "Unknown error 514". Thanks to Michael Geiger and Klaus Lehmann.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@700 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-07-14 21:56:07 +00:00
Cyril Jaquier
11c8c71014
- Added missing ignoreregex to filters. Thanks to Klaus Lehmann.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@699 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-21 22:17:00 +00:00
Cyril Jaquier
8da2fe515a
- Added and changed some logging level and messages.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@696 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-19 21:05:32 +00:00
Cyril Jaquier
ad72c8e00e
- Added svn:keywords.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@693 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-18 19:54:47 +00:00
Cyril Jaquier
298adc4d43
- Added ISO 8601 date/time format.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@692 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-18 19:53:18 +00:00
Cyril Jaquier
7f37df4a59
- Better (correct) fix for ignoreregex in jail.[conf|local].
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@690 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-12 08:34:42 +00:00
Cyril Jaquier
4bc6a93ce2
- Fixed ignoreregex processing in fail2ban-client. Thanks to René Berber.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@689 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-12 08:25:17 +00:00
Yaroslav Halchenko
a355adcbb2
Changelog entries for 0.8.2-3
2008-05-06 11:10:39 -04:00
Yaroslav Halchenko
db62370cea
Merge branch 'debian' into build
...
* debian:
BF: Assure that /var/run/fail2ban exists upon start (LP: #222804 , #223706 )
2008-05-06 10:45:11 -04:00
Yaroslav Halchenko
32281ed1aa
BF: Assure that /var/run/fail2ban exists upon start (LP: #222804 , #223706 )
2008-05-06 10:43:57 -04:00
Yaroslav Halchenko
48c8159de9
- Process failtickets as long as failmanager is not empty.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@676 a942ae1a-1317-0410-a47c-b1dcaea8d605
Conflicts:
ChangeLog
2008-05-06 10:41:00 -04:00
Yaroslav Halchenko
dc3fd2ccb1
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@685 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-06 10:39:53 -04:00
Yaroslav Halchenko
e52fa4d14d
- Added gssftpd filter. Thanks to Kevin Zembower.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@683 a942ae1a-1317-0410-a47c-b1dcaea8d605
Conflicts:
MANIFEST
2008-05-06 10:39:32 -04:00
Yaroslav Halchenko
678e7f6d76
- Changed some log level.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@682 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-06 10:38:02 -04:00
Yaroslav Halchenko
74ba982151
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@681 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-05-06 10:37:34 -04:00
Yaroslav Halchenko
dc9919aed0
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@680 a942ae1a-1317-0410-a47c-b1dcaea8d605
Conflicts:
ChangeLog
2008-05-06 10:37:14 -04:00
Cyril Jaquier
46dab37bfe
- Added "Day/Month/Year Hour:Minute:Second" date template. Thanks to Dennis Winter.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@685 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-04-07 22:49:47 +00:00
Cyril Jaquier
7dde8d6694
- Added svn:keywords.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@684 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-04-07 22:45:37 +00:00
Cyril Jaquier
a32f04b0cb
- Added gssftpd filter. Thanks to Kevin Zembower.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@683 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-04-07 22:41:19 +00:00
Cyril Jaquier
56357d18df
- Changed some log level.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@682 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-04-07 22:25:16 +00:00
Yaroslav Halchenko
9db84ab727
releasing 0.8.2-2
2008-04-07 10:27:03 -04:00
Yaroslav Halchenko
154c46cdac
Merge branch 'debian' into build
...
* debian:
BF: Recommends whois, which is used in some actions (LP: #213227 )
2008-04-07 10:25:37 -04:00
Yaroslav Halchenko
8207f166e1
BF: Recommends whois, which is used in some actions (LP: #213227 )
2008-04-07 10:24:09 -04:00
Cyril Jaquier
b757c08f40
- Fixed "fail2ban-client get <jail> logpath". Bug #1916986 .
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@681 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-17 23:18:07 +00:00
Cyril Jaquier
b174a2e858
- Fixed PID file while started in daemon mode. Thanks to Christian Jobic who submitted a similar patch.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@680 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-13 21:40:16 +00:00
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
2008-03-10 22:39:40 +00:00
Cyril Jaquier
c1bc33b3cc
- Create /var/run/fail2ban during install.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@678 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-10 22:34:46 +00:00
Cyril Jaquier
d9f9a31802
- Added "pam-generic" filter and more configuration fixes. Thanks to Yaroslav Halchenko.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@677 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-10 22:03:34 +00:00
Yaroslav Halchenko
98fb72441d
BF: now proftpd log msgs include ip mask, failregex adjusted to absorb it as well
2008-03-10 12:52:32 -04:00
Yaroslav Halchenko
66c0610809
Merge branch 'debian' into build
...
* debian:
added dirs file to create /var/run/fail2ban
2008-03-05 23:54:56 -05:00
Yaroslav Halchenko
ef9148cff4
added dirs file to create /var/run/fail2ban
2008-03-05 23:54:30 -05:00
Yaroslav Halchenko
db3567e37f
Merge branch 'debian' into build
...
* debian:
CHANGELOG -> ChangeLog in rules
2008-03-05 23:32:54 -05:00
Yaroslav Halchenko
36f90e4622
CHANGELOG -> ChangeLog in rules
2008-03-05 23:32:42 -05:00
Yaroslav Halchenko
9122f3aab0
Releasing 0.8.2-1
2008-03-05 23:31:20 -05:00
Yaroslav Halchenko
21a7928c64
Merge branch 'debian' into build
...
* debian:
2 new jails: xinetd-fail, apache-overflows added to jails.conf
minor: adjusted comment for named jails to come closer to upstream
BF: apache-* jails -- authentication failures are recorded in *error.log files, thus paths were adjusted
2008-03-05 23:30:41 -05:00
Yaroslav Halchenko
eede41f62b
Changelog entries for 0.8.2-1
2008-03-05 23:30:31 -05:00
Yaroslav Halchenko
a88fd271c4
2 new jails: xinetd-fail, apache-overflows added to jails.conf
2008-03-05 23:29:36 -05:00
Yaroslav Halchenko
5d6d07508d
minor: adjusted comment for named jails to come closer to upstream
2008-03-05 23:18:04 -05:00
Yaroslav Halchenko
15ce210cd0
BF: apache-* jails -- authentication failures are recorded in *error.log files, thus paths were adjusted
2008-03-05 23:14:22 -05:00
Yaroslav Halchenko
e60969830a
Revert "From 0.9 branch: Replaced ssocket.py with asyncore/asynchat implementation. Correct fix for bug #1769616 "
...
This reverts commit 84b70995260bbb5a24976fd814c8f16125339c27.
Conflicts:
server/server.py
2008-03-05 22:43:28 -05:00
Yaroslav Halchenko
9ab6db30c7
Merge branch 'debian' into build
...
* debian: (56 commits)
Imported upstream version 0.8.2
debian/watch: switched to git-import-orig
- Tag for 0.8.2
- Updated for 0.8.2
- Updated e-mail
- Changed homepage and e-mail
- Updated copyright.
- readline is now optional in fail2ban-client (not needed in fail2ban-server).
- Added svn:keywords
- Fixed Debian bug #461426
- Fixed Debian bug #462060
- Fixed Debian bug #468477
- Fixed Debian bug #456567
- Added revision.
- Added "reload <JAIL>"
- Replaced "reject" with "drop" in shorwall action. Fix #1854875
- Replaced "echo" with "printf" in actions. Fix #1839673
- Catch Exception instead of AttributeError.
- Absorbed some Debian patches. Thanks to Yaroslav Halchenko.
- Updated.
...
Conflicts:
config/fail2ban.conf
config/filter.d/proftpd.conf
config/filter.d/sshd.conf
man/fail2ban-client.1
man/fail2ban-server.1
server/datestrptime.py
server/server.py
2008-03-05 22:30:10 -05:00
Yaroslav Halchenko
e574f0190e
Merge branch 'upstream' into debian
...
* upstream: (55 commits)
Imported upstream version 0.8.2
- Tag for 0.8.2
- Updated for 0.8.2
- Updated e-mail
- Changed homepage and e-mail
- Updated copyright.
- readline is now optional in fail2ban-client (not needed in fail2ban-server).
- Added svn:keywords
- Fixed Debian bug #461426
- Fixed Debian bug #462060
- Fixed Debian bug #468477
- Fixed Debian bug #456567
- Added revision.
- Added "reload <JAIL>"
- Replaced "reject" with "drop" in shorwall action. Fix #1854875
- Replaced "echo" with "printf" in actions. Fix #1839673
- Catch Exception instead of AttributeError.
- Absorbed some Debian patches. Thanks to Yaroslav Halchenko.
- Updated.
- Fixed fail2ban-regex. It support "includes" in configuration files.
...
2008-03-05 22:22:05 -05:00
Yaroslav Halchenko
4404ceb9c3
Pseudo-Merge commit '0_8_2' into upstream
...
* commit '0_8_2': (54 commits)
- Updated e-mail
- Changed homepage and e-mail
- Updated copyright.
- readline is now optional in fail2ban-client (not needed in fail2ban-server).
- Added svn:keywords
- Fixed Debian bug #461426
- Fixed Debian bug #462060
- Fixed Debian bug #468477
- Fixed Debian bug #456567
- Added revision.
- Added "reload <JAIL>"
- Replaced "reject" with "drop" in shorwall action. Fix #1854875
- Replaced "echo" with "printf" in actions. Fix #1839673
- Catch Exception instead of AttributeError.
- Absorbed some Debian patches. Thanks to Yaroslav Halchenko.
- Updated.
- Fixed fail2ban-regex. It support "includes" in configuration files.
- "reload <jail>" reloads a single jail and the parameters in fail2ban.conf.
...
2008-03-05 20:29:53 -05:00
Yaroslav Halchenko
c38fe3a8e3
Imported upstream version 0.8.2
2008-03-05 20:19:06 -05:00
Yaroslav Halchenko
940d7fa430
debian/watch: switched to git-import-orig
2008-03-05 20:18:50 -05:00
Cyril Jaquier
d645a8fe47
- Process failtickets as long as failmanager is not empty.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@676 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-06 00:21:52 +00:00
Cyril Jaquier
61fe328a35
- Prepared for future 0.8.3
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@675 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-06 00:18:55 +00:00
Cyril Jaquier
932a746c04
- Tag for 0.8.2
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/tags/FAIL2BAN-0_8_2@674 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 23:22:44 +00:00
Cyril Jaquier
c0a00101f3
- Updated for 0.8.2
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@673 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 23:19:45 +00:00
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
2008-03-05 23:18:06 +00:00
Cyril Jaquier
56fa32afe7
- Changed homepage and e-mail
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@671 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 23:12:41 +00:00
Cyril Jaquier
27b3ce2adc
- Updated copyright.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@670 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 23:06:28 +00:00
Cyril Jaquier
fca32a5717
- readline is now optional in fail2ban-client (not needed in fail2ban-server).
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@669 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 22:49:29 +00:00
Cyril Jaquier
55d6baa66d
- Added svn:keywords
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@668 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 22:37:20 +00:00
Cyril Jaquier
e7eaf5c488
- Fixed Debian bug #461426
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@667 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 22:35:09 +00:00
Cyril Jaquier
f77057d3dd
- Fixed Debian bug #462060
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@666 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 22:23:41 +00:00
Cyril Jaquier
06f8a1a8ca
- Fixed Debian bug #468477
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@665 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 21:53:33 +00:00
Cyril Jaquier
ead3e50c97
- Fixed Debian bug #456567
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@664 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 21:47:59 +00:00
Cyril Jaquier
6db1212152
- Added revision.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@663 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-05 21:47:14 +00:00
Cyril Jaquier
f4f7189622
- Added "reload <JAIL>"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@662 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 23:41:58 +00:00
Cyril Jaquier
17e31b167e
- Replaced "reject" with "drop" in shorwall action. Fix #1854875
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@661 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 23:20:10 +00:00
Cyril Jaquier
0afa6fb2be
- Replaced "echo" with "printf" in actions. Fix #1839673
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@660 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 23:11:28 +00:00
Cyril Jaquier
331ae7155a
- Catch Exception instead of AttributeError.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@659 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 23:09:30 +00:00
Cyril Jaquier
f0399ca5a4
- Absorbed some Debian patches. Thanks to Yaroslav Halchenko.
...
- Renamed actionend to actionstop.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@658 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 22:41:28 +00:00
Cyril Jaquier
b4de265030
- Updated.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@657 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 00:20:12 +00:00
Cyril Jaquier
174ce7027a
- Fixed fail2ban-regex. It support "includes" in configuration files.
...
- Modified "includes" to be more generic. We will probably support URL in the future.
- Small refactoring.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@656 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 00:17:56 +00:00
Cyril Jaquier
6779814d91
- "reload <jail>" reloads a single jail and the parameters in fail2ban.conf.
...
- Look for fail2ban-server in sys.path[0]. Thanks to Bill Heaton.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@655 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-04 00:13:39 +00:00
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
2008-03-04 00:10:30 +00:00
Cyril Jaquier
8fc448de29
- Updated.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@653 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-03-03 20:39:04 +00:00
Yaroslav Halchenko
e43ea8e1b3
releasing -5
2008-02-28 19:52:37 -05:00
Yaroslav Halchenko
be3bc2bc00
manually "cherry picked" f6639981: Fixed "Feb 29" bug. Thanks to James Andrewartha who pointed this out. Thanks to Yaroslav Halchenko for the fix.
2008-02-28 19:50:08 -05:00
Cyril Jaquier
799f5977c5
- Fixed "Feb 29" bug. Thanks to James Andrewartha who pointed this out. Thanks to Yaroslav Halchenko for the fix.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@652 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-02-28 23:01:30 +00:00
Yaroslav Halchenko
0392274daf
added 0.8.1-4 changelog entry.
2008-02-09 22:09:50 -05:00
Yaroslav Halchenko
b8d97d0983
Merge branches 'debian', 'deb/specifics', 'up/0.9-0.8', 'up/apache_noscript_extend', 'up/ipmasq', 'up/log_examples', 'up/mail_whois_lines', 'up/named_refused_fixed', 'up/pam_generic', 'up/proftpd_fix+extend', 'up/sshd_refused_connect' and 'up/vsftpd_optional_user' into build
...
* debian:
Confirms to policy 3.7.3 (no changes)
Bye Bye dpatch: now everything is handled in git branches
removing patches from dpatch system since they are in branches now
added a comment to README.Debian and to the list of examples for ipmasq example file
Fixed == bashism (Closes : #464647 ). Thanks Raphael Geisser
* deb/specifics:
slight tune ups in upstream sources destined only for debian are kept in this branch
* up/0.9-0.8:
* up/apache_noscript_extend:
Extended apache-noscript filter with more file extensions and to react to "script not found or unable to stat" log message (closes : #456565 ). Thanks Tim Connors
* up/ipmasq:
Added ipmasq rule file to restart fail2ban when iptables are wiped out (closes : #461417 ). Thanks Guido Bozzetto
* up/log_examples:
up/log_examples: moved vsftpd log from up/vsftpd_optional_user
added examples of log lines (for named-refused, pam-generic, sshd) under files/logs for easy testing
* up/mail_whois_lines:
mail-whois-lines: moved fix for proper names from dpatch
* up/named_refused_fixed:
named_refused: moved fix for proper config+filters from dpatch
* up/pam_generic:
added pam-generic from dpatch
* up/proftpd_fix+extend:
Fix/extension of proftpd failrexes (Closes : #461412 ). Thanks Guido Bozzetto
* up/sshd_refused_connect:
* up/vsftpd_optional_user:
up/vsftpd_optional_user: moving examples into up/examples branch
BF: vsftp anchoring
2008-02-09 22:02:21 -05:00
Yaroslav Halchenko
9907401483
up/log_examples: moved vsftpd log from up/vsftpd_optional_user
2008-02-08 10:54:46 -05:00
Yaroslav Halchenko
5c5c07fed6
up/vsftpd_optional_user: moving examples into up/examples branch
2008-02-08 10:54:07 -05:00
Yaroslav Halchenko
1da878481f
mail-whois-lines: moved fix for proper names from dpatch
2008-02-08 01:33:46 -05:00
Yaroslav Halchenko
fc3a57b6c1
Confirms to policy 3.7.3 (no changes)
2008-02-08 01:23:34 -05:00
Yaroslav Halchenko
4b2bd7e776
Bye Bye dpatch: now everything is handled in git branches
2008-02-08 00:52:04 -05:00
Yaroslav Halchenko
a832ede291
removing patches from dpatch system since they are in branches now
2008-02-08 00:46:00 -05:00
Yaroslav Halchenko
5f30cb0898
slight tune ups in upstream sources destined only for debian are kept in this branch
2008-02-08 00:40:57 -05:00
Yaroslav Halchenko
a9ee3c0b47
named_refused: moved fix for proper config+filters from dpatch
2008-02-08 00:38:02 -05:00
Yaroslav Halchenko
86072e3d55
added pam-generic from dpatch
2008-02-08 00:30:47 -05:00
Yaroslav Halchenko
a2090e7283
added examples of log lines (for named-refused, pam-generic, sshd) under files/logs for easy testing
2008-02-08 00:28:31 -05:00
Yaroslav Halchenko
996da9a3f0
added a comment to README.Debian and to the list of examples for ipmasq example file
2008-02-07 23:43:21 -05:00
Yaroslav Halchenko
0da36545d3
Fixed == bashism ( Closes : #464647 ). Thanks Raphael Geisser
2008-02-07 23:43:21 -05:00
Yaroslav Halchenko
2d8df22cf1
Extended apache-noscript filter with more file extensions and to react to "script not found or unable to stat" log message ( closes : #456565 ). Thanks Tim Connors
2008-02-07 23:37:34 -05:00
Yaroslav Halchenko
af81bac456
Added ipmasq rule file to restart fail2ban when iptables are wiped out ( closes : #461417 ). Thanks Guido Bozzetto
2008-02-07 23:24:18 -05:00
Yaroslav Halchenko
af29b27693
Fix/extension of proftpd failrexes ( Closes : #461412 ). Thanks Guido Bozzetto
2008-02-07 23:00:07 -05:00
Cyril Jaquier
c25790ad36
- Renamed CHANGELOG to ChangeLog.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@651 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-02-06 20:17:12 +00:00
Cyril Jaquier
09f41e485c
- Fixed date values.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@650 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-02-02 20:07:06 +00:00
Cyril Jaquier
bcdb428e1b
- Added missing argument.
...
- Fixed use of FileContainer in filterpoll.py.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@649 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-02-02 17:04:11 +00:00
Cyril Jaquier
9163e5b61b
- Removed debug message.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@648 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-02-02 16:59:45 +00:00
Cyril Jaquier
ae26b901ab
- Create a PID file in /var/run/fail2ban/. Thanks to Julien Perez.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@647 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-20 16:30:35 +00:00
Cyril Jaquier
5e02f46174
- Fixed import of modules.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@646 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-19 11:14:07 +00:00
Cyril Jaquier
7091cb39e4
- Small refactoring.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@645 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-16 22:55:04 +00:00
Cyril Jaquier
695b6b1fe5
- New log rotation detection algorithm.
...
- Print monitored files in status.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@644 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-14 23:12:21 +00:00
Cyril Jaquier
2703c8ebb9
- Show version at startup. Thanks to Klaus Lehmann.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@643 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-13 15:49:23 +00:00
Cyril Jaquier
7db7967ab1
- Added string and regex to log message.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@642 a942ae1a-1317-0410-a47c-b1dcaea8d605
2008-01-05 22:33:44 +00:00
Yaroslav Halchenko
33a6a98fea
BF: vsftp anchoring
...
it needed also optional user=, as well as optional (pam_unix) and removed 1 space
also added .examples file for testing
2008-01-04 12:02:23 -05:00
Cyril Jaquier
65dcbed591
- Split Filter into Filter and FileFilter.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@641 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-26 11:46:22 +00:00
Cyril Jaquier
9199e02853
- Removed unused regular expression.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@640 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-19 22:50:47 +00:00
Cyril Jaquier
adcc2ef386
- Removed user-defined time regex/pattern.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@639 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-17 20:04:29 +00:00
Cyril Jaquier
eae650fdfc
- Refactoring. Merged failticket and banticket into ticket.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@638 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-17 20:00:36 +00:00
Cyril Jaquier
bad9821b14
- Increment counter internally.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@637 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-17 19:57:19 +00:00
Cyril Jaquier
379aa2f855
- Display a message if we could not bind the socket.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@636 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-17 19:53:33 +00:00
Cyril Jaquier
ce6b8c959e
- Removed Python 2.4. Minimum required version is now Python 2.3.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@635 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-16 21:38:04 +00:00
Cyril Jaquier
e68cc2b176
- Changed version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@634 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-16 21:32:54 +00:00
Cyril Jaquier
c07a7a6e7a
- Refactoring. Reduced number of files.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@633 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-16 18:05:07 +00:00
Cyril Jaquier
2ce608d640
- Reverted import changes
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@632 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-14 22:37:55 +00:00
Cyril Jaquier
c3977d7299
- Try to log an unexpected exception if possible.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@631 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-14 22:11:12 +00:00
Cyril Jaquier
8dae8e4d0e
- Shutdown logging at shutdown.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@630 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-14 22:04:13 +00:00
Cyril Jaquier
e66d9eee41
- Moved socket to /var/run/fail2ban.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@629 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-14 21:33:33 +00:00
Cyril Jaquier
5bd32566c3
- Moved socket to /var/run/fail2ban.
...
- Rewrote the communication server.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@628 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-12-14 21:19:00 +00:00
Cyril Jaquier
5176ce820e
- Fixed "ignore IPs". Only the first value was taken into account. Thanks to Adrien Clerc
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@627 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-11-26 23:15:27 +00:00
Cyril Jaquier
c7b099f785
- Removed date from logging message when using SYSLOG. Thanks to Iain Lea
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@626 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-11-25 20:51:32 +00:00
Yaroslav Halchenko
24d8b44c2a
* Moved iptables into recommends since fail2ban can work without iptables
...
using some other action (e.g hosts.deny)
2007-11-23 12:50:39 -05:00
Yaroslav Halchenko
fa21222c63
* Moved iptables into recommends since fail2ban can work without iptables
...
using some other action (e.g hosts.deny)
2007-11-23 12:49:15 -05:00
Yaroslav Halchenko
ee25282f34
releasing 0.8.1-3
2007-11-23 11:43:41 -05:00
Yaroslav Halchenko
6b913aafa2
Merge branch 'debian' into build: Vcs fields
...
Conflicts:
debian/changelog
2007-11-23 11:10:35 -05:00
Yaroslav Halchenko
f8b17f3859
* Added Vcs- fields, moved Homepage into source header's field
2007-11-23 11:09:34 -05:00
Yaroslav Halchenko
4b95233acb
Merge branches 'debian' and 'up/sshd_refused_connect' into build: NF: refused connect sshd failregex
2007-11-23 09:02:58 -05:00
Yaroslav Halchenko
46cfc2bbd6
added example for "refused connect"
2007-11-23 09:00:08 -05:00
Yaroslav Halchenko
1f4571ac88
NF: ban tcpwrappers 'refused connect' reported IPs
2007-11-23 08:57:33 -05:00
Yaroslav Halchenko
d82257b2f2
Merge branch 'debian' into build: BF: no sftp in ssh jails
2007-11-22 14:34:59 -05:00
Yaroslav Halchenko
1cedd8e02b
BF: removed sftp from ssh jails
2007-11-22 14:32:17 -05:00
Yaroslav Halchenko
ff7b1897eb
Merge branch 'up/0.9-0.8' into build
2007-11-11 01:50:21 -05:00
Yaroslav Halchenko
54e45cb649
needed to add server.communication to list of packages to be installed
2007-11-11 01:49:55 -05:00
Yaroslav Halchenko
4aa9bca7ca
Merge branch 'up/0.9-0.8' into build and provided debian/changelog
2007-11-11 01:21:44 -05:00
Yaroslav Halchenko
606a8b3428
From 0.9 branch: Replaced ssocket.py with asyncore/asynchat implementation. Correct fix for bug #1769616
2007-11-11 01:11:04 -05:00
Cyril Jaquier
c40534123c
- Fixed ipfw action script. Thanks to Nick Munger
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@623 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-10-23 22:06:31 +00:00
Yaroslav Halchenko
2553e2717a
* Added force-start action to init script, so it could be forced
...
to start if previous run crashed and left a socket file. Must to be
used with caution.
2007-10-18 22:03:37 -04:00
Yaroslav Halchenko
8d9aca4e20
* Fixed named-refused filter.
2007-10-16 17:02:35 -04:00
Yaroslav Halchenko
99dbe90ad2
releasing
2007-10-16 17:02:35 -04:00
Yaroslav Halchenko
413ec5317e
first pre-release version of 0.8.1
2007-10-16 17:02:35 -04:00
Yaroslav Halchenko
0012f9ff92
* (NOT RELEASED YET) New upstream release.
...
Patches absorbed upstream:
00_daemon_pids.dpatch
00_iptables_allports.dpatch
00_vsftp_filter_spaces.dpatch
00_resolve_all_names.dpatch
00_HOST_ignoreregex.dpatch
Patches which needed some tune-up:
00_ssh_strong_re.dpatch
00_mail-whois-lines.dpatch
00_named_refused.dpatch
2007-10-16 17:02:35 -04:00
Yaroslav Halchenko
e10a8616b4
fetched fresh upstream 0.8.1
2007-10-16 17:02:35 -04:00
Yaroslav Halchenko
922b5035ea
actually we never released pre-release
2007-10-16 17:02:35 -04:00
Yaroslav Halchenko
7b40dd33d5
Merge commit 'upstream/0.8.1' into tmp/join
2007-10-16 17:02:34 -04:00
Yaroslav Halchenko
bce05a1285
Upgraded to fresh upstream 0.8.1
2007-10-16 17:01:23 -04:00
Yaroslav Halchenko
8323a8cac8
Upgraded to fresh upstream 0.8.0
2007-10-16 17:01:22 -04:00
Yaroslav Halchenko
b6e07f1f3a
Upgraded to fresh upstream 0.7.9
2007-10-16 17:01:22 -04:00
Yaroslav Halchenko
d77f67bb89
Upgraded to fresh upstream 0.7.8
2007-10-16 17:01:22 -04:00
Yaroslav Halchenko
018484d985
Upgraded to fresh upstream 0.7.7
2007-10-16 17:01:21 -04:00
Yaroslav Halchenko
93125ae6ac
Upgraded to fresh upstream 0.7.6
2007-10-16 17:01:21 -04:00
Yaroslav Halchenko
325366066e
Upgraded to fresh upstream 0.7.5
2007-10-16 17:01:20 -04:00
Yaroslav Halchenko
a82e3dc1e7
Upgraded to fresh upstream 0.7.4
2007-10-16 17:01:20 -04:00
Yaroslav Halchenko
0ca7bffd7b
Upgraded to fresh upstream 0.6.1
2007-10-16 17:01:20 -04:00
Yaroslav Halchenko
ad466ecb3c
Upgraded to fresh upstream 0.6.0
2007-10-16 17:01:19 -04:00
Yaroslav Halchenko
7f0a3df4a4
Upgraded to fresh upstream 0.5.4
2007-10-16 17:01:19 -04:00
Yaroslav Halchenko
bb2cc0b966
Upgraded to fresh upstream 0.5.3
2007-10-16 17:01:19 -04:00
Yaroslav Halchenko
9ad46bb82f
Upgraded to fresh upstream 0.5.2
2007-10-16 17:01:18 -04:00
Cyril Jaquier
66063d2731
- Added "full line failregex" patch. Thanks to Yaroslav Halchenko. It will be possible to create stronger failregex against log injection
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@621 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-09-12 21:38:51 +00:00
Cyril Jaquier
9eda9e93c7
- Fixed timezone bug with epoch date template. Thanks to Michael Hanselmann
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@618 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-09-05 20:43:47 +00:00
Cyril Jaquier
d885fc786e
- Fixed wrong path for apache-auth in jail.conf. Thanks to Vincent Deffontaines
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@617 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-27 21:25:56 +00:00
Cyril Jaquier
938297138b
- Fixed named filter. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@616 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-27 21:03:33 +00:00
Cyril Jaquier
e40468dfd3
- Prepared for 0.8.1
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@614 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-14 21:39:15 +00:00
Cyril Jaquier
732c66215f
- Improved regular expressions
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@613 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-13 21:39:26 +00:00
Yaroslav Halchenko
85b75c77fb
* Resolve all "names" which became a part of <HOST>. Previousely only fqdn's
...
were resolved
2007-08-13 21:13:59 +00:00
Cyril Jaquier
b2a79a5e49
- Added new files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@612 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:52:42 +00:00
Cyril Jaquier
5fd5a8112a
- Added named (bind9) example. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@611 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:49:58 +00:00
Cyril Jaquier
49b2e40682
- Fixed vsftpd filter. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@610 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:31:47 +00:00
Cyril Jaquier
3ef8fbe2e3
- Modified failregex again. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@609 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:29:13 +00:00
Cyril Jaquier
a3ace8040b
- Added filter file for named (bind9). Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@608 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:21:15 +00:00
Cyril Jaquier
040822f19f
- Added "named" date format to date detector. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@607 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:16:22 +00:00
Cyril Jaquier
26c54c4538
- Added new action iptables-allports. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@606 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-08 22:13:09 +00:00
Cyril Jaquier
7c33b443ac
- Removed textToDns() which is not required anymore. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@605 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-07 22:11:34 +00:00
Yaroslav Halchenko
c5202ce696
* Added optional spaces at the end of failregex for vsftpd.
2007-08-06 01:39:30 +00:00
Cyril Jaquier
711f936ed0
- Corrected subject
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@604 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-08-05 19:33:15 +00:00
Yaroslav Halchenko
58ae2a5a75
* Added new time template matching named log entries
2007-07-30 02:31:35 +00:00
Yaroslav Halchenko
95d17ee318
* Adjusted failregex for sshd filter:
...
- anchored properly at the end of line, and source code has .examples
files to perform testing of the rules.
- added new explicit rule for users not in the AllowUsers lists
2007-07-29 17:20:23 +00:00
Yaroslav Halchenko
3aef16b773
* jail.conf has specification of protocol (default to tcp) to be provided to
...
banaction
2007-07-25 03:47:32 +00:00
Yaroslav Halchenko
990bd15dd5
specified default protocol (tcp) and specified udp for jail for named
2007-07-25 03:46:41 +00:00
Yaroslav Halchenko
ac7e1696d4
fixed named filter to account for optional (cache)
2007-07-24 20:04:20 +00:00
Yaroslav Halchenko
14d3ffc6de
* Added a filter for named to catch refused/denied queries
2007-07-24 18:10:05 +00:00
Yaroslav Halchenko
2a3d710cad
adjusted pam_generic patch in example to catch ftp
2007-07-24 17:25:38 +00:00
Yaroslav Halchenko
d63bea24f5
tuned pam_generic to catch some weird log lines
2007-07-21 02:29:45 +00:00
Yaroslav Halchenko
a843d0da04
tuned pam_generic to catch some weird log lines
2007-07-21 02:27:30 +00:00
Cyril Jaquier
e841209f1b
- Added new regex for proftpd. Thanks to Vaclav Misek
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@603 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-17 20:41:00 +00:00
Cyril Jaquier
b239e17a7d
- Updated contributors
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@602 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-11 22:27:29 +00:00
Cyril Jaquier
9ac663a121
- Added webmin authentication filter. Thanks to Guillaume Delvit
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@601 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-11 22:27:16 +00:00
Cyril Jaquier
6d7b93c826
- Updated contributors
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@600 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-11 22:13:07 +00:00
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
2007-07-11 22:12:45 +00:00
Cyril Jaquier
f714c96d0e
- Updated regular expressions
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@598 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-10 20:24:44 +00:00
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
2007-07-10 20:04:57 +00:00
Cyril Jaquier
ada2d7234e
- Added "ignoreregex" support to fail2ban-regex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@596 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-10 19:54:01 +00:00
Yaroslav Halchenko
f58421eabf
* Use /var/run to keep socket file ( closes : #425746 )
2007-07-05 17:12:17 +00:00
Cyril Jaquier
08c2c55742
- Added sendmail actions. The action started with "mail" are now deprecated. Thanks to Raphaël Marichez
...
- Fixed a small typo
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@595 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-07-05 16:10:33 +00:00
Cyril Jaquier
32d1132416
- Changed location
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@594 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-06-25 22:18:46 +00:00
Cyril Jaquier
e2334db7a6
- Improved regular expressions. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@592 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-06-25 21:57:10 +00:00
Cyril Jaquier
ad010a667e
- Expand <HOST> in ignoreregex. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@590 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-06-25 21:43:44 +00:00
Cyril Jaquier
6d129491f7
- Expand <HOST> in ignoreregex. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@589 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-06-25 21:43:25 +00:00
Yaroslav Halchenko
a9ecd98ffe
Added port param in jail since otherwise -- crashes
2007-06-25 17:08:49 +00:00
Yaroslav Halchenko
2e55bc57c7
* Added a filter pam_generic to catch any login errors.
...
* Added iptables-allports.
2007-06-25 16:51:05 +00:00
Yaroslav Halchenko
bc0806d459
* Moved <HOST> expansion into regex.py ( closes : #429263 ). Thanks James
...
Andrewartha.
* Added optional regexp entry for process PID in some entries (closes:
#426050 ). Thanks Roderick Schertler.
2007-06-21 01:47:02 +00:00
Cyril Jaquier
1e2ddec485
- Fixed vulnerability in sshd.conf. Thanks to Daniel B. Cid
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@587 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-06-07 21:29:18 +00:00
Yaroslav Halchenko
cc5ec4dcde
releasing
2007-05-16 18:14:13 +00:00
Yaroslav Halchenko
e55dfeaf3a
untabified last entry
2007-05-15 14:37:09 +00:00
Yaroslav Halchenko
cc1ed23b40
* Applied changes submitted by Bernd Zeimetz (thanks Bernd):
...
- Removed obsolete Build-Depends-Indep on help2man, python-dev
- Explicit removal of *.pyc files compiled during build
- Invoke 'python setup.py clean' in clean target, which required also
to move python into Build-Depends
* Minor clean up of debian/rules
2007-05-15 14:26:28 +00:00
Yaroslav Halchenko
be824f4e00
adjusted to be prerelease of the package
2007-05-10 15:35:43 +00:00
Yaroslav Halchenko
c58a100259
* Manually changing the order of debhelper inserted scripts in prerm
...
(Closes : #422655 )
* Removed obsolete hack to have /bin/env invocation of python for
fail2ban-* scripts
2007-05-10 15:34:09 +00:00
Yaroslav Halchenko
e9397ea375
* New stable upstream release
2007-05-05 16:35:58 +00:00
Yaroslav Halchenko
10718c1036
initial upgrade to 0.8.0
2007-05-05 16:17:50 +00:00
Yaroslav Halchenko
ab18d77f6a
pre 0.8.0 release -- I decided to do not do mergeWithUpstream and rather carry full source
2007-05-05 16:14:31 +00:00
Cyril Jaquier
d1cbc1b70c
- 0.8 is finally here
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@580 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-05-03 20:40:15 +00:00
Cyril Jaquier
128515ddf1
- 0.8 is finally here :)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@578 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-05-03 20:30:28 +00:00
Cyril Jaquier
b4586138db
- Added common/ source directory
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@577 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-05-03 20:26:56 +00:00
Cyril Jaquier
c045a20152
- Added Solaris 10 files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@576 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-05-03 20:04:44 +00:00
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
2007-05-03 20:03:13 +00:00
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
2007-05-01 22:42:10 +00:00
Cyril Jaquier
76c5bd80e5
- Updated to SVN version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@573 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-05-01 22:41:41 +00:00
Yaroslav Halchenko
d15f9d0206
* New upstream release
...
* Updated copyright to include current year
* Removed patches absorbed upstream
2007-04-20 01:44:43 +00:00
Cyril Jaquier
b813cc58b9
- Prepared release 0.7.9
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@571 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-04-19 21:57:27 +00:00
Cyril Jaquier
bfab0409a2
- Replaced -d with -f. We are looking for a file, not a directory
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@570 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-04-19 21:43:45 +00:00
Cyril Jaquier
ac54c8b4f1
- Modified filters config. Thanks to Michael C. Haller
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@569 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-04-18 20:22:54 +00:00
Cyril Jaquier
6145a88fe8
- Added date format for asctime without year
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@568 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-04-01 20:42:05 +00:00
Yaroslav Halchenko
5dcec130f6
adjusted changelog -- releasing finally
2007-03-26 21:53:30 +00:00
Yaroslav Halchenko
7c30a3097b
* Applied post-release upstream changes to resolve issues with
...
- Close opened handlers to log file
- Fixed "reload" bug
2007-03-26 21:47:10 +00:00
Cyril Jaquier
090518ddaf
- Fixed "reload" bug. Many many thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@567 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-26 21:17:31 +00:00
Cyril Jaquier
b40b9d88d2
- Added a new line before "Regards,"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@566 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-26 21:08:09 +00:00
Yaroslav Halchenko
dc21820c80
adjusted paths in patches
2007-03-24 22:40:42 +00:00
Yaroslav Halchenko
d345865621
* New upstream release
...
* Applied post-release changes to resolve issues with gamin and not closed
on reload log file
2007-03-24 22:27:09 +00:00
Cyril Jaquier
f260372bb2
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@565 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-22 22:20:36 +00:00
Cyril Jaquier
fddce1cbdc
- Clean up resources. Does not seem to free resources correctly. Gamin bug???
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@564 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-22 22:18:46 +00:00
Cyril Jaquier
c768980784
- Close opened handlers. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@563 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-22 22:17:41 +00:00
Cyril Jaquier
bf72fe7188
- Updated for 0.7.8
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@561 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-21 21:44:07 +00:00
Cyril Jaquier
ee234d424c
- Added pure-ftpd filter. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@560 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-19 20:32:28 +00:00
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
2007-03-13 23:18:54 +00:00
Cyril Jaquier
64226d09c0
- Improved failregex a bit
...
- Added TrackBack/1.02
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@558 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-07 21:32:33 +00:00
Cyril Jaquier
7f92be5f7f
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@557 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-07 20:55:08 +00:00
Cyril Jaquier
bde70ebc00
- Added more comments
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@556 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-07 20:54:32 +00:00
Cyril Jaquier
9cb7831758
- Catched socket.error raised by socket.accept on some platform
...
- Modified some socket settings
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@555 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-07 20:53:37 +00:00
Cyril Jaquier
0b9c41c015
- Removed actionstart and actionstop which are now obsolete
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@554 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-03-07 20:47:41 +00:00
Cyril Jaquier
6426cf75aa
- Moved every locking statements in a try..finally block
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@553 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-25 23:53:22 +00:00
Cyril Jaquier
f02a915de1
- Added a new example for vsftpd. Thanks to Christian Rauch
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@552 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-22 21:11:30 +00:00
Cyril Jaquier
54e4d012d1
- Fixed bug #1664386 . Thanks to Harry Rarig
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@551 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-22 20:52:35 +00:00
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
2007-02-20 20:44:47 +00:00
Cyril Jaquier
b4caed8c00
- Added new filter for spam bots
...
- Added new action for buffered mails
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@549 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-12 21:50:50 +00:00
Cyril Jaquier
eee0766319
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@548 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-11 23:22:32 +00:00
Cyril Jaquier
3d5b32c199
- Display the IP list correctly
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@547 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-11 23:21:56 +00:00
Cyril Jaquier
35a26237eb
- Fixed asctime pattern in datedetector.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@546 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-11 23:19:32 +00:00
Cyril Jaquier
364e1ff397
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@545 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-11 23:18:58 +00:00
Yaroslav Halchenko
ee3f91176c
* New upstream release (included most of the debian-provided patches -- new
...
filters and actions)
* Refreshed and made verbatim homepage in description
2007-02-09 03:22:15 +00:00
Cyril Jaquier
88d65de126
- Updated for 0.7.7
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@543 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-08 21:14:01 +00:00
Cyril Jaquier
13f52e17a0
- Updated with new cacti files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@542 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-08 19:32:18 +00:00
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
2007-02-08 19:26:00 +00:00
Cyril Jaquier
088fd07b05
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@540 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-07 23:20:10 +00:00
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
2007-02-07 23:10:47 +00:00
Cyril Jaquier
693e288e35
- Updated website URL
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@538 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-07 23:09:54 +00:00
Yaroslav Halchenko
a4c15ea883
* NOT RELEASED YET
...
* Made homepage in description verbatim
2007-02-07 15:25:11 +00:00
Cyril Jaquier
04e2b6730c
- Removed IP list in status for failmanager
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@537 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-02-01 20:50:12 +00:00
Cyril Jaquier
126d57ef6c
- Returns IP address instead of Ticket
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@536 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-31 22:31:42 +00:00
Cyril Jaquier
6d6acb075a
- Added IP list in "status <JAIL>". Thanks to Eric Gerbier
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@535 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 21:46:59 +00:00
Cyril Jaquier
d5ededc340
- Updated failregex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@534 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:51:43 +00:00
Cyril Jaquier
002fbac6e7
- Updated man page
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@533 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:35:16 +00:00
Cyril Jaquier
743ec88eef
- Updated failregex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@532 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:32:13 +00:00
Cyril Jaquier
2bab4f5aac
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@531 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:31:36 +00:00
Cyril Jaquier
55009342ef
- Added more details in output
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@530 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:31:04 +00:00
Cyril Jaquier
9d6a591aa7
- Changed case of titles
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@529 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:27:51 +00:00
Cyril Jaquier
ca299b5ce4
- Removed ...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@528 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:27:01 +00:00
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
2007-01-29 20:25:50 +00:00
Cyril Jaquier
58c130317b
- Added initial cacti script. Still needs testing, template, etc
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@526 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-29 20:25:42 +00:00
Cyril Jaquier
865f243a9f
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@525 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-21 22:23:46 +00:00
Cyril Jaquier
45277fff4a
- Removed section with mail-report script which does not exist anymore
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@524 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-21 22:22:29 +00:00
Cyril Jaquier
7bcfd2ace9
- Added file support to fail2ban-regex. Benchmark feature has been removed
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@523 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-21 22:21:13 +00:00
Cyril Jaquier
a257fdc87d
- Call Python interpreter directly (instead of using "env")
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@522 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-21 22:19:57 +00:00
Cyril Jaquier
5370b6740d
- Removed unneeded local variable
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@521 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-21 22:17:56 +00:00
Yaroslav Halchenko
936fee7c40
* Use /usr/bin/python interpreter instead of wrapped call to python by
...
/usr/bin/env
2007-01-19 16:08:10 +00:00
Yaroslav Halchenko
30eb0566bd
making it using /usr/bin/python directly
2007-01-19 15:56:21 +00:00
Yaroslav Halchenko
f92e887994
minor more changes
2007-01-19 15:53:21 +00:00
Yaroslav Halchenko
878fa0dedd
* Synchronized action.d/iptables-* rules from upstream SVN (closes:
...
#407561 )
* Minor: options renames in the comments to be in sync with upstream
2007-01-19 15:51:11 +00:00
Yaroslav Halchenko
e3102eb28a
had to rename filter for courierauth
2007-01-18 15:52:48 +00:00
Yaroslav Halchenko
7a1dd9e98c
* iptables-multiport is default action to take since Debian kernel arrives
...
with multiport module. That is to address the fact that most services
listen on multiple port (for encrypted and non-encrypted connections)
* Added [courierauth] jail (First 2 items are to partially address #407404
2007-01-18 15:41:49 +00:00
Cyril Jaquier
04cd3f5bd5
- Added new filters/actions. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@520 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-08 21:40:37 +00:00
Cyril Jaquier
079985c14b
- Updated to SVN version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@519 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-08 21:16:57 +00:00
Cyril Jaquier
2725dd6f22
- fail2ban-client returns an error code if configuration is not valid
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@518 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-08 21:15:47 +00:00
Cyril Jaquier
ffc9c5d8f9
- Removed sys.path.insert as fail2ban-testcases is not installed
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@517 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-08 21:09:50 +00:00
Cyril Jaquier
daabd590ad
- Updated man pages
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@516 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 23:35:57 +00:00
Cyril Jaquier
26a762ac94
- Added signal handling in fail2ban-client
...
- Added a wonderful visual effect when waiting on the server
- Improved error message. Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@515 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 23:34:35 +00:00
Yaroslav Halchenko
85d8604209
removed empty lines
2007-01-04 20:34:41 +00:00
Yaroslav Halchenko
36b1833e31
* Adjusted default log file for postfix to be /var/log/mail.log
...
(Closes : #404921 )
2007-01-04 20:25:45 +00:00
Yaroslav Halchenko
acfebf3475
adjusted multiport section as promised in changelog
2007-01-04 20:19:58 +00:00
Yaroslav Halchenko
e570f14a5d
releasing
2007-01-04 19:48:58 +00:00
Yaroslav Halchenko
f01c74581d
fixed action_ shortcuts
...
adjusted initd script to be verbose on start if socketfile exists
2007-01-04 19:47:00 +00:00
Yaroslav Halchenko
7fa686a7f2
* New upstream release, which incorporates fixes introduced in 3~pre
...
non-released versions (which were suggested to the users to overcome
problems reported in bug reports). In particular attention should be paid
to upstream changelog entries
- Several "failregex" and "ignoreregex" are now accepted.
Creation of rules should be easier now.
This is an alternative solution to 'multiple <HOST>' entries fix,
which is not applied to this shipped version - pay cautios if upgrading
from 0.7.5-3~pre?
- Allow comma in action options. The value of the option must
be escaped with " or '.
That allowed to implement requested ability to ban multiple ports
at once (See 373592). README.Debian and jail.conf adjusted to reflect
possible use of iptables-mport
- Now Fail2ban goes in /usr/share/fail2ban instead of
/usr/lib/fail2ban. This is more compliant with FHS.
Patch 00_share_insteadof_lib no longer applied
* Refactored installed by debian package jail.conf:
- Added option banaction which is to incorporate banning agent
(usually some flavor of iptables rule), which can then be easily
overriden globally or per section
- Multiple actions are defined as action_* to serve as shortcuts
2007-01-04 18:08:09 +00:00
Yaroslav Halchenko
e8ce484c05
reworked init script a bit: waiting on stop and ping instead of status
2007-01-04 17:03:35 +00:00
Cyril Jaquier
6cf814245e
- Fixed missing regular expression
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@513 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 13:07:04 +00:00
Cyril Jaquier
c377739f99
- Prepared for releasing (0.7.6)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@512 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 12:59:09 +00:00
Cyril Jaquier
ab3d2d1b9a
- Now Fail2ban goes in /usr/share/fail2ban instead of /usr/lib/fail2ban. This is more compliant with FHS. Thanks to Axel Thimm and Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@511 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 12:58:21 +00:00
Cyril Jaquier
44d75eb54f
- Added missing svn:keywords
...
- Split failregex in sshd.conf
- Added sshd-ddos.conf. Thanks to Yaroslav Halchenko
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@510 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 12:21:44 +00:00
Cyril Jaquier
7719c00d37
- Allow comma in action options. The value of the option must be escaped with " or '. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@509 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-04 11:58:58 +00:00
Cyril Jaquier
ba833a57ad
- Added license file. Thanks to Axel Thimm
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@506 a942ae1a-1317-0410-a47c-b1dcaea8d605
2007-01-03 18:15:55 +00:00
Yaroslav Halchenko
a81dd8b103
boosted version
2007-01-03 16:09:43 +00:00
Yaroslav Halchenko
97ab74de5f
* Not applying patch any more for rigid python2.4 - it is default now in
...
sid/etch
2007-01-03 16:09:01 +00:00
Yaroslav Halchenko
4d5ec804f5
* Added filter ssh-ddos to fight DDOS attacks. Must be used with caution if
...
there is a possibility of clients accessing through unreliable connection
(Closes : #404487 )
2006-12-28 07:28:53 +00:00
Cyril Jaquier
b8f0ce7155
- Do not accept empty regular expression
...
- Do not send an empty string if the option is not defined
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@505 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 23:20:16 +00:00
Cyril Jaquier
cd012dda85
- Added svn:keywords
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@504 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 16:37:17 +00:00
Cyril Jaquier
0f31cc0feb
- Added support for several "failregex" and "ignoreregex". This should simplify the configuration files.
...
- Configuration files are backward-compatible but need to be updated in order to take advantage of this feature.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@503 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 16:31:00 +00:00
Cyril Jaquier
34a48157dc
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@502 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 09:51:41 +00:00
Cyril Jaquier
071474089b
- Improved regular expression checking
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@501 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 09:50:51 +00:00
Cyril Jaquier
812a47cc4a
- Added new date pattern (Exim4). Thanks to mEDI
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@500 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 09:50:03 +00:00
Cyril Jaquier
3a344557ec
- Exim4 filter. Thanks to mEDI
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@499 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 09:49:19 +00:00
Cyril Jaquier
1ac00d062a
- Regular expression should be more correct now
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@498 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-23 09:48:49 +00:00
Yaroslav Halchenko
832a8a4346
* Moved call to dh_pycentral before dh_installinit
...
* Removed unnecessary call of dh_shlibdeps
2006-12-22 18:56:51 +00:00
Yaroslav Halchenko
ebc5c6106f
HOSTisized vsftpd regex
2006-12-22 18:39:57 +00:00
Yaroslav Halchenko
caf85bf265
* Made fail2ban-server tollerate multiple <HOST> entries in failregex
2006-12-22 18:36:01 +00:00
Yaroslav Halchenko
ae96eaa40c
made failregex universal for both PAM and native vsftpd logging
2006-12-22 04:54:14 +00:00
Yaroslav Halchenko
2e992c2353
* Fail2ban now bans vsftpd logins (corrected logfile path and failregex)
...
(Closes : #404060 )
2006-12-21 16:54:39 +00:00
Cyril Jaquier
2e197487a2
- Fixed removal of host in hosts.deny. Thanks to René Berber
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@496 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-19 21:51:14 +00:00
Cyril Jaquier
840b9fff0f
- Fixed some comments
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@495 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-18 22:35:34 +00:00
Cyril Jaquier
0c40adda4b
- Fixed some comments
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@494 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-18 22:33:01 +00:00
Cyril Jaquier
5dd2c5162e
- Reset logging handlers only if new handler succeeds
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@493 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-18 22:30:30 +00:00
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
2006-12-17 22:32:40 +00:00
Cyril Jaquier
b8a522cf3f
- Added protocol output for Mediawiki
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@490 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-15 23:02:12 +00:00
Cyril Jaquier
6f7df2cc3c
- Use numeric output for iptables in "actioncheck"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@489 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-14 21:20:03 +00:00
Cyril Jaquier
8ca367d609
- Use /dev/log for SYSLOG output. Thanks to Joerg Sommrey
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@488 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-13 23:02:46 +00:00
Yaroslav Halchenko
14a2a45dbc
releasing
2006-12-10 23:56:17 +00:00
Yaroslav Halchenko
762d1a188a
* NEWS.Debian confusions - the latest NEWS entry and postinst message were
...
rephrased (Closes : #402350 )
* Added mail-whois-lines action, which emails log lines containing abuser
IP. Those lines are often required for proper abuse reports sent to the
Internet providers. Forwarding of such received emails to the email
addresses of abuse departments present in the output of whois is a
tentative solution for semi-automatic abuse reporting (Closes : #358810 )
2006-12-10 23:40:04 +00:00
Cyril Jaquier
a9b3f190ef
- Prepared for next release
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@483 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-10 16:46:54 +00:00
Cyril Jaquier
9539012e13
- Added a "sleep 1". Thanks to Jim Wight
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@482 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-10 16:37:22 +00:00
Yaroslav Halchenko
bbb9e6f094
* NEWS.Debian confusions - the latest NEWS entry and postinst message
...
were rephrased (Closes : #402350 )
2006-12-09 23:27:39 +00:00
Yaroslav Halchenko
ae58ed091a
* Removed obsolete patches left from 0.6
...
* Adjusted wsftpd patch to use <HOST> tag to be in line with the other
filter definitions
2006-12-08 02:28:07 +00:00
Yaroslav Halchenko
1755dc2b0a
updated the patch to the most recent release
2006-12-08 02:12:22 +00:00
Yaroslav Halchenko
7eac83b12d
fresh upstream release
2006-12-08 01:21:42 +00:00
Yaroslav Halchenko
6d3c52a965
slightly corrected description for interpolations/parameters
2006-12-07 23:10:30 +00:00
Cyril Jaquier
f366a0b282
- Trivial changes for 0.7.5
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@480 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-07 21:47:53 +00:00
Yaroslav Halchenko
c46b9e0dca
* README.Debian describes a bit issue of interpolations vs parameters passed
...
from jail.{conf,local} into an action or a filter definition (closes:
#398739 )
* Removed Uploaded field from control since I am a DD now. Big thanks to
Barak Pearlmutter for being the sponsor of my packages for few
years.
2006-12-07 13:20:51 +00:00
Yaroslav Halchenko
3a738497f8
* Added Suggests on mailx and relevant comments in README.Debian about
...
invoking mail actions (closes : #396668 )
* Removed obsolete entries in TODO and README
* README.Debian describes a bit issue of interpolations vs parameters
passed from jail.{conf,local} into an action or a filter definition
(closes : #398739 )
* Initial version of postfix filter (closes : #377711 )
2006-12-07 04:07:59 +00:00
Yaroslav Halchenko
90fb1d442e
slight english adjustment with no good english: Destinataire->Destination/Addressee
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@479 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-07 03:12:28 +00:00
Yaroslav Halchenko
ff491e48fa
* Added debian/backports to contain patches necessary for backporting. It
...
gets used by pbuilder-ssh to create package for backports.org
2006-12-04 13:56:56 +00:00
Cyril Jaquier
0045958bd7
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@478 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-03 22:01:33 +00:00
Cyril Jaquier
a77711deb6
- Changed timeout to 30 secondes before assuming the server cannot be started
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@477 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-03 22:01:18 +00:00
Cyril Jaquier
159ecbc567
- Fixed RedHat init script. Thanks to Justin Shore
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@476 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-12-03 21:58:48 +00:00
Cyril Jaquier
c27ef35b90
- Fixed bug with the "socket" option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@475 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-26 22:22:54 +00:00
Cyril Jaquier
136b32c2e1
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@474 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-19 21:36:32 +00:00
Cyril Jaquier
d342d847f2
- Check for deprecated version.py and protocol.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@473 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-19 21:35:54 +00:00
Cyril Jaquier
c10e1bb7ff
- Fixed exception when passing unknown command line option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@472 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-19 21:26:47 +00:00
Cyril Jaquier
f5d4cb6be2
- Added alias "<HOST>" for failregex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@471 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-19 21:25:51 +00:00
Cyril Jaquier
911b2b15fc
- Merged "maxtime" with "findtime"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@470 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-18 15:15:58 +00:00
Cyril Jaquier
3a63321bc8
- Use bold font for commands
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@469 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-18 15:12:22 +00:00
Cyril Jaquier
2df2119668
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@468 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-16 22:30:48 +00:00
Cyril Jaquier
58acd9fb9f
- Moved version.py and protocol.py to common/
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@467 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-16 21:07:42 +00:00
Cyril Jaquier
160900f88e
- Fixed pylint warnings.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@466 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-15 23:09:49 +00:00
Cyril Jaquier
377ebbea5d
- Added all commands. To be completed.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@465 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-15 23:05:51 +00:00
Cyril Jaquier
0fd9865172
- Defined default values in .conf. Should fix Debian bug #398758
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@464 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-15 18:44:28 +00:00
Cyril Jaquier
f8c0c60c2c
- Fixed printFormatted
...
- Added more commands
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@463 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-13 22:17:20 +00:00
Cyril Jaquier
994fefcd4a
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@462 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 21:59:14 +00:00
Cyril Jaquier
a8299b4247
- Added "protocol.py" which describes the protocol used to communicate with the server
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@461 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 21:58:47 +00:00
Cyril Jaquier
b3143c723d
- Fixed a bug in user defined regex/pattern date template
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@460 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 21:57:26 +00:00
Cyril Jaquier
2995a99596
- Replaced "map" with list comprehension
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@459 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 21:55:57 +00:00
Cyril Jaquier
90359ba523
- Added option "ignoreregex" in filter scripts and jail.conf. Feature Request #1283304
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@458 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 14:52:36 +00:00
Cyril Jaquier
1f64fadb7d
- Added pydev configuration file
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@457 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 11:09:04 +00:00
Cyril Jaquier
658d03af52
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@456 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 10:56:40 +00:00
Cyril Jaquier
d6e49f8480
- Fixed rebanned bug
...
- Clarified available tags
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@455 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 10:56:21 +00:00
Cyril Jaquier
f8989581b4
- Replaced loop with list comprehension
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@454 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 10:54:19 +00:00
Cyril Jaquier
32b33c8ae4
- Fixed refactoring bug
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@453 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-12 10:52:42 +00:00
Yaroslav Halchenko
e46346d371
fixed name spoiled by on vaio
2006-11-12 02:20:32 +00:00
Yaroslav Halchenko
953f6c75b9
ready to buzz Barak
2006-11-12 02:18:47 +00:00
Yaroslav Halchenko
b9b30341d4
* Cleaned up debian/rules a bit
2006-11-12 02:11:34 +00:00
Yaroslav Halchenko
f8a3605c97
* "Clean" target removes generated .pyc files now ( Closes : #398146 )
2006-11-12 02:02:23 +00:00
Yaroslav Halchenko
97abba906f
forgot to boost version
2006-11-11 00:11:59 +00:00
Yaroslav Halchenko
24ada3c63e
* Only block new connects by using a new action iptables-new instead of
...
iptables (Closes : #350746 )
* Updated README.Debian to reflect transition over to 0.7 branch and to
comment on 350746
2006-11-11 00:10:10 +00:00
Yaroslav Halchenko
5cc9bc9ce6
made ~ version to accumulate more fixes before duploading
2006-11-10 15:56:58 +00:00
Yaroslav Halchenko
6a9ed3501a
* Reincarnated logrotate configuration ( Closes : #397878 )
...
* no logrotation anymore? (Closes : #397878 )
2006-11-10 15:54:34 +00:00
Yaroslav Halchenko
f92a885d43
copied logrotate from 0.6 branch
2006-11-10 14:59:19 +00:00
Cyril Jaquier
cdf5ae19db
- Improved synchronization
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@452 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-06 22:48:46 +00:00
Cyril Jaquier
7659452ade
- Refactoring
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@451 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-06 22:47:24 +00:00
Cyril Jaquier
dc0ae5ee0f
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@450 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-06 22:46:53 +00:00
Yaroslav Halchenko
f4015e0c3c
forgotten fi
2006-11-06 14:49:40 +00:00
Yaroslav Halchenko
28dad3752c
* Warning NEWS entry for 0.7.1 was not shown during installation on test
...
boxes, thus postinst was adjusted accordingly to inform the user about the
changes in the configuration files since 0.6.
2006-11-06 14:47:59 +00:00
Yaroslav Halchenko
6e1ec60318
put release to unstable
2006-11-06 14:29:56 +00:00
Yaroslav Halchenko
b457f61e74
* Added reload/force-reload actions to init script
...
* Adjusted jail.conf a bit
2006-11-06 14:23:58 +00:00
Yaroslav Halchenko
2e568c08d6
new upstream
2006-11-02 02:04:57 +00:00
Cyril Jaquier
528c9a1855
- Updated for 0.7.4
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@446 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-01 22:13:44 +00:00
Cyril Jaquier
e8c656b5ff
- Added svn:executable
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@445 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-01 22:08:03 +00:00
Cyril Jaquier
5569e9b816
- Changed default log level from INFO to WARNING
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@444 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-11-01 22:03:48 +00:00
Cyril Jaquier
d065d97888
- Use pickle instead of cPickle. Python 2.5 gives an exception with cPickle
...
- Use a binary format instead of ASCII
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@443 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-31 23:36:59 +00:00
Cyril Jaquier
9834734178
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@442 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-31 22:25:48 +00:00
Cyril Jaquier
519eddef21
- Added better debugging output
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@441 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-31 22:25:26 +00:00
Cyril Jaquier
5baa08c86f
- Improved checking and logging output in findFailure
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@440 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-31 22:24:34 +00:00
Cyril Jaquier
a49cc6bb08
- Added new date format (Apache). Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@439 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-31 22:22:40 +00:00
Cyril Jaquier
1f5556981a
- Fixed exception if wrong use of ','. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@438 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-30 23:02:05 +00:00
Cyril Jaquier
150a6abd0d
- Stop reading log file when jail is no more active
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@437 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-30 22:48:52 +00:00
Cyril Jaquier
ae0ed204ee
- Added signal handling. There is a bug with join() and signal handling in Python.
...
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1167930&group_id=5470
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@436 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-30 22:47:30 +00:00
Yaroslav Halchenko
4bbea5b41b
* Corrected init.d script to properly perform restart due to server delay to
...
react to client command to stop. Handling of status was adjusted as well
* Added apache-noscript to jail.conf
* Default action does not send emails to be inline with previous (0.6.x)
behavior
2006-10-30 03:32:29 +00:00
Cyril Jaquier
9f44b18a2f
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@435 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-25 20:06:35 +00:00
Cyril Jaquier
4536ddbcc1
- Fixed indentation with space instead of tabs
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@434 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-24 19:49:31 +00:00
Cyril Jaquier
71b9fe8fe8
- Fixed some Pylint warnings/errors
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@433 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-24 19:40:51 +00:00
Yaroslav Halchenko
668ef068cf
* Fresh upstream: fixed a bug with not handling error producing
...
actioncheck call
2006-10-23 21:05:32 +00:00
Cyril Jaquier
4fd934aa83
- subprocess still hangs :'(
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@432 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-23 20:37:11 +00:00
Cyril Jaquier
70fe13ac92
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@431 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-23 20:34:29 +00:00
Cyril Jaquier
7ac8ada253
- Added the whole Eclipse settings folder
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@430 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-23 20:23:14 +00:00
Cyril Jaquier
5c668c8fed
- Added action test case
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@429 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-23 20:13:21 +00:00
Cyril Jaquier
a522d9b6d7
- Re-activated subprocess module
...
- A return code different than 0 is considered as an error
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@428 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-23 20:12:15 +00:00
Yaroslav Halchenko
1e4d6dd059
* debian/{rules,control} adjusted to conform all points in recent python
...
policy changes
* install under /usr/share instead of /usr/lib
2006-10-23 05:07:52 +00:00
Yaroslav Halchenko
6a2aaa4db7
* Adjusted rule to install man pages -- only .1 files since there are also
...
h2m sources
2006-10-23 04:49:52 +00:00
Yaroslav Halchenko
37d2abc8ea
* Currrent snapshot of trunk
...
* Removed outdated (applied in 0.7.4 or specific for 0.6.?) patches
from debian/patches
2006-10-23 04:45:34 +00:00
Cyril Jaquier
f74657f4b6
- Added "courierlogin" filter. Thanks to Christoph Haas
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@427 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-22 23:49:10 +00:00
Cyril Jaquier
eaea181f68
- Added log files for the test cases
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@426 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 21:52:28 +00:00
Cyril Jaquier
e581913c1f
- Added more filter test cases
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@425 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 21:50:30 +00:00
Cyril Jaquier
23127d951c
- Added 'u' in front of the UTF-8 strings
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@424 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 21:49:54 +00:00
Cyril Jaquier
2f37284863
- Removed useless code
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@423 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 21:49:16 +00:00
Cyril Jaquier
3cd43b13ce
- Added simple date format
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@422 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 20:26:24 +00:00
Cyril Jaquier
51fd8fac27
- Added ipfw action script and example. Thanks to Nick Munger
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@421 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 20:15:24 +00:00
Cyril Jaquier
dad43027d3
- Fixed multiple IP in "ignoreip". Thanks to Nick Munger
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@420 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-19 19:51:59 +00:00
Cyril Jaquier
ee86212435
- Updated testcases to fix the time using MyTime
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@419 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-18 22:35:32 +00:00
Cyril Jaquier
af41290fc6
- Added the class MyTime. Replaces call to time.time() and time.gmtime(). A fixed time value can be set for testing purpose
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@418 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-18 22:30:57 +00:00
Cyril Jaquier
7cae060ec5
- If section does not exist, use default value
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@417 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-18 20:10:18 +00:00
Yaroslav Halchenko
923d2214d9
added wuftpd to both 0.6 and 0.7
2006-10-18 05:15:53 +00:00
Cyril Jaquier
ee0edf3763
- Added Eclipse project file
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@416 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-17 21:24:27 +00:00
Cyril Jaquier
1a2942ee0d
- Added "build" and "dist" to svn:ignore
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@415 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-17 21:21:16 +00:00
Cyril Jaquier
0866e00021
- Added "[BACKEND]" parameter to doc
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@414 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-17 21:13:54 +00:00
Cyril Jaquier
15a4634c38
- Added "shorewall" action
...
- Use glob in setup.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@413 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-17 21:13:11 +00:00
Cyril Jaquier
9a96428bd2
- Added "socket" option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@412 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-17 21:12:22 +00:00
Cyril Jaquier
ebae6d70aa
- Added "apache-noscript" filter. Thanks to Pander
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@411 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-17 19:05:27 +00:00
Cyril Jaquier
50e4eb6395
- Modified Doxygen settings
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@410 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-16 19:47:47 +00:00
Cyril Jaquier
0fab1bbf01
- Added "backend" option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@409 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-16 19:42:50 +00:00
Cyril Jaquier
e28fec6d5d
- Added Fedora/RedHat initd script. Thanks to Tyler
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@408 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-14 14:35:46 +00:00
Cyril Jaquier
c8fdabf001
- Added "socket" option in "fail2ban.conf"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@407 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-09 18:05:13 +00:00
Cyril Jaquier
7989e66270
- Added "-s" option to specify the socket path
...
- Modified the server server/socket/transmitter design
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@406 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-04 22:17:53 +00:00
Cyril Jaquier
85293c63e4
- Fixed format string
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@405 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-02 21:23:48 +00:00
Cyril Jaquier
033160eb96
- Added jail name to ban/unban log
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@404 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-02 21:15:56 +00:00
Cyril Jaquier
d231a8ca6f
- Added proftpd.conf and sasl.conf
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@403 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-02 21:15:32 +00:00
Yaroslav Halchenko
4ea2d8c370
few changelog entries
2006-10-02 19:28:23 +00:00
Yaroslav Halchenko
9851383362
fixed status command. now rely on presence of socket to be a bit more verbose
2006-10-02 19:27:30 +00:00
Yaroslav Halchenko
a45fadd183
News about the 0.7 release and adjusted init script so it fails to start if not root
2006-10-02 19:03:58 +00:00
Yaroslav Halchenko
e39ef65e3a
added sections for sasl and proftpd authentications
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@402 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-02 13:42:36 +00:00
Cyril Jaquier
21b56bea33
- Removed dummy.conf from install procedure
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@401 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:24:28 +00:00
Cyril Jaquier
f479b71550
- Removed dummy.conf from build
...
- Added fail2ban-regex and help2man files
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@400 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:24:08 +00:00
Cyril Jaquier
29a2b630e0
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@399 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:23:22 +00:00
Cyril Jaquier
b3ba5a81ce
- Removed unused code
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@398 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:22:52 +00:00
Cyril Jaquier
040e47be5a
- Added version and usage output
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@397 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:22:27 +00:00
Cyril Jaquier
4c315f3687
- Moved ban/unban messages from "info" to "warn" level
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@396 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:22:01 +00:00
Cyril Jaquier
0f7502429a
- Added man page for fail2ban-regex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@395 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:20:42 +00:00
Cyril Jaquier
2bcc036cf2
- Improved configuration files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@394 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:19:56 +00:00
Cyril Jaquier
c5e8bcc7e6
- Allow multiple log paths
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@393 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-10-01 21:19:24 +00:00
Yaroslav Halchenko
8d3b4630f3
changed section names - removed -iptables. adjusted description
2006-09-29 13:22:23 +00:00
Yaroslav Halchenko
571c3d8c92
added suggests to python-gamin
2006-09-29 04:27:46 +00:00
Yaroslav Halchenko
cd46343d11
added few sections (patches + adjusted jail.conf shipped with Debian)
2006-09-29 04:21:16 +00:00
Yaroslav Halchenko
641cd14a40
preliminary packaging of 0.7.3 which gets closer to be used widely, i.e.
...
could be uploaded to experimental
2006-09-29 04:05:50 +00:00
Cyril Jaquier
366584856d
- Updated for 0.7.3
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@391 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-28 19:37:18 +00:00
Cyril Jaquier
897256f9f4
- Fixed a refactoring bug. Thanks pydev :(
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@390 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-27 21:01:31 +00:00
Cyril Jaquier
7b7d246a19
- Added DNS support for "ignoreip"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@389 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-27 20:32:30 +00:00
Cyril Jaquier
5ea31760f5
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@388 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 20:46:37 +00:00
Cyril Jaquier
bf3cd1d56d
- (Re)added permanent banning (banTime < 0)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@387 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 20:46:21 +00:00
Cyril Jaquier
26e5690a4b
- Beautified "ping" response
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@386 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 20:45:23 +00:00
Cyril Jaquier
0616135350
- Removed unneeded import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@385 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 20:44:47 +00:00
Cyril Jaquier
b701e033c1
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@384 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 17:06:00 +00:00
Cyril Jaquier
91b1053c01
- Fixed wrong arg
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@383 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 17:05:38 +00:00
Cyril Jaquier
4502c0f6ba
- Organized imports (pylint)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@382 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-25 17:03:48 +00:00
Cyril Jaquier
66526b550f
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@381 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-21 22:41:21 +00:00
Cyril Jaquier
d30cfd2095
- subprocess.call deadlocks when execute action with multi-jails
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@380 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-21 22:38:21 +00:00
Cyril Jaquier
b5abd7f2f2
- Use cPickle instead of pickle. cPickle can be up to 1000 times faster
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@379 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-21 21:25:18 +00:00
Cyril Jaquier
bb6c14bfea
- Use subprocess.call instead of os.system
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@378 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-21 21:20:29 +00:00
Cyril Jaquier
2c737f77f1
- Oups... Forgot 2 debug output. Removed
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@377 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-21 20:59:28 +00:00
Cyril Jaquier
6ab1d13234
- Fixed log rotation bug
...
- Refactoring
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@376 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-21 20:55:45 +00:00
Cyril Jaquier
d61690fd9e
- Added encoding tag (utf8)
...
- Added some translations
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@375 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-20 22:41:10 +00:00
Cyril Jaquier
3ca397922d
- Catch IOError when file can not be read
...
- Do not convert line to latin-1 but to utf8
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@374 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-20 22:39:16 +00:00
Cyril Jaquier
f12d0fab61
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@373 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 22:25:07 +00:00
Cyril Jaquier
f3df224ec4
- First attempt at solving bug #1457620
...
- Always use the 'C' locale and try to convert date representation like month names to this locale
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@372 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 22:23:41 +00:00
Cyril Jaquier
9f5f6812f5
- Added a getTemplates() method because self.__templates can not be accessed directly anymore
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@371 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 22:21:20 +00:00
Cyril Jaquier
97a1e5b79f
- Removed unneeded import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@370 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 22:20:21 +00:00
Cyril Jaquier
4b80546f10
- Fixed bugs introduced by refactoring
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@369 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 21:22:27 +00:00
Cyril Jaquier
126807dea8
- Made private fields prefixed with "__"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@368 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-19 20:38:32 +00:00
Cyril Jaquier
dac67d6ea6
- Removed "mail-report.conf" from setup.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@367 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-18 21:52:28 +00:00
Cyril Jaquier
acb2fc2c2b
- Fixes in locking
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@366 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:53:59 +00:00
Cyril Jaquier
0d68fc9ef1
- Added "ignoreip" and a few other options in [DEFAULT]
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@365 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:38:44 +00:00
Cyril Jaquier
c7451fa250
- Updated test cases
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@364 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:32:18 +00:00
Cyril Jaquier
2bcf1bb359
- Fixed some bugs
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@363 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:31:55 +00:00
Cyril Jaquier
f3a90b9021
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@362 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:03:07 +00:00
Cyril Jaquier
c80164b329
- Added more locking
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@361 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:02:22 +00:00
Cyril Jaquier
94d167e620
- Improved beautifier
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@360 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:01:37 +00:00
Cyril Jaquier
a618313206
- Added "ignoreip" feature
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@359 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:01:14 +00:00
Cyril Jaquier
bd2b94cc84
- Added smmmaaallll comment
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@358 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 22:00:20 +00:00
Cyril Jaquier
88b68c0ad2
- Replaced jails = dict() with a Jails class for better concurrency control
...
- Set umask to 0077 at startup for security reason
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@357 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-17 21:59:29 +00:00
Cyril Jaquier
6333298fd7
- Replaced ... or ... or ... with ... in ...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@356 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-14 22:39:41 +00:00
Cyril Jaquier
7f7361a282
- Added Gamin (file and directory monitoring system) support
...
- If Gamin is not available, polling is used
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@355 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-14 22:05:32 +00:00
Cyril Jaquier
e146d07394
- Added wildcards support for "logpath"
...
- Added "set <jail> addlogpath <path>" and "set <jail> dellogpath <path>"
- Adapted pyunit test
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@354 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-13 21:31:22 +00:00
Cyril Jaquier
96297b7cf3
- Fixed Command description with sed. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@353 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-12 21:59:32 +00:00
Cyril Jaquier
1d9bc1152d
- Added --version in help
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@352 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-12 21:58:28 +00:00
Cyril Jaquier
b03d4d38bf
- Updated (man pages)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@351 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-12 21:40:19 +00:00
Cyril Jaquier
700c1b26a6
- Added man pages
...
- Added --version option
- Adapted help output to meet help2man requirements
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@350 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-12 21:33:00 +00:00
Cyril Jaquier
25664605aa
- Apache date start with '['
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@349 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-11 21:15:24 +00:00
Cyril Jaquier
d1cdfdaf01
- Small fixes
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@348 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 21:06:15 +00:00
Cyril Jaquier
1c0386c3ea
- Updated for 0.7.2
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@347 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:53:55 +00:00
Cyril Jaquier
df26a74d53
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@346 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:53:21 +00:00
Cyril Jaquier
4eb611dd46
- Added date template hits summary
...
- Desactivated garbage collector while benchmarking
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@345 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:52:22 +00:00
Cyril Jaquier
068dea8971
- Fixed the shutdown issue with timeout on socket
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@344 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:50:07 +00:00
Cyril Jaquier
86b07457cd
- Implemented SYSLOG logging target
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@343 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:46:59 +00:00
Cyril Jaquier
b38e0dfb1e
- Better output when server is not started
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@342 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:46:19 +00:00
Cyril Jaquier
8df771ce6b
- Added one more test for the date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@341 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:44:36 +00:00
Cyril Jaquier
77eef14ed8
- Improved date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@340 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:43:13 +00:00
Cyril Jaquier
5c020b99da
- mail-report.conf is not a good idea as the jail is already deleted when creating the report
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@339 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-10 20:41:57 +00:00
Cyril Jaquier
500d203a2a
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@338 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-07 22:25:49 +00:00
Cyril Jaquier
c7747d1f17
- Improved server communication. Start a new thread for each incoming request. Allow concurrent accesses to the server. However, the server is not really thread-safe yet...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@337 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-07 22:24:17 +00:00
Cyril Jaquier
46dee1bd9a
- Improved checking when parsing the configuration
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@336 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-07 21:00:44 +00:00
Cyril Jaquier
7864bdc953
- Improved jail.conf
...
- Removed useless parameter in mail-report.conf
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@335 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 21:33:18 +00:00
Cyril Jaquier
1c3088b267
- Added new action
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@334 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 21:19:58 +00:00
Cyril Jaquier
9d8ef7675e
- Added interactive mode in help
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@333 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 20:32:28 +00:00
Cyril Jaquier
ebd999a758
- Added new filters
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@332 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 20:28:03 +00:00
Cyril Jaquier
b1160ab7ca
- Added qmail and postfix filters
...
- Updated vsftpd and couriersmtp
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@331 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 19:34:03 +00:00
Cyril Jaquier
6b1d9b6180
- Added benchmark
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@330 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 19:31:23 +00:00
Cyril Jaquier
a998e54bb9
- Added "fail2ban-regex". This is a tool to help finding "failregex"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@329 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 18:25:11 +00:00
Cyril Jaquier
90d46d177d
- Set the jail to idle state if file path is wrong or file is unreadable
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@328 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 17:41:07 +00:00
Cyril Jaquier
4306c23c0f
- Added timestamp to logs
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@327 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-06 17:39:57 +00:00
Yaroslav Halchenko
0ae3032ac8
properly assigned to experimental
2006-09-06 13:35:13 +00:00
Cyril Jaquier
438f0e8122
- Added date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@326 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-05 21:17:35 +00:00
Cyril Jaquier
21b6e76cde
- Added date detector
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@325 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-05 21:16:28 +00:00
Cyril Jaquier
8c2406f288
- Changed version to "0.7.1-SVN"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@324 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-05 20:55:38 +00:00
Yaroslav Halchenko
4ba8572d7f
adjusted the bantime to be 10min not 10sec
2006-09-05 15:26:37 +00:00
Yaroslav Halchenko
dae225330c
added debian specific patches for the new upstream
2006-09-05 15:16:03 +00:00
Yaroslav Halchenko
a4899fabf8
Initial minimalistic but working packaging of fail2ban 0.7.1
2006-09-05 06:10:29 +00:00
Yaroslav Halchenko
a2717f7c25
getting ready to dpatch-clean upgrade to the most recent upstream 0.7.1
2006-09-05 04:18:02 +00:00
Cyril Jaquier
82f062ff24
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@323 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-04 19:21:01 +00:00
Cyril Jaquier
f880d1ff26
- Added interactive mode
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@322 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-04 19:20:44 +00:00
Cyril Jaquier
88ef30c4c5
- Removed unneeded constructor arguments
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@321 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-04 19:19:58 +00:00
Cyril Jaquier
f1f12518c8
- Moved "logpath" and "maxtime" to "jail.conf"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@320 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-04 19:18:57 +00:00
Cyril Jaquier
761d50610e
- Added "stop" beautifier
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@319 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-09-04 19:16:44 +00:00
Cyril Jaquier
6456676d35
- Added a couriersmtpd filter
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@318 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-30 22:17:49 +00:00
Cyril Jaquier
131a0a9cb3
- Added a couriersmtpd filter
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@317 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-30 22:16:52 +00:00
Cyril Jaquier
511d9a7539
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@316 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 21:39:12 +00:00
Cyril Jaquier
ab133f9364
- Added more get commands
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@315 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 21:37:39 +00:00
Cyril Jaquier
5a3edcb619
- Fixed bug with dispUsage()
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@314 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 21:33:54 +00:00
Cyril Jaquier
b13379d7f8
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@313 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 20:23:46 +00:00
Cyril Jaquier
db868e4999
- Added beautifier.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@312 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 20:22:58 +00:00
Cyril Jaquier
846a3d0477
- Added a set/get for "failtime"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@311 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 20:22:15 +00:00
Cyril Jaquier
9f2d901040
- Added a beautifier
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@310 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 20:20:18 +00:00
Cyril Jaquier
ce5ea1fa23
- Moved hardcoded socket path to a class variable
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@309 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-28 20:16:32 +00:00
Cyril Jaquier
cc25b78687
- Removed "utils" directory
...
- Modified a few options
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@308 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-24 18:10:26 +00:00
Cyril Jaquier
d46a125d6d
- Updated for 0.7.1
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@306 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 21:03:47 +00:00
Cyril Jaquier
89b034b676
- Search "fail2ban-server" using PATH and if it fails,
...
use the current directory
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@305 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 20:58:10 +00:00
Cyril Jaquier
5c6e05f922
- Added Gentoo init.d script
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@304 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 20:56:31 +00:00
Cyril Jaquier
2ff4d50d97
- Added Gentoo init.d script
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@303 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 20:56:07 +00:00
Cyril Jaquier
5ad57f3232
- Added Gentoo init.d script
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@302 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 20:55:59 +00:00
Cyril Jaquier
f44dab9ea7
- Fixed reload option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@301 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 19:53:50 +00:00
Cyril Jaquier
704a0b834f
- Fixed startup and daemon mode
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@300 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-23 19:53:09 +00:00
Cyril Jaquier
d053fd7db2
- Removed utils.process import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@297 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 23:23:38 +00:00
Cyril Jaquier
15f0d6357b
- Added setup.cfg
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@295 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 23:17:08 +00:00
Cyril Jaquier
0f6829bd64
- Updated for 0.7.0
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@293 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 22:20:09 +00:00
Cyril Jaquier
9973bba20f
- Do not install "testcase"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@292 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 22:11:12 +00:00
Cyril Jaquier
c61f4b12f0
- Updated version to 0.7.0
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@291 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 22:05:28 +00:00
Cyril Jaquier
8c36bb15a2
- Fixed setup process
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@290 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 22:05:08 +00:00
Cyril Jaquier
887fbc840f
- Configuration path was hardcoded. Use the "-c" value instead
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@289 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 22:00:50 +00:00
Cyril Jaquier
acf3b52e18
- Catched exception if no "Definition" section found
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@288 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 21:59:51 +00:00
Cyril Jaquier
432bd3a04c
- MANIFEST was broken
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@287 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 21:18:58 +00:00
Cyril Jaquier
bdc4c89051
- Improved usage message
...
- Exit with correct return code
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@286 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-22 21:16:23 +00:00
Cyril Jaquier
5c4a4f8726
- Updated setFailRegex() with group
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@285 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 22:54:53 +00:00
Cyril Jaquier
1fd2071cd8
- Fixed a bug in DNSUtils
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@284 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 22:54:05 +00:00
Cyril Jaquier
ca5b70cd24
- Fixed a bug with static class members
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@283 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 22:32:44 +00:00
Cyril Jaquier
9fe1efcc45
- Improved client
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@282 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 21:59:27 +00:00
Cyril Jaquier
d7682360bc
- Clean up configuration files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@281 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 21:34:55 +00:00
Cyril Jaquier
ad279c9f17
- Fixed bug when adding space between parameters
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@280 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 21:29:15 +00:00
Cyril Jaquier
f752dbe065
- Removed from version control
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@279 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 21:20:53 +00:00
Cyril Jaquier
7ed59912f2
- Added *.local as svn:ignore
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@278 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 21:18:39 +00:00
Cyril Jaquier
64ddab56c8
- Added a "reload" option which reload the configuration
...
- Added "stop all" which stop all jails but do not exit
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@277 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 21:07:28 +00:00
Cyril Jaquier
2455cb4f8a
- Updated TODO
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@276 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 20:41:55 +00:00
Cyril Jaquier
0326a94157
- Removed test which depends on current time
...
- Fixed self.server.start()
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@275 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 20:40:47 +00:00
Cyril Jaquier
535b9a6a36
- Removed "utils" directory
...
- Created a "DNSUtils" class in filter.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@274 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 20:39:45 +00:00
Cyril Jaquier
ec8f620f80
- Improved "action" option handling
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@273 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-20 20:38:08 +00:00
Cyril Jaquier
01c9c4dbfa
- Updated TODO
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@272 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-17 22:50:36 +00:00
Cyril Jaquier
1ec9cb8e06
- Removed foreground and background options
...
- Improved startup procedure
- Added "force" option "-x"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@271 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-17 22:50:20 +00:00
Cyril Jaquier
a694df4a9a
- Improved server startup checks
...
- Added "force" option "-x"
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@270 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-17 22:48:42 +00:00
Cyril Jaquier
448701ad61
- Removed file reading. It does not work
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@269 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-17 21:22:24 +00:00
Yaroslav Halchenko
d125070fa4
now changes in this file are managed via dpatch
2006-08-15 22:13:44 +00:00
Yaroslav Halchenko
1c455a29a9
now changes in this file are managed via dpatch
2006-08-15 22:12:48 +00:00
Yaroslav Halchenko
6e050675a8
adjusted manpage for fail2ban.conf
2006-08-15 21:35:37 +00:00
Cyril Jaquier
4bc6fe419b
- Removed a new line
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@268 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 22:15:10 +00:00
Cyril Jaquier
857f6d619b
- Fixed bug in failregex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@267 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 22:14:34 +00:00
Cyril Jaquier
8af85f5c40
- Bug fix: '-', '_' and '.' are valid as action file
...
- Added a pyunit test
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@266 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:56:01 +00:00
Cyril Jaquier
6ff620e7a2
- Removed logging as logger is not started yet here
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@265 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:26:05 +00:00
Cyril Jaquier
d4c9d92ae1
- Fixed bug with "<failures>" tag
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@264 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:25:23 +00:00
Cyril Jaquier
f248c460f2
- Improved logging in server
...
- Added logtarget option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@263 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:24:06 +00:00
Cyril Jaquier
3d73f45531
- Added 'host' group in failregex
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@262 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:23:06 +00:00
Cyril Jaquier
79fc53bc04
- Regular expressions are now compiled
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@261 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:22:26 +00:00
Cyril Jaquier
b5c0f7bae2
- Added whois information to mail. Feature Request #1533626
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@260 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:20:28 +00:00
Cyril Jaquier
7b16590d8c
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@259 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:18:44 +00:00
Cyril Jaquier
e09bdac206
- Updated TODO
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@258 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-08-06 21:18:04 +00:00
Cyril Jaquier
894bcbdbbf
- Improved mail script
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@257 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-31 21:48:13 +00:00
Cyril Jaquier
be7cc4f81c
- Added mail script
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@256 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-19 21:35:22 +00:00
Cyril Jaquier
40425d051e
- Removed debug comment
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@255 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-17 19:49:45 +00:00
Cyril Jaquier
9aa6a505eb
- Added header
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@254 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-17 19:26:14 +00:00
Cyril Jaquier
6d2aa15aa7
- Added property 'svn:keywords'
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@253 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-16 22:21:58 +00:00
Cyril Jaquier
5155e4dd2e
- Updated TODO list
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@252 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-16 22:05:56 +00:00
Cyril Jaquier
7048e19995
- 0.7.0 soon
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@251 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-16 21:35:08 +00:00
Cyril Jaquier
12c222bd1c
- One step forward to 0.7.0
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@250 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-07-08 16:51:14 +00:00
Yaroslav Halchenko
f85af540cf
updated timestamp
2006-07-07 00:20:22 +00:00
Yaroslav Halchenko
7fbc1b16a0
adjusted to comply with recent changed of debian python policy
2006-07-06 21:30:53 +00:00
Yaroslav Halchenko
ed6a45f1a6
added verbosity patch from one of my branches. fixed stupid indents
2006-07-04 03:40:14 +00:00
Yaroslav Halchenko
1f3e33e384
added verbosity patch from one of my branches
2006-07-04 03:36:39 +00:00
Yaroslav Halchenko
f7064d36c5
fixed empty ip and somewhat fixed locale issue
2006-07-04 03:03:45 +00:00
Cyril Jaquier
ea1948eff4
- Initial commit of the new development release 0.7
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@249 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-06-26 20:05:00 +00:00
Yaroslav Halchenko
4309a11968
rm options adjusted, README.Debian to fix 373592
2006-06-14 16:22:43 +00:00
Yaroslav Halchenko
7b93d4ded5
section for saslauthd
2006-05-30 14:19:08 +00:00
Yaroslav Halchenko
2f930dfa76
now apache2 bug gets closed
2006-05-28 03:32:24 +00:00
Yaroslav Halchenko
fc9b8a887f
added proftpd section, adjusted vsftpd patch to dont interfer. boosted debian revision
2006-05-28 03:13:56 +00:00
Yaroslav Halchenko
1fbcf9a9a5
removed bashism from init.d script
2006-05-22 19:38:51 +00:00
Yaroslav Halchenko
537399dbc9
placed binary-arch target back to comply with the policy
2006-05-16 20:46:27 +00:00
Yaroslav Halchenko
ac9362ae5b
fixed binary-indep binary-arch separation
2006-05-16 20:28:31 +00:00
Yaroslav Halchenko
e801352c78
removed compilation of *.pyc
2006-05-16 20:11:05 +00:00
Yaroslav Halchenko
302c1b1c4b
debhelper and dpatch belong to Build-Depends now
2006-05-16 20:08:32 +00:00
Yaroslav Halchenko
87ed38b378
debhelper and dpatch belong to Build-Depends now
2006-05-16 20:07:37 +00:00
Yaroslav Halchenko
9af3da8b57
small clean up
2006-05-16 19:59:38 +00:00
Yaroslav Halchenko
589fb2a217
migrated to using dpatch. fixed vsftpd regexp
2006-05-10 18:01:06 +00:00
Yaroslav Halchenko
0c9aef1b0a
added lsb-base in depends for init.d script
2006-04-28 04:42:55 +00:00
Yaroslav Halchenko
b4e4bcbce8
merged with proposed init.d script from Aaron
...
tiny fix - syslog
2006-04-28 04:19:19 +00:00
Yaroslav Halchenko
4fa38338d7
merged with proposed init.d script from Aaron
2006-04-28 04:13:23 +00:00
Yaroslav Halchenko
c35d7d7bb5
merged with proposed init.d script from Aaron
2006-04-28 04:11:48 +00:00
Yaroslav Halchenko
a3badc1fff
small adjustments in copyright and watch
2006-04-25 19:58:36 +00:00
Yaroslav Halchenko
8123a4886a
modified maxreinits
2006-03-27 17:56:38 +00:00
Yaroslav Halchenko
5425d6b96a
fixed copyright file
2006-03-27 04:40:56 +00:00
Yaroslav Halchenko
73074157ac
proper version for Barak
2006-03-20 00:41:27 +00:00
Yaroslav Halchenko
49bf5a991b
added fwchain
2006-03-19 23:45:52 +00:00
Yaroslav Halchenko
e95c62e68e
added debug parameter back
2006-03-19 05:35:38 +00:00
Yaroslav Halchenko
f771a9be28
added examples
2006-03-19 05:32:10 +00:00
Yaroslav Halchenko
435f870b13
minor modifications: examples, proper conf file copying
2006-03-19 05:27:42 +00:00
Yaroslav Halchenko
4fa0eba064
merged with upstream release 0.6.1
2006-03-19 05:20:44 +00:00
Yaroslav Halchenko
49e8d86983
finalized at -8 revision -- now will upgrade to 0.6.1 upstream
2006-03-17 00:38:23 +00:00
Cyril Jaquier
97aa913e24
- Updated for 0.6.1
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@243 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-03-15 23:07:12 +00:00
Yaroslav Halchenko
bfcdf41276
tiny fix to avoid duplicate code
2006-03-13 06:14:27 +00:00
Cyril Jaquier
cbc18112bf
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@242 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-21 12:46:58 +00:00
Cyril Jaquier
b659cb2c2a
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@241 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-13 21:37:44 +00:00
Cyril Jaquier
293f077d7b
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@240 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-12 18:15:44 +00:00
Cyril Jaquier
83ea17fd24
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@239 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-12 12:30:39 +00:00
Cyril Jaquier
dfb6f63753
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@238 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-11 15:30:04 +00:00
Cyril Jaquier
7e24b948bf
- Added vsftpd support. Thanks to zugeschmiert
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@237 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-11 15:29:32 +00:00
Cyril Jaquier
054d18dd28
- Updated with ideas for 0.7
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@236 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-02-10 10:26:16 +00:00
Cyril Jaquier
d29648d4de
- Added a more robust firewall initialization loop. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@235 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-22 11:10:29 +00:00
Cyril Jaquier
ad4280d506
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@234 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-22 11:08:42 +00:00
Cyril Jaquier
de7acd4d6c
- Added support for shorewall and hosts.deny
...
- Renamed fail2ban.conf.default to fail2ban.conf.iptables
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@233 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-22 11:07:22 +00:00
Cyril Jaquier
3e86a8204b
- Removed 192.168.0.0/16 from ignoreip
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@232 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-12 16:20:00 +00:00
Cyril Jaquier
1044b82e12
- Removed debug option
...
- Added SMTP authentification support
- Changed syslog output to a more standard format
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@231 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-03 15:16:22 +00:00
Cyril Jaquier
79318b3549
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@230 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-03 15:14:27 +00:00
Cyril Jaquier
6386c9e580
- Added SMTP authentification support
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@229 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-03 15:13:41 +00:00
Cyril Jaquier
85f1d74d85
- Removed debug option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@228 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-03 15:13:24 +00:00
Cyril Jaquier
fb07353aeb
- Added TAI64N support
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@227 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-03 15:13:04 +00:00
Cyril Jaquier
be26cd5b75
- Removed debug option
...
- Added SMTP authentification support
- Added TAI64N support
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@226 a942ae1a-1317-0410-a47c-b1dcaea8d605
2006-01-03 15:11:57 +00:00
Yaroslav Halchenko
3eb0ca0ee5
propagated fix for the path bug. Thanks to Nick Craig-Wood
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@225 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-27 15:09:50 +00:00
Cyril Jaquier
7494fe283b
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@224 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:51:59 +00:00
Cyril Jaquier
9cd787c50e
- Fixed crash when time format does not match data
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@223 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:50:59 +00:00
Cyril Jaquier
15806fc3da
- Added permanent banning feature
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@222 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:48:52 +00:00
Cyril Jaquier
716e0840fc
- Removed unneeded semicolon
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@221 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:47:03 +00:00
Cyril Jaquier
cd38dddd00
- Fixed locale bug. Thanks to Fernando Jos�
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@220 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:44:34 +00:00
Cyril Jaquier
52e7a26756
- Updated to CVS version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@219 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:44:06 +00:00
Cyril Jaquier
af827330b2
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@218 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-12-16 23:43:46 +00:00
Cyril Jaquier
840f6cd052
- Merged FAIL2BAN-0_5 with HEAD
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@216 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-11-20 17:07:47 +00:00
Cyril Jaquier
1c3f233475
- Updated for 0.5.4
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@201 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-13 20:43:00 +00:00
Cyril Jaquier
c07015129b
- Formatting
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@200 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-13 20:42:33 +00:00
Cyril Jaquier
3ca5a75094
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@199 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-12 14:44:07 +00:00
Cyril Jaquier
cfa8d0a7fe
- Updated to CVS version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@198 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-12 14:43:51 +00:00
Cyril Jaquier
0d4302c912
- Fixed bug #1286222
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@197 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-12 14:42:08 +00:00
Cyril Jaquier
11d887c603
- Formatting
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@196 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-12 14:41:40 +00:00
Yaroslav Halchenko
eb11caa621
Propagated patches introduced by Debian maintainer
...
* Fixed handling of SYSLOG logging target. Now it can log
to any SYSLOG target and facility as directed by the
config
* Format of SYSLOG entries fixed to look closer to standard
* Fixed errata in config/gentoo-confd
* Introduced findtime configuration variable to control the
lifetime of caught "failed" log entries
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@195 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-11 15:42:32 +00:00
Cyril Jaquier
10c0307ad5
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@193 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-08 18:21:04 +00:00
Cyril Jaquier
d0c70e1535
- Updated for 0.5.3
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@191 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-08 18:20:51 +00:00
Cyril Jaquier
830ac2001e
- Added more debug output if an error occurs when sending mail. Thanks to Stephen Gildea
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@190 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-08 18:05:59 +00:00
Cyril Jaquier
c1a86f9e18
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@189 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-05 21:12:32 +00:00
Cyril Jaquier
c573432e74
- Fixed a bug when overriding "maxfailures" or "bantime". Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@188 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-05 21:12:08 +00:00
Cyril Jaquier
54f4a7d240
- Hopefully fixed bug #1256075
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@187 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-05 21:06:15 +00:00
Cyril Jaquier
cdc7b4b048
- Renamed "maxretry" to "maxfailures" and changed default value to 5. Thanks to Stephen Gildea
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@186 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-09-05 21:05:00 +00:00
Cyril Jaquier
631f2ac352
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@185 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-17 19:34:00 +00:00
Cyril Jaquier
c5c90b182a
- Fixed bug #1262345
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@184 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-17 19:26:49 +00:00
Cyril Jaquier
daf35a3535
- Added a warning message if IP address is not valid in ignoreip
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@183 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-17 19:26:14 +00:00
Cyril Jaquier
8a1241533f
- Removed warning when using "-V" or "-h" with no config file. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@182 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-07 13:12:15 +00:00
Cyril Jaquier
ed46bcdaf2
- Removed "It needs log4py" from description
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@181 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-07 13:10:39 +00:00
Cyril Jaquier
38f2c24be1
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@180 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-07 13:10:00 +00:00
Cyril Jaquier
dd27cafee3
- Added better handling of exception
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@179 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-07 13:08:18 +00:00
Cyril Jaquier
b3a90d7492
- Changed mask to 16
...
- Removed "-i eth0". Match all interfaces
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@178 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-07 13:06:56 +00:00
Cyril Jaquier
d2f3d1c263
- Fixed a bug with "-k"
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@177 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-06 18:44:06 +00:00
Cyril Jaquier
9548edaff0
- Do not exit on exception. Continue and wait for an unhandled exception
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@176 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-06 18:43:11 +00:00
Cyril Jaquier
7e0e005e24
- Prepared for 0.5.2
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@174 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-06 15:07:11 +00:00
Cyril Jaquier
800115a422
- Fixed a bug in logging level
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@173 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-04 21:03:49 +00:00
Cyril Jaquier
a8f98be252
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@172 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-04 21:01:12 +00:00
Cyril Jaquier
e93c0db20b
- Added new PID lock file management
...
- Fixed a bug with daemon mode and logging
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@171 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-04 20:52:13 +00:00
Cyril Jaquier
1fcf7612fd
- Added new PID lock file management
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@170 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-04 20:51:14 +00:00
Cyril Jaquier
9761d31f4b
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@169 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-04 20:49:00 +00:00
Cyril Jaquier
4d0c5f6341
- Added a PID lock file class
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@168 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-04 20:48:30 +00:00
Cyril Jaquier
d0a0088894
- Redirect stdout to /dev/null
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@167 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:58:14 +00:00
Cyril Jaquier
e8b4d66c54
- Removed log4py dependency
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@166 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:41:33 +00:00
Cyril Jaquier
5a38a2563c
- Removed log4py dependency
...
- Catch the unhandled exceptions
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@165 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:40:46 +00:00
Cyril Jaquier
c2d30a29de
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@164 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:39:11 +00:00
Cyril Jaquier
8688acab65
- Removed log4py dependency
...
- Better handling of the return value of os.system()
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@163 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:38:07 +00:00
Cyril Jaquier
4d9c24adbf
- Removed log4py dependency
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@162 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:35:18 +00:00
Cyril Jaquier
bed25265d7
- Added man pages
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@161 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-08-01 16:33:56 +00:00
Cyril Jaquier
a081e8b3f5
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@160 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:59:28 +00:00
Cyril Jaquier
bebba84f0e
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@159 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:31:00 +00:00
Cyril Jaquier
e40dd99727
- Added description
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@158 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:30:34 +00:00
Cyril Jaquier
84042dbd31
- "maxretry" and "bantime" can be overridden in each section
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@157 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:29:45 +00:00
Cyril Jaquier
45426598dd
- "maxretry" and "bantime" can be overridden in each section
...
- Fixed bug #1246278 (excessive memory usage)
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@156 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:27:26 +00:00
Cyril Jaquier
8686151421
- Fixed crash on wrong option value in configuration file
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@155 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:20:13 +00:00
Cyril Jaquier
46a4f1fcf3
- Changed custom chains to lowercase
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@154 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-28 20:18:59 +00:00
Cyril Jaquier
d6e7bc7b03
- Prepared for 0.5.1
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@152 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-23 09:31:12 +00:00
Cyril Jaquier
891b8d9e8a
- Fixed a bug in the previous... bug fix
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@151 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-23 09:07:53 +00:00
Cyril Jaquier
02386131e9
- Fixed bug #1239557
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@150 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-22 21:13:19 +00:00
Cyril Jaquier
a3f30d8555
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@149 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-22 21:12:14 +00:00
Cyril Jaquier
ec299bd60f
- Better check of IPv4 validity
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@148 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-22 21:11:42 +00:00
Cyril Jaquier
bbfc65f569
- Fixed bug #1241756
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@147 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-22 21:10:29 +00:00
Cyril Jaquier
5dbed848bc
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@146 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 19:28:15 +00:00
Cyril Jaquier
bb430ec25c
- Removed logfile option and added logtargets
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@145 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 19:27:38 +00:00
Cyril Jaquier
74dfb8440e
- Added obsolete files detection and update config reminder after install
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@144 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:14:12 +00:00
Cyril Jaquier
2b8df84fa9
- Changed Fail2Ban description
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@143 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:12:51 +00:00
Cyril Jaquier
cd1ede8d5b
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@142 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:11:49 +00:00
Cyril Jaquier
8e43d98ca4
- Moved path.append() before importing log4py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@141 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:11:21 +00:00
Cyril Jaquier
3b154baae5
- Removed os.umask(0) as it is a potential security issue. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@140 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:08:17 +00:00
Cyril Jaquier
d2f7dc0521
- Fixed banList which must not be static
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@139 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:07:08 +00:00
Cyril Jaquier
6be14566e1
- Corrected logfile path
...
- Changed firewall rules in order to create a specific chain for each section
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@138 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:06:11 +00:00
Cyril Jaquier
e919d8372b
- Initial commit. Thanks to Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@137 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-15 14:04:39 +00:00
Cyril Jaquier
df28acf495
- Prepared for 0.5.0
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@136 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:12:40 +00:00
Cyril Jaquier
158110aa46
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@135 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:12:22 +00:00
Cyril Jaquier
0a8905e3a6
- Fixed bug #1234699
...
- Added mail notification support
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@134 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:11:58 +00:00
Cyril Jaquier
3acb0b8548
- Added CIDR mask support
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@133 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:10:14 +00:00
Cyril Jaquier
a50d0ace81
- Initial commit
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@132 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:09:47 +00:00
Cyril Jaquier
dba169ae9c
- Moved replaceTag() to utils/strings.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@131 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:08:24 +00:00
Cyril Jaquier
8a94f873de
- Removed MAIL for getSections()
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@130 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:07:35 +00:00
Cyril Jaquier
6ae8556d15
- Added mail notification support
...
- Added CIDR mask support in ignoreip
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@129 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-12 13:06:25 +00:00
Cyril Jaquier
7cdb6c94bb
- Added more tags in firewall rules definition. Should help for Feature Request #1229479
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@128 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-09 15:11:48 +00:00
Cyril Jaquier
18486d66bd
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@127 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-09 15:09:03 +00:00
Cyril Jaquier
6ae86bd7d6
- Removed unused options
...
- Cleanup
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@126 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-09 13:18:59 +00:00
Cyril Jaquier
cb97a9e091
- Oups... I forgot to add this one. Now, this is the main executable
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@125 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-08 10:21:52 +00:00
Cyril Jaquier
8e16185ef1
- Applied changes (command line options) from Yaroslav Halchenko
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@124 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-08 10:01:04 +00:00
Cyril Jaquier
ebccfea6cb
- Added new fail2ban binary
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@123 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:57:05 +00:00
Cyril Jaquier
5595ffcac7
- Lot of changes. Most of them are cleanup
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@122 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:56:30 +00:00
Cyril Jaquier
e98f8c8182
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@121 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:55:50 +00:00
Cyril Jaquier
3d79d9d1cb
- Initial import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@120 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:53:47 +00:00
Cyril Jaquier
3df3c510f4
- Moved __executeCmd to utils/process.py
...
- Removed interface
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@119 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:52:54 +00:00
Cyril Jaquier
65fef83e56
- Made configreader more generic. Also used for global options now
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@118 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:51:52 +00:00
Cyril Jaquier
1014183f3f
- Changed fail2ban binary name
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@117 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:50:56 +00:00
Cyril Jaquier
992a3f7d31
- Added start and end command options
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@116 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-07 16:50:20 +00:00
Cyril Jaquier
685f4aad99
- Initial 0.5 commit
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@115 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-05 12:57:20 +00:00
Cyril Jaquier
07d127bebd
- Added an initd script for RedHat/Fedora. Thanks to Andrey G. Grozin
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@113 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-01 09:30:52 +00:00
Cyril Jaquier
ea9a671e88
This commit was manufactured by cvs2svn to create branch 'FAIL2BAN-0_5'.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@114 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-07-01 09:30:52 +00:00
Cyril Jaquier
73ff1540e8
- Prepared for 0.4.1
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@111 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-06-30 09:30:59 +00:00
Cyril Jaquier
be43f2eaeb
- Changed PID lock file location from /tmp to /var/run
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@110 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-06-30 09:26:38 +00:00
Cyril Jaquier
7b118f42d3
- Initd script for Gentoo
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@109 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-06-30 09:25:28 +00:00
Cyril Jaquier
9317581b18
- Modified for readability. Thanks to Iain Lea
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@108 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-06-29 06:17:28 +00:00
Cyril Jaquier
51f1dcee55
- Fixed textToDNS method which generated wrong matches for "rhost=12-xyz...". Thanks to Tom Pike
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@107 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-05-28 19:46:18 +00:00
Cyril Jaquier
a051e05cb4
- Prepared for 0.4.0 release
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@105 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-04-24 11:04:29 +00:00
Cyril Jaquier
b0cae2c43f
- Changed all sections to disabled by default
...
- Add "Invalid user" to SSH failregex
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@104 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-04-24 11:03:44 +00:00
Cyril Jaquier
468f70dc15
- Changed to CVS version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@103 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-04-03 12:13:11 +00:00
Cyril Jaquier
0c9c50397a
- Fixed bug in utils/dns.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@102 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-04-03 12:12:52 +00:00
Cyril Jaquier
a4ff90cd0a
- Fixed textToDNS method which did not recognize "12-344-54-33.adsl.xyz.ab". Thanks to K�vin Drapel
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@101 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-04-03 12:08:57 +00:00
Cyril Jaquier
77dc3e4261
- Fixed exception if trying to kill Fail2Ban with a fail2ban.pid file present. Thanks to K�vin Drapel
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@99 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-31 16:04:52 +00:00
Cyril Jaquier
04ae381215
- Prepared for 0.3.1 release
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@98 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-31 15:52:02 +00:00
Cyril Jaquier
35e12b9ef3
- Cleanups
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@97 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-31 15:46:57 +00:00
Cyril Jaquier
6f6742266c
- Improved debug messages
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@96 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-31 15:45:24 +00:00
Cyril Jaquier
62feec3227
- Improved verbose mode
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@95 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-30 22:48:38 +00:00
Cyril Jaquier
4d9615f68a
- Updated main loop (needed by logreader optimization)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@94 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-29 14:41:34 +00:00
Cyril Jaquier
3368f7dd14
- Updated TODO list
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@93 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-29 14:38:56 +00:00
Cyril Jaquier
7f62f9df89
- The optimization in log reading should work
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@92 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-29 14:37:46 +00:00
Cyril Jaquier
c442955e30
- Bug fix: check for DNS only if no IP address found
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@91 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-11 15:33:36 +00:00
Cyril Jaquier
949eb89c76
- Removed the "host" command dependency
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@90 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-08 21:11:46 +00:00
Cyril Jaquier
0a80b69db5
- Removed the "host" command dependency. Used Python socket module instead. Thanks to K�vin Drapel
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@89 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-08 21:11:07 +00:00
Cyril Jaquier
10d0070d42
- Log parsing improvements were totally wrong. Removed
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@88 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-08 21:08:16 +00:00
Cyril Jaquier
36571c2ba9
- Bug fix: return [] instead of 'None'
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@87 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-07 17:08:38 +00:00
Cyril Jaquier
064ef28dc4
- Bug fix: check for log rotation using the file size. Not the best solution...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@86 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-07 14:46:33 +00:00
Cyril Jaquier
dabc1e9681
- Added "utils" to packages
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@85 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 18:28:19 +00:00
Cyril Jaquier
d6c1eb1543
- Return value of createDaemon() changed to True
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@84 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 18:27:42 +00:00
Cyril Jaquier
54f2fc0ae5
- Added utils/__init__.py and utils/dns.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@83 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:52:53 +00:00
Cyril Jaquier
7af62c05fa
- Initial import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@82 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:51:24 +00:00
Cyril Jaquier
6fb00dc582
- Improved log parsing speed. We remember the last position and restart from there when the file is modified
...
- Added DNS lookup support
- Removed unused functions
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@81 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:49:41 +00:00
Cyril Jaquier
fa39e3b57d
- Added "self" in method parameters
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@80 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:47:51 +00:00
Cyril Jaquier
f6b9749650
- Corrected log level
...
- Dict iteration improved
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@79 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:46:56 +00:00
Cyril Jaquier
ad93288bd8
- Corrected log level
...
- Removed unused import
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@78 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:45:55 +00:00
Cyril Jaquier
1a876366a7
- Added a killApp() function
...
- Dict iteration improved
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@77 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:44:48 +00:00
Cyril Jaquier
bc4524c165
- Updated
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@76 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:42:59 +00:00
Cyril Jaquier
d1ec7fb830
- Change to CVS version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@75 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-03-06 17:42:04 +00:00
Cyril Jaquier
7fb2508960
- Version 0.3.0. Named it 0.3 because there is a lot of changes in this release
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@73 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-24 13:59:34 +00:00
Cyril Jaquier
f0625224c7
- Added a default value for each option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@72 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-23 17:47:30 +00:00
Cyril Jaquier
3d9318ad3e
- Splitted "checkForPID" into "createPID" and "checkForPID". Fixed the bug which created a PID lock file when calling Fail2Ban with the kill option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@71 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-23 17:31:46 +00:00
Cyril Jaquier
c429a69845
- Added the "-k" option. Kills a currently running Fail2Ban
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@70 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-23 16:56:29 +00:00
Cyril Jaquier
45dd8ea43e
- Increment "crtRuleNbr" after the creation of the rule
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@69 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-23 16:53:03 +00:00
Cyril Jaquier
42937a5522
- Added "ipfw-start-rule" option (thanks to Robert Edeker)
...
- Added "enabled" option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@68 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-22 21:14:04 +00:00
Cyril Jaquier
9a74701807
- Added "ipfw-start-rule" option (thanks to Robert Edeker)
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@67 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-22 21:11:46 +00:00
Cyril Jaquier
acbbb11578
- A rule is added with a specified number now
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@66 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-22 21:11:17 +00:00
Cyril Jaquier
7b13c386f9
- The options have a specified type now
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@65 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-22 21:10:08 +00:00
Cyril Jaquier
78b32ef3b2
- Added "ipfw-start-rule" option (thanks to Robert Edeker)
...
- Added "enabled" option
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@64 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-22 21:08:36 +00:00
Cyril Jaquier
3122f5eeae
- Added PID lock file option
...
- Added more comments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@63 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-20 13:38:10 +00:00
Cyril Jaquier
4961847529
- Added PID lock file support
...
- Improved some parts of the code
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@62 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-20 13:34:43 +00:00
Cyril Jaquier
2131d080c2
- Added PID lock file option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@61 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-20 13:33:55 +00:00
Cyril Jaquier
1711a87dff
- Added PID lock file support
...
- Added log reader name support
- Improve some algorithms
- Changed some info messages to warn
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@60 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-20 13:33:17 +00:00
Cyril Jaquier
deffa8f5aa
- Added log reader name
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@59 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-20 11:16:56 +00:00
Cyril Jaquier
16dbc44607
- Added TODO file
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@58 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-20 11:15:06 +00:00
Cyril Jaquier
c7947c68e9
- Bantime was not used in the log reader
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@57 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 22:14:02 +00:00
Cyril Jaquier
2b5812ef9b
- parser.py no more needed
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@56 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 21:53:16 +00:00
Cyril Jaquier
ff088ec333
- Added more comments
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@55 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 21:51:32 +00:00
Cyril Jaquier
e339a48751
- Fixed bug when flushing ban list
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@54 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 21:49:51 +00:00
Cyril Jaquier
f4b083d79b
- Added more comments
...
- Catch exception when option not present in section
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@53 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 21:48:34 +00:00
Cyril Jaquier
b5eb68d884
- Only scan log files which were modified
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@52 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 21:46:56 +00:00
Cyril Jaquier
78dab1db70
- Updated information
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@51 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 21:45:34 +00:00
Cyril Jaquier
2e5bfe5bb6
- Changed Fail2Ban in order to handle several log files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@50 a942ae1a-1317-0410-a47c-b1dcaea8d605
2005-02-18 13:30:54 +00:00
Cyril Jaquier
2c778a9b76
- Version 0.1.2. Second beta version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@49 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-21 09:29:11 +00:00
Cyril Jaquier
a562542523
- Remove posix from import
...
- Update help message
- Add support for multiple firewall class. It is now really simple to add new ones
- Add support for interface selection
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@48 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:08:04 +00:00
Cyril Jaquier
11330ff944
- Fail2ban now support ipfw and ipfwadm
...
- New options
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@47 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:06:06 +00:00
Cyril Jaquier
f1770f937b
- Update current changes
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@46 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:05:09 +00:00
Cyril Jaquier
88313ea611
- Add firewall/ipfw.py and firewall/ipfwadm.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@45 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:04:34 +00:00
Cyril Jaquier
8598ff2315
- Change to CVS version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@44 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:03:43 +00:00
Cyril Jaquier
fabe6e59b4
- Add firewall and interface options
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@43 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:03:17 +00:00
Cyril Jaquier
4d098fbd7a
- Initial import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@42 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:02:27 +00:00
Cyril Jaquier
01a53b045b
- Add interface parameter
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@41 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-11-06 14:02:07 +00:00
Cyril Jaquier
6930f5c0c3
- Version 0.1.1. This is the first beta release
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@39 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-23 08:42:53 +00:00
Cyril Jaquier
f3dd99da0c
- Add SIGTERM handler
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@38 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-18 20:54:29 +00:00
Cyril Jaquier
c7513aba77
- Fix retryAllowed. It is now conf["maxretry"]
...
- Add SIGTERM handler in order to exit properly when in daemon mode
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@37 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-18 20:50:56 +00:00
Cyril Jaquier
b9349fd45e
- Configuration using /etc/fail2ban.conf
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@36 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-16 22:18:25 +00:00
Cyril Jaquier
3b7f952cd2
- Update installation + configuration instructions
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@35 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-16 22:17:58 +00:00
Cyril Jaquier
f1d7157cae
- Add config/fail2ban.conf.default
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@34 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-16 22:17:35 +00:00
Cyril Jaquier
aee13b03ee
- Default config file
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@33 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-16 22:16:14 +00:00
Cyril Jaquier
d50f1cd0f7
- Remove this file has it is no more necessary. Fail2Ban seems to be more services dependant than syslog daemons
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@32 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:39:43 +00:00
Cyril Jaquier
052f35eccb
- Initial import
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@31 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:38:22 +00:00
Cyril Jaquier
ded1b1492b
- Remove metalog class. Use now the "service" classes (Sshd for the moment)
...
- Code comments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@30 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:34:25 +00:00
Cyril Jaquier
1070273151
- Code comments
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@29 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:31:53 +00:00
Cyril Jaquier
3331c9dccb
- Change executeCmd to private
...
- Code comments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@28 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:31:32 +00:00
Cyril Jaquier
18029d4426
- Add log4py import exception handling
...
- Remove metalog class. Now use LogReader
- Add -r option: you can specifie the maximum number of login failure before ban
- Code comments
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@27 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:30:25 +00:00
Cyril Jaquier
3fa88d60a6
- Some small update about current work
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@26 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:28:04 +00:00
Cyril Jaquier
1786004c3d
- Add logreader/parser.py and logreader/sshd.py
...
- Remove logreader/metalog.py
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@25 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:27:27 +00:00
Cyril Jaquier
28c1d658a4
- Change to CVS version
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@24 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-14 10:26:17 +00:00
Cyril Jaquier
03d73b78f8
- Setup and dist files
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@22 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-12 21:45:41 +00:00
Cyril Jaquier
4eeb61c0e1
- Update help message
...
- Add -i option: ignore ip list. Space separated ip list
- Add -t option: ban time in seconds. 600 to ban ip for 10 minutes
- Add a info message saying that fail2ban is running
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@21 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-12 21:44:09 +00:00
Cyril Jaquier
bb896fb391
- Add a debug message when adding ip to ignore list
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@20 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-12 21:40:50 +00:00
Cyril Jaquier
8eb470019c
- Add log4py support
...
- Remove old verbose mode
- Add debug feature
- Add option -f <pwdfail file>. This is the log file to read from
- Add option -l <log file>. This is the file to log fail2ban messages
- Add option -d. Allow fail2ban to run without root permissions. Do not execute OS command
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@19 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-11 10:26:39 +00:00
Cyril Jaquier
a2ea1164b3
- Add log4py support
...
- Remove old verbose mode
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@18 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-11 10:23:53 +00:00
Cyril Jaquier
c286d56855
- Add log4py support
...
- Remove old verbose mode
- Add debug feature
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@17 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-11 10:22:41 +00:00
Cyril Jaquier
be1755cac1
- Change quoting style
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@16 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-11 10:21:56 +00:00
Cyril Jaquier
e561e39583
- Add verbose option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@15 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 23:46:58 +00:00
Cyril Jaquier
4602bb1bfc
- Add this file with .py extension in order to by recognize as Python source file with pydev (Eclipse plugin)
...
- Add command line options: -v (verbose mode), -h (help), -b (background)
- Add daemon function found on aspn.activestate.com
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@14 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 23:44:24 +00:00
Cyril Jaquier
5c9c6e82cf
This commit was manufactured by cvs2svn to create branch 'FAIL2BAN-0_5'.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@12 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 23:41:08 +00:00
Cyril Jaquier
5fc0a65163
- removing this file. Replaced by fail2ban.py
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@11 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 23:41:07 +00:00
Cyril Jaquier
012301b644
- Complete rewrite to use the log-reader and firewall classes
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@10 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 13:35:52 +00:00
Cyril Jaquier
68ab4b0b26
- a few changes and corrections
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@9 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 13:35:11 +00:00
Cyril Jaquier
0de46864a1
- update some dates
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@8 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 13:34:02 +00:00
Cyril Jaquier
7e00b03a93
- add log reader classes. Currently support metalog and sshd but should handle others services and syslog yet
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@7 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-10 13:33:40 +00:00
Cyril Jaquier
f943028449
- Some object-oriented code testing
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@6 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-09 15:33:33 +00:00
Cyril Jaquier
5eb163bc03
Initial revision
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@2 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-07 20:21:14 +00:00
Cyril Jaquier
7e4c9512a6
New repository initialized by cvs2svn.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@1 a942ae1a-1317-0410-a47c-b1dcaea8d605
2004-10-07 20:21:14 +00:00