--- rpms/smeserver-denyhosts/contribs9/smeserver-denyhosts-2.9-regexpatch.patch 2015/03/31 04:51:56 1.4 +++ rpms/smeserver-denyhosts/contribs9/smeserver-denyhosts-2.9-regexpatch.patch 2015/03/31 13:39:22 1.5 @@ -3,14 +3,14 @@ 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 +++ smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX6 2015-03-30 23:15:39.000000000 -0400 @@ -0,0 +1,3 @@ +# default EPEL does not work for SME ( trailing $) -+FAILED_ENTRY_REGEX6 = Did not receive identification string .*from (::ffff:)?(?P\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) ++FAILED_ENTRY_REGEX6 = Did not receive identification string .*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_REGEX7.regexpatch smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX7 --- smeserver-denyhosts-2.9/root/etc/e-smith/templates/etc/denyhosts.conf/FAILED_ENTRY_REGEX7.regexpatch 2015-03-30 23:15:47.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)? +