summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2024-10-04Merge pull request #183 from svlobanov/gcc14-compile-errorsDenys Fedoryshchenko
build: fix compile errors on GCC 14
2024-10-04Merge pull request #205 from ↵Denys Fedoryshchenko
achillelamb/fix-ppp-lcp-echo-reply-greater-than-client-mru fix(ppp_lcp): truncate echo reply if size > client MRU
2024-10-04fix(ppp_lcp): truncate echo reply if size > client MRUachillelamb
Fix issue #204 Proposed by https://github.com/achillelamb
2024-09-11Merge pull request #195 from nuclearcat/fix-typo-freeDenys Fedoryshchenko
fix(musl/l2tp_session_free): Fix, likely typo
2024-09-11fix(musl/l2tp_session_free): Fix, likely typoDenys Fedoryshchenko
It is logical, that function should remain same, not changed to free. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2024-09-05Merge pull request #193 from svlobanov/revert-pr-190Sergey V. Lobanov
Revert "Fix #189: Make module pppoe work without module radius"
2024-09-05Revert "Fix #189: Make module pppoe work without module radius"Sergey V. Lobanov
This reverts commit 543700aed1ac045f12dfafd898bbbbae955fee31.
2024-09-05Merge pull request #191 from svlobanov/test-pppoe-chap-secretsDenys Fedoryshchenko
tests: add test pppoe session using chap-secrets auth
2024-09-05Merge pull request #190 from Tokarak/pr-fix-188Denys Fedoryshchenko
pppoe: fix #189
2024-09-04tests: add test pppoe session using chap-secrets authSergey V. Lobanov
2024-09-04Fix #189: Make module pppoe work without module radiusNazar Androshchuk
The radius library is now linked in pppoe if `-DRADIUS` is true; it wasn't any issue when `-DRADIUS=FALSE`. This patch can't be worked around if the user wants to use pppoe with chap-secrets, because radius conflicts with chap-secrets.
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-02ci: change libpcre to libpcre2Sergey V. Lobanov
2024-09-02migrate from pcre to pcre2Sergey V. Lobanov
PCRE is not supported anymore and removed from several distros
2024-09-02Merge pull request #181 from svlobanov/iputils-be-vlan-add-fixDenys Fedoryshchenko
iputils: fix vlan creation on big-endian platforms
2024-09-02Merge pull request #180 from svlobanov/owrt2Denys Fedoryshchenko
fix __WORDSIZE macro on musl 32 bit platforms
2024-09-02Merge pull request #179 from svlobanov/test-in-alpine2Denys Fedoryshchenko
ci: run tests in alpine vm
2024-09-01pppd_compat: add Framed-Interface-Id attribute support in radattrBoris Zervu
2024-08-27build: fix compile errors on GCC 14Sergey V. Lobanov
This patch fixes compile errors on GCC 14 like the following /root/accel-ppp/accel-pppd/radius/packet.c: In function 'rad_packet_recv': /root/accel-ppp/accel-pppd/radius/packet.c:142:72: error: passing argument 5 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 142 | n = recvfrom(fd, pack->buf, REQ_LENGTH_MAX, 0, addr, &addr_len); | ^~~~ | | | struct sockaddr_in * In file included from /usr/include/netinet/in.h:10, from /usr/include/arpa/inet.h:9, from /root/accel-ppp/accel-pppd/radius/packet.c:10: /usr/include/sys/socket.h:397:55: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *' Reference: https://gcc.gnu.org/gcc-14/porting_to.html
2024-08-26ci: run tests on alpine s390x (big-endian)Sergey V. Lobanov
s390x is the only big-endian platform supported by major Linux vendors. Alpine s390x is the only major distro that includes pppoe kernel module. Ubuntu, Debian, RHEL (and Fedora) removed pppoe from kernel config so alpine s390x is used. Alpine doesn't provide cloud-image for s390x that is why netboot installed is used. It is almost zero probability that someone will run accel-ppp on s390x IBM mainframe, but testing on big-endian platform is useful for another platforms (e.g. mips-be and ppc-be which is still in use on home gateways and supported by openwrt).
2024-08-26iputils: fix vlan creation on big-endian platformsSergey V. Lobanov
2024-08-25fix __WORDSIZE macro on musl 32 bit platformsSergey V. Lobanov
This patch allows to build accel-ppp on mips32/ppc32 openwrt (musl)
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-08-22Merge pull request #176 from svlobanov/ci-gentooDenys Fedoryshchenko
ci: add build in gentoo container
2024-08-22Merge pull request #177 from svlobanov/pcre-testsDenys Fedoryshchenko
tests: add pcre negative cases, improve pcre-related code test coverage
2024-08-19tests: fix execution orderSergey V. Lobanov
2024-08-19tests: add pcre negative cases, improve pcre-related code test coverageSergey V. Lobanov
these test cases will help for pcre2 migration (issue #173)
2024-08-18ci: add build in gentoo containerSergey V. Lobanov
2024-08-18Merge pull request #174 from svlobanov/ci-speedupDenys Fedoryshchenko
ci: speedup virtual machines using kvm and host cpu passthrough
2024-08-18Merge pull request #175 from accel-ppp/revert-145-dkmsDenys Fedoryshchenko
Revert "build: add dkms support for ipoe and vlan_mon drivers, ci optimizations"