Skip to content

pptp kernel-mode plugin#594

Open
anphsw wants to merge 9 commits into
ppp-project:masterfrom
anphsw:accel-pptp
Open

pptp kernel-mode plugin#594
anphsw wants to merge 9 commits into
ppp-project:masterfrom
anphsw:accel-pptp

Conversation

@anphsw

@anphsw anphsw commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This proposal suggests integrating the accel-pptp code (originally from https://accel-pptp.sourceforge.net/), which has been successfully used in various SOHO routers for many years, into the main pppd branch.
The module supports both client and server modes and uses the pptp module that has been included in the kernel since version 2.6.36.
This integration would eliminate the need for out-of-tree builds and ensure better long-term maintenance and compatibility.

anphsw added 9 commits June 7, 2026 18:13
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
Signed-off-by: [anp/hsw] <sysop@880.ru>
@neheb

neheb commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

https://github.com/openwrt/openwrt/commits/main/package/network/services/ppp/patches/500-add-pptp-plugin.patch

it appears this has been in OpenWrt since 2012.

@Neustradamus

Copy link
Copy Markdown
Member

@xosevp

xosevp commented Jun 21, 2026

Copy link
Copy Markdown

https://github.com/openwrt/openwrt/commits/main/package/network/services/ppp/patches/500-add-pptp-plugin.patch

it appears this has been in OpenWrt since 2012.

The OpenWrt patch is much better than the original code from ACCEL-PPTP. It modernizes and cleans up the codebase by unifying logging with the native pppd API, refactoring internal inter-process communication, and improving parameter handling: ACCEL-PPTP.vs.openwrt.diff.txt

Furthermore, it has been more extensively tested as it is included in prplOS, a standard distribution for residential routers: https://gitlab.com/prpl-foundation/prplos/prplos/-/tree/latest-24.10/package/network/services/ppp/patches

@anphsw

anphsw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

@xosevp
It seems that patch you mentioned:

  • missing server mode fixes (socket leak and dead connections, already applied in this pull)
  • changing callmgr* call symantics (why?)
  • changes logging way for some situations (maybe it's good)
  • adds support for changing pptp_window parameter (is it really used in production?)
  • using direct access to ppp_devname instead ppp_set_pppdevnam() (seems like outdated way)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants