Parent Directory | Revision Log | Revision Graph
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme - add support for denyhost [SME: 10939]
1 | jpp | 1.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 |