summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-06Merge pull request #256 from svlobanov/asan-ubsanSergey V. Lobanov
ci: add tests execution with asan and ubsan
2025-08-19ci: add tests execution with asan and ubsanSergey V. Lobanov
2025-08-15Merge pull request #255 from svlobanov/debian-forkySergey V. Lobanov
ci: add build in debian:forky container
2025-08-15ci: add build in debian:forky containerSergey V. Lobanov
2025-08-08Merge pull request #252 from nuclearcat/fix-musl-linkingDenys Fedoryshchenko
feat(build): Add MUSL detection and conditional linking
2025-08-08Merge pull request #251 from nuclearcat/add-ippool-statsDenys Fedoryshchenko
cmd: implement show ippool command
2025-08-07Merge pull request #253 from DmitriyEshenko/fix_ipoe_dhcp_noauth_usernameDenys Fedoryshchenko
ipoe: dhcp: Fix username for noauth session
2025-08-07feat(build): Add MUSL detection and conditional linkingDenys Fedoryshchenko
This commit introduces the ability to detect if the project is being built with the MUSL C library. A new variable `MUSL` is set to `ON` if MUSL is detected, and `OFF` otherwise. This is achieved by checking the output of `ldd --version`. The `accel-pppd/ctrl/pppoe/CMakeLists.txt` file is updated to conditionally link the `connlimit` library only when building with MUSL. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-08-07ipoe: dhcp: Fix username for noauth sessionDmitriy Eshenko
2025-08-07cmd: implement show ippool commandDenys Fedoryshchenko
Command Usage: accel-ppp# show ippool IP Pool Usage Report ==================== <default> total: 16384 used: 0 available: 16384 usage: 0% Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-08-05Merge pull request #244 from nuclearcat/blast-protectionDenys Fedoryshchenko
Add RADIUS blast attack protection with Message-Authenticator
2025-07-12Merge pull request #250 from svlobanov/ci-fedora-rawhide-buildDenys Fedoryshchenko
ci: add fedora:rawhide build to build with latest kernel
2025-07-03ci: add fedora:rawhide build to build with latest kernelSergey V. Lobanov
2025-07-01Add RADIUS blast attack protection with Message-AuthenticatorDenys Fedoryshchenko
Recently FreeRadius started to complain accel-ppp doesn't pass BlastRADIUS check. This commit fixes that. This commit implements protection against RADIUS blast attacks by adding support for the Message-Authenticator attribute in Access-Request packets. This security enhancement helps prevent unauthorized access attempts and replay attacks on RADIUS authentication. - Added new configuration option `blast-protection=1` in [radius] to enable Message-Authenticator inclusion - Implemented HMAC-MD5 calculation for Message-Authenticator attribute (RFC 2869) - Modified packet building to include 18-byte Message-Authenticator attribute when enabled - Updated packet structure to support signing with shared secret Enable blast protection by adding to the `[radius]` section: ``` blast-protection=1 ``` When enabled, all Access-Request packets will include a Message-Authenticator attribute with HMAC-MD5 signature, providing cryptographic integrity verification and protection against packet modification attacks. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-06-30Merge pull request #249 from nuclearcat/add-build-fixesDenys Fedoryshchenko
Add build fixes
2025-06-30ipoe: NETIF_F_NETNS_LOCAL got added back, fixDenys Fedoryshchenko
NETIF_F_NETNS_LOCAL existed in <=6.11, then converted to dev->netns_local, and then renamed to netns_immutable in 0c493da86374dffff7505e67289ad75b21f5b301. This commit address this properly. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-06-30ipoe: Fix del_timer / timer_delete renameDenys Fedoryshchenko
del_timer() was renamed to timer_delete() by commit bb663f0f3c396c6d (“timers: Rename del_timer() to timer_delete()”) authored by Thomas Gleixner on 23 Nov 2022, merged via the timers/core branch and included in the Linux 6.2-rc1 merge window; the change therefore reached users with the Linux 6.2 final release on 19 Feb 2023. (The legacy inline wrappers del_timer() / del_timer_sync() stayed in place for compatibility until they were dropped by the tree-wide cleanup commit 8fa7292fee5c on 5 Apr 2025, merged for Linux 6.15-rc1.) Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-06-13Merge pull request #243 from svlobanov/ub20-removeSergey V. Lobanov
ci: remove ubuntu 20 builds due to EOL of Standard Support
2025-06-13ci: remove ubuntu 20 builds due to EOL of Standard SupportSergey V. Lobanov
2025-05-07Merge pull request #239 from nuclearcat/fix-testsSergey V. Lobanov
(workflows): Ubuntu 20.04 is deprecated, removing it
2025-05-04Merge pull request #234 from aapostoliuk/T7047Sergey V. Lobanov
ipoe: fixed DHCP option 42 (ntp servers)
2025-05-02(workflows): Ubuntu 20.04 is deprecated, removing itDenys Fedoryshchenko
This tests failing now with following message: ``` This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see https://github.com/actions/runner-images/issues/11101 ``` Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2025-05-02SSTP: load certificate chain instead of single oneКоренберг ☢️ Марк
2025-01-22ipoe: fixed DHCP option 42 (ntp servers)aapostoliuk
Allowed using multiple NTP servers in DHCP option 42
2025-01-09Merge pull request #225 from ykholod/l2tp-include-calling-numberSergey V. Lobanov
L2TP include calling number to calling station ID RA
2025-01-03Merge pull request #230 from DmitriyEshenko/ipv6_confirmDenys Fedoryshchenko
ipv6: Add DHCPv6 Confirm processing
2024-12-12ipv6: Add DHCPv6 Confirm processingDmitriy Eshenko
2024-12-11Merge pull request #228 from svlobanov/ci-alpine-linksSergey V. Lobanov
ci: update alpine links
2024-12-11ci: update alpine linksSergey V. Lobanov
2024-12-05L2TP include calling number to calling station ID RAYaroslav Kholod
2024-12-01Merge pull request #221 from svlobanov/x86-32-ci3Dmitriy Eshenko
ci: run tests on x86_32 platform (alpine vm)
2024-12-01Merge pull request #222 from svlobanov/ipoe-6.12Dmitriy Eshenko
ipoe: fix driver for kernel 6.12 (NETIF_F_NETNS_LOCAL)
2024-12-01ipoe: fix driver for kernel 6.12 (NETIF_F_NETNS_LOCAL)Sergey V. Lobanov
Closes: https://github.com/accel-ppp/accel-ppp/issues/217 Ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=05c1280a2bcfca187fe7fa90bb240602cf54af0a Ref: https://github.com/torvalds/linux/commit/05c1280a2bcfca187fe7fa90bb240602cf54af0a Reported-By: https://github.com/axe-kenig
2024-12-01ci: run tests on x86_32 platform (alpine vm)Sergey V. Lobanov
2024-11-29Merge pull request #218 from svlobanov/be-ci-fix-libpcreDmitriy Eshenko
ci: fix build on alpine be (s390x)
2024-11-28Merge pull request #220 from svlobanov/ci-ubuntu-develSergey V. Lobanov
ci: add build in ubuntu:devel container
2024-11-28ci: fix build on alpine BE (s390x)Sergey V. Lobanov
bump libpcre, disable chap_secrets in tests
2024-11-28ci: add build in ubuntu:devel containerSergey V. Lobanov
Building in ubuntu:devel container might help to find the issues related to newest kernels and other software updates
2024-11-29Merge pull request #219 from svlobanov/alpine-ci-disable-chap-secretsDmitriy Eshenko
tests,ci: disable chap-secrets related tests on alpine
2024-11-28tests,ci: disable chap-secrets related tests on alpineSergey V. Lobanov
radius and chap-secrets can't work together due to musl library limiations This patch disables chap-secrets related tests on alpine ref: https://github.com/accel-ppp/accel-ppp/pull/190#issuecomment-2331036461
2024-11-28Merge pull request #194 from svlobanov/tests_ipoe_chap_secrets_luaSergey V. Lobanov
tests: add ipoe shared + chap-secrets auth, add ipoe+chap-secrets + lua
2024-11-28tests: add ipoe shared + chap-secrets auth, add ipoe+chap-secrets + luaSergey V. Lobanov
2024-11-28Merge pull request #216 from grandnew/masterDenys Fedoryshchenko
Fix post_msg implementation bug
2024-11-20Merge pull request #182 from svlobanov/be-ci2Denys Fedoryshchenko
ci: run tests on alpine s390x (big-endian)
2024-11-15Fix post_msg implementation buggrandnew
I think the error handling code of `post_msg` is wrongly implemented due to coding typo. The `EPIPE` should be also considered and then return -1, just like `PPTP_write`: https://github.com/xebd/accel-ppp/blob/1b8711cf75a7c278d99840112bc7a396398e0205/accel-pppd/ctrl/pptp/pptp.c#L539-L570
2024-11-11Merge pull request #208 from svlobanov/ci-deb13Sergey V. Lobanov
ci: fix testing on debian13 (pytest install issues)
2024-10-27ci: fix testing on debian13 (pytest install issues)Sergey V. Lobanov
2024-10-26Merge pull request #185 from svlobanov/pcre2-1Denys Fedoryshchenko
migrate from pcre to pcre2
2024-10-23Merge pull request #188 from svlobanov/entwareDenys Fedoryshchenko
build: fix build for entware (HAVE_GOOD_IFARP detection issue)
2024-10-04Merge pull request #171 from ZBoris7/masterDmitriy Eshenko
pppd_compat: add Framed-Interface-Id attribute support in radattr