Daniel Black
a0f088be25
ENH: typo + head -1 has been deprecated for 10+ years.
12 years ago
Daniel Black
7cd6dab7f0
ENH: add help command
12 years ago
Daniel Black
f0610c01d5
BF: allow more than single word for command action[start,stop,ban,unban,check] and for setcinfo too
12 years ago
Daniel Black
c8c7b0b984
BF: general Exception catch was excessive. Only IOError and OSError are possible and has different meanings
12 years ago
Yaroslav Halchenko
6e77427516
refresh generated manpages (since 0.8.2 state)
12 years ago
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
12 years ago
Yaroslav Halchenko
c7ab71ae1f
Merge pull request #124 from kwirk/servertestcase
...
Rewrite and enable server testcases + fixed few bugs along the way (logging, missing assignment)
12 years ago
Steven Hiscocks
6aadd6b7dc
Merge pull request #1 from yarikoptic/servertestcase
...
Servertestcase -- resolving issues with logging while running on python 2.4 and 2.5
12 years ago
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
12 years ago
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
12 years ago
Steven Hiscocks
b36835f6f0
Added transmitter get cinfo option for action
12 years ago
Steven Hiscocks
b6a68f5138
Fix for missing value in transmitter delaction
12 years ago
Steven Hiscocks
088e40c481
Rewrite and enable server testcase for Transmitter
12 years ago
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
12 years ago
Yaroslav Halchenko
40c5a2d996
ENH: adding more of diagnostic messages into -client while starting the daemon
12 years ago
Yaroslav Halchenko
d5ae28facf
Merge pull request #104 from gebi/t/route
...
add support for blocking through blackhole routes
12 years ago
Michael Gebetsroither
a37ed388e7
Merge pull request #1 from grooverdan/route
...
add blocking types
12 years ago
Steven Hiscocks
ce3ab34dd8
Added ability to specify PID file
12 years ago
Daniel Black
47b1ee39d8
add blocking type
12 years ago
Yaroslav Halchenko
8cf006827e
BF: remove path from grep call in sendmail-whois-lines.conf Closes: gh-118
12 years ago
Yaroslav Halchenko
6004fe7a94
just trailing spaces in setup.py
12 years ago
Yaroslav Halchenko
f8983872ad
BF: return str(host) to avoid spurious characters in the logs (Close gh-113)
...
thanks to opoplawski@github
12 years ago
Yaroslav Halchenko
5f2d3832f7
NF: roundcube-auth filter (to close Debian #699442 , needing debian/jail.conf section)
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
acab23bdfe
RF: move exceptions used by both client and server into common/exceptions.py
...
this prevents importing of server while operating with client only
12 years ago
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
12 years ago
Yaroslav Halchenko
c900c08eed
Merge pull request #111 from opoplawski/nonettest
...
Initial support for --no-network option for fail2ban-testcases (Closes gh-110)
12 years ago
Orion Poplawski
431489c9b9
Remove unneeded setting of opts.no_network
12 years ago
Yaroslav Halchenko
6b2e76ba7f
BF: pyinotify - use bitwise op on masks and do not try tracking newly created directories
12 years ago
Orion Poplawski
fdd9dfb4b5
Initial support for --no-network option for fail2ban-testcases
12 years ago
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 )
12 years ago
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
12 years ago
Yaroslav Halchenko
7d630cb0de
Merge pull request #109 from blotus/master
...
Escape ' and " in matches
12 years ago
blotus
96eb8986cc
Escape ' and " in matches tag
12 years ago
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.).
12 years ago
Yaroslav Halchenko
9a39292813
ENH: Added login authenticator failed regexp for exim filter
12 years ago
Yaroslav Halchenko
b3d8ba146b
DOC: Mention that logrotate configuration needs to be adjusted if logtarget is changed ( Closes : #697333 )
12 years ago
Yaroslav Halchenko
3ce53e8798
ENH: Added login authenticator failed regexp for exim filter
12 years ago
Yaroslav Halchenko
8f0c533d64
DOC: Mention that logrotate configuration needs to be adjusted if logtarget is changed ( Closes : #697333 )
12 years ago
Michael Gebetsroither
03433f79cd
add example jail.conf for blocking through blackhole routes for ssh
12 years ago
Michael Gebetsroither
f9b78ba927
add support for blocking through blackhole routes
12 years ago
Yaroslav Halchenko
be06b1b914
Merge pull request #102 from grooverdan/ipset
...
Ipset
12 years ago
Daniel Black
da0ba8ab4c
ENH: add example jail for ipset
12 years ago
Daniel Black
9221886df6
more documentation and optimisations/fixes based on testing
12 years ago
Daniel Black
abd5984234
base ipset support
12 years ago
Yaroslav Halchenko
05af52e833
ENH: fail2ban-regex -- __str__ for RegexStat + modeline
12 years ago
Yaroslav Halchenko
21e966e4bb
example logs should carry the same name as the filter they are devised for
12 years ago
Yaroslav Halchenko
f96ea013bb
Merge pull request #99 from pigsyn/patch-2
...
Update config/filter.d/webmin-auth.conf for trailing spaces
12 years ago
pigsyn
123d457924
Update testcases/files/logs/Webmin
12 years ago
pigsyn
38dd1506cc
Sample Webmin logs
12 years ago