README 2.8 KB
Newer Older
X
xeb 已提交
1 2
Overview
--------
3 4
The ACCEL-PPTP v1.0 is completly new implementation of PPTP which was written from null.
Userspace daemon has its own PPP implementation, so it does not uses pppd and one process (multi-threaded) manages all connections.
X
xeb 已提交
5
ACCEL-PPTP uses kernel module to increase performance and decrease system usage.
6 7
It is not fully tested yet so not recomended to use in production.
Also v1.0 is oriented for servers and does not containes client part, if you need client please use v0.8.x
X
xeb 已提交
8

K
Kozlov Dmitry 已提交
9

10 11 12
Features
--------
1.  Modular architecture
13 14 15 16 17 18 19 20 21 22 23 24 25
2.  High-performance multi-threaded I/O core
3.  Supported PPTP
4.  Supported PPPoE
5.  Radius authentication/accounting
6.  Radius DM/CoA extention
7.  Supported authentication types: PAP, CHAP (md5), Microsoft CHAP Extentions (including version 2), not supported - EAP
8.  Supported MPPE
9.  Compression types are not supported
10. Extensible logging engine with per session logging support, implemented log to file and log to PostgreSQL targets
11. Extensible user/password database, implemented only Radius source
12. Extensible IP pool, implemented Radius and static pools
13. Supported pppd compatible ip-up/ip-down scripts
(Work on L2TP is in progress)
X
xeb 已提交
26

K
Kozlov Dmitry 已提交
27

X
xeb 已提交
28 29 30
Requirment
----------
1. modern linux distribution
31 32 33
2. kernel-2.6.25 or later
3. glibc-2.8 or later
4. cmake-2.6 or later
X
xeb 已提交
34 35


K
Kozlov Dmitry 已提交
36
Compilation and instalation
X
xeb 已提交
37
-----------
K
Kozlov Dmitry 已提交
38 39 40 41 42
Make sure you have configured kernel headers in /usr/src/linux,
or specify other location via KDIR.
1. cd /path/to/accel-pptp-1.0
2. mkdir build
3. cd build
43 44 45
4. cmake [ -D BUILD_DRIVER=TRUE ] [ -D KDIR=/usr/src/linux ] [ -D CMAKE_INSTALL_PREFIX=/usr/local ] [ -D CMAKE_BUILD_TYPE=Debug ] ..
   Please note that the double dot record in the end of the command is essential. You'll get error if you miss it.
   BUILD_DRIVER, KDIR, CMAKE_INSTALL_PREFIX, CMAKE_BUILD_TYPE are optional, but while pptp is not present in mainline kernel you probably need BUILD_DRIVER.
K
Kozlov Dmitry 已提交
46 47
5. make
6. make install
X
xeb 已提交
48 49 50 51


Configuration
-------------
52
read man accel-pptp.conf
X
xeb 已提交
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69


Warning !!!
-----------
1. This driver conflicts with ip_gre driver (in kernel), so make sure that ip_gre is not built-in or loaded at run time.
2. Never mix connections of accel-pptp and original pptpd, before starting accel-pptp make sure that no connections
   of original pptpd exists.
3. If you are switching from <2.6.23 to >=2.6.23 kernel or viÓe-versa then rebuild and reinstall entire package, 
   not just kernel module.


Kernel module
-------------
Kernel module is available as separated module and as patch for kernel.
You can use either separated module or patch for kernel.
There is only patch for 2.6.18 kernel now. If you wish patch for other kernels please mail me.

K
Kozlov Dmitry 已提交
70

X
xeb 已提交
71 72 73 74 75
Thanks
------
Thanks to Kirill Yushkov for debug support and donations.


76 77
Contacts
--------
X
xeb 已提交
78
http://accel-pptp.sourceforge.net/
79
mail: xeb@mail.ru
X
xeb 已提交
80
ICQ: 337258064
81
Jabber: xeb@xeb.homelinux.net