nanog mailing list archives
Re: Question on Loosely Synchronized Router Clocks
From: "William Herrin" <herrin-nanog () dirtside com>
Date: Tue, 18 Sep 2007 14:15:52 -0400
On 9/18/07, Xin Liu <smilerliu () gmail com> wrote:
Ideally, yes, a protocol should not rely on clock synchronization at all. However, to ensure freshness of messages, we don't have many choices, and clock synchronization seems to be the least painful one.
Xin, Depending on the character of the protocol there are at least two other options for assuring freshness: 1. Sequence numbers. A higher sequence number is fresher and lowered numbered messages should be discarded if received. 2. Lifetime decrement counter (aka TTL). Each router that sees the message decrements the counter. When the counter hits zero the message is stale and gets discarded. Like Robert says, its not even fair to assume that a router has a time of day clock, let alone one that is properly syncronized with everybody else. Even where they do, there's a bootstrapping problem if you put Time of Day in the critical path: the routing has to work before NTP can sync. Regards, Bill Herrin -- William D. Herrin herrin () dirtside com bill () herrin us 3005 Crane Dr. Web: <http://bill.herrin.us/> Falls Church, VA 22042-3004
Current thread:
- Re: Question on Loosely Synchronized Router Clocks, (continued)
- Re: Question on Loosely Synchronized Router Clocks Randy Bush (Sep 17)
- Re: Question on Loosely Synchronized Router Clocks Xin Liu (Sep 17)
- Re: Question on Loosely Synchronized Router Clocks Bora Akyol (Sep 17)
- Re: Question on Loosely Synchronized Router Clocks Xin Liu (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Bora Akyol (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Xin Liu (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Bora Akyol (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Valdis . Kletnieks (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Steven M. Bellovin (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Adrian Chadd (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks William Herrin (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Stephen Sprunk (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks Jeff McAdams (Sep 19)
- Re: Question on Loosely Synchronized Router Clocks James R. Cutler (Sep 20)
- Re: Question on Loosely Synchronized Router Clocks Brandon Galbraith (Sep 20)
- Re: Question on Loosely Synchronized Router Clocks Steven M. Bellovin (Sep 20)
- RE: Question on Loosely Synchronized Router Clocks Buhrmaster, Gary (Sep 20)
- Re: Question on Loosely Synchronized Router Clocks Janet Sullivan (Sep 17)
- Re: Question on Loosely Synchronized Router Clocks Robert E. Seastrom (Sep 17)
- Re: Question on Loosely Synchronized Router Clocks Stephen Sprunk (Sep 18)
- Re: Question on Loosely Synchronized Router Clocks bmanning (Sep 19)
