Age | Commit message (Collapse) | Author |
|
|
|
already started
|
|
This reverts commit d3d02d2e1b415dd0b4a3832da3b852cacc9284a3.
|
|
There is some issue on binding raw ICMPv6 socket immediately after assigning address on 3.14 (and probably later) kernel.
This causes ipv6_nd to fail to start.
This patch makes ipv6_nd to try to bind later if bind fails.
|
|
auth modules
Passed strings was not nullterminated
|
|
|
|
|
|
|
|
|
|
Check if there is space in previous chunk and append log data there.
This reduces memory usage and message fragmentation
|
|
* fixed various bugs
* introduced accel-cmd program
* ippool: impelented persistance
* radius: implemented default-realm option
* radius: proper handling of Framed-IP-Address=255.255.255.254
* shaper: time range and other fixes
* shaper: implemented mtu option
* net-snmp: fixed run out of FD_SETSIZE
|
|
Use unshare(CLONE_FILES) to create a local file descriptors namespace
for the SNMP thread. This is similar to what was done in bf5340
'net-snmp: run snmp in "special" thread', but without calling clone()
directly. So the net-snmp plugin keeps running in a regular pthread.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
This reverts commit f2774e5a02d29de71eb64a64565b23090b6f6c5e.
snmp_thread() needs to be run as regular thread to allow Valgrind
analysis. Using a different namespace for file desciptors will be
done later on using unshare().
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
NET-SNMP is built on top of stale file descriptor multiplexing mechanism (select)
which prevents to use descriptors with number >= 1024.
Due to accel-ppp uses a lots of descriptors NET-SNMP easy overflows this limit and fails
and even may crash whole accel-ppp process.
This patch runs snmp in special thread which does not share file descritor table
with main process, so it can use less descriptors and live in __FD_SETSIZE limit.
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Conflicts:
accel-pppd/libnetlink/ipset.c
accel-pppd/libnetlink/iputils.c
|
|
Avoid parsing inconsistent PPPoE tags when handling PADR.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
warning if they're running already
Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
|
|
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
|
|
Close netlink socket in remove_limiter function.
Signed-off-by: Kozlov Dmitry <xeb@mail.ru>
|
|
Signed-off-by: Kozlov Dmitry <xeb@mail.ru>
|
|
Fixes detection of range everlaps (time range end time is equal to start time of other range),
which prevents starting range end timer.
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
internal structure)
shaper: do not start time range end timer if end time is equal to start time of other range
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
This fixes invalid assosiation vendor specific Cisco-AVPair to Username attribute which both have same id
and prevents to find sessions in some circumstances.
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
|
|
|
|
This reverts commit 2829895b32d1b5b8c46027dfb4238f22305d695c.
|
|
|
|
already called triton_context_unregister)
|
|
|
|
The triton_terminate() function works by setting the need_close flag
of each triton context, then queues this context for execution by a
triton thread if not already running. But if the context is already
being run by a triton thread, it may not notice that its need_close
flag has been updated (this flag is only checked at the beginning
of ctx_thread()). So if no other event wakes up that context (i.e.
if ctx_thread() isn't run again), it will never terminate.
This patch moves the need_close flag check at the end of ctx_thread()
so that a triton context can take the need_close flag into account
event if it's updated while running.
The context spinlock is also used to protect the need_close flag as
it is concurrently updated by triton_terminate().
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
|
|
|
|
The 'hw' parameter of cl_key_from_mac() is actually a pointer, so
'key.hw' must be used instead to compute the size of the MAC address.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
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.
|
|
|
|
|
|
|