portmaster strange implementation of LCP (pap/chap)

Alexei Krivenkov (kriv@dataart.com)
Tue, 15 Apr 1997 20:08:00 -0400 (EDT)

I'm using Livingston PortMaster PM-2e ComOS 3.5.
Started having this problem only recently and only with
Farralon's Netopia PN640 v1.1.1 (dumb dumb dumb)...
... but it worked well before (nothing in configuration
changed as I remember).

Now the ISDN connection never goes farther than LCP negotiation
phase:

-------
Received LCP_CONFIGURE_REQUEST on port S21 of 4 bytes containing:
01 01 00 08 03 04 c0 23
Fixed #bytes to match #found...
Recvd from port S21: 10 bytes LCP Request-1
Authentication-Protocol = PAP

Sending LCP_CONFIGURE_NAK to port S21 of 9 bytes containing:
03 01 00 09 03 05 c2 23 05
Sent to port S21: 11 bytes LCP Refuse-1
Authentication-Protocol = CHAP 0x05

/* It's really weird Portmaster send this. It looks like it refuses
CHAP which has not been offered. */

Sending LCP_CONFIGURE_REQUEST to port S21 of 14 bytes containing:
01 01 00 0e 05 06 a5 bd ea 8d 03 04 c0 23
Sent to port S21: 16 bytes LCP Request-1
Magic-Number = 0xa5bdea8d
Authentication-Protocol = PAP
-----
And it goes on like this until timeouts.
It seems like portmaster is doing something wrong.
And this can be observed irrelevant to whether chap is on or off.

Does anyone have any idea how to change pm's behavior?

It's not quite clear to me who has to offer auth protocol: the side
willing to authenticate itself of the side demanding authentication?

Thanks for any suggestions and comments.

-------
Alexei Krivenkov
Data Art