Yaroslav Halchenko
eb091d9b8c
Merge remote-tracking branch 'origin/master' into pr-1039
...
* origin/master:
minor: no tripple empty lines
add froxlor-auth filter and jail
add froxlor-auth filter and jail 0
add froxlor-auth filter and jail
BF: Fix fail2ban-regex not parsing journalmatch correctly
10 years ago
Yaroslav Halchenko
8c4d4aa7fb
minor: no tripple empty lines
10 years ago
Joern Muehlencord
4296d1a9a9
add froxlor-auth filter and jail
10 years ago
Joern Muehlencord
964cdb5d9b
add froxlor-auth filter and jail
10 years ago
Ivan Poddubny
7a4e6fa6e5
Asterisk security log: add support for websocket protocol events
...
Thanks to @kcormier.
10 years ago
Ivan Poddubny
988d9a08da
Asterisk security log: accept events containing Response/ExpectedResponse
...
Event containing Challenge may come without ReceivedChallenge, but with
Response and ExpectedResponse.
Also Challenge now accepts '/' character, since it is used at least by PJSIP.
10 years ago
Ivan Poddubny
189265a323
Asterisk security log: accept SessionID of PJSIP events
...
Unlike chan_sip and manager, PJSIP populates SessionID using
Call-Id header of a related SIP message.
As Call-Id of a SIP message can contain almost anything,
the regular expression for SessionID has been loosened.
10 years ago
Ivan Poddubny
ab2ac1a367
Asterisk security log: accept <unknown> in AccountID
10 years ago
Ivan Poddubny
977f9955e7
Asterisk security log: accept EventTV in ISO8601
...
Asterisk uses ISO8601 dates in security log since version 12.
Closes #988
10 years ago
Anton Shestakov
56e5821c06
Match unknown user in dovecot's passwd-file auth database
10 years ago
Aaron Brice
7ae0ef2408
Fix actions in ufw.conf
...
On Ubuntu 15.04 the ufw action was not working.
- With empty <application>, receiving errors:
2015-04-24 16:28:35,204 fail2ban.filter [8527]: INFO [sshd] Found 43.255.190.157
2015-04-24 16:28:35,695 fail2ban.actions [8527]: NOTICE [sshd] Ban 43.255.190.157
2015-04-24 16:28:35,802 fail2ban.action [8527]: ERROR [ -n "" ] && app="app " -- stdout: b''
2015-04-24 16:28:35,803 fail2ban.action [8527]: ERROR [ -n "" ] && app="app " -- stderr: b''
2015-04-24 16:28:35,803 fail2ban.action [8527]: ERROR [ -n "" ] && app="app " -- returned 1
- With action = ufw[application=OpenSSH], it was silently not doing
anything (no errors after "Ban x.x.x.x", but no IP addresses in ufw
status).
Re-arranged the bash commands on two lines, and it works with or without
<application>.
10 years ago
Lee Clemens
8f792f52fb
Add drupal-auth filter and jail
10 years ago
Lee Clemens
b530d88eca
Merge remote-tracking branch 'upstream/master' into bf/1000-asteriskBlocksSelf
...
Conflicts:
ChangeLog
10 years ago
Markus Oesterle
f8c7247f42
added \s after host
10 years ago
Markus Oesterle
5f2807b41f
replaced .* before rhost with regex matching all the previous fields
10 years ago
Markus Oesterle
8825a5f31b
updated filter.d/sshd.conf
...
Added line to match sshd auth errors on OpenSuSE systems
10 years ago
Viktor Szépe
e776a4e1ab
Update proftpd.conf
10 years ago
Viktor Szépe
f9e8a99a79
Non-US locale warning for proftpd
10 years ago
Thomas Mayer
923d807ef8
use human-readable variable names (issue #1003 )
10 years ago
Thomas Mayer
675c3a7c95
use printf instead of echo for POSIX compatibility (issue #1003 )
10 years ago
Thomas Mayer
ac1e41ea70
Revert "remove '-ne' option as it's not interpreted any way (issue #1003 )"
...
This reverts commit 4a598070c8
.
10 years ago
Thomas Mayer
4a598070c8
remove '-ne' option as it's not interpreted any way (issue #1003 )
10 years ago
Thomas Mayer
80f11a4d28
Add empty Init Section to pass tests (issue #1003 )
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
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
ediazrod
5fdd1d1ded
Update shorewall-ipset-proto6.conf
10 years ago
ediazrod
e26a1ad6b6
Update shorewall-ipset-proto6.conf
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
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
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
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
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
Lee Clemens
6268eb32be
Use syslogsocket value "auto" to determine syslog socket's path
10 years ago
Luke Hollins
549ab24e70
Fixed grammatical error in emails sent
10 years ago
Yaroslav Halchenko
119a7bbb16
Merge pull request #939 from szepeviktor/geoip
...
Added sendmail-geoip-lines.conf
10 years ago
Viktor Szépe
4c88a00c28
Line notes implemented
10 years ago
Lee Clemens
445fd7367f
Configure Syslog Socket Path
10 years ago
František Šumšal
eb0d086ed0
Merge branch 'master' into nginx-botsearch
10 years ago
František Šumšal
1c6d2074fb
Changed default settings for nginx-botseach filter
10 years ago
Orion Poplawski
e7ff7e90b7
[postfix-sasl] update regexes
...
- Add : to match "SASL LOGIN authentication failed: Password:"
- Add ignoreregex to ignore system authentication issues:
"warning: unknown[1.1.1.1]: SASL LOGIN authentication failed: Connection lost to authentication server"
- Add test log messages for both
10 years ago
František Šumšal
fb0f463eac
Include consistency
10 years ago
František Šumšal
705718be52
Filter apache-botsearch.conf now loads variables from botsearch-common.conf
10 years ago
František Šumšal
18778d9174
Created botsearch-common.conf
...
File contains variables used in -botsearch filters
10 years ago
Yaroslav Halchenko
73af02ffc6
Merge pull request #940 from leeclemens/ENH/ApacheFakeGoogleBot
...
New jail: apache-fakegooglebot
10 years ago
Yaroslav Halchenko
df581fe6e2
Merge pull request #929 from opoplawski/pam_auth
...
Add filter variable __pam_auth to allow customize for setups with multiple authorization schemes (Close #928 )
10 years ago
Yaroslav Halchenko
7ada96b4e9
Merge pull request #932 from opoplawski/dovecot
...
Dovecot - dovecot auth failure from EL7
10 years ago
František Šumšal
f8fe165cd2
Switched from tabs to spaces for indents
10 years ago
Yaroslav Halchenko
8f6d9c6a5a
Merge branch 'enh/local_time_zone' of https://github.com/yarikoptic/fail2ban
...
* 'enh/local_time_zone' of https://github.com/yarikoptic/fail2ban :
fixed typos, thanks szepeviktor for review
ENH: use non-UTC date invocation (without -u) and report offset for localzone (%z)
Conflicts:
ChangeLog
10 years ago
Lee Clemens
841c476045
Merge branch 'enh/fakegooglebot' of https://github.com/yarikoptic/fail2ban into yarikoptic-enh/fakegooglebot
...
Conflicts:
config/filter.d/ignorecommands/apache-fakegooglebot
10 years ago
Yaroslav Halchenko
15b65c7ad2
NF: apache-fakegooglebot ignorecommand + DNSUtils.ipToName
10 years ago
Lee Clemens
7e94ba6f0c
Remove implementation specific suffix
10 years ago
Lee Clemens
854915920f
Remove implementation specific suffix
10 years ago
Lee Clemens
af078532ac
New jail: apache-fakegooglebot
...
Detects fake googlebot user agents in apache access log
10 years ago
Viktor Szépe
1619ab3145
Added sendmail-geoip-lines.conf
10 years ago
Yaroslav Halchenko
ec6a30efcf
ENH: define ignoreregex for all filters explicitly, to avoid warnings ( Closes #934 )
10 years ago
František Šumšal
c8e82f18b6
Add jail nginx-botsearch
...
Jail blocks requests for predefined non-existent folders. Based on
apache-botsearch jail.
10 years ago
Orion Poplawski
b4776a1ba0
Match dovecot unknown user line
10 years ago
Orion Poplawski
3bc92610f7
Add dovecot auth failure from EL7
10 years ago
Andrew St. Jean
6bdfe756cf
Changed default TTL value to 60 seconds.
10 years ago
Orion Poplawski
79b5a2617f
Add filter variable __pam_auth to allow easier changing of pam auth backend
10 years ago
Andrew St. Jean
43732acae1
Added a reminder to create an nsupdate.local file to set required options.
10 years ago
Yaroslav Halchenko
085d0f72ed
ENH: use non-UTC date invocation (without -u) and report offset for localzone (%z)
10 years ago
Yaroslav Halchenko
65980a70fc
Merge branch 'enh/recidive-allports' of https://github.com/yarikoptic/fail2ban
...
* 'enh/recidive-allports' of https://github.com/yarikoptic/fail2ban :
use iptables-allports for recidive
Conflicts:
ChangeLog
10 years ago
rumple010
eb76dcd5a0
add nsupdate action
...
Adds a new action file that uses nsupdate to dynamically update a BIND
zone file with a TXT resource record representing a banned IP address.
Resource record is deleted from the zone when the ban expires.
10 years ago
sebres
12e3cca3f2
port[s] typo fixed in jail.conf/nginx-http-auth, issue gh-913
10 years ago
Yaroslav Halchenko
083031524d
BF: adding missing Definition section header to firewallcmd-allports
10 years ago
TorontoMedia
d7b7f4bc91
Update firewallcmd-allports.conf
10 years ago
Lee Clemens
77677e43df
Merge branch 'master' of github.com:fail2ban/fail2ban into ENH/PostfixRBL
10 years ago
Lee Clemens
bda8dc1926
Merge branch 'master' of github.com:fail2ban/fail2ban into ENH/PostfixRBL
10 years ago
TorontoMedia
7eed55266b
Created firewallcmd-multiport
10 years ago
TorontoMedia
9f91cb2fd8
Created firewallcmd-allports
10 years ago
TorontoMedia
50e5fd9ed7
Create firewallcmd-multiport.conf
10 years ago
TorontoMedia
591e444753
Create firewallcmd-allports.conf
10 years ago
Lee Clemens
0f48cf4284
loosen up regex for spamhaus (spamcop says "Blocked" as part of url)
10 years ago
Lee Clemens
fe72a5585c
Create Jail for Postfix based on RBL
...
Use RBL blocks to ban addresses, unique Jail so maxretry can be set to 1 (vs postfix.conf)
10 years ago
Lee Clemens
2d7429c47c
Add 'Client host rejected error message' regex
...
Not sure if it was reworded (using Postfix 2.6) or a slightly different error, but I only have "Client host rejected: cannot find your hostname"
10 years ago
Viktor Szépe
81b3dbde1d
postfix-sasl failregex case insensitive
10 years ago
bes-internal
ccc986b7d8
exim filter: correct failregex for exim with extended log options
...
incoming_interface, incoming_port, outgoing_port
10 years ago
Orion Poplawski
d8867807f5
Separate php-url-fopen logpath by newline
10 years ago
Guillaume FRANCOIS
a6a2dc868b
Add ignoreregex to avoid warning on start
10 years ago
Guillaume FRANCOIS
9269664350
Add ignoreregex to avoid warning on start
10 years ago
Yaroslav Halchenko
2a3790f8e8
use iptables-allports for recidive
10 years ago
Yaroslav Halchenko
967485c2d0
improving grepping
10 years ago
Yaroslav Halchenko
efbf5064a1
Merge pull request #807 from xslidian/patch-1
...
grep IP at the start of lines
10 years ago
Orion Poplawski
01b2673e34
Use multiport for firewallcmd-new
10 years ago
Yaroslav Halchenko
36abb5ed96
BF: fix $ for % in jail.conf. Debian bug #767255
10 years ago
pacop
e3a037ee3f
merge master
10 years ago
pacop
ce4f2d1c88
added filter for PortSentry with jail and samples
10 years ago
SlowRiot
fc5f729f01
adding jail conf for shellshock filter
10 years ago
SlowRiot
4f636eb0e3
adding filter to detect Shellshock attack attempts against bash scripts through apache. See http://seclists.org/oss-sec/2014/q3/650
10 years ago
Nick Weeds
2c158fe168
Add apache filter for AH01630 client denied by server configuration
10 years ago
Yaroslav Halchenko
0e1f8f7f39
RF: remove those two additional failregexes for the postfix
...
see comment
https://github.com/fail2ban/fail2ban/pull/804\#discussion_r17512426
10 years ago