README 3.2 KB
Newer Older
X
xeb 已提交
1 2
Overview
--------
3
The ACCEL-PPTP v1.0 is completly new implementation of PPTP/PPPoE/L2TP which was written from null.
4
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
2.  High-performance multi-threaded I/O core
3.  Supported PPTP
4.  Supported PPPoE
16
5.  Supported L2TPv2 (without IPsec)
17 18 19 20
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
K
Kozlov Dmitry 已提交
21
9.  Compression is not supported
K
Kozlov Dmitry 已提交
22 23 24
10. Extensible logging engine with per session logging support, implemented log to file, log to remote host and log to PostgreSQL targets
11. Extensible user/password database, implemented Radius, pppd compatible chap-secrets sources
12. Extensible IP pool, implemented Radius, chap-secrets and static pools
25
13. Supported pppd compatible ip-up/ip-down scripts
26
14. Builtin tbf shaper manager
K
Kozlov Dmitry 已提交
27
15. Command line interface via telnet
X
xeb 已提交
28

K
Kozlov Dmitry 已提交
29

X
xeb 已提交
30 31 32
Requirment
----------
1. modern linux distribution
33 34
2. kernel-2.6.25 or later
4. cmake-2.6 or later
K
Kozlov Dmitry 已提交
35
5. libnl-2.0 or probably later (required for builtin shaper)
X
xeb 已提交
36 37


K
Kozlov Dmitry 已提交
38
Compilation and instalation
X
xeb 已提交
39
-----------
K
Kozlov Dmitry 已提交
40 41
Make sure you have configured kernel headers in /usr/src/linux,
or specify other location via KDIR.
D
Dmitry Kozlov 已提交
42
1. cd /path/to/accel-pptp-1.3.1
K
Kozlov Dmitry 已提交
43 44
2. mkdir build
3. cd build
K
Kozlov Dmitry 已提交
45 46 47 48 49 50 51 52 53 54 55 56 57
4. cmake [-DBUILD_DRIVER=FALSE] [-DKDIR=/usr/src/linux] [-DCMAKE_INSTALL_PREFIX=/usr/local] [-DCMAKE_BUILD_TYPE=Release] [-DLOG_PGSQL=FALSE] [-DSHAPER=FALSE] [-DRADIUS=TRUE] ..
   Please note that the double dot record in the end of the command is essential. You'll probably get error or misconfigured sources if you miss it.
   BUILD_DRIVER, KDIR, CMAKE_INSTALL_PREFIX, CMAKE_BUILD_TYPE, LOG_PGSQL, SHAPER, RADIUS  are optional,
   But while pptp is not present in mainline kernel you probably need BUILD_DRIVER.
   For example:
   cmake -DBUILD_DRIVER=TRUE ..
   will configure sources to build pptp driver, search kernel headers at /usr/src/linux, install to /usr/local,
   build with no debug, pgsql and shaper support, build with radius support.
5. If you want to use chap-secrets for authentication purpose then you need to disable radius support, configure as following:
   cmake -DBUILD_DRIVER=TRUE -DRADIUS=FALSE ..
   of course you can include additional options if needed.
6. make
7. make install
X
xeb 已提交
58 59 60 61


Configuration
-------------
62
read man accel-pptp.conf
X
xeb 已提交
63 64 65 66


Warning !!!
-----------
K
Kozlov Dmitry 已提交
67 68
1. The pptp driver conflicts with ip_gre driver (in kernel), so make sure that ip_gre is not built-in or loaded at run time
   (don't matter if you have 2.6.37 or later kernel).
X
xeb 已提交
69 70 71
2. Never mix connections of accel-pptp and original pptpd, before starting accel-pptp make sure that no connections
   of original pptpd exists.

K
Kozlov Dmitry 已提交
72

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


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