Age | Commit message (Collapse) | Author |
|
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>
|
|
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
|
|
|
|
|
|
* drop compressor settings on session termination
* fixed race condition on termination
* fixed unexpected lcp timer start
* fixed setting of ACCEL_PPP_VERSION with git coloured output
* log_file: fixed bug in per user log
* pppoe: tag length sanity check
* iprange: accept network with null mask (which actually disables iprange module)
* l2tp: various fixes
* radius: update Class attribute by CoA request
* telnet: check for disconnect condition while processing input chars
* implemented per-CTRL ip-pool option to specify default ip pool name
|
|
|
|
|
|
|
|
Add error detection to ensure the FD_CLOEXEC flag gets set for
every new socket.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
Centralise error management to ensure full cleanup upon failure.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
Check if the tunnel file descriptor has been successfully created.
Explicitely check for negative values to detect socket() errors.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
|
|
|
|
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp into 1.7
|
|
|