Hi all,
the WAN documentation in both NT4 and w2k DDK does not provide any
explanation on what piece of code is responsible for PPP logon/handshake
sequence (PAP, CHAP, compression/encryption type negotiation etc).
Is it done as a part of TAPI call making or after it? Must the TAPI
connection establishment precede the PPP handshake or must it include PPP
handshake in it?
Am I right that the logon information is passed via TAPI as UserUserData
or this is wrong?
Is NDIS_WAN_LINE_UP indication done after the PPP handshake or before
it?
Who does the PPP handshake? NDISWAN or user-mode code? If second - then
the user-mode code must have some means of accessing the raw bytes on the
line - who provides such means?
Am I right that the line exists as a file handle suitable for
Read/WriteFile and the user-mode PPP handshake code just reads and writes
bytes to it?
Or there are special NDISWAN IOCTLs for it?
What is the WAN miniport role in all of this? What WAN miniport’s
routines will be called during the PPP handshake?
What about the connection-oriented miniports? What if establishing a
media-level connection involves some kind of logon authentication? Who must
do the logon sequence over the incomplete line? The call manager?
Another question - am I right that NDISTAPI/NDPROXY is not used for
usual modem dialup connections, that the “TAPI part” of this is Unimodem and
not NDISTAPI, and that the established connection is passed to the
NDISWAN/AsyncMac by some undocumented proprietary IOCTLs?
In UNIX, it is done exactly so, the user-mode app dials the modem, then
does the handshake (using the line as an open file), after the PPP handshake
the line control is passed to the kernel’s PPP driver by special IOCTL
(which sets PPP as a “line discipline” for the port instead of the terminal
layer) and then TCP/IP is notified on the new interface being up.
Is it so in NT too?
Max
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com