All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Barber <jim.barber@ddihealth.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Windows IPSec/L2TP VPN client and Linux server with RADIUS, and
Date: Thu, 08 Sep 2005 00:24:32 +0000	[thread overview]
Message-ID: <431F84C0.2090806@ddihealth.com> (raw)
In-Reply-To: <431C13DD.9080600@ddihealth.com>

I decided to comment out the following entries in the
/etc/ppp/options.l2tpd file:

	#refuse-chap
	#refuse-mschap
	#require-mschap-v2

Then I changed the security settings in the VPN client software to
untick everything except for plain CHAP.

Now when I connect I see the following in the freeradius logs, and the
VPN successful establishes a connection.

rad_recv: Accounting-Request packet from host 10.10.0.218:1026, id\x127, length\x133
         Acct-Session-Id = "431F80CF7EB000"
         User-Name = "user1"
         Acct-Status-Type = Stop
         Service-Type = Framed-User
         Framed-Protocol = PPP
         Acct-Authentic = RADIUS
         Acct-Session-Time = 18
         Acct-Output-Octets = 33
         Acct-Input-Octets = 785
         Acct-Output-Packets = 2
         Acct-Input-Packets = 8
         NAS-Port-Type = Async
         Acct-Terminate-Cause = User-Request
         Framed-IP-Address = 10.10.0.248
         NAS-IP-Address = 10.10.0.216
         NAS-Port = 0
         Acct-Delay-Time = 0

But then I did something that was strange.
I turned on the refuse-chap, refuse-mschap, and require-mschap-v2
options in the options.l2tpd file again, and then tried to connect with
VPN client again, expecting it to fail...
But it didn't. With the VPN client still configured to only use CHAP,
it was allowed to log in despite the 'require-mschap-v2' directive.
I had bounced all daemons to make sure that the changes were picked up.

Does that give anyone some clues?

----------
Jim Barber
DDI Health




  parent reply	other threads:[~2005-09-08  0:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-05  9:46 Windows IPSec/L2TP VPN client and Linux server with RADIUS, and PPP Jim Barber
2005-09-06  0:15 ` Windows IPSec/L2TP VPN client and Linux server with RADIUS, and Jim Barber
2005-09-06  1:21 ` Jim Barber
2005-09-08  0:24 ` Jim Barber [this message]
2005-09-08  2:40 ` Jim Barber
2005-09-08  3:03 ` Jim Barber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=431F84C0.2090806@ddihealth.com \
    --to=jim.barber@ddihealth.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.