summaryrefslogtreecommitdiffstats
path: root/btimed.c
Commit message (Collapse)AuthorAgeFilesLines
* Use time() - times() instead of reading /proc/stat.Nate Straz2008-09-231-20/+7
|
* Add copyright notices and GPL headerNate Straz2008-09-231-0/+19
|
* Add cookies to the heartbeat packet for added safety.v1.10-1Nate Straz2008-09-231-5/+18
| | | | | | | | | Two factors forced this change. 1. ports were being re-used so quickly that we could get lingering packets from past hosts when getting the btime for a new host. 2. We can't control which IP a btime response is sent from if a system has more than one interface. Adding a cookie allows us to know that a response came from whom we sent it.
* Add some more logging to try to nail the false reboot bug.Nate Straz2008-09-231-1/+5
|
* Bail out if our recvfrom fails due to alarm or error -- client side resends ↵Dean Jansa2008-09-231-0/+7
| | | | requests so no need to retry in server
* Keep btimed around to hand out btime packets until no one has asked for oneNate Straz2008-09-231-9/+19
| | | | | | in 30 seconds. Fix the servce name in the btimed xinetd config file
* Merge r1727 from sistina-test branch djansa-qarshNate Straz2008-09-231-199/+13
|
* Flatten the qarsh tree.Nate Straz2008-09-231-0/+271