lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | To enable CBCP support, all that is required is to uncomment the line |
| 26 | in Makefile.linux that sets CBCP=y and recompile pppd. |
| 27 | |
| 28 | I use such script to make a callback: |
| 29 | |
| 30 | pppd debug nodetach /dev/modem 115200 crtscts modem \ |
| 31 | callback 222222 name NAME remotename SERVER \ |
| 32 | connect 'chat -v "" atz OK atdt111111 CONNECT ""' |
| 33 | sleep 1 |
| 34 | pppd debug /dev/modem 115200 crtscts modem \ |
| 35 | name NAME remotename SERVER defaultroute \ |
| 36 | connect 'chat -v RING ATA CONNECT "\c"' |
| 37 | |
| 38 | First we invoke pppd with 'nodetach' option in order to not detach from |
| 39 | the controlling terminal and 'callback NUMBER' option, then wait for |
| 40 | 1 second and invoke pppd again which waits for a callback (RING) and |
| 41 | then answers (ATA). Number 222222 is a callback number, i.e. server will |
| 42 | call us back at this number, while number 111111 is the number we are |
| 43 | calling to. |
| 44 | |
| 45 | You have to put in /etc/ppp/chap-secrets the following two lines: |
| 46 | |
| 47 | NAME SERVER PASSWORD |
| 48 | SERVER NAME PASSWORD |
| 49 | |
| 50 | You have to use your real login name, remote server name and password. |
| 51 | |