[Bug 797351] New: ntpd "listen-on" directive support is missing/broken; unable to restrict/secure listening IPs
https://bugzilla.novell.com/show_bug.cgi?id=797351 https://bugzilla.novell.com/show_bug.cgi?id=797351#c0 Summary: ntpd "listen-on" directive support is missing/broken; unable to restrict/secure listening IPs Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: darx@sent.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 I'm running uname -a Linux edge100 3.4.11-2.16-default #1 SMP Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux lsb_release -a LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch Distributor ID: SUSE LINUX Description: openSUSE 12.2 (x86_64) Release: 12.2 Codename: Mantis I installed rpm -qa | grep -i ^ntp ntp-4.2.6p5-3.10.1.x86_64 ntpd --version ntpd 4.2.6p5 ntpd 4.2.6p5@1.2349-o Wed Sep 19 09:31:13 UTC 2012 (1) I read @ http://ntp.org/ "Stable: 4.2.6p5 2011/12/24" @ https://support.ntp.org/bin/view/Dev/ListenOn#Syntax "Description The listen-on directive specifies which addresses or interfaces to use to accept queries instead of all interfaces and addresses. ... Syntax The syntax of the configuration option is as follows: listen-on address|interface|keyword [ accept|drop|ignore ] [prefixlen nn] " I configure nl /etc/ntp.conf | grep listen 10 listen-on 192.168.1.100 On service (re)start systemctl restart ntp.service I get an error tail -n 100 /var/log/messages | grep -i error Jan 8 10:56:36 edge100 ntpd[21020]: line 10 column 1 syntax error, unexpected T_String, expecting $end Jan 8 10:56:36 edge100 ntpd[21020]: syntax error in /etc/ntp.conf line 10, column 1 Checking locate /ntp | grep -i "man/man./ntpd\\." /usr/share/man/man1/ntpd.1.gz rpm -q --whatprovides `locate /ntp | grep -i "man/man./ntpd\\."` ntp-4.2.6p5-3.10.1.x86_64 man -w ntpd /usr/share/man/man1/ntpd.1.gz There's not even a mention of 'listen-on' in the man pages zcat /usr/share/man/man1/ntpd*gz | grep -i listen Listen to virtual IPs. listening to broadcasts at run time. Enables the server to listen for a message from a broadcast or and, the man page is from an older version, zcat /usr/share/man/man1/ntpd*gz | grep -i "ntp 4" | grep "ntpd 1" .TH ntpd 1 "" "ntp 4.1.1b-r5" Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: listen-on directive is supported & works -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c
daryl x
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c1
--- Comment #1 from daryl x
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c2
Peter Varkoly
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c3
daryl x
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c4
--- Comment #4 from daryl x
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=797351
https://bugzilla.novell.com/show_bug.cgi?id=797351#c6
Peter Varkoly
participants (1)
-
bugzilla_noreply@novell.com