Htpdate
-------

The HTTP Time Protocol (HTP) is used to synchronize a computer's time
with web servers as reference time source. Htpdate will synchronize your
computer's time by extracting timestamps from HTTP headers found
in web server responses. Htpdate can be used as a daemon, to keep your
computer synchronized.
The accuracy of htpdate is at least -+0.5 seconds (better with multiple
servers). If this is not good enough for you, try the ntpd package.

Install the htpdate package if you need tools for keeping your system's
time synchronized via the HTP protocol. Htpdate works also through
proxy servers.


Installation from source
------------------------

Tested on Linux and FreeBSD only, but should work for most Unix flavors.

	$ tar zxvf htpdate-X.tar.gz
		or
	$ tar jxvf htpdate-X.tar.bz2
	$ cd htpdate-X
	$ make
	$ make install

A sample init script in /etc/init.d/ is included, but not installed
automaticcaly.
This give the user the option to run htpdate as daemon or run it
periodically from cron. 

Installation from RPM
---------------------

The easiest way to install (Redhat, SuSE, Mandriva etc..)

	$ rpm -i htpdate-X.i386.rpm
		or when upgrading
	$ rpm -Uvh htpdate-X.i386.rpm

The RPM version does install a sample init script in /etc/init.d/,
but doesn't create the symlink to start it automatic at boot time.
This give the user the option to run htpdate as daemon or run it
periodically from cron. 


Usage
-----
Usage: htpdate [-0|-1] [-a|-q|-s] [-d|-D] [-h|-l] [-i pid file] [-m minpoll]
        [-M maxpoll] [-P <proxyserver>[:port]] <host[:port]> ...

In general more web servers (multiple the same is allowed) will increase
accuracy.

See manpage for more details.


To do
-----

- IPv6 support (?)
- adjtimex support (?)
- I'm open for suggestions :)


Eddy Vervest <eddy@clevervest.com>
