diff options
author | jim-p <jimp@pfsense.org> | 2014-02-03 09:34:06 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-02-03 09:34:06 -0500 |
commit | ca79de534b45c064d760dc8d04317b57b3ca730a (patch) | |
tree | dcf4167e2e5dfbb27a9d4f623c5532d7dfcd93be /etc/inc/system.inc | |
parent | be9f77941d1da304eca02934bcbc001f513f349e (diff) | |
download | pfsense-ca79de534b45c064d760dc8d04317b57b3ca730a.zip pfsense-ca79de534b45c064d760dc8d04317b57b3ca730a.tar.gz |
Using "limited" for ntp in this way denies client access. Issue #3384
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 80cb89c..edd8463 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -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'])) |