blob: f1e4ba123435481d6f1e1d4459486298edc5aeee [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001 Microsoft Call Back Configuration Protocol.
2 by Pedro Roque Marques
3 (updated by Paul Mackerras)
4
5The CBCP is a method by which the Microsoft Windows NT Server may
6implement additional security. It is possible to configure the server
7in such a manner so as to require that the client systems which
8connect with it are required that following a valid authentication to
9leave a method by which the number may be returned call.
10
11It is a requirement of servers to be so configured that the protocol be
12exchanged.
13
14So, this set of patches may be applied to the pppd process to enable
15the cbcp client *only* portion of the specification. It is primarily
16meant to permit connection with Windows NT Servers.
17
18The ietf-working specification may be obtained from ftp.microsoft.com
19in the developr/rfc directory.
20
21The ietf task group has decided to recommend that the LCP sequence be
22extended to permit the callback operation. For this reason, these
23patches are not 'part' of pppd but are an adjunct to the code.
24
25To enable CBCP support, all that is required is to uncomment the line
26in Makefile.linux that sets CBCP=y and recompile pppd.
27
28I use such script to make a callback:
29
30pppd debug nodetach /dev/modem 115200 crtscts modem \
31callback 222222 name NAME remotename SERVER \
32connect 'chat -v "" atz OK atdt111111 CONNECT ""'
33sleep 1
34pppd debug /dev/modem 115200 crtscts modem \
35name NAME remotename SERVER defaultroute \
36connect 'chat -v RING ATA CONNECT "\c"'
37
38First we invoke pppd with 'nodetach' option in order to not detach from
39the controlling terminal and 'callback NUMBER' option, then wait for
401 second and invoke pppd again which waits for a callback (RING) and
41then answers (ATA). Number 222222 is a callback number, i.e. server will
42call us back at this number, while number 111111 is the number we are
43calling to.
44
45You have to put in /etc/ppp/chap-secrets the following two lines:
46
47NAME SERVER PASSWORD
48SERVER NAME PASSWORD
49
50You have to use your real login name, remote server name and password.
51