summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-02-03 09:34:06 -0500
committerjim-p <jimp@pfsense.org>2014-02-03 09:35:33 -0500
commit2b8dfa4e57fd759cdca1b72ec78d87005d7a605e (patch)
tree32cae9694333c3ed6d42fea6fb06c44cbea5d397
parentcf3189ffa97e9b29898266cb117f4ddf3c42c322 (diff)
downloadpfsense-2b8dfa4e57fd759cdca1b72ec78d87005d7a605e.zip
pfsense-2b8dfa4e57fd759cdca1b72ec78d87005d7a605e.tar.gz
Using "limited" for ntp in this way denies client access. Issue #3384
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 27292a9..d213aa6 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1315,8 +1315,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']))
OpenPOWER on IntegriCloud