PPVSWA——公共 PPTP VPN WEB审核赋权系统

2011年6月1日 | 分类: 乱七八糟 | 标签: ,

本程序是公益VPN用户管理程序,基于PHP+MySQL,需要WebServer支持运行

本程序可以接收外部申请,申请表单详见form.php

表单搜集的数据需要传递给handler.phphandler.php负责将一系列信息写入MySQL数据库

访问admin.php进行综合管理。

auth.php用于修改用户状态,同时给用户发送邮件,手动同步数据库和chap-secrets配置文件。

mailmaker.php用于编辑电子邮件。

mailsender.php用于给用户发送额外消息。

config.php用于存放服务器配置信息,内部每个变量都需要事先设置。

install.php用于初始化MySQL数据库

chap-secretsPPTP VPN服务器程序的用户名密码存储文件,正常情况下位于/etc/ppp/

index.php是链接页面,链接form.php,用于接收申请。

functions.php是函数库,几乎全部功能在此定义。

selfservice.php是用户自助服务页面。

selfauth.php用于用户利用激活码自助激活。

checkstate.php用于用户自助查询用户状态。

viewkey.php用于管理员查看未使用的激活码

buildkey.php用于生成激活码,一次5枚。

chap-secrets.old是追加文件,如果存在旧有的chap-secrets,请把它放在本系统目录下,命名为chap-secrets.old

注,发送邮件需要服务器支持。

=============================

安装流程

=============================

1.将压缩包内文件全部放入web服务器下某目录中

2.编辑config.php,根据自己情况填好变量信息。

3.用浏览器访问install.php文件,初始化数据库。

4.删除install.php文件

5.如果/etc/ppp/chap-secrets文件存在,将其移动至安装目录下,命名为chap-secrets.old

6./etc/ppp/创建一个名为chap-secrets的软连接,指向安装目录中的chap-secrets (ln -s)

7.将安装目录下的chap-secrets文件权限改为rw-rw–w-(662)

8.安装完成。

项目地址http://code.google.com/p/ppvswa/

下载地址http://code.google.com/p/ppvswa/downloads/list

本文原始地址:http://igfw.net/archives/3068

  1. AS
    2011年6月14日21:58

    Nedw ver.:
    https://code.google.com/p/ppvswa/downloads/list
    “ppvswa_v0.6+_eng.zip ppvswa_v0.6+_eng ppvswa 72 minutes ago 72 minutes ago 16.2 KB
    ppvswa_v0.6_eng.zip ppvswa_v0.6_eng ppvswa 19 hours ago 19 hours ago 15.7 KB”

    (PPVSWA——公共 PPTP VPN WEB审核赋权系统)

  2. AS
    2011年6月1日19:55

    New ver.:Freenet
    https://code.google.com/p/freenet/
    https://code.google.com/p/freenet/downloads/list
    “FreenetInstaller-1376.exe Freenet 0.7.5 build 1376 installer (windows) Featured 17 hours ago 12.2 MB
    FreenetInstaller-1376.exe.sig Freenet 0.7.5 build 1376 installer (windows) (signature) 17 hours ago 72 bytes”

    (翻墙利器)

  3. AS
    2011年6月1日19:48

    https://code.google.com/p/phantom/
    “The Phantom protocol is a system for decentralized anonymization of generic network traffic. It has been designed with the following main goals in mind:
    1. Completely decentralized.
    – No critical or weak points to attack or put (il)legal pressure on.
    2. Maximum resistance against all kinds of DoS attacks.
    – Direct technical destructive attacks will practically be the only possible way to even attempt to stop it.
    3. Theoretically secure anonymization.
    – Probabilistic methods (contrary to deterministic methods) must be used in a completely decentralized design like this, where no other peer can be trusted, so focus is put on optimizing these methods.
    4. Theoretically secure end-to-end transport encryption.
    – This is simple in itself, but still important in the context of anonymization.
    5. Completely (virtually) isolated from the “normal” Internet.
    – No one should have to worry about crimes being perpetrated from their own IP
    address.
    6. Maximum protection against identification of protocol usage through traffic analysis.
    – You never know what the next draconian law might be.
    7. Capable of handling larger data volumes, with acceptable throughput.
    – Most existing anonymization solutions are practically unusable for (or even prohibit) larger data volumes.
    8. Generic and well-abstracted design, compatible with all new and existing network enabled software.
    – Software application developer participation should not be needed, it should be easy to apply the anonymization to both new and already existing products like e.g. web browsers and file transfer software.
    The latest version of the source release package can always be downloaded here.
    White paper describing the protocol and its design:
    http://www.magnusbrading.com/phantom/phantom-design-paper.pdf
    Paper describing the protocol implementation:
    http://www.magnusbrading.com/phantom/phantom-implementation-paper.pdf
    Slides from the original DEFCON 2008 presentation about the protocol:
    http://www.magnusbrading.com/phantom/phantom-pres.ppt
    DEFCON presentation video (speaker + slides):
    https://media.defcon.org/dc-16/video/Defcon16-Magnus_Brading-The_Phantom_Protocol.m4v
    DEFCON presentation video (slides only):
    https://media.defcon.org/dc-16/video/Defcon16-Magnus_Brading-The_Phantom_Protocol-Slides_Only.m4v
    DEFCON presentation (audio only):
    https://media.defcon.org/dc-16/audio/Defcon16-Magnus_Brading-The_Phantom_Protocol.m4b

    https://code.google.com/p/phantom/downloads/list
    ” phantom-r29-2011-06-01-012719.tar.gz Release package based on revision r29 created 2011-06-01. 10 hours ago 1.6 MB 7
    phantom-r24-2011-05-27-002248.tar.gz Release package based on revision r24 created 2011-05-27. 5 days ago 1.6 MB 96
    phantom-r23-2011-05-19-183410.tar.gz Release package based on revision r23 created 2011-05-19. May 19 1.9 MB 518
    phantom-r21-2011-04-26-004948.tar.gz Release package based on revision r21 created 2011-04-26. Apr 25 1.9 MB 219
    phantom-r19-2011-04-22-190522.tar.gz Release package based on revision r19 created 2011-04-22. Apr 22 1.9 MB 38
    phantom-r17-2011-04-20-193044.tar.gz Release package based on revision r18 created 2011-04-20. Apr 20 1.9 MB 23
    phantom-r14-2011-04-12-042207.tar.gz Release package based on revision r14 created 2011-04-12. Apr 11 1.9 MB 31
    phantom-r14-2011-04-07-142652.tar.gz Release package based on revision r14 created 2011-04-07. Apr 7 1.9 MB ”

    (翻墙利器)