summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cancel timeout to avoid stupid race condition.HEADmasterDavid A. Madore2010-02-221-0/+1
|
* It's true resolving the UDP and TCP protocols is pretty pointless.David A. Madore2010-02-221-4/+2
| | | | (Plus, it can add unpleasant dependencies in emergency situations.)
* Add a new SHEL command, which tries to provide a shell back to sender.David A. Madore2010-02-221-2/+57
| | | | | | | | | | | * SHEL: this command takes a mandatory numeric argument, which is interpreted as a TCP port number on the computer at the source of the datagram; the server tries to connect to that port and spawn a shell attached to it (beware, though: this shell will have no terminal). Incidentally, curse Unix with a thousand curses for making this so grossly difficult.
* Rewrite description of protocol (and reply !BAD in case of missing argument).David A. Madore2010-02-221-34/+50
|
* Allow running the client with no key (generating no HMAC), for PING and DATE.David A. Madore2010-02-221-3/+3
|
* Modularize command dispatching.David A. Madore2010-02-221-69/+113
|
* Implement LOGM command (write a message to syslog).David A. Madore2010-02-221-5/+24
|
* Close stdout and stderr after forking (is this a good idea?).David A. Madore2010-02-221-0/+2
|
* Merge branch 'master' of gitosis@git.madore.org:emergencyDavid A. Madore2010-02-222-52/+53
|\ | | | | | | | | Conflicts: emergencyd.pl
| * The incomprehensible rules of Unix B&D dictate that setsid should move.David A. Madore2010-02-161-1/+1
| | | | | | | | | | Gratuitous annoyance: setsid does not work for a process group leader, so we have to do it after the fork.
| * Check recv() return value.David A. Madore2010-02-162-2/+6
| |
| * Pay homage to Unix bondage and discipline.David A. Madore2010-02-161-0/+3
| |
| * Rewrap long lines.David A. Madore2010-02-162-8/+16
| |
| * Work against the dreadful habit of concatenatingallmywords in identifiers.David A. Madore2010-02-162-19/+19
| |
| * Various stylistic improvements suggested by Max (such as using the // op).David A. Madore2010-02-152-25/+11
| |
* | Use a way to check for the existence of IPV6_V6ONLY that actually works. ↵David A. Madore2010-02-221-1/+1
|/ | | | (Thanks, Cigaes, for this one.)
* Initial creation of the emergency daemon, and a stupid client.David A. Madore2010-02-152-0/+284
These don't do much for now.