summaryrefslogtreecommitdiff
path: root/accel-pppd/CMakeLists.txt
AgeCommit message (Collapse)Author
2024-10-26Merge pull request #185 from svlobanov/pcre2-1Denys Fedoryshchenko
migrate from pcre to pcre2
2024-09-02build: fix build for entware (HAVE_GOOD_IFARP detection issue)Sergey V. Lobanov
Linux kernel before 4.11 has the issue decribed in the commit: https://github.com/torvalds/linux/commit/2618be7dccf8739b89e1906b64bd8d551af351e6 It fails accel-ppp build on entware. Let's include sys/socket.h to avoid this issue. All files that use linux/if_arp.h includes sys/socket.h before
2024-09-02migrate from pcre to pcre2Sergey V. Lobanov
PCRE is not supported anymore and removed from several distros
2024-08-23ci: run tests in alpine vmSergey V. Lobanov
Alpine Linux uses musl libc so now accel-ppp is tested under musl Currently, Alpine Linux doesn't provide a link to the latest stable version so direct link to Alpine 3.20 is used Improved musl support might be used to run on platforms like openwrt without additional patches
2024-04-24CMakeLists.txt: gentoo fix for __free_fn_t detectionDenys Fedoryshchenko
On Gentoo __free_fn_t wont be detected properly without this include. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com> Reported-by: Stanislav <stasn77@gmail.com> Author: Stanislav <stasn77@gmail.com>
2024-04-10musl: Add musl compatibilityDenys Fedoryshchenko
Thanks for hints Alpine Linux project and their patches: https://git.alpinelinux.org/aports/tree/community/accel-ppp?h=master We can adjust a bit code and cmake config files to make accel-ppp buildable under musl "as is". Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2022-03-04accel-pppd: Fix buildroot compilationGabriel Jeanneau
CMAKE_FIND_ROOT_PATH variable is a list of pathes used by CMAKE to find packages and library for compilation. It should not be used for installation as : - it is a list - it points to staging folder of packaging tools. So let's use a more standard CMAKE code to make sure files and folders are actually installed in target destination. Signed-off-by: Gabriel Jeanneau <gabriel.jeanneau@6wind.com> Signed-off-by: Stéphane Gonauer <stephane.gonauer@6wind.com>
2021-12-16vrf: T10: Add VRF supportDmitriyEshenko
Co-authored-by: Sergey V. Lobanov <svlobanov@users.noreply.github.com> Co-authored-by: Vladislav Grishenko <themiron@users.noreply.github.com>
2017-10-23cmake: initialize lua before radiusDmitry Kozlov
2017-10-13improved lua supportDmitry Kozlov
Implemented support for lua 5.2/5.3. To build accel-ppp with exact lua version pass it in -DLUA=x.y, for example -DLUA=5.2 (cmake 3.0 is required for this). Old style -DLUA=TRUE supports only 5.1 and does not require cmake 3.0. Also extra lua modules (lua_lpack, lua_bit) took out into separated library luasupp.
2016-07-19check for setns availabilityDmitry Kozlov
2016-07-09removed accel-dp related filesDmitry Kozlov
accel-dp will be continued in separated branch
2016-03-18improved restart and termination procedureDmitry Kozlov
2015-12-04implemented module for accel-dpdk daemon interfacingDmitry Kozlov
2015-12-04preparation for DPDK intergationDmitry Kozlov
2015-11-21split ipoe driver to ipoe and vlan_monDmitry Kozlov
introduced new module "vlan-mon"
2015-11-17ipoe: use single socket for arp processingDmitry Kozlov
2014-06-17radius: introduced attr-tunnel-type optionDmitry Kozlov
If specified then accel-ppp will send tunnel type as string (pppoe,pptp,l2tp,ipoe).
2013-10-30fix build with internal & tomcrypt crypto librariesDmitry Kozlov
Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
2013-08-28ipoe: add ipset support for l4 redirectKozlov Dmitry
2013-06-04use /var/lib/accel-ppp instead /var/run/accel-pppKozlov Dmitry
2013-02-06build: Set ACCEL_PPP_VERSION in top level cmake fileGuillaume Nault
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>
2013-01-25fix typo LIB_SIFFIX -> LIB_SUFFIXKozlov Dmitry
2013-01-25cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIXKozlov 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-24implemented different sessionid length and urandom sourceDmitry Kozlov
2013-01-24use CMAKE_FIND_ROOT_PATH prefixKozlov Dmitry
2013-01-24merge upstreamKozlov Dmitry
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-07-11Merge commit '8e46d2416a2e7ab563f6b3b1ff761799ccbcf0f4'Kozlov Dmitry
2012-07-10initial session backup implementationKozlov Dmitry
2012-07-02ipoe: integrating accel-pppd and ipoe kernel moduleKozlov Dmitry
2012-06-29Fix setting of ACCEL_PPP_VERSION with git coloured outputKozlov Dmitry
2012-06-22initial ipoe implementationKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-06-151.7.0 releaseKozlov Dmitry
* implemented per CTRL mppe config * implemented vendor/attr options to specify which radius attribute containes ip pool name * implemented adaptive lcp echo functionality * implemented leaf qdisc attachment (only sfq at present) * implemented Challenge attribute handling (l2tp) * implemented unit(interface) cache * fixed ip-pre-up script result handling * fixed time range start detection on startup/config reload * fixed reading of req-limit option (radius) * fixed unexpected radattr file removal
2012-06-05ppp: implemented unit cacheKozlov Dmitry
If enabled accel-pppd will not destroy interface immediately after corresponding session is terminated, instead interface will be brought down and placed to cache for later use for new sessions. It should reduce kernel interface creation/deletion rate lack and increase responsibility of daemon
2012-06-04Revert "implemented delayed fd close (speeds up session termination process)"Kozlov Dmitry
Low interface creation/deletion rate is kernel issue and should be fixed in 3.5. This reverts commit 9ae4a0151805229face3385e6c966de90c7fec29.
2012-05-28implemented delayed fd close (speeds up session termination process)Kozlov Dmitry
2012-03-201.6.1 releaseKozlov Dmitry
* fixed ip-down segfault
2012-03-111.6.0 releaseKozlov Dmitry
* implemented logwtmp module * implemented connlimit module * implemented advanced shaper * implemented MS-Primary-DNS-Server/MS-Secondary-DNS-Server attributes * fix per-interface PADI limiting (pppoe) * fix module load order * fix "show sessions match" (cli) * other bugfixes and improvements
2012-01-22implemented advanced shaperKozlov Dmitry
2012-01-171.5.0 releaseKozlov Dmitry
* implemented named IP pools (radius Framed-Pool attribute) * implemented logging to system logger (log_syslog) * implemented ability to send cli commands via snmp * implemented PADI limiting (pppoe) * implemented simultaneous radius requests limiting * various bug fixes and improvements
2011-09-201.4.0 releaseKozlov Dmitry
* implemented SNMP support (using net-snmp AgentX) * implemented multiple radius servers support * implemented IPv6: - PPP IPV6CP protocol - Neighbor Discovery protocol in part of Router Advertisement - DHCPv6 server including Prefix Delegation extension - ipv6-pool module - Radius Framed-Interface-Id, Framed-IPv6-Prefix, Delegated-IPv6-Prefix attributes * fixed MPPE handling * implemented noauth mode (login without authentication) * improved CCP/IPCP handling * included builtin crypto library (optional) * improved l2tp handling * fixed builtin shaper temporary rate change functionality * various bug fixes and improvements
2011-09-03implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL ↵Kozlov Dmitry
(default OPENSSL)
2011-08-28ipv6: initial dhcpv6 supportKozlov Dmitry
2011-08-23ppp: Neighbor Discovery for IP version 6 (prefix only)Kozlov Dmitry
2011-08-20Merge branch 'ipv6'Dmitry Kozlov
2011-08-20ppp: initial IPV6CP supportDmitry Kozlov
2011-08-161.3.7 releaseKozlov Dmitry