public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] use CHAP for dial-in as default
@ 2017-11-19 13:47 Peter Müller
  2017-11-19 15:34 ` Michael Tremer
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Müller @ 2017-11-19 13:47 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

Use CHAP as default setting for PPPoE dial-in connections.

Although CHAP does not provide strong transport security
at all, it is better than submitting credentials in plain text.

Enforcing CHAP prevents the system from silently falling
down to no encryption (MITM attack!).

Existing installations remain untouched.

Signed-off-by: Peter Müller <peter.mueller(a)link38.eu>
---
 html/cgi-bin/pppsetup.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/pppsetup.cgi b/html/cgi-bin/pppsetup.cgi
index 4b45ee50c..a96dce9df 100644
--- a/html/cgi-bin/pppsetup.cgi
+++ b/html/cgi-bin/pppsetup.cgi
@@ -1042,7 +1042,7 @@ sub initprofile
         $pppsettings{'HOLDOFF'} = 30;
         $pppsettings{'TIMEOUT'} = 15;
         $pppsettings{'MODULATION'} = 'AUTO';
-        $pppsettings{'AUTH'} = 'pap-or-chap';
+        $pppsettings{'AUTH'} = 'chap';
         $pppsettings{'DNS'} = 'Automatic';
         $pppsettings{'DEBUG'} = 'off';
         $pppsettings{'BACKUPPROFILE'} = $pppsettings{'PROFILE'};
-- 
2.13.6


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-04 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-19 13:47 [PATCH] use CHAP for dial-in as default Peter Müller
2017-11-19 15:34 ` Michael Tremer
2017-11-20 18:30   ` Peter Müller
2017-11-21 12:25     ` Michael Tremer
2017-12-04 16:40       ` Peter Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox