summaryrefslogtreecommitdiff
path: root/accel-pppd/extra
AgeCommit message (Collapse)Author
2016-05-31accel-ppp Debian x32 fix minor -Wformat warningsMarek Michalkiewicz
Hello, small patch to avoid gcc -Wformat warnings on Debian x32 where time_t is "long long" (64-bit signed, to be 2038 safe), not "unsigned long" (32-bit unsigned) corresponding to "%lu" format strings. Regards, Marek
2016-04-13logwtmp: check for username presenceDmitry Kozlov
2016-03-19pppd_compat: check for script existance before forkDmitry Kozlov
2015-12-25pppd_compat: change mode of radattr files to 0644Dmitry Kozlov
2015-12-02net-snmp: export interface counters in the sessionTableDmitry Kozlov
2015-11-30pppd_compat: fixed usage of mkstamp (fixed file descriptor leak)Dmitry Kozlov
2015-11-20replace mktemp with mkstempDmitry Kozlov
2015-11-17ippool: properly handle Cisco-AVPairDmitry Kozlov
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-11-05pppd_compat: pass IPV6_PREFIX and IPV6_DELEGATED_PREFIX to ip-up/ip-down scriptsDmitry Kozlov
2014-10-03get rid of time(), use clock_gettime(CLOCK_MONOTONIC) insteadDmitry Kozlov
2014-09-20rewrite of authentication/accounting proceduresDmitry Kozlov
This patch gets rid of synchronuos style of authentication/accounting. Synchronous style of authentication/accounting produced sleeping threads which becomes a problem when lots of sessions started/stopped and all they want authorization/accounting.
2014-07-18ipv6: add support for prefixes greater than 64Dmitry Kozlov
2014-06-03get out of SPINLOCK_INITIALIZER as it is not cross-platform compatibleDmitry Kozlov
2014-06-03make IPv4 address to string conversions endian friendlyDmitry Kozlov
2014-05-12ippool: introduced shuffle optionDmitry Kozlov
By default list of IP address is serial at startup. This option shuffles initial IP list so it becomes more random.
2014-04-30net-snmp: add missing memdebug.h includeDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-30net-snmp: fiexed improper handling of empty username when requesting session ↵Dmitry Kozlov
table Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-04-29net-snmp: unshare file descriptors namespaceGuillaume Nault
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>
2014-04-29Revert "net-snmp: run snmp in "special" thread"Guillaume Nault
This reverts commit bf5340291badcc631bd855bb924593cd445ecd26. 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>
2014-04-14Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-04-14pppd compat: don't try to rename radattr files if RADIUS isn't usedGuillaume Nault
If accel-ppp is compiled with RADIUS support, but run without using it, then pd->tmp_fname is NULL. This patch verifies that pd->tmp_fname is valid before renaming the radattr file. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-04-11net-snmp: run snmp in "special" threadDmitry Kozlov
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>
2014-01-19ippool: add support for old style pool name declarationDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-31net-snmp: fixed ipoe oidsDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-31net-snmp: add missing IPOE module initializationDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-30fix build with internal & tomcrypt crypto librariesDmitry Kozlov
Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
2013-10-29net-snmp: add ipoe statisticsDmitry Kozlov
2013-10-14ippool: fixed sigsegv due to missing check for NULL (intoduced by ↵Dmitry Kozlov
67ac2ba78573644d6649921bafc41ba098061e0a)
2013-10-11radius,ippool,chap-secrets: do not assign local address if session is not pppDmitry Kozlov
Do not assign local address for non-PPP (IPoE at present) sessions in specified modules. This enforces ctrl to assign proper local address by itself. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-10-03Introduce per-ctrl 'ip-pool' option to be used as default IP pool name which ↵Dmitry Kozlov
may be overrided by radius Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-09-03snmp: properly terminate snmp threadDmitry Kozlov
2013-05-23chap-secrets: add netmask supportDmitry Kozlov
2013-04-22pppd_compat: create radattr file in SES_PRE_UPDmitry Kozlov
2013-03-16ipoe: fixed shared=1 modeKozlov Dmitry
2013-01-25cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIXKozlov Dmitry
2013-01-25pppd_compat: fix coa handler's env sizeDmitry Kozlov
2013-01-25Revert "altered session finishing procedure"Kozlov Dmitry
This reverts commit 9f4f36169f03857b6910402028717210270a0339.
2013-01-25ipool: implemneted net30 allocatorKozlov Dmitry
2013-01-24altered session finishing procedureKozlov Dmitry
2013-01-24backport 1.7Kozlov Dmitry
* l2tp: Fix allocation checking when adding octets AVP * cli, tcp: Fix non-NULL terminated string reception * Fix va_end() missing calls * chap-secrets: implemented encryption * auth_pap: make messages like other auth modules * cli: check xmit_buf is not null at enter to write function * pppoe: implemented regular expression support * chap-secrets: implemented encryption * ippool: fixed initialization order * optional shaper compiling * ppp: dns/wins code cleanup
2013-01-24pppd_compat: pass calling_station_id and called_station_id via envDmitry Kozlov
2013-01-24merge upstreamKozlov Dmitry
2013-01-24ipool: implemneted net30 allocatorKozlov Dmitry
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-09-05Fix format string errorsGuillaume Nault
Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-08-03fixed complilation for 3.4 kernelKozlov Dmitry
2012-07-19removed shaper_tbfKozlov Dmitry
2012-07-10initial session backup implementationKozlov Dmitry
2012-06-22initial ipoe implementationKozlov Dmitry