summaryrefslogtreecommitdiff
path: root/crypto/crypto.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-01-28 19:48:32 +0100
committerKozlov Dmitry <xeb@mail.ru>2013-02-06 20:46:53 +0400
commitb79e80eb0d4dc506fcddd5534a5750255b078ec9 (patch)
tree902920b5c06b67a53a43bb63db1e42b31fe6df30 /crypto/crypto.c
parent7ba4600fc2ce3e03d9334afa9dd42bd76beba2a6 (diff)
downloadaccel-ppp-b79e80eb0d4dc506fcddd5534a5750255b078ec9.tar.gz
accel-ppp-b79e80eb0d4dc506fcddd5534a5750255b078ec9.zip
New client for the cli module (tcp)
accel-cmd is a small program that reads commands from its command line or standard input and sends them to accel-ppp (using the tcp interface of the cli module). It displays accel-ppp's result on standard output. accel-cmd automatically appends the "exit" command to its command list, so that accel-pppd will disconnect after sending its replies. By default accel-cmd connects to localhost:2001. Examples: Send the "show sessions" command to accel-ppp and display the result: $ accel-cmd show sessions Execute commands from file "cmds" and display the results to stdout: $ accel-cmd < cmds Same as above, but use a different host and timeout after 1.5 seconds of inactivity: $ accel-cmd --timeout 1500ms --host accelppp.example.com < cmds Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'crypto/crypto.c')
0 files changed, 0 insertions, 0 deletions