]> git.ipfire.org Git - ipfire-2.x.git/commit
ppp: update to 2.4.9
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 10 Apr 2021 14:33:47 +0000 (16:33 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Apr 2021 12:21:33 +0000 (12:21 +0000)
commit0cd9215b565e7c3ef34699b695aaab7eba1dc510
tree4fc787c7b10ce5f65d0dc19163caefb482ce96ff
parentb83e0bd9a48a23c03b85d1fde4ba7d9282ec264a
ppp: update to 2.4.9

This is the first ppp release for years, and the project appears to have
a different maintainer (team?) by now. As a result, some of our patches
are no longer necessary as they made it into upstream, while others need
to be adjusted slightly.

In addition, their configure script does not handle commas in CFLAGS
properly, which is why the delimiter for the 'sed' call in it has to be
changed to something neither appearing in a path nor in our CLFAGS set.

The full changelog of this release can be retrieved from
https://ppp.samba.org/README.html and says:

* Support for new EAP (Extensible Authentication Protocol) methods:
  - Support for EAP-TLS, from Jan Just Keijser and others
  - Support for EAP-MSCHAPv2, from Eivind Næss, Thomas Omerzu, Tijs
    Van Buggenhout and others

* New pppd options:
  - chap-timeout
  - chapms-strip-domain
  - replacedefaultroute
  - noreplacedefaultroute
  - ipv6cp-accept-remote
  - lcp-echo-adaptive
  - ip-up-script
  - ip-down-script
  - ca
  - capath
  - cert
  - key
  - crl-dir
  - crl
  - max-tls-version
  - need-peer-eap

* Fixes for CVE-2020-8597 and CVE-2015-3310.

* libpcap is now required when compiling on Linux (previously, if
  libpcap was not present, pppd would be compiled without packet
  filtering support).

* The rp-pppoe plugin has been renamed to pppoe, to distinguish it
  from the upstream rp-pppoe code.  Its options have changed names,
  but the old names are kept as aliases.

* The configure script now supports cross-compilation.

* Many bug fixes and cleanups.

Thanks to Michael for his hint on the ./configure CFLAGS issue.

The second version of this patch correctly updates the
src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch patch for the
second hunk in pppd/main.c, where socket permissions have been changed
meanwhile.

Further, it has been successfully tested against a VDSL 100 line in
Germany, using PAP to Easybell via 1&1 L2 BSA. No connectivity issues or
other anomalies have been observed so far.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/ppp
lfs/ppp
src/patches/ppp/0003-build-sys-utilize-compiler-flags-handed-to-us-by-rpm.patch [deleted file]
src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch
src/patches/ppp/0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch
src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch
src/patches/ppp/ppp-2.4.7-headers_4.9.patch
src/patches/ppp/ppp-2.4.8-pppd-fix-bounds-check-in-eap-code.patch [deleted file]
src/patches/ppp/ppp-2.4.9-patch-configure-to-handle-cflags-properly.patch [new file with mode: 0644]