rpms/denyhosts/FC-6 denyhosts-2.6-regex.patch, NONE, 1.1 denyhosts.spec, 1.39, 1.40

Jason Tibbitts (tibbs) fedora-extras-commits at redhat.com
Tue Apr 24 20:25:05 UTC 2007


Author: tibbs

Update of /cvs/extras/rpms/denyhosts/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31792

Modified Files:
	denyhosts.spec 
Added Files:
	denyhosts-2.6-regex.patch 
Log Message:
* Mon Apr 23 2007 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-4
- Apply fix to regex.py from Jonathan Underwood to fix bug 237449.


denyhosts-2.6-regex.patch:

--- NEW FILE denyhosts-2.6-regex.patch ---
--- DenyHosts/regex.py.orig	2007-04-23 17:22:21.000000000 +0100
+++ DenyHosts/regex.py	2007-04-23 17:24:35.000000000 +0100
@@ -21,7 +21,7 @@
 
 FAILED_ENTRY_REGEX6 = re.compile(r"""Did not receive identification string .*from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})""")
 
-FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) not allowed because not listed in AllowUsers""")
+FAILED_ENTRY_REGEX7 = re.compile(r"""User (?P<user>.*) .*from (::ffff:)?(?P<host>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) not allowed because not listed in AllowUsers""")
 
 
 # these are reserved for future versions


Index: denyhosts.spec
===================================================================
RCS file: /cvs/extras/rpms/denyhosts/FC-6/denyhosts.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- denyhosts.spec	8 Dec 2006 01:40:26 -0000	1.39
+++ denyhosts.spec	24 Apr 2007 20:24:31 -0000	1.40
@@ -1,6 +1,6 @@
 Name:           denyhosts
 Version:        2.6
-Release:	2%{?dist}
+Release:	4%{?dist}
 Summary:        A script to help thwart ssh server attacks
 
 Group:          Applications/System
@@ -16,6 +16,8 @@
 Patch0:		denyhosts-2.6-config.patch
 Patch1:		denyhosts-2.4-setup.patch
 Patch2:		denyhosts-2.2-daemon-control.patch
+# Patch10 is a security fix
+Patch10:	denyhosts-2.6-regex.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 
@@ -40,6 +42,7 @@
 %patch0 -p0 -b .config
 %patch1 -p0 -b .setup
 %patch2 -p0 -b .daemon-control
+%patch10 -p0 -b .regex
 
 cp %{SOURCE6} .
 
@@ -148,6 +151,12 @@
 
 
 %changelog
+* Mon Apr 23 2007 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-4
+- Apply fix to regex.py from Jonathan Underwood to fix bug 237449.
+
+* Fri Dec 08 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-3
+- Rebuild for new python.
+
 * Thu Dec 07 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 2.6-2
 - Update config patch.
 




More information about the scm-commits mailing list