From: <abe...@us...> - 2013-05-18 16:14:12
|
Revision: 6090 http://sourceforge.net/p/astlinux/code/6090 Author: abelbeck Date: 2013-05-18 16:14:09 +0000 (Sat, 18 May 2013) Log Message: ----------- AIF, adaptive-ban plugin, add support for Asterisk 11 'Rejecting ... ACL' log. Thanks to Dominko Vrljic Modified Paths: -------------- branches/1.0/package/arnofw/adaptive-ban/95adaptive-ban.plugin.sh branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh Modified: branches/1.0/package/arnofw/adaptive-ban/95adaptive-ban.plugin.sh =================================================================== --- branches/1.0/package/arnofw/adaptive-ban/95adaptive-ban.plugin.sh 2013-05-17 23:01:48 UTC (rev 6089) +++ branches/1.0/package/arnofw/adaptive-ban/95adaptive-ban.plugin.sh 2013-05-18 16:14:09 UTC (rev 6090) @@ -2,15 +2,15 @@ # -= Arno's iptables firewall - Adaptive Ban plugin =- # PLUGIN_NAME="Adaptive Ban plugin" -PLUGIN_VERSION="1.04 BETA" +PLUGIN_VERSION="1.05" PLUGIN_CONF_FILE="adaptive-ban.conf" # -# Last changed : November 20, 2011 +# Last changed : May 5, 2013 # Requirements : AIF 2.0.0+ # Comments : Parse a log file for failed access with offending IP addresses # Ban the IP address after multiple failed attempts # -# Author : (C) Copyright 2010-2011 by Lonnie Abelbeck +# Author : (C) Copyright 2010-2013 by Lonnie Abelbeck # Homepage : http://www.astlinux.org/ # Credits : Fail2ban Project # Homepage : http://www.fail2ban.org/ Modified: branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh =================================================================== --- branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh 2013-05-17 23:01:48 UTC (rev 6089) +++ branches/1.0/package/arnofw/adaptive-ban/adaptive-ban-helper.sh 2013-05-18 16:14:09 UTC (rev 6090) @@ -168,6 +168,7 @@ -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - No matching peer found$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - Username\/auth name mismatch$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: Registration from '.*' failed for '${HOST}' - Device does not match ACL$/\1/p" \ + -e "s/^${PREFIX}NOTICE.* .*: Rejecting '${HOST}' due to a failure to pass ACL '.*'$/\1/p" \ -e "s/^${PREFIX}NOTICE.* '${HOST}' - Dialplan Noted Suspicious IP Address$/\1/p" \ -e "s/^${PREFIX}NOTICE.* ${HOST} failed to authenticate as '.*'$/\1/p" \ -e "s/^${PREFIX}NOTICE.* .*: No registration for peer '.*' \(from ${HOST}\)$/\1/p" \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |