summaryrefslogtreecommitdiffstats
path: root/emergencyd.pl
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-221-26/+34
|\ | | | | | | | | 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-161-0/+1
| |
| * Pay homage to Unix bondage and discipline.David A. Madore2010-02-161-0/+3
| |
| * Rewrap long lines.David A. Madore2010-02-161-6/+12
| |
| * Work against the dreadful habit of concatenatingallmywords in identifiers.David A. Madore2010-02-161-12/+12
| |
| * Various stylistic improvements suggested by Max (such as using the // op).David A. Madore2010-02-151-9/+7
| |
* | 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-151-0/+188
These don't do much for now.