/[smeserver]/rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz10939-denyhosts.patch
ViewVC logotype

Contents of /rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz10939-denyhosts.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Dec 11 19:42:15 2020 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-openssh-2_6_0-7_el7_sme, e-smith-openssh-2_6_0-4_el7_sme, e-smith-openssh-2_6_0-6_el7_sme, e-smith-openssh-2_6_0-8_el7_sme, e-smith-openssh-2_6_0-5_el7_sme, HEAD
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
- add support for denyhost [SME: 10939]

1 diff -Nur e-smith-openssh-2.6.0.old/root/etc/e-smith/templates/etc/hosts.allow/sshd e-smith-openssh-2.6.0/root/etc/e-smith/templates/etc/hosts.allow/sshd
2 --- e-smith-openssh-2.6.0.old/root/etc/e-smith/templates/etc/hosts.allow/sshd 2003-02-28 16:07:35.000000000 -0500
3 +++ e-smith-openssh-2.6.0/root/etc/e-smith/templates/etc/hosts.allow/sshd 2020-12-11 14:39:40.142000000 -0500
4 @@ -1,3 +1,4 @@
5 {
6 - $DB->hosts_allow_spec('sshd');
7 + $OUT .= $DB->hosts_allow_spec('sshd');
8 + $OUT .= " EXCEPT /etc/hosts.deny_ssh" if ( ( -f "/etc/hosts.deny_ssh") && ($denyhosts{'status'} || 'disabled') eq "enabled" );
9 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed