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