From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 2/2] Tell pppd not to ask for IPv6 addresses during dial-up Date: Thu, 08 Jul 2021 11:34:28 +0100 Message-ID: <0A68CFA0-94FD-4491-A8E9-EFD5BD1FC0FE@ipfire.org> In-Reply-To: <47f6b552-e533-2e20-3d0b-c7bad78c88ac@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0297962790742829466==" List-Id: --===============0297962790742829466== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hello, > On 7 Jul 2021, at 20:49, Peter Müller wrote: > > pppd 2.4.9 supports IPv6 and asks for an IPv6 configuration by default. > Setting the received prefix in the kernel will never work, however, as > the rest of IPFire 2.x does not support IPv6. > > pppd notices the ISP about this, and at least Otenet (GR) and British > Telecom (several countries) decide to close a dial-up connection then. > German DTAG seems to ignore such errors silently. > > This patch adds an option to the pppd call to prevent asking for an > IPv6 configuration, hence avoiding this errors. > > To apply this patch, it is necessary to ship ppp 2.4.9 again. Since I > have no access to a testing machine behind an ISP supporting IPv6, this > patch unfortunately is untested. In general, but especially for such critical things, this is unacceptable. Please look for someone who can test this. > > Fixes: #12651 > > Signed-off-by: Peter Müller > --- > src/initscripts/networking/red | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/initscripts/networking/red b/src/initscripts/networking/red > index ca0a8ae58..56f8ebb66 100644 > --- a/src/initscripts/networking/red > +++ b/src/initscripts/networking/red > @@ -410,7 +410,7 @@ case "${1}" in > ### Standard PPP options we always use > # > PPP_STD_OPTIONS="$PLUGOPTS usepeerdns defaultroute noipdefault noauth" > - PPP_STD_OPTIONS+=" default-asyncmap hide-password nodetach" > + PPP_STD_OPTIONS+=" default-asyncmap hide-password nodetach noipv6" > PPP_STD_OPTIONS+=" noaccomp nodeflate nopcomp novj novjccomp" > PPP_STD_OPTIONS+=" nobsdcomp user ${USERNAME} lcp-echo-interval 20" > PPP_STD_OPTIONS+=" lcp-echo-failure 5 ${AUTH}" > -- > 2.26.2 --===============0297962790742829466==--