mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Using "limited" for ntp in this way denies client access. Issue #3384
This commit is contained in:
parent
be9f77941d
commit
ca79de534b
@ -1392,8 +1392,8 @@ function system_ntp_configure($start_ntpd=true) {
|
||||
$ntpcfg .= "statsdir {$statsdir}\n";
|
||||
$ntpcfg .= "logconfig =syncall +clockall\n";
|
||||
$ntpcfg .= "driftfile {$driftfile}\n";
|
||||
$ntpcfg .= "restrict default kod limited nomodify notrap nopeer\n";
|
||||
$ntpcfg .= "restrict -6 default kod limited nomodify notrap nopeer\n";
|
||||
$ntpcfg .= "restrict default kod nomodify notrap nopeer\n";
|
||||
$ntpcfg .= "restrict -6 default kod nomodify notrap nopeer\n";
|
||||
|
||||
if (empty($config['ntpd']['interface']))
|
||||
if (is_array($config['installedpackages']['openntpd']) && !empty($config['installedpackages']['openntpd']['config'][0]['interface']))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user