summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/pppd_compat.c
AgeCommit message (Collapse)Author
2017-12-05ipv6: nd: fix interface id addresses generation for prefixes > /64Vladislav Grishenko
2017-10-16pppd_compat: do not call ip-down if session was not startedDmitry Kozlov
2017-10-12pppd-compat: implemented fork-limitDmitry Kozlov
[ppppd-compat] fork-limit=N Specifies number of simultaneously running background processes.
2017-10-11pppd_compat: various improvemmentsDmitry Kozlov
implemented coinfig reload changed default value of ip-xxx scripts to be NULL (disabled)
2016-11-12pppd-compat: move computation of tx_bytes and rx_bytesGuillaume Nault
tx_bytes and rx_bytes are only used in the ->stop_time branch, so let's compute them here rather than at the top of the function. Also, let's replace '4294967296llu' by 'UINT32_MAX + 1', to make it clear that a gigaword equals 2^32 bytes and is used to keep track of how many times the 32 bits tx and rx counters have overflowed. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2016-11-12pppd-compat: check available memory before setting environment variablesGuillaume Nault
Use snprintf() to ensure fill_env() isn't going to overflow 'mem'. Environment variables are either completely set or not defined at all (but are never truncated). For the ipv6 and ipv6_dp cases, the environment variable is now fully generated with a single format string for simplicity. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
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-03-19pppd_compat: check for script existance before forkDmitry Kozlov
2015-12-25pppd_compat: change mode of radattr files to 0644Dmitry Kozlov
2015-11-30pppd_compat: fixed usage of mkstamp (fixed file descriptor leak)Dmitry Kozlov
2015-11-20replace mktemp with mkstempDmitry 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-06-03make IPv4 address to string conversions endian friendlyDmitry 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>
2013-04-22pppd_compat: create radattr file in SES_PRE_UPDmitry Kozlov
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-24altered session finishing procedureKozlov Dmitry
2013-01-24pppd_compat: pass calling_station_id and called_station_id via envDmitry Kozlov
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-08-03fixed complilation for 3.4 kernelKozlov Dmitry
2012-06-22initial ipoe implementationKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-05-14pppd_compat: use EV_PPP_PRE_FINISHED event to start ip-down script (fixes ↵Kozlov Dmitry
unexpected radattr file removal)
2012-03-22pppd_compat: fix ip-pre-up script result handlingKozlov Dmitry
2012-03-15pppd_compat: fix ip-down segfaultKozlov Dmitry
2011-12-09pppd_compat: fix potential race conditionKozlov Dmitry
2011-09-03implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL ↵Kozlov Dmitry
(default OPENSSL)
2011-08-29fix incorrect ppp_terminate callsKozlov Dmitry
2011-08-23ppp: ipv6: multiple prefixes, route option, rdnss option implementationKozlov Dmitry
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-01-26dynamicaly check if radius module loaded (so not more require to rebuild ↵Dmitry Kozlov
project without RADIUS to switch to chap-secrets)
2011-01-26pppd_compat: unblock signals before executing scripts (fixes scripts hangs)Dmitry Kozlov
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov