Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove offset from data packet | Nathan Straz | 2013-10-02 | 1 | -6/+3 |
| | | | | | We really don't need this field since we always copy data sequentially. | ||||
* | Change ack type to uint8 like it is in the packet header | Nathan Straz | 2013-09-20 | 1 | -2/+2 |
| | |||||
* | Add reasonable log priorities | Nathan Straz | 2013-09-19 | 1 | -23/+24 |
| | |||||
* | Reduce size of some fields sent on the wire | Nathan Straz | 2013-09-19 | 1 | -6/+28 |
| | | | | | We don't need 32bits for packet type or remote fd. Keeping the field small also helps with reading traces. | ||||
* | Creat a thin logging layer | Nathan Straz | 2013-09-19 | 1 | -22/+25 |
| | | | | | | | When qarshd is run via xinetd, stderr still goes out the socket and messages from sockutil.c or qarsh_packet.c can interfere with the protocol. Create a thin wrapper which qacp and qarsh can send to stderr and qarshd can send to syslog. | ||||
* | Remove complicated remote file descriptor code | Nathan Straz | 2013-09-11 | 1 | -6/+3 |
| | | | | | | | | 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 | 1 | -10/+47 |
| | | | | Added a new packet to limit data sent from the other side. | ||||
* | Get qacp local to remote working on main socket | Nathan Straz | 2013-09-11 | 1 | -31/+28 |
| | | | | | | | | | | 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. | ||||
* | Add new data packet type | Nathan Straz | 2013-09-11 | 1 | -0/+86 |
| | |||||
* | Send all server side error messages to stderr | Nathan Straz | 2013-09-11 | 1 | -27/+26 |
| | | | | This should get sent to the journal or syslog | ||||
* | Remove last bits of XML dependencies | Nathan Straz | 2013-09-11 | 1 | -18/+8 |
| | |||||
* | Convert packet parsing | Nathan Straz | 2013-09-11 | 1 | -196/+118 |
| | |||||
* | Rewrite qptostr to store binary bits into an existing buffer | Nathan Straz | 2013-09-11 | 1 | -125/+110 |
| | |||||
* | Start by adding a packet size to the existing protocol | Nathan Straz | 2013-09-11 | 1 | -1/+10 |
| | |||||
* | Fix Copyright lines. vi sure doesn't like that copyright symbol in my term | Dean Jansa | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Plug some memory leaks | Dean Jansa | 2008-09-23 | 1 | -2/+6 |
| | |||||
* | Update copyright dates. | Nate Straz | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | Cast off_t variables to long long int when printing so we don't get the | Nate Straz | 2008-09-23 | 1 | -4/+4 |
| | | | | | | | | ugly warnings. We should always be compiling with 64-bit off_t's so this should not be a problem. Change nread and nwrote back to ssize_t's since that is what read and write return. nleft remains an off_t because we initialize to stat.st_size. | ||||
* | Use off_t instead of size_t so we can transfer files larger than 2GB. | Nate Straz | 2008-09-23 | 1 | -6/+6 |
| | | | | | | I changed all formats from %zd to %lld, but this adds a lot of warnings because off_t isn't the same as long long int to the compiler. I don't know if there is a way to avoid the warnings on all platforms. | ||||
* | Add copyright notices and GPL header | Nate Straz | 2008-09-23 | 1 | -0/+19 |
| | |||||
* | Merge qarsh revisions 1727:1738 from sistina-test branch djansa-qarsh. | Nate Straz | 2008-09-23 | 1 | -10/+3 |
| | |||||
* | Flatten the qarsh tree. | Nate Straz | 2008-09-23 | 1 | -0/+850 |