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