Re: [ntp:questions] Power-saving patch to NTP
Garrett, Garrett Wollman wrote: In article [EMAIL PROTECTED], Martin Burnicki [EMAIL PROTECTED] wrote: AFAIK ntpd has to manage the binding to interfaces at least if autokey is enabled since the signature hash also includes the IP address of the interface via which a packet is sent. At least some operating systems (don't know about Linux) allow this to be controlled using a control message. For example, from the FreeBSD 6.3 ip(4) manual page: The source address to be used for outgoing UDP datagrams on a socket that is not bound to a specific IP address can be specified as ancillary data with a type code of IP_SENDSRCADDR. The msg_control field in the msghdr structure should point to a buffer that contains a cmsghdr structure fol- lowed by the IP address. The cmsghdr fields should have the following values: cmsg_len = sizeof(struct in_addr) cmsg_level = IPPROTO_IP cmsg_type = IP_SENDSRCADDR For convenience, IP_SENDSRCADDR is defined to have the same value as IP_RECVDSTADDR, so the IP_RECVDSTADDR control message from recvmsg(2) can be used directly as a control message for sendmsg(2). The IPV6_PKTINFO message is used for analogous functions in IPv6. -GAWollman That's interesting. However, I'm neither familiar with those techniques, nor do I know whether such an approach would be useful for ntpd, especially since ntpd is targeted for multiple platforms (Frank? Danny?) Martin -- Martin Burnicki Meinberg Funkuhren Bad Pyrmont Germany ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
[ntp:questions] Synchronizing NTP in WAN and LAN
Hi All, I have a problem in synchronizing the time in LAN and WAN in our system. Only one of my system is connected to the WAN and the other systems in the LAN get their time from the NTP server running in the main system. I have two problems in this setup. 1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update timezone information?? ) 2. When ever the time zone is changed in the main system ,how to update it in the systems connected in the LAN. Forgive me if I am absurd since i am new to NTP. Regards Deepak ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
[ntp:questions] clock keeps getting behind, driftfile is 0.000
Hi list, the time on one of our servers is incorrect despite using ntpd, I also noticed that the driftfile value is 0.000 and doesn't changed. What could be the problem? Here is our conf file: restrict default kod nomodify notrap nopeer noquery restrict -6 default kod nomodify notrap nopeer noquery restrict 127.0.0.1 restrict -6 ::1 server 0.nl.pool.ntp.org server 1.nl.pool.ntp.org server 2.nl.pool.ntp.org server 3.nl.pool.ntp.org fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift keys /etc/ntp/keys logconfig =all the driftfile is writable ls -l /var/lib/ntp/drift -rw-r--r-- 1 ntp ntp 6 May 12 23:54 /var/lib/ntp/drift the os is Centos 5 ntp version ntp-4.2.2p1-7 regards, Chantal ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
Re: [ntp:questions] clock keeps getting behind, driftfile is 0.000
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes: chantal Hi list, the time on one of our servers is incorrect despite using chantal ntpd, I also noticed that the driftfile value is 0.000 and doesn't chantal changed. What could be the problem? chantal Here is our conf file: Please read http://support.ntp.org/Support/AccessRestrictions . You can use 'ntpq -p' to see if you are syncing to any machines. -- Harlan Stenn [EMAIL PROTECTED] http://ntpforum.isc.org - be a member! ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
Re: [ntp:questions] Synchronizing NTP in WAN and LAN
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Deepak Pandian) writes: Deepak 1.The timeZone is always UTC in the LAN(Isn't it NTP's job to update Deepak timezone information?? ) NTP knows nothing about timezone information. Deepak 2. When ever the time zone is changed in Deepak the main system ,how to update it in the systems connected in the Deepak LAN. That should be handled by the OS patch mechanism. -- Harlan Stenn [EMAIL PROTECTED] http://ntpforum.isc.org - be a member! ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions