Bug 1191108

Summary: ntpd should warn when monitoring facility can't be disabled due to restrict configuration
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Lichvar <mlichvar>
Component: ntpAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: jprokes, jscotka, ovasik, psklenar, qe-baseos-daemons
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ntp-4.2.6p5-20.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1166596 Environment:
Last Closed: 2015-11-19 08:37:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Lichvar 2015-02-10 13:28:19 UTC
+++ This bug was initially created as a clone of Bug #1166596 +++

Description of problem:
When ntpd is configured with a restrict directive using the limited option, disabling the monitoring facility with "disable monitor" will have no effect.
ntpd should print a warning to syslog when that happens to avoid unknowingly allowing the monlist amplification attack (CVE-2013-5211).

Version-Release number of selected component (if applicable):
4.2.6p5-1.el6

How reproducible:
always

Steps to Reproduce:
1. add "limited" to the default restrict lines in /etc/ntp.conf
2. add "disable monitor" to /etc/ntp.conf
3. start ntpd

Actual results:
no warning in syslog, that monitor couldn't be disabled

Expected results:
warning in syslog

Additional info:

Comment 5 errata-xmlrpc 2015-11-19 08:37:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-2231.html