Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up compiler warning on psbuf | Nathan Straz | 2013-09-19 | 1 | -2/+2 |
| | |||||
* | Check all returns from send_packet in qarsh | Nathan Straz | 2013-09-17 | 1 | -8/+41 |
| | |||||
* | Add a loop around getting the packet size | Nathan Straz | 2013-09-17 | 1 | -10/+11 |
| | | | | Believe it or not, we can get short reads here. | ||||
* | Don't block writing to child's stdin | Nathan Straz | 2013-09-17 | 1 | -2/+2 |
| | |||||
* | Don't free basename pointer, it wasn't malloc'd | Nathan Straz | 2013-09-17 | 1 | -1/+0 |
| | |||||
* | Say something if we can't write to stdout | Nathan Straz | 2013-09-17 | 1 | -0/+2 |
| | |||||
* | Remove host from hbeat struct | Nathan Straz | 2013-09-17 | 1 | -2/+0 |
| | | | | | Since we keep a socket open we don't need this anymore and freeing it causes problems. | ||||
* | Remove unused utility functions | Nathan Straz | 2013-09-17 | 2 | -104/+0 |
| | |||||
* | Increase buffer and packet sizes | Nathan Straz | 2013-09-16 | 4 | -7/+7 |
| | | | | | | | | | This coordinates the buffer sizes with the max packet size. qarshd and qarsh will probably break if this value does not match between client and server builds. Also increase the value to reduce overhead. A max packet size of 16k only yields 40MB/s. Increase that to 128k and we can do 500MB/s. | ||||
* | Only check if stdin is a tty once | Nathan Straz | 2013-09-16 | 1 | -1/+2 |
| | |||||
* | Split btime into two parts | Nathan Straz | 2013-09-11 | 3 | -98/+74 |
| | | | | | | | We don't need to lookup the addresses every time we get btime. Do it once during hbeat_init and reuse the socket in hbeat. This cleans up the qarsh strace so the hbeat is only a send and recv. | ||||
* | Don't need to copy this string | Nathan Straz | 2013-09-11 | 1 | -1/+1 |
| | |||||
* | Fix up stdin handling | Nathan Straz | 2013-09-11 | 2 | -24/+45 |
| | |||||
* | Close both ends of the pipes so we don't leak file descriptors | Nathan Straz | 2013-09-11 | 1 | -0/+3 |
| | |||||
* | Don't bother freeing remuser before we exit | Nathan Straz | 2013-09-11 | 1 | -1/+0 |
| | | | | | | | If the user is specified as part of the host, we don't need to free it and if it was a separate option, it will get freed when the process ends | ||||
* | We shouldn't need to round the boot time anymore | Nathan Straz | 2013-09-11 | 1 | -1/+0 |
| | |||||
* | Remove unused define | Nathan Straz | 2013-09-11 | 1 | -1/+0 |
| | |||||
* | Clean up memory leaks and uninitialized variables in qarshd | Nathan Straz | 2013-09-11 | 1 | -0/+5 |
| | |||||
* | More memory allocation cleanup in qacp | Nathan Straz | 2013-09-11 | 1 | -65/+62 |
| | | | | | | Net removal of 12 strdup calls rstat is properly freed Don't need to strdup for basename, the original is not modified | ||||
* | Only log debug entries if the debug flag is set. | Nathan Straz | 2013-09-11 | 1 | -2/+2 |
| | |||||
* | Clean up memory leaks on send | Nathan Straz | 2013-09-11 | 1 | -9/+5 |
| | |||||
* | Remove complicated remote file descriptor code | Nathan Straz | 2013-09-11 | 5 | -47/+37 |
| | | | | | | | | Only handle one file transfer at a time so we don't need an array to track multiple transfers or know the remote's fd number. Loop in recv_packet until we read a whole packet. | ||||
* | Get commands running over one socket | Nathan Straz | 2013-09-11 | 4 | -196/+355 |
| | | | | Added a new packet to limit data sent from the other side. | ||||
* | Clean up unused variable warning | Nathan Straz | 2013-09-11 | 1 | -3/+0 |
| | |||||
* | Add option to pause at startup | Nathan Straz | 2013-09-11 | 1 | -5/+10 |
| | | | | | | This allows us to attach gdb before anything interesting happens. Use the command 'signal 14' to get the process running again. | ||||
* | Get qacp remote to local working | Nathan Straz | 2013-09-11 | 2 | -53/+54 |
| | |||||
* | Get qacp local to remote working on main socket | Nathan Straz | 2013-09-11 | 5 | -205/+170 |
| | | | | | | | | | | I removed the buffering layer from recv_packet because it made the logic too complex around the pselect in qarshd. Now only read as much as needed to get each packet. qarshd adds an array for remote file descriptors which is only a stub for now. This needs to be expanded to allow multiple file transfers at the same time for runcmd. | ||||
* | Move packet sequence numbering to send_packet | Nathan Straz | 2013-09-11 | 3 | -9/+4 |
| | |||||
* | Add new data packet type | Nathan Straz | 2013-09-11 | 2 | -1/+98 |
| | |||||
* | Send all server side error messages to stderr | Nathan Straz | 2013-09-11 | 3 | -28/+28 |
| | | | | This should get sent to the journal or syslog | ||||
* | Remove last bits of XML dependencies | Nathan Straz | 2013-09-11 | 3 | -21/+10 |
| | |||||
* | Convert packet parsing | Nathan Straz | 2013-09-11 | 3 | -198/+120 |
| | |||||
* | Rewrite qptostr to store binary bits into an existing buffer | Nathan Straz | 2013-09-11 | 3 | -137/+122 |
| | |||||
* | Start by adding a packet size to the existing protocol | Nathan Straz | 2013-09-11 | 2 | -10/+64 |
| | |||||
* | Move to a new port for the new protocol | Nathan Straz | 2013-09-11 | 7 | -7/+7 |
| | | | | I don't see any way to coexist with the old "protocol" | ||||
* | Catch errors in both make commands | Nathan Straz | 2013-08-27 | 1 | -17/+63 |
| | | | | | Fix more errors as they are found. Takes longer to rebuild the policy, but we can start with no bad interfaces. | ||||
* | Rebuild policy in a temp directory | Nathan Straz | 2013-08-27 | 1 | -4/+16 |
| | | | | | Avoid hitting an AVC from rebuilding in the doc directory. The logs are saved if we find more bad interfaces. | ||||
* | Allow us to transition from init_t to qarshd_t | Nathan Straz | 2013-05-21 | 1 | -0/+1 |
| | |||||
* | Keep SIGPIPE working as expected | Nathan Straz | 2013-05-21 | 1 | -0/+1 |
| | | | | | It turns out the systemd maintainers thought it would be good to ignore SIGPIPE by default. I don't agree. | ||||
* | Convert to systemd socket activated services | Nathan Straz | 2013-05-14 | 8 | -41/+54 |
| | | | | | qarshd and btimed will now start directly from systemd xinetd is no longer needed | ||||
* | Fill in sequence numbers with a real sequence | Nathan Straz | 2012-12-18 | 2 | -5/+9 |
| | |||||
* | Bump version for sigprocmask fixv1.28-1 | Nathan Straz | 2012-07-19 | 1 | -1/+5 |
| | |||||
* | Restore original sigmask before exec'ing child | Nathan Straz | 2012-07-19 | 1 | -1/+3 |
| | |||||
* | The selinux Makefile is needed to build the policy | Nathan Straz | 2012-07-18 | 1 | -0/+1 |
| | |||||
* | Bump selinux policy versionv1.27-1 | Nathan Straz | 2012-06-27 | 1 | -1/+1 |
| | |||||
* | Bump version for next release and update changelog | Nathan Straz | 2012-06-27 | 1 | -2/+10 |
| | |||||
* | Depend on policy.xml directly | Nathan Straz | 2012-06-27 | 1 | -1/+1 |
| | |||||
* | Update selinux policy for Fedora 17 | Nathan Straz | 2012-06-27 | 1 | -9/+21 |
| | |||||
* | Add script to detect and work around some selinux policy issues | Nathan Straz | 2012-06-27 | 2 | -1/+36 |
| | |||||
* | Spotted a missing free | Nathan Straz | 2012-04-19 | 1 | -0/+1 |
| |