Steven Hiscocks
9bfc77c320
BF: fail2ban-client processCmd ret was being overwritten each loop
11 years ago
Steven Hiscocks
3cbfe9b057
BF: `ret` now changed after beautifier called
11 years ago
Daniel Black
058621f9bd
ENH: continue with rest of fail2ban config even if errors. Closes gh-585
11 years ago
Daniel Black
2b3e866f5f
BF: log errors to syslog and respect the showRet parameter
11 years ago
Yaroslav Halchenko
38b07ca46e
BF: catch and report exceptions while executing commands in client interactive mode ( Close #353 )
11 years ago
Yaroslav Halchenko
b6be8b8243
ENH/RF: remove __readJailConfig in favor of __readConfig + catch/error exceptions while reading the configuration
12 years ago
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
12 years ago
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
12 years ago
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.
12 years ago
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
12 years ago
Pascal Borreli
a2b29b4875
Fixed typos
12 years ago
Daniel Black
7cd6dab7f0
ENH: add help command
12 years ago
Daniel Black
3665e6dc44
Add development documentation and framework for code coverage measurement
12 years ago
Yaroslav Halchenko
40c5a2d996
ENH: adding more of diagnostic messages into -client while starting the daemon
12 years ago
Steven Hiscocks
ce3ab34dd8
Added ability to specify PID file
12 years ago
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
12 years ago
Yaroslav Halchenko
03b31398aa
ENH: BF (forgotten import) for prev commit + removed duplicate Author, adjusted __ fields for that in fail2ban-* scripts
12 years ago
Yaroslav Halchenko
9e7a3b7a04
ENH: until we make it proper module -- adjust sys.path only if system-wide run
12 years ago
Yaroslav Halchenko
b33ae8c194
Ask users to report bugs to github's issues
13 years ago
Leonardo Chiquitto
a7d47e8b36
Update Free Software Foundation's address
...
The address has changed from "59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA" to "51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA" some time ago.
13 years ago
Yaroslav Halchenko
ed6daa70bf
ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
13 years ago
Cyril Jaquier
402cdeab5e
- Updated e-mail
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@672 a942ae1a-1317-0410-a47c-b1dcaea8d605
17 years ago
Cyril Jaquier
27b3ce2adc
- Updated copyright.
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@670 a942ae1a-1317-0410-a47c-b1dcaea8d605
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Cyril Jaquier
ca299b5ce4
- Removed ...
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@528 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Cyril Jaquier
d1cdfdaf01
- Small fixes
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@348 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Cyril Jaquier
f880d1ff26
- Added interactive mode
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@322 a942ae1a-1317-0410-a47c-b1dcaea8d605
18 years ago
Cyril Jaquier
5a3edcb619
- Fixed bug with dispUsage()
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@314 a942ae1a-1317-0410-a47c-b1dcaea8d605
19 years ago
Cyril Jaquier
9f2d901040
- Added a beautifier
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@310 a942ae1a-1317-0410-a47c-b1dcaea8d605
19 years ago
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
19 years ago
Cyril Jaquier
f44dab9ea7
- Fixed reload option
...
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@301 a942ae1a-1317-0410-a47c-b1dcaea8d605
19 years ago