Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 1997 23:51:26 -0500
From:      Gabor Kincses <gabor@acm.org>
To:        Archie Cobbs <archie@whistle.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: PPP chap problem
Message-ID:  <33E019CE.167EB0E7@acm.org>
References:  <199707310409.VAA24294@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Archie Cobbs wrote:
> 
> > I have tried to make chap work, but no go.  I have used pap and no
> > authentication for over 6 months now, but chap doesn't seem to work.
> >
> > I always get
> > LCP:  SendConfigRej(Req-Sent)
> >  AUTHPROTO proto = c223
> >
> > which means that my side rejects chap authentication.
> > Even though I added enable chap, accept chap.
> 
> Enable chap means "i want the peer to authenticate to me using chap",
> so you don't want to do that.
> 
> > I also tried to disable chap and only accept chap, but that didn't work
> 
> Hmm, should have.
> 
> -Archie
> 

I understood what enable chap meant after reading someone's post on the
newgroup and tried out disable chap and accept chap, which didn't work
either.  The really interesting part is that if I say accept pap, then
the SendConfigRej becomes SendConfigNak AUTHPROTO proto = c023, so it
seems there might be something wrong with the chap state in the code. 
Again I'm getting this after I escape out of term into packet mode.  Is
there anything different here from executing a script?

I only have the 2.1.5 source code, but haven't been able to dig through
the relevant portions.  All I can tell that the code never really gets
into the chap.c stuff...

-- 
Gabor Kincses
(gabor@acm.org)
FreeBSD 2.1.5/2.2.2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33E019CE.167EB0E7>