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:35:33 -0500 |
commit | 2b8dfa4e57fd759cdca1b72ec78d87005d7a605e (patch) | |
tree | 32cae9694333c3ed6d42fea6fb06c44cbea5d397 /etc | |
parent | cf3189ffa97e9b29898266cb117f4ddf3c42c322 (diff) | |
download | pfsense-2b8dfa4e57fd759cdca1b72ec78d87005d7a605e.zip pfsense-2b8dfa4e57fd759cdca1b72ec78d87005d7a605e.tar.gz |
Using "limited" for ntp in this way denies client access. Issue #3384
Diffstat (limited to 'etc')
-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 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'])) |