summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version for btime retry adjustmentv1.11-1Nate Straz2008-09-231-1/+4
|
* After doing some debugging with the fleas, it turns out we're notNate Straz2008-09-232-3/+4
| | | | | | | 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 Straz2008-09-232-3/+3
|
* Set the random seed so all qarsh processes don't generate the sameNate Straz2008-09-232-0/+3
| | | | sequence of cookies.
* Add cookies to the heartbeat packet for added safety.v1.10-1Nate Straz2008-09-234-21/+71
| | | | | | | | | 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-232-1/+8
|
* Fix a minor whitespace issueNate Straz2008-09-231-2/+2
|
* Bump version for a new buildv1.9-2Nate Straz2008-09-231-1/+4
|
* Add some checking to see if we get responses from someone we shouldn't be.Nate Straz2008-09-231-2/+34
|
* Bump the version for the latest fixesv1.9-1Nate Straz2008-09-231-1/+5
|
* rsync puts the hostname before the -l <user> arg so we need to act more likeNate Straz2008-09-231-4/+19
| | | | | | OpenSSH. After they get to the end of the args and they haven't gotten a host name yet they chew the next arg as the hostname and restart parsing the command line. Now we do too.
* Use the same size buffer for holding the send packet as the receive packet.Nate Straz2008-09-231-2/+2
|
* Add an option, -r, to get a readable boot timeNate Straz2008-09-231-7/+30
| | | | | Convert to getopt Allow multiple hosts on the command line
* Bump qarsh version for btimed bug fixv1.8-1Nate Straz2008-09-231-1/+4
|
* 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
* Doc the QARSH_TIMEOUT env varDean Jansa2008-09-231-0/+1
|
* Bump version numberv1.7-1Nate Straz2008-09-231-1/+4
|
* Make error messages more useful when there are connection issuesNate Straz2008-09-231-4/+11
|
* Add a function to get the max timeout value from a heartbeat handle.Nate Straz2008-09-232-0/+7
|
* Reorganized heartbeat state machine to be move explicit.Nate Straz2008-09-231-20/+28
| | | | Don't set last_rhost_btime until after we've checked for a reboot.
* Bump version of qarsh for btimed changesv1.6-1Nate Straz2008-09-231-1/+4
|
* Keep btimed around to hand out btime packets until no one has asked for oneNate Straz2008-09-232-10/+20
| | | | | | in 30 seconds. Fix the servce name in the btimed xinetd config file
* Add a newline to the no heartbeat messageNate Straz2008-09-231-1/+1
|
* Bump version for isatty changev1.5-1Nate Straz2008-09-231-1/+1
|
* Instead of ignoring SIGTTIN, ignore stdin if it is a tty.Nate Straz2008-09-231-7/+5
|
* Bump version, the SIGTTIN stuff is probably a bigger issue than originally ↵v1.4-1Nate Straz2008-09-231-2/+2
| | | | thought
* Add a srpm targetNate Straz2008-09-231-0/+3
|
* Quiet down the logging a bit.Nate Straz2008-09-231-1/+1
|
* Ignore the SIGTTIN signal so we don't get caught in a read(0, ...)-SIGTTINv1.3-2Nate Straz2008-09-232-1/+7
| | | | infinite loop.
* Bump the version of qarsh because we fixed some important bugsv1.3-1Nate Straz2008-09-231-2/+2
|
* Set a flag when a command finishes rather than exiting the select loop.Dean Jansa2008-09-231-3/+15
| | | | There may still be output to be read even after the command completed.
* Set close on exec flag on our sockets in connect_to_peer()Dean Jansa2008-09-231-0/+13
|
* Fix memory leak in send_packetNate Straz2008-09-231-1/+4
|
* Increase the number of connections per second allowed.Nate Straz2008-09-231-0/+1
|
* Bump versv1.2-2Dean Jansa2008-09-231-1/+4
|
* Use hbeat interface which has been pulled out into its ownDean Jansa2008-09-232-67/+22
| | | | set of files.
* Added interfaces to get/set the hbeat state.Dean Jansa2008-09-233-28/+109
|
* Add heartbeat interface lib filesDean Jansa2008-09-233-0/+155
|
* Bump the version number to make a package with Dean's latest fix.v1.2-1Nate Straz2008-09-231-1/+4
|
* Fix a bug in heartbeat(). Need to reset host state when we got some IO from ↵Dean Jansa2008-09-231-10/+11
| | | | the host, and we only want to check for timeout if we were already in HOST_QUIET
* Bump the version for new featuresv1.1-1Nate Straz2008-09-231-1/+4
|
* Rework heartbeating to run a small state machine, and change fromDean Jansa2008-09-231-30/+77
| | | | | | | | -m missed to -t timeout on the command line. New env var - QARSH_TIMEOUT can be set to change the default timeout. Command line -t overrides this env var.
* Remove Packager: since beehive is choking on thatNate Straz2008-09-231-1/+0
|
* Version the tarball according to the spec file versionNate Straz2008-09-232-3/+7
|
* Clean up printing of file xfers.Dean Jansa2008-09-231-13/+13
|
* Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh.Nate Straz2008-09-236-87/+413
|
* - Split qarshd and btimed into their own package with their xinetd files.Nate Straz2008-09-232-5/+43
| | | | - Don't link btimec and btimed against libxml2.
* - Add xinetd file for qarsh.Nate Straz2008-09-232-1/+16
| | | | - Fix paths in xinetd config files
* Merge r1727 from sistina-test branch djansa-qarshNate Straz2008-09-232-199/+26
|
* Initial pass at packagingv1.0-1Nate Straz2008-09-232-27/+59
|