Xymon Mailing List Archive search

NTP

list Henrik Størner
Sun, 12 Nov 2006 17:54:05 +0100
Message-Id: <user-4336c6a304df@xymon.invalid>

On Sun, Nov 12, 2006 at 10:50:01AM -0600, Dan Vande More wrote:
26628 in this case is the pid. ntp always has an destination port of 123 so
you can write your iptables rule with that.
Two other things to remember:

1) ntp uses UDP, not tcp. So your iptables rule should be something like
    iptables -A INPUT -p udp --destination-port 123 -s ip.of.hobbit.server -j ACCEPT

2) The ntp.conf on the host you want to check must be setup to allow
   queries by the Hobbit server.


Regards,
Henrik