Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add copyright notices and GPL header | Nate Straz | 2008-09-23 | 1 | -0/+19 |
| | |||||
* | After doing some debugging with the fleas, it turns out we're not | Nate Straz | 2008-09-23 | 1 | -2/+2 |
| | | | | | | | waiting around long enough for the heartbeat response to come back. Since we only heartbeat when there isn't any output (in qarsh), taking up to a second won't hurt. After doing some tests I'm changing the recvfrom to recvfrom sleep to 1000 usec and retrying up to 40 times. | ||||
* | Force the cookie parts to be 32 bits to make Dean happy. | Nate Straz | 2008-09-23 | 1 | -2/+2 |
| | |||||
* | Add cookies to the heartbeat packet for added safety.v1.10-1 | Nate Straz | 2008-09-23 | 1 | -14/+46 |
| | | | | | | | | | 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 checking to see if we get responses from someone we shouldn't be. | Nate Straz | 2008-09-23 | 1 | -2/+34 |
| | |||||
* | Flatten the qarsh tree. | Nate Straz | 2008-09-23 | 1 | -0/+111 |