[hobbit] NTP

Kevin khanrahan at charter.net
Sun Nov 12 18:27:43 CET 2006


Gentlemen,
  As always, the feedback here is outstanding. I forgot that ntp uses 
UDP and I wrote a rule using TCP! When I changed it to UDP, it all 
started working.

Thanks

kevin


Henrik Stoerner wrote:
> 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
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>   




More information about the Xymon mailing list