[ntp:questions] Re: Servers just doen't work (after following the troubleshooting page)

S P Arif Sahari Wibowo arifsaha at yahoo.com
Tue Sep 27 20:07:48 UTC 2005


On Tue, 27 Sep 2005, Steve Kostecke wrote:
> I'd check again for restrict lines in your ntp.conf.

I rechecked. All "restrict" is behind '#' (commented).

> As for testing to see if the port is open ... have you tried 
> using tcpdump (e.g. 'tcpdump udp port 123') on the client to 
> see if the NTP packets are even making there?

Aha, indeed something happen on that port. Here are the output 
from client1:

[root at client1 /root]# tcpdump udp port 123
Kernel filter, protocol ALL, datagram packet socket
tcpdump: listening on all devices
15:33:34.673590 eth1 > client1.<mydomain>.ntp > ntp2.<mydomain>.ntp: v4 client strat 0 poll 6 prec -17
15:33:34.673590 eth1 < server2.<mydomain>.ntp > client1.<mydomain>.ntp: v4 server strat 3 poll 6 prec -16 (DF) [tos 0x10] 
15:34:29.672084 eth1 > client1.<mydomain>.ntp > ntp1.<mydomain>.ntp: v4 client strat 0 poll 6 prec -17
15:34:29.672084 eth1 < server1.<mydomain>.ntp > client1.<mydomain>.ntp: v4 server strat 3 poll 6 prec -17 (DF) [tos 0x10] 
15:34:40.671783 eth1 > client1.<mydomain>.ntp > ntp2.<mydomain>.ntp: v4 client strat 0 poll 6 prec -17
15:34:40.671783 eth1 < server2.<mydomain>.ntp > client1.<mydomain>.ntp: v4 server strat 3 poll 6 prec -16 (DF) [tos 0x10] 
15:35:35.670277 eth1 > client1.<mydomain>.ntp > ntp1.<mydomain>.ntp: v4 client strat 0 poll 6 prec -17
15:35:35.670277 eth1 < server1.<mydomain>.ntp > client1.<mydomain>.ntp: v4 server strat 3 poll 6 prec -17 (DF) [tos 0x10] 
15:35:45.670003 eth1 > client1.<mydomain>.ntp > ntp2.<mydomain>.ntp: v4 client strat 0 poll 6 prec -17
15:35:45.670003 eth1 < server2.<mydomain>.ntp > client1.<mydomain>.ntp: v4 server strat 3 poll 6 prec -16 (DF) [tos 0x10] 
15:36:38.668552 eth1 > client1.<mydomain>.ntp > ntp1.<mydomain>.ntp: v4 client strat 0 poll 6 prec -17
15:36:38.668552 eth1 < server1.<mydomain>.ntp > client1.<mydomain>.ntp: v4 server strat 3 poll 6 prec -17 (DF) [tos 0x10]

12 packets received by filter
[root at client1 /root]#


Obviously it will continue on if I don't stop it.

So, do the reply from server1 and server2 means something?

Thanks!

-- 
                               Stephan Paul Arif Sahari Wibowo
    _____  _____  _____  _____
   /____  /____/ /____/ /____
  _____/ /      /    / _____/       http://www.arifsaha.com/




More information about the questions mailing list