sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Elisamuel Resto (19b00238ef53e54edac1e60a47687f5b83fb5999)
- From: Elisamuel Resto <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (19b00238ef53e54edac1e60a47687f5b83fb5999)
- Date: Mon, 30 Jul 2007 20:28:19 -0500
GIT changes to master grimoire by Elisamuel Resto <ryuji AT mages.ath.cx>:
net/fail2ban/DETAILS | 4 ++--
net/fail2ban/HISTORY | 5 +++++
net/fail2ban/PRE_BUILD | 3 +++
net/fail2ban/fail2ban-sshinjection.patch | 18 ++++++++++++++++++
4 files changed, 28 insertions(+), 2 deletions(-)
New commits:
commit 90c8cab63916986dd669c05e3bd0716e87b8ab3e
Author: Elisamuel Resto <ryuji AT mages.ath.cx>
Commit: Elisamuel Resto <ryuji AT mages.ath.cx>
net/fail2ban: version bump to 0.8.0, add patch for injection of arbitrary
hosts via ssh rules
diff --git a/net/fail2ban/DETAILS b/net/fail2ban/DETAILS
index 6e9c604..0739852 100755
--- a/net/fail2ban/DETAILS
+++ b/net/fail2ban/DETAILS
@@ -1,11 +1,11 @@
SPELL=fail2ban
- VERSION=0.7.7
+ VERSION=0.8.0
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
WEB_SITE=http://fail2ban.sourceforge.net/
ENTERED=20060403
-
SOURCE_HASH=sha512:7a932b229f1dc8ee0f55c1915fef2b69deaca1a718f483465872d1e5a377bf9645a88a6a669adba48b154adb282fef68dc8412a4828fd66960121a148b998c87
+
SOURCE_HASH=sha512:250d67851bad357859765f72851e2eb0f24ff08e981e2ca81bf42ba5566e4db42c08e8ff404145a0c69262838d5938bd31282d0ead020ff235c4d790c4cbd89d
LICENSE[0]=GPL
SHORT="Bans IP that makes too many password failures"
cat << EOF
diff --git a/net/fail2ban/HISTORY b/net/fail2ban/HISTORY
index 3123a44..d15d26e 100644
--- a/net/fail2ban/HISTORY
+++ b/net/fail2ban/HISTORY
@@ -1,3 +1,8 @@
+2007-07-30 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * DETAILS: version bump to 0.8.0
+ * PRE_BUILD: apply upstream-recomended patch (injection of hosts via
SSH rules)
+ * fail2ban-sshinjection.patch: the patch (edited by myself, filepaths)
+
2007-02-19 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* init.d: fix program name and add more options
* INSTALL: simplify
diff --git a/net/fail2ban/PRE_BUILD b/net/fail2ban/PRE_BUILD
new file mode 100755
index 0000000..58ccf6c
--- /dev/null
+++ b/net/fail2ban/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p0 < $SPELL_DIRECTORY/fail2ban-sshinjection.patch
diff --git a/net/fail2ban/fail2ban-sshinjection.patch
b/net/fail2ban/fail2ban-sshinjection.patch
new file mode 100644
index 0000000..1a5ccb6
--- /dev/null
+++ b/net/fail2ban/fail2ban-sshinjection.patch
@@ -0,0 +1,18 @@
+--- config/filter.d/sshd.conf 2007-06-05 22:00:24.000000000 +0200
++++ config/filter.d/sshd.conf 2007-06-05 22:00:41.000000000 +0200
+@@ -14,10 +14,10 @@
+ # (?:::f{4,6}:)?(?P<host>\S+)
+ # Values: TEXT
+ #
+-failregex = Authentication failure for .* from <HOST>
+- Failed [-/\w]+ for .* from <HOST>
+- ROOT LOGIN REFUSED .* FROM <HOST>
+- [iI](?:llegal|nvalid) user .* from <HOST>
++failregex = Authentication failure for .* from <HOST>$
++ Failed [-/\w]+ for .* from <HOST>$
++ ROOT LOGIN REFUSED .* FROM <HOST>$
++ [iI](?:llegal|nvalid) user .* from <HOST>$
+
+ # Option: ignoreregex
+ # Notes.: regex to ignore. If this regex matches, the line is ignored.
+
- [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (19b00238ef53e54edac1e60a47687f5b83fb5999), Elisamuel Resto, 07/30/2007
Archive powered by MHonArc 2.6.24.