Thomas Mayer
4a598070c8
remove '-ne' option as it's not interpreted any way (issue #1003 )
10 years ago
Thomas Mayer
1c2e8f4185
Add myself to the THANKS section
10 years ago
Thomas Mayer
80f11a4d28
Add empty Init Section to pass tests (issue #1003 )
10 years ago
Thomas Mayer
c0cf3daac8
Add myself to the changelog
10 years ago
Thomas Mayer
c9b24839e4
Character detection heuristics for whois output via optional setting in mail-whois*.conf ( Closes #1003 )
...
when set by user,
- detects character set of whois output (which is undefined by RFC 3912) via heuristics of the file command
- converts whois data to UTF-8 character set with iconv
- sends the whois output in UTF-8 character set to mail program
- avoids that heirloom mailx creates binary attachment for input with unknown character set
10 years ago
Csaba Tóth
0720c831b7
Fix of LC_TIME usage, it should be LC_ALL
10 years ago
Yaroslav Halchenko
c926af1fce
Merge pull request #1002 from sebres/_bf/fix-invalid-ip
...
fix test for invalid IP (use TEST-NET-1 according to RFC 5737)
10 years ago
Yaroslav Halchenko
b2c1673d28
BF: if install pypy -- come back to original directory
10 years ago
Yaroslav Halchenko
eb05cd7bd5
BF(OSX): apparently exceptions could not be compared for identity, use repr
10 years ago
sebres
6da0c4ad48
very long time resolving IP for address "abcdef" on some PDC, under NAT etc. - replaced via "abcdef.abcdef" to prevent searching in local domains;
10 years ago
sebres
c5ba76aab8
fix test for invalid IP (use TEST-NET-1 according to RFC 5737):
...
since fef031b3cd
failed, because on some platforms like vm:debian 10.0.0.0 returns 'localhost' (intern network).
10 years ago
Lee Clemens
72f4bcfbff
Match hacking attempt IP instead of asterisk server IP ( closes #1000 )
10 years ago
Yaroslav Halchenko
d28880fdca
Merge pull request #997 from yarikoptic/bf/long-purge-for-recidive
...
DOC: make a warning for recidive jail to increase dbpurgeage (Closes #964 )
10 years ago
Yaroslav Halchenko
54f111429d
BF: fixing up version comparison for pypy. Issue appeared in 2.5.0
...
00:11 yoh: upgraded to 2.5.0 from debianexperimental and now reproduced locally
00:12 yoh: why pypy --version directs output to stderr? thereis no error
00:12 mattip: ok, can you try with a nightly from http://buildbot.pypy.org/nightly/trunk ?
00:15 * yoh running with 2.6.0-alpha0...
00:16 yoh: clean -- no crash
10 years ago
Yaroslav Halchenko
9339293413
ENH: minor formatting, no functional changes
10 years ago
ediazrod
5fdd1d1ded
Update shorewall-ipset-proto6.conf
10 years ago
ediazrod
e26a1ad6b6
Update shorewall-ipset-proto6.conf
10 years ago
Yaroslav Halchenko
4a83741397
BF: do not expect setting logtarget to SYSLOG to work on non-Linuxes
...
I have no BSD buildbots available for *BSDs etc, so can't speak for all, but
http://nipy.bic.berkeley.edu/builders/fail2ban-py2.6-osx-10.6_master/builds/151/steps/shell_1/logs/stdio
suggests that logically fails on OSX
10 years ago
Yaroslav Halchenko
56aacf872c
Merge pull request #952 from ache/master
...
Update bsd-ipfw.conf
10 years ago
Yaroslav Halchenko
02836b599c
Added a comment about systemd backend for jails with logs outside of journal ( Closes #959 )
10 years ago
Yaroslav Halchenko
320a28a4a4
DOC: make a warning for recidive jail to increase dbpurgeage ( Closes #964 )
10 years ago
Yaroslav Halchenko
938e6343ea
Merge pull request #996 from yarikoptic/bf/no-dns-module
...
BF/TST: expect ['error'] as a value if no dns module available
10 years ago
Yaroslav Halchenko
d5d8bc8134
Merge pull request #986 from yarikoptic/bf/pypy-2.4.0
...
BF: use daily build of pypy until next one gets released
10 years ago
Yaroslav Halchenko
382e7f02ca
BF: expect ['error'] as a value if no dns module available
...
As many buildbots show:
e.g. http://nipy.bic.berkeley.edu/builders/fail2ban-py2.7-osx-10.8_master/builds/163/steps/shell_1/logs/stdio
10 years ago
Yaroslav Halchenko
782629c256
Merge pull request #985 from yarikoptic/bf/bad_file_descr_3.4
...
BF: asyncore.loop poll=True for recent (>=3.4) pythons too
10 years ago
Yaroslav Halchenko
3f3ddaceae
print travis python version to figure out why not in effect
10 years ago
Yaroslav Halchenko
dd9b5f75af
BF: use daily build of pypy until next one gets released
10 years ago
Yaroslav Halchenko
31d107d181
BF: asyncore.loop poll=True for recent (>=3.4) pythons too
...
should avoid
File /usr/lib/python3.4/asyncore.py, line 208, in loop
poll_fun(timeout, map)
File /usr/lib/python3.4/asyncore.py, line 145, in poll
r, w, e = select.select(r, w, e, timeout)
OSError: [Errno 9] Bad file descriptor
10 years ago
Yaroslav Halchenko
daa2a9e5d8
Merge pull request #975 from sebres/gh-973-fix
...
BF: binding parameter error (unsupported type) (closes gh-973) ...
10 years ago
Yaroslav Halchenko
954075449d
BF: fixed casing in __sigUSR1handler
10 years ago
Yaroslav Halchenko
e52790073d
Merge pull request #979 from tgyurci/master
...
Flush logs at USR1 signal
10 years ago
Teubel György
0254cbf7fb
Flush logs at USR1 signal
10 years ago
ediazrod
d0887f3234
This is a especific configuration for shorewall ipset proto6
...
Use ipset proto6 in shorewall. You must follow the rules to enable ipset in you blacklist
if you have a lot of spam (my case) is better use ipset rather than shorewall command line (is my firewall)
stop fail2ban with shorewall on one list of 1000 Ips takes 5 min with ipset in shorewall 10 sec.
10 years ago
sebres
5ab30c88c2
more stable handling of json dump/load different encoded strings for older python versions;
...
extended test cases (more precise, python version insensitive, etc.)
10 years ago
sebres
2bfe22aa66
makes test case more precise;
10 years ago
sebres
6c788a32ee
BF: binding parameter error (unsupported type) by writing json with invalid encoded lines into sqlite database (gh-973);
...
especially python < 3.0; try to prevent occurring such errors in the future;
10 years ago
Lee Clemens
50cbd4e9eb
Merge pull request #961 from yarikoptic/enh/logencoding_msg
...
ENH: explicitly hint on logencoding setting in jail (Close #909 )
10 years ago
Yaroslav Halchenko
82d5e6b840
ENH: explicitly hint on logencoding setting in jail ( Close #909 )
10 years ago
Yaroslav Halchenko
83805ee5dc
Changelog for preceding merge
10 years ago
Yaroslav Halchenko
e788e3823e
Merge pull request #965 from TorontoMedia/master
...
Split output of firewallcmd list into separate lines for grepping (Close #908 )
10 years ago
TorontoMedia
b4f1f613bb
Update firewallcmd-allports.conf
10 years ago
TorontoMedia
0fac7e40b6
Update firewallcmd-multiport.conf
10 years ago
Yaroslav Halchenko
54e182e017
Merge pull request #955 from sebres/fail2ban-regex-gh-954
...
BF: fail2ban-regex does not read '.local' file of given filter (Close #954 )
10 years ago
Yaroslav Halchenko
ae2af0d51b
Minor tune up to changelog (we should eventually just make it into .md format)
10 years ago
Yaroslav Halchenko
07b0ab07ad
Merge branch 'master' of https://github.com/rumple010/fail2ban
...
* 'master' of https://github.com/rumple010/fail2ban :
Changed default TTL value to 60 seconds.
Added a reminder to create an nsupdate.local file to set required options.
Modified the ChangeLog and THANKS files to reflect the addition of action.d/nsupdate.conf.
add nsupdate action
Conflicts:
ChangeLog
10 years ago
Yaroslav Halchenko
be75519402
Merge pull request #956 from yarikoptic/enh/badips_categories
...
ENH: check badips.com response on presence of "categories" in it
10 years ago
sebres
74c6f6ac4b
BF: fail2ban-regex does not read '.local' file of given filter (gh-954)
10 years ago
Yaroslav Halchenko
d5e68abf95
ENH: check badips.com response on presence of "categories" in it
...
As https://travis-ci.org/fail2ban/fail2ban/jobs/50609529 query might fail in
that response would not contain "categories". With this change we will handle
it explicitly and will spit out ValueError, providing information about
the response so it could be troubleshooted
10 years ago
Ache
ae1451b29f
Update bsd-ipfw.conf
...
Deleting not existent is not error.
Adding already present is not error.
Otherwise all those entries becomes stale forever, not removed and its number increases over time.
10 years ago
Yaroslav Halchenko
3fb2becddb
Merge pull request #949 from leeclemens/enh/configSyslogSocket
...
Configure Syslog Socket Path (closes #814 )
10 years ago