ircd-ratbox | ratbox-services | ratbox-respond | documentation |
![]() |
|
ratbox-respondratbox-respond takes the challenge from the server and creates a valid response to pass back to the server. ratbox-respond will run either interactively, or can have input piped to it through stdin. CompilingRun: This will generate a 'ratbox-respond' binary, which you may place wherever you like. If configure does not detect your openssl installation, you may pass it the directory where it is installed to via --enable-openssl, this should be the base directory which has lib/ and include/openssl/ within it: ratbox-respond usageratbox-respond takes only one argument, the path to your private key: Interactive moderatbox-respond runs in interactive mode when it detects theres a tty attached (eg, you run ./ratbox-respond from a normal shell). This will prompt for keyphrases and the challenge, and will generate the output to be given to ircd. Non-interactive modeTo allow for ratbox-respond to be called from a script, input may be piped to ratbox-respond through stdin. The format of the input is: If there is no keyphrase, the \n preceding the challenge from ircd must still be sent. Output will be given on stdout, and will be just the response needed to be sent back to ircd. It is required that input is piped for security reasons, as allowing the keyphrase to appear in ps is insecure. An example to illustrate this is: -- $Id$[ Last modified: Fri, 06 Jul 2012 18:14:19 EDT ]
|