otto
24fa8ea878
Only invalidate stored replies if an adjustment was really made.
ok henning@
18 years ago
deraadt
225de384d9
do chio.conf install from right place
18 years ago
mcbride
7da8bee8e8
Add sasyncd to rc / rc.conf.
ok deraadt@ cloder@
18 years ago
henning
9be86cfc22
just ise "HARD" as refid with sensors for v3 clients
18 years ago
henning
216ee11434
incredibly stupid typo
18 years ago
mcbride
39ccdf1ead
Carp demotion interlock. Prevents carp from preempting until the system is
booted, allowing for daemons to sync with peers before we take over.
ok deraadt@ mpf@ moritz@
18 years ago
david
b48bef217a
crank the OpenBSD version to 3.9; ok deraadt@
Opera on OpenBSD verified by sturm@
18 years ago
david
67a990cd93
fix location of dvmrpd.conf; ok norby@
18 years ago
norby
9e2d74d6a2
Hook dhcrelay(8) into the startup process.
ok henning@
18 years ago
norby
7f4589e266
add all the goo to hook dvmrp into the system
ok derradt@
18 years ago
norby
faaa8a7a3f
add a sample dvmrpd.conf
ok deraadt@
18 years ago
otto
fc47aa1fcc
even though the bounds are long long having an upper bound of
ULONG_MAX does not work; the max upper bound is LONG_MAX,
since LONG_MAX == LLONG_MAX on 64bit archs. ok deraadt@ henning@
18 years ago
otto
5ca49f4a5e
When expanding servers, do not forget to copy weight. ok henning@
18 years ago
henning
1110d359db
urgs, other stuff snuck in
18 years ago
henning
5a53deb317
do not use /dev/hotplug for now, only one reader supported yet
18 years ago
henning
baf806507d
put back regular sensors scanning
18 years ago
henning
eea91760ae
only actually run sensor_query when it is due, not every time poll returns
18 years ago
deraadt
cdd179ea4b
asf/ipmi balony at udp 623; sthen@bootes.spacehopper.org
18 years ago
ckuethe
9325c20f99
When ntpd backs off polling due to a negative delay, tell the user how long
it will wait until the next poll.
ok henning@
18 years ago
jmc
0d1cb4cfe1
better wording for the "weight" section;
18 years ago
jmc
146a76e0cb
document the optional "weight" keyword, and a little cleanup;
from henning and myself
18 years ago
avsm
159a0297e1
revert vfs.nfs.privport sysctl, broke a few architectures
requested by deraadt@
18 years ago
henning
d4fd11008a
when we cannot open /dev/hotplug, donn't bail, just work without
with ckuethe
18 years ago
avsm
a1ea8f4c10
Add support for NFS mounts to be from non-reserved ports:
- new sysctl vfs.nfs.privport to require NFS mount requests to be on
reserved ports when set to 1 (the default).
- mountd now automatically sets the sysctl depending on the -n flag.
- add mountd_flags to rc.conf to enable the -n flag at boot.
deraadt@ ok
18 years ago
henning
52daf64bf5
allow for weight to be added to sensors or servers, so that one can
weight timedelta sensors higher than ntp peers, for example
ok deraadt mbalmer
18 years ago
henning
24755fb155
get clock src id from the timedelta sensor desc.
unfortunately I still don't have any hardware to test this ;(
18 years ago
henning
60325542b8
if sysctl gives ENOENT the sensor is gone and we remove it
18 years ago
henning
b2a25c5f18
let sensor_query handle removals itself
18 years ago
henning
1314afba48
sensor_byid not needed any more
18 years ago
henning
18724bbfff
hotplug devid will go away in a minute, so don't use it here any longer
18 years ago
henning
494460017f
do not bother with rmeoval events, we remove sensors whoch vanished or
are not a timedelta sensor any more on query on the fly anyway
18 years ago
jmc
405e658006
small grammar improvement;
18 years ago
henning
d5fece7cde
DV_SENSORS is no more, plug workaround for the time to the real solution
18 years ago
henning
790a2f0010
make use of the new hotplug events for sensors showing up or vanishing
18 years ago
henning
54fb320578
add sensor_byid(), return sensor by its id
18 years ago
henning
d3875817fc
stop passing the config around all time, just store one copy
18 years ago
henning
66277ecc3d
factor out sensor_probe from sensor_scan so we can probe a sensors when
we know its idea without scanning all again
18 years ago
henning
1c3c1ca642
make ntpd listen on the hotplug socket and decode yadda yadda, because
new sensors showing up will be announced that way when slacking ml comes
back from food
18 years ago
henning
c24767cca2
scan for new timedelta sensors every five minutes for now, ok deraadt
18 years ago
henning
9bb919c475
ntpd does timedelta sensors now too
18 years ago
henning
fe9a290e7a
document timedelat sensors. ok deraadt
18 years ago
henning
f687c4f193
config file bits for timedelta sensors, so one can specify which devices
to use. "sensors *" just uses all. untested due to lack of hardware.
hacked on the road somewhere between vancouver and calgary
18 years ago
deraadt
1036a9d27a
\<char> is <char> except for \<newline> -- no exceptions. much like how
other things work. ok henning
18 years ago
henning
21382f5e23
add support for timedelta sensors, which pretty much means udcf(4) right
now. untested due to lack of hardware, and it wouldn't have worked in the
plane anyways. work in progress, currently picks up and uses all sensors
it finds, config file bits to be added soon. theo fine with this going in
18 years ago
henning
1d2ad6e90a
more bits from transatlanic flight:
make priv_adjtime() deal with offsets, not peers.
18 years ago
henning
309a243757
figure out the refid to send to NTP v3 clients early and store it
first bits from a way to long flight
18 years ago
henning
926119b732
make listen on example idiot proof
suggested by "Karsten W. Rohrbach" <karsten@rohrbach.de>
18 years ago
thib
c7485b1da9
fix a !foo & bar.
ok miod@, tedu@, pedro@
18 years ago
henning
a139e32a41
PFD_MAX betterer than harcoded 1
18 years ago
otto
6fdf04a27b
Fix the second malloc_ulimit regression: maintaining the free list
requires memory; try to make sure we have it. If all fails, leak
instead of crash. Test case originally found by cloder@, fix tested
by many.
18 years ago