Age | Commit message (Collapse) | Author |
|
Move definition of ACCEL_PPP_VERSION from /accel-pppd/CMakeLists.txt
to /CMakeLists.txt so that it gets visible by any cmake file.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
Create a CMakeLists.txt file for accel-cmd so that it gets
compiled and installed like accel-pppd.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
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>
|
|
|
|
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
Explicitely interpret zero values when parsing boolean options. This
allows to unset boolean parameters such as "verbose" when reloading
the configuration.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
This reverts commit d16b78813da8b69aafd13ca5086850a5d27a871e.
|
|
|
|
|
|
|
|
l2tp_packet_add_octets() performs a malloc on the "octets" field of the
L2TP attribute, but checks the "string" field for allocation failure.
Though these fields should be equivalent in this case, the "octets"
field should be logically checked instead of "string".
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
NULL terminate commands received in cln_read(). This ensures that the
processing loop can safely call strchr(), or any other string handling
functions.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
A few va_start() calls aren't followed by their corresponding va_end().
This patch adds the missing va_end() calls.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
* fixed various bugs in cli
* fixed l2tp connection problem from android
* implemented chap-secrets encryption
* implemented NBNS (WINS) support
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
|
|
|
|
This reverts commit 1c89473d04c74e224546c596608f227dcd77518b.
|
|
|
|
|
|
|
|
|
|
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
|
|
|
|
* fixed connection dropping when mppe=prefer and user rejects ccp
* improved tunnel termination (l2tp)
* fixed sending incorrect magic in lcp echo request
* fixed various typos
* gather interface statistics via netlink
|
|
|
|
Fix several errors and compiler warnings in format string
arguments.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
Append the format() __attribute__ to function prototypes which
use a format string. This allows GCC to check for consistency
between the format string and its arguments when these
functions are called.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
|
|
|
|
Stop sending messages on tunnels for which no peer is listening.
Discard retransmissions too.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
l2tp: rertansmit last packet if duplicate packet received
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
|
|
|