summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-10workflows: Add CI build in AlpineDenys Fedoryshchenko
As we fixed musl compatibility, we can add also basic check if accel keep working in Alpine Linux Also update default config, enable connlimit and place it before pptp, otherwise Alpine generate error: ``` [2024-04-09 22:30:09.911]loader: failed to load 'pptp': Error relocating /usr/local/lib64/accel-ppp/libpptp.so: connlimit_check: symbol not found ``` Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.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>
2024-04-02Merge pull request #129 from nuclearcat/module-version-cmakeDmitriy Eshenko
ipoe,vlan_mon: print module version generated from CMake
2024-04-02ipoe/vlan_mon: Add proper accel_ppp_version to vlan_mon and ipoeDenys Fedoryshchenko
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2024-03-30Merge pull request #128 from nuclearcat/cmake-fixes1.13.01.13Denys Fedoryshchenko
cmake: Fix release version
2024-03-30cmake: Fix release version for 1.13.0Denys Fedoryshchenko
We need to set certain fields before release. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2024-03-21Merge pull request #126 from svlobanov/deb10-ci-python-fixDmitriy Eshenko
ci: fix pytest issue on Debian 10
2024-03-21Merge pull request #123 from nuclearcat/safeguards-gw-helpersDmitriy Eshenko
Add safeguards to parse_gw_ip_address helper functions
2024-03-20ci: fix pytest issue on Debian 10Sergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2024-03-10Add safeguards to parse_gw_ip_address helper functionsDenys Fedoryshchenko
In case of invalid configuration we might get stack overflow with unexpected consequences. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2024-03-10Merge pull request #121 from DmitriyEshenko/ippool-gw-fixDenys Fedoryshchenko
ippool: use gw-ip-address for ppp even if mask setted
2024-03-09ippool: use gw-ip-address for ppp even if mask settedDmitriy Eshenko
2023-12-30Merge pull request #119 from svlobanov/ub2404Dmitriy Eshenko
ci: add ubuntu 24.04 support, disable mainline kernel build
2023-12-29ci: add ubuntu 24.04 support, disable mainline kernel buildSergey V. Lobanov
third-party mainline ubuntu kernel package is broken so disable it
2023-12-27Merge pull request #118 from DmitriyEshenko/fix_local_net_checkxebd
ipoe: check localnet only for start=UP (unclassified packets) sessions
2023-12-27Merge pull request #117 from DmitriyEshenko/per_interface_check_mac_changexebd
ipoe: Add per-interface check-mac-change option
2023-12-26ipoe: check localnet only for start=UP (unclassified packets) sessionsDmitriy Eshenko
2023-12-17ipoe: Add per-interface check-mac-change optionDmitriy Eshenko
2023-12-07Merge pull request #115 from leonardomeres/radius_server_ipv6Dmitriy Eshenko
Adding support to Radius IPV6 address
2023-12-01Merge pull request #116 from DmitriyEshenko/disable_vlan_timeoutDmitriy Eshenko
vlan_mon: ipoe: pppoe: Add disable vlan timeout feature
2023-11-30vlan_mon: ipoe: pppoe: Add disable vlan timeout featureDmitriy Eshenko
Co-authored-by: Peter Adam <p.adam@cygnusnetworks.de>
2023-11-30Adding support to Radius IPV6 addressLeoMeres
This change enables ipv6 connections between accel-ppp and radius server
2023-10-10Merge pull request #114 from svlobanov/ci_latest_kernelDmitriy Eshenko
ci: build for mainline kernel, use explicit name for debian13 instead of sid
2023-10-06ci: add build for mainline kernelSergey V. Lobanov
2023-10-05ci: fix debian13 image (use explicit name 'trixie' instead of sid)Sergey V. Lobanov
2023-10-03Merge pull request #113 from svlobanov/deb10_veth_vlan_disable_testDmitriy Eshenko
ci: disable vlan-mon related tests on Debian10
2023-10-03ci: disable vlan-mon related tests on Debian10Sergey V. Lobanov
2023-09-23Merge pull request #108 from DmitriyEshenko/ipoe-6.4-compatDmitriy Eshenko
ipoe:vlan_mon: add support for kernels 6.4+
2023-09-23ipoe:vlan_mon: add support for kernels 6.4+Dmitriy Eshenko
2023-07-20Merge pull request #98 from DmitriyEshenko/ipoe-6.3-compatDmitriy Eshenko
ipoe: Add kernel 6.3 compatibility
2023-07-18Merge pull request #99 from svlobanov/deb13Dmitriy Eshenko
Add support for Debian 13
2023-07-17ci: add support for Debian 13 (trixie)Sergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2023-07-17build: add deb packaging support for Debian 13Sergey V. Lobanov
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2023-07-17ipoe: Add kernel 6.3 compatibilityDmitriy Eshenko
2023-07-01Merge pull request #95 from DmitriyEshenko/show-sessions-imprDmitriy Eshenko
CLI: PPPoE: Add possibility to display inbound interface and service-…
2023-06-30Merge pull request #91 from louis-6wind/fix-link-selection-mem-violationDmitriy Eshenko
ipoe: fix memory access violation with unset link-selection
2023-06-29CLI: PPPoE: Add possibility to display inbound interface and service-name in ↵Dmitriy Eshenko
show sessions command
2023-06-29Merge pull request #85 from louis-6wind/fix-non-vlan-crashDmitriy Eshenko
libnetlink: fix a crash with a non vlan interface
2023-06-29CLI: PPPoE: Use global net variable to prevent SEGFAULTDmitriy Eshenko
When accel-ppp has no connected clients, CLI interface add command it try to use net == NULL and crush code.
2023-06-27ipoe: fix memory access violation with unset link-selectionLouis Scalbert
Link-selection pointer is not set to NULL when link-selection IPOE option is not set. It results in a memory access violation in dhcpv4_packet_insert_opt82() Set link-selection pointer to NULL if unset to fix the issue. Fixes: 61e31c591e ("ipoe: add dhcp link selection sub-option") Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-06-26libnetlink: fix a crash with a non vlan interfacePhilippe Guibert
Fix a segmentation fault when starting when accel-ppp is configured with an non vlan interface. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-06-09Merge pull request #83 from louis-6wind/add-link-selectionDmitriy Eshenko
Add support of Link Selection DHCP sub-option RFC3527
2023-06-09Update cpack.cmakeDmitriy Eshenko
Use real version instad of "gitgitgit"
2023-06-09Fix compile failure with cmake failing on forks, fixes issue #80Denys Fedoryshchenko
We set fake variables so recipe doesn't fail. It is a bit of hack for such situation, but makes development easier. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2023-06-05man: add information about link-selectionPhilippe Guibert
Add information about link-selection ipoe option in accel-ppp.conf man. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-06-05man: add information about agent-remote-idPhilippe Guibert
DHCP "agent remote id" sub-option 2 of option 82 can already be configured with [ipoe] / "agent-remote-id". However, it is not documented. Add information about agent-remote-id in accel-ppp.conf man. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-06-05ipoe: add dhcp link selection sub-optionPhilippe Guibert
Add the support of DHCP option 82 "Agent Information" sub-option 5 "link selection". The IPv4 value can be specified in the [ipoe] "link-selection" configuration option. Link: https://www.rfc-editor.org/rfc/rfc3527.html Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-05-05sstp: fix gcc9/clang address-of-packed-member warningVladislav Grishenko
Patially fixes 6e5f9980a8a71015a228279e07970621d23c7b35, there's no really requirement for packed internal sockaddr_t struct. Also, constantify several struct pointer arguments as well.
2023-05-05sstp: revert 6e5f9980a8a71015a228279e07970621d23c7b35Vladislav Grishenko
There's no alignment reason for making temporary vars on stack assuming unaligned block copy.
2023-05-05sstp: fix termios structure initializationVladislav Grishenko
Fixes ad94c19554d7c6bb18ab2e251e4ee403ee0b7732, tios is sill left partially initialized with sane values. Also, log get/set attr errors with error level as well since it raises pty allocation error and connection drop therefore.