Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright dates. | Nate Straz | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Reduce the amount of rounding. Since btimed doesn't go away anymore, we ↵ | Nate Straz | 2008-09-23 | 1 | -2/+2 |
| | | | | don't need to round so much. | ||||
* | Every time btimed is restarted we could get a slightly different boot time. | Nate Straz | 2008-09-23 | 1 | -7/+2 |
| | | | | | | | | qarsh is the primary user of btimed, but it only sends a btime request when it hasn't received output for 5 seconds. If output is streaming for more than 30 seconds, btimed would exit. When the output quiets down again and btimed starts up, it could get a slightly different uptime and round in the opposite direction. | ||||
* | Use time() - times() instead of reading /proc/stat. | Nate Straz | 2008-09-23 | 1 | -20/+7 |
| | |||||
* | Add copyright notices and GPL header | Nate Straz | 2008-09-23 | 1 | -0/+19 |
| | |||||
* | Add cookies to the heartbeat packet for added safety.v1.10-1 | Nate Straz | 2008-09-23 | 1 | -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 Straz | 2008-09-23 | 1 | -1/+5 |
| | |||||
* | Bail out if our recvfrom fails due to alarm or error -- client side resends ↵ | Dean Jansa | 2008-09-23 | 1 | -0/+7 |
| | | | | requests so no need to retry in server | ||||
* | Keep btimed around to hand out btime packets until no one has asked for one | Nate Straz | 2008-09-23 | 1 | -9/+19 |
| | | | | | | in 30 seconds. Fix the servce name in the btimed xinetd config file | ||||
* | Merge r1727 from sistina-test branch djansa-qarsh | Nate Straz | 2008-09-23 | 1 | -199/+13 |
| | |||||
* | Flatten the qarsh tree. | Nate Straz | 2008-09-23 | 1 | -0/+271 |