--- rpms/smeserver-denyhosts/contribs9/smeserver-denyhosts-2.9-regexpatch.patch 2015/03/31 03:34:09 1.1 +++ rpms/smeserver-denyhosts/contribs9/smeserver-denyhosts-2.9-regexpatch.patch 2015/03/31 04:51:56 1.4 @@ -3,7 +3,7 @@ diff -up smeserver-denyhosts-2.9/root/et +++ smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX2 2015-03-30 23:08:03.000000000 -0400 @@ -0,0 +1,3 @@ +# default EPEL does not work for SME ( trailing $) -+#FAILED_ENTRY_REGEX2 = (?P(Illegal|Invalid)) user (?P.*) from (::ffff:)?(?P\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) ++FAILED_ENTRY_REGEX2 = (?P(Illegal|Invalid)) user (?P.*) from (::ffff:)?(?P\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) + diff -up smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX6.regexpatch smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX6 --- smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX6.regexpatch 2015-03-30 23:15:23.000000000 -0400 @@ -24,5 +24,5 @@ diff -up smeserver-denyhosts-2.9/root/et +++ smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/SUCCESSFUL_ENTRY_REGEX 2015-03-30 23:16:49.000000000 -0400 @@ -0,0 +1,3 @@ +# default EPEL does not work for SME ( trailing $) -+SUCCESSFUL_ENTRY_REGEX = Accepted (?P\S+) for (?P.*?) from (::ffff:)?(?P\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})( port \d+)?( ssh2) -+? ++SUCCESSFUL_ENTRY_REGEX = Accepted (?P\S+) for (?P.*?) from (::ffff:)?(?P\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})( port \d+)?( ssh2)? ++