Age | Commit message (Collapse) | Author |
|
|
|
Fix post_msg implementation bug
|
|
ci: run tests on alpine s390x (big-endian)
|
|
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
|
|
ci: fix testing on debian13 (pytest install issues)
|
|
|
|
migrate from pcre to pcre2
|
|
build: fix build for entware (HAVE_GOOD_IFARP detection issue)
|
|
pppd_compat: add Framed-Interface-Id attribute support in radattr
|
|
build: fix compile errors on GCC 14
|
|
achillelamb/fix-ppp-lcp-echo-reply-greater-than-client-mru
fix(ppp_lcp): truncate echo reply if size > client MRU
|
|
Fix issue #204
Proposed by https://github.com/achillelamb
|
|
fix(musl/l2tp_session_free): Fix, likely typo
|
|
It is logical, that function should remain same,
not changed to free.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
|
|
Revert "Fix #189: Make module pppoe work without module radius"
|
|
This reverts commit 543700aed1ac045f12dfafd898bbbbae955fee31.
|
|
tests: add test pppoe session using chap-secrets auth
|
|
pppoe: fix #189
|
|
|
|
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.
|
|
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
|
|
|
|
PCRE is not supported anymore and removed from several distros
|
|
iputils: fix vlan creation on big-endian platforms
|
|
fix __WORDSIZE macro on musl 32 bit platforms
|
|
ci: run tests in alpine vm
|
|
|
|
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
|
|
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).
|
|
|
|
This patch allows to build accel-ppp on mips32/ppc32 openwrt (musl)
|
|
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
|
|
ci: add build in gentoo container
|
|
tests: add pcre negative cases, improve pcre-related code test coverage
|
|
|
|
these test cases will help for pcre2 migration (issue #173)
|
|
|
|
ci: speedup virtual machines using kvm and host cpu passthrough
|
|
Revert "build: add dkms support for ipoe and vlan_mon drivers, ci optimizations"
|
|
|
|
build: add dkms support for ipoe and vlan_mon drivers, ci optimizations
|
|
Fixes the issue #124 "HTTP replay for non SSTP query" and log_debug2 in Triton lib
|
|
github now allows kvm and cpu passthrough, enable it to speedup ci
|
|
Fix issue #131, pptp doesnt work without connlimit
|
|
Fix issue https://github.com/accel-ppp/accel-ppp/issues/131
Proposed by https://github.com/kugel-
Author: Thomas Martitz <kugel@rockbox.org>
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
|
|
ci: remove debian10 support
|
|
Debian10 LTS is EoL (ref: https://wiki.debian.org/LTS) so it is removed
from CI.
Debian10 ELTS is maintained by third-party organization, only some packages
are maintained so there is no reason to support Debian10 in CI
|
|
|
|
|
|
This reverts commit 635ab1b77b06a8891479a46a0e1ba88315ff3958.
|