Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Achou.Wang
accel-ppp
提交
6dd6ad03
A
accel-ppp
项目概览
Achou.Wang
/
accel-ppp
通知
6
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
accel-ppp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
6dd6ad03
编写于
5月 30, 2011
作者:
K
Kozlov Dmitry
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updated README
上级
afbcb9f6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
21 addition
and
14 deletion
+21
-14
README
README
+21
-14
未找到文件。
README
浏览文件 @
6dd6ad03
Overview
--------
The ACCEL-PP
TP v1.0 is completly new implementation of PPTP/PPPoE/L2TP which was written from null
.
The ACCEL-PP
P v1.0 is completly new implementation of PPTP/PPPoE/L2TP which was written from scratch
.
Userspace daemon has its own PPP implementation, so it does not uses pppd and one process (multi-threaded) manages all connections.
ACCEL-PPTP uses kernel module to increase performance and decrease system usage.
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
ACCEL-PPP uses only kernel-mode implementations of pptp/l2tp/pppoe.
Features
...
...
@@ -12,7 +10,7 @@ Features
1. Modular architecture
2. High-performance multi-threaded I/O core
3. Supported PPTP
4. Supported PPPoE
4. Supported PPPoE
(including TR-101 extension)
5. Supported L2TPv2 (without IPsec)
5. Radius authentication/accounting
6. Radius DM/CoA extention
...
...
@@ -33,13 +31,15 @@ Requirment
2. kernel-2.6.25 or later
4. cmake-2.6 or later
5. libnl-2.0 or probably later (required for builtin shaper)
6. libcrypto-0.9.8 or probably later (openssl-0.9.8)
7. libpcre
Compilation and instalation
-----------
Make sure you have configured kernel headers in /usr/src/linux,
or specify other location via KDIR.
1. cd /path/to/accel-pp
tp-1.3.1
1. cd /path/to/accel-pp
p-1.3.5
2. mkdir build
3. cd build
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] ..
...
...
@@ -59,13 +59,14 @@ or specify other location via KDIR.
Configuration
-------------
read man accel-pptp.conf
read man accel-ppp.conf
Built-in shaper
--------------
accel-pp
t
p supports tbf based shaper manager.
accel-ppp supports tbf based shaper manager.
To enable it uncomment shaper_tbf in [modules] section.
It accepts radius attrbutes in various formats: rate, down-rate/up-rate and cisco-like. Values have to be in kilobits except cisco-like.
It accepts radius attr
i
butes in various formats: rate, down-rate/up-rate and cisco-like. Values have to be in kilobits except cisco-like.
For example:
Filter-Id=1000 (means 1000Kbit both up-stream and down-stream rate)
Filter-Id=2000/3000 (means 2000Kbit down-stream rate and 3000Kbit up-stream rate)
...
...
@@ -78,7 +79,7 @@ To specify different attributes for down-stream and up-stream rates use 'attr-do
attr-down=PPPD-Downstream-Speed
attr-up=PPPD-Upstream-Speed
If you want to use cisco-like format configure accel-pp
t
p as following:
If you want to use cisco-like format configure accel-ppp as following:
[tbf]
vendor=Cisco
attr=Cisco-AVPair
...
...
@@ -86,10 +87,11 @@ and send two attributes:
Cisco-AVPair=lcp:interface-config#1=rate-limit input 2000000 8000 8000 conform-action transmit exceed-action drop (which means 2000Kbit up-stream rate and 8Kb burst)
Cisco-AVPair=lcp:interface-config#1=rate-limit output 2000000 8000 8000 conform-action transmit exceed-action drop (which means 2000Kbit down-stream rate and 8Kb burst)
Advanced shaper using
---------------------
1. Burst configuration.
If you not using cisco-format then burst calculates from rate and specified burst factors.
If you not using cisco-
like
format then burst calculates from rate and specified burst factors.
To specify burst factors use 'down-burst-factor' and 'up-burst-factor' options, for example:
[tbf]
down-burst-factor=1.0
...
...
@@ -114,15 +116,20 @@ You have to pass multiple Filter-Id attributes to utilize this functionality.
Or cisco-like:
Cisco-AVPair=lcp:interface-config#1=rate-limit output access-group 1 1000000 8000 8000 conform-action transmit exceed-action drop
Cisco-AVPair=lcp:interface-config#1=rate-limit input access-group 1 1000000 8000 8000 conform-action transmit exceed-action drop
ans so on...
and so on...
3. chap-secrets.
If you use chap-secrets instead of radius then there is way to utilize built-in shaper too.
The optional fifth column in chap-secrets file is used to pass rate information to shaper.
Its format is same as for radius attributes, except you cann't utilize time ranges functionality.
Warning !!!
-----------
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).
2.
Never mix connections of accel-pptp and original pptpd, before starting accel-ppt
p make sure that no connections
of
original
pptpd exists.
2.
Don't mix connections of accel-ppp and poptop's pptpd, before starting accel-pp
p make sure that no connections
of pptpd exists.
Thanks
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录