All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Corbin <dcorbin@machturtle.com>
To: linux-ppp@vger.kernel.org
Subject: Re: auth eap
Date: Tue, 19 Jul 2005 11:58:02 +0000	[thread overview]
Message-ID: <200507190758.02654.dcorbin@machturtle.com> (raw)
In-Reply-To: <200507190713.53851.dcorbin@machturtle.com>

On Tuesday 19 July 2005 07:36 am, James Carlson wrote:
> David Corbin writes:
> > I'm trying to get a PPTP tunnel running (on a gentoo client).  The tunnel
> > tries to start, but then fails.  At the end is my output from attempting
> > to diagnose the failure.
> >
> > >From the "No auth is possible", and the "auth eap", I assume there is a
> >
> > problem with the way something is built on my system, but I can find very
> > little useful information about 'eap'.
>
> The "no auth is possible" message means that there are no valid
> credentials for the protocol requested by the peer (nothing usable in
> the various /etc/ppp/*_secrets files), so there's no point even trying
> to authenticate.
>
> EAP (Extensible Authentication Protocol) is somewhat like a transport
> protocol.  It can carry any of a wide range of "authentication
> methods" -- what you might call protocols.
>
> In the current ppp-2.4 sources, there's support for the RFC-required
> MD5-Challenge (using /etc/ppp/chap-secrets) and draft SRP-SHA1 (using
> /etc/ppp/srp-secrets) methods.
>
> Thus "no auth is possible" message means that the pppd didn't find any
> usable keys in either location, meaning that no known EAP methods are
> usable, and the peer's request for EAP itself can't be satisfied.

>
> Since you're using Microsoft's proprietary PPTP, adding keys to those
> files probably won't help.  Your peer is likely planning to insist on
> one of the many proprietary EAP methods that pppd doesn't currently
> support, and will also require MPPE key exchange for use with tunnel
> encryption.
>
> To find out which EAP method is needed, you could either ask the
> person who owns that peer system, or set up some temporary credentials
> in /etc/ppp/chap-secrets and find out what EAP method the peer
> requests.  When it's not one that's implemented by pppd (almost a
> certainty), you'll need to go off and find code (a patch) that does
> this for you, or implement it yourself.


But I have /etc/ppp/chap-secrets, with a line like this (appropriate 
substituions apply).

$DOMAIN\\$USERNAME PPTP $PASSWORD *

So, I'm not sure what you by "temporary credentials"

>
> It might be easier, though, to find patches that support MPPE and
> MS-CHAPv2, and ask the owner of that peer system to enable MS-CHAPv2
> support.  Though you're still likely to have some trouble getting your
> system to support this, I'd expect that'd be more likely to succeed.

I'll see if he'll do that.

>
> For what it's worth (and it might not be much), PPTP is quirky and of
> probably questionable value.

yeah.  Well, I *tried* to get them to use a linux-based system, but some 
people are to MS-bound in the head.

  parent reply	other threads:[~2005-07-19 11:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-19 11:13 auth eap David Corbin
2005-07-19 11:36 ` James Carlson
2005-07-19 11:58 ` David Corbin [this message]
2005-07-19 12:11 ` James Carlson
2005-07-19 12:40 ` David Corbin
2005-07-19 13:43 ` James Carlson
2005-07-19 14:27 ` David Corbin

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=200507190758.02654.dcorbin@machturtle.com \
    --to=dcorbin@machturtle.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.