]> git.ozlabs.org Git - ppp.git/blob - README.cbcp
change to bsd-style licence
[ppp.git] / README.cbcp
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 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 change the
26 appropriate Makefile in the pppd subdirectory to add "-DCBCP_SUPPORT"
27 to the CFLAGS definition and add cbcp.o to the list of object files,
28 and then recompile pppd.  The patch below does this for Makefile.bsd
29 and Makefile.linux.
30
31
32 --------------------------------cut here-------------------------------
33 diff -r -c ppp-2.3.orig/pppd/Makefile.bsd ppp-2.3/pppd/Makefile.bsd
34 *** ppp-2.3.orig/pppd/Makefile.bsd      Tue Oct  8 13:33:33 1996
35 --- ppp-2.3/pppd/Makefile.bsd   Fri Apr 11 23:59:15 1997
36 ***************
37 *** 4,14 ****
38   # -D_BITYPES is for FreeBSD, which doesn't define anything to
39   # tell us that u_int32_t gets defined if <sys/types.h> is included.
40   # Remove for older *BSD systems for which this isn't true.
41 ! CFLAGS+= -g -I.. -DHAVE_PATHS_H -D_BITYPES
42   
43   PROG= pppd
44   SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
45 !       demand.c auth.c options.c sys-bsd.c
46   MAN=  pppd.cat8
47   MAN8= pppd.8
48   BINMODE=4555
49 --- 4,14 ----
50   # -D_BITYPES is for FreeBSD, which doesn't define anything to
51   # tell us that u_int32_t gets defined if <sys/types.h> is included.
52   # Remove for older *BSD systems for which this isn't true.
53 ! CFLAGS+= -I.. -DHAVE_PATHS_H -D_BITYPES -DCBCP_SUPPORT
54   
55   PROG= pppd
56   SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
57 !       demand.c auth.c options.c sys-bsd.c cbcp.c
58   MAN=  pppd.cat8
59   MAN8= pppd.8
60   BINMODE=4555
61 diff -r -c ppp-2.3.orig/pppd/Makefile.linux ppp-2.3/pppd/Makefile.linux
62 *** ppp-2.3.orig/pppd/Makefile.linux    Tue Oct  8 15:42:41 1996
63 --- ppp-2.3/pppd/Makefile.linux Sat Apr 12 00:02:28 1997
64 ***************
65 *** 14,20 ****
66            ipxcp.h cbcp.h
67   MANPAGES = pppd.8
68   PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
69 !          auth.o options.o demand.o sys-linux.o ipxcp.o
70   
71   all: pppd
72   
73 --- 14,20 ----
74            ipxcp.h cbcp.h
75   MANPAGES = pppd.8
76   PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
77 !          auth.o options.o demand.o sys-linux.o ipxcp.o cbcp.o
78   
79   all: pppd
80   
81 ***************
82 *** 36,42 ****
83   #INCLUDE_DIRS= -I/usr/include -I..
84   INCLUDE_DIRS=
85   
86 ! COMPILE_FLAGS= -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
87   
88   CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
89   
90 --- 36,42 ----
91   #INCLUDE_DIRS= -I/usr/include -I..
92   INCLUDE_DIRS=
93   
94 ! COMPILE_FLAGS= -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE -DCBCP_SUPPORT
95   
96   CFLAGS= $(COPTS) $(COMPILE_FLAGS) $(INCLUDE_DIRS)
97