-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #569 from grooverdan/master_to_0.9
MRG: Master to 0.9
- Loading branch information
Showing
18 changed files
with
320 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Fail2Ban configuration file | ||
# | ||
# Enable "log-auth-failures" on each Sofia profile to monitor | ||
# <param name="log-auth-failures" value="true"/> | ||
# -- this requires a high enough loglevel on your logs to save these messages. | ||
# | ||
# In the fail2ban jail.local file for this filter set ignoreip to the internal | ||
# IP addresses on your LAN. | ||
# | ||
|
||
[Definition] | ||
|
||
failregex = ^\.\d+ \[WARNING\] sofia_reg\.c:\d+ SIP auth (failure|challenge) \((REGISTER|INVITE)\) on sofia profile \'[^']+\' for \[.*\] from ip <HOST>$ | ||
^\.\d+ \[WARNING\] sofia_reg\.c:\d+ Can't find user \[\d+@\d+\.\d+\.\d+\.\d+\] from <HOST>$ | ||
|
||
ignoreregex = | ||
|
||
# Author: Rupa SChomaker, soapee01, Daniel Black | ||
# http://wiki.freeswitch.org/wiki/Fail2ban | ||
# Thanks to Jim on mailing list of samples and guidance | ||
# | ||
# No need to match the following. Its a duplicate of the SIP auth regex. | ||
# ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP <HOST> Rejected by acl "\S+"\. Falling back to Digest auth\.$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Fail2Ban filter for Group-Office | ||
# | ||
# Enable logging with: | ||
# $config['info_log']='/home/groupoffice/log/info.log'; | ||
# | ||
|
||
[Definition] | ||
|
||
failregex = ^\[\]LOGIN FAILED for user: "\S+" from IP: <HOST>$ | ||
|
||
|
||
|
||
# Author: Daniel Black | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.