Projects / HTTP Time Protocol

HTTP Time Protocol

HTTP Time Protocol is a time synchronization tool that uses Web server responses (HTTP headers) instead of the NTP protocol. If you are behind a corporate firewall, NAT device, or proxy server, HTP will still be able to synchronize the time. For high precision time synchronization, use ntpd.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  05 Feb 2014 12:31

    Release Notes: This release removes Debian and RPM installation information and fixes manpages.

    •  20 Sep 2013 09:16

      Release Notes: This release fixes part of the incorrect bugfix in 1.0.6.

      •  19 Sep 2013 18:18

        Release Notes: This release fixes an out-of-bound issue.

        •  28 Mar 2013 18:57

          Release Notes: This release adds fixes for the Debian build.

          •  13 Oct 2008 21:08

            Release Notes: A memory issue has been fixed.

            Recent comments

            11 Jan 2005 12:23 rkeene

            Re: Nice idea!


            > But using this snippet works fine, too

            > ;-)

            >

            > date -s "`lynx -dump -head

            > http://www.kernel.org |grep 'Date:'|awk

            > -F': ' '{print $2}'`"

            HTP (atleast the C version) does basic statistical analysis to use multiple sources to create a more accurate time.

            08 Nov 2004 09:15 evervest

            Re: Nice idea!

            > I suppose if you ran that every minute
            > you may not have any jumps, but the
            > feature of smooth adjustment is good for
            > less frequent polling.


            The C version of htpd is doing smooth adjustments (since version 0.3.4) in stead of time steps, simular to ntpd.

            07 Nov 2004 21:16 jrexilius

            Re: Nice idea!


            > But using this snippet works fine, too

            > ;-)

            >

            > date -s "`lynx -dump -head

            > http://www.kernel.org |grep 'Date:'|awk

            > -F': ' '{print $2}'`"

            I suppose if you ran that every minute you may not have any jumps, but the feature of smooth adjustment is good for less frequent polling.

            Although, wouldn't an HTTP extension to the rdate code be effective?

            27 Aug 2004 15:28 evervest

            Re: Nice idea!
            date -s "`lynx -dump -head http://www.kernel.org|awk -F': ' '/Date: / {print $2}'`"
            to make it even shorter

            27 Aug 2004 13:13 evervest

            Re: Nice idea!
            Agreed, but you don't do boundary checking and your version is less friendly for non-programmers.

            You are more than welcome to write a slick version in C.

            It's the idea that counts :)

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.