From 2b8dfa4e57fd759cdca1b72ec78d87005d7a605e Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 3 Feb 2014 09:34:06 -0500 Subject: Using "limited" for ntp in this way denies client access. Issue #3384 --- etc/inc/system.inc | 4 ++-- 1 file 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'])) -- cgit v1.1