History log of /openbsd-current/usr.sbin/ntpd/ntp_msg.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.22 03-Sep-2016 reyk

Remove the oh so funny "LOSS OF MIND" from the diclaimer that was not
part of the original ISC license that we use in OpenBSD. Done for
files were Henning is the original author.

OK henning@ deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.21 10-Feb-2015 bcook

use correct formatters for s/size_t data types.

ok deraadt@


# 1.20 09-Jan-2015 deraadt

remove excessive/wrong use of sys/param.h
peanuts -- but all work has to start somewhere.


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.19 30-Apr-2013 mglocker

Remove unused function argument variables 'len' and 'auth' from
ntp_sendmsg(). They have been removed from the function body in the past
but not from the argument list.

From Maxime Villard


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 19-Oct-2007 otto

don't fill the logs; spotted by deraadt@ ok henning@


Revision tags: OPENBSD_4_2_BASE
# 1.17 26-May-2007 henning

use __packed structs for the on-the-wire packets and just memcpy at once
instead of kind-of manual copyin/out. increases accuracy in server mode.
collecting dust in my tree for some time, result of a conversation with
somebody i really want to give credit to, but I can't find the mails now :(
okey dokey sez theo


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.16 01-Jul-2006 otto

remove some unneeded includes; one found by vetinari


Revision tags: OPENBSD_3_9_BASE
# 1.15 24-Sep-2005 dtucker

Log source address for 'malformed packet' errors. ok henning@


Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
# 1.14 14-Dec-2004 dtucker

sendto() takes socklen_t as an argument; ok henning@


# 1.13 08-Dec-2004 mickey

use two tiny macros for copying fields out to simplify reading; henning@ ok


# 1.12 08-Dec-2004 mickey

uniquely name members of s_fixedpt and l_fixedpt; henning@ ok


# 1.11 22-Oct-2004 henning

oups


# 1.10 22-Oct-2004 henning

in server mode reply with stratum from the peer that we currently prefer
plus one


# 1.9 13-Oct-2004 henning

in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCs
and such


# 1.8 13-Oct-2004 henning

fall cleaning


# 1.7 24-Sep-2004 henning

connect() the client-side sockets. idea & test & ok camield@


Revision tags: OPENBSD_3_6_BASE
# 1.6 30-Aug-2004 deraadt

ENOBUFS, EHOSTUNREACH, ENETDOWN and EHOSTDOWN are bad reasons to log; ok otto henning


# 1.5 10-Aug-2004 henning

wrong sizeof; Brian Poole <raj@cerias.purdue.edu>


# 1.4 11-Jul-2004 dtucker

Use SA_LEN(sa) instead of sa->sa_len; ok henning@


# 1.3 09-Jul-2004 henning

don't panic when sendto() fails; for the client part just re-schedule
noticed & fix tested by fries@


# 1.2 07-Jul-2004 alexander

* Convert to use the new double-based time handling functions.
* Respond to the query with a reasonable received time (which
will help clients get better accuracy).
* Consolidate the server response code in preparation for a
completely 'proper' response to the client.

tips and ok from henning@


# 1.1 02-Jun-2004 henning

prepare for client functionality