一个轻量级代理,用于验证IP阻塞措施
arkcserver的Python项目详细描述
arkc是一个轻量级代理,旨在证明ip阻塞措施 通过多连接传输和 交换连接。
arkc服务器是服务器端实用程序。
注意:arkc 0.3与0.2或更早版本不兼容。
什么是arck?
阿科不是另一个暗影袜。
它使服务器拥有者可以让任何人享受免费的网络浏览,而不必担心IP黑名单。有了arkc vps的拥有者,他们可以更好地将vps共享给周围的人,或者在线共享vps上托管的代理。
有关更详细的说明,请访问我们的网站并阅读我们的页面Understand ArkC。中石化{a3}.
默认情况下,它会尝试这样做:
并使其稍微复杂一点,例如将obfs_级别设置为3或使用socks代理:
注意,“匿名代理”可以是您设置的任何内容!
设置和要求
可能需要更详细的指导:Deployment and Installation。中新网 这页面。
运行arkc服务器需要python 2.7和twisted(python 3是 目前不支持的兼容性问题)和TXSocksx。一个 通常建议使用虚拟环境。
sudo pip install arkcserver
您可能需要python开发环境。
debian/ubuntu用户:
sudo apt-get install python python-pip python-dev
Fedora用户:
sudo yum python python-pip python-devel
您也可以从源安装arkc服务器。
如果您需要支持可移植代理功能,如meek(需要与gae集成)或obfs4proxy,请按照上述链接访问arkc.org。
特权
默认情况下,arkc服务器需要监听端口53以支持dns中继 功能(客户端可以通过DNS的多个步骤连接到服务器 查询)。通常这需要预先配置或根权限。
用法
有关详细文档,请访问我们的Documentation page。
中新网
运行
arkcserver [-h] [-v] [-ep (use external proxy)] [-t (use transmit mode)] [-c <Path of the config Json file, default = config.json>]
启动服务器。
当arkcserver运行时,运行
arkcserver-mailcheck -db DATABASE_ADDRESS
启动邮件服务器并自动接收客户端凭据。
在这个版本中,任何私有证书都应该是pem格式的 没有加密,而任何公共证书都应该是 ssh rsa的。
对于配置文件,您可以在此处找到一个示例:
{ "local_cert_path": "testfiles/server", "clients": [ ["testfiles/client1.pub", <sha1 of client1's private key>], ["testfiles/client2.pub", <sha1 of client2's private key>] ] }
有关设置的完整列表:
Index name | Value Type & Description | Required / Default |
---|---|---|
udp_port | int, udp listening port | (0.0.0.0:)53 |
proxy_port | int, local/ext proxy port | 8100(local)/8123(ext) |
local_cert_path | string, path of server pri | REQUIRED |
central_cert_path | string, path of central server pub | REQUIRED if using transmit mode |
clients | list, (path of client pub, sha1 of client pri) pairs | REQUIRED unless “clients_db” is set |
clients_db | string, path of the sqlite db where keys are stored or updated | REQUIRED unless “clients” is set |
pt_exec | string, command line of pluggable transport executable | “obfs4proxy” |
obfs_level | integer, obfs level 0~3 | 0 |
meek_url | string, URL of meek’s GAE destination | “https://arkc-reflect1.appspot.com/” |
socks_proxy | list, (host, port) | None (Unused) |
delegated_domain | string, the SOA record to respond | “public.arkc.org” |
self_domain | string, the A record pointing to the server | “freedom.arkc.org” |
您可以在self.arkc.org获得您的域。
注意:如果obfs_level设置为非零值,则obfs4_exec必须是 适当的设置。obfs4将使用iat模式(obfs_level-1),其中 意味着如果obfs_level设置为2或3,连接速度可以是 影响。
致谢
http代理部分基于 twisted-connect-proxy 彼得·鲁巴尔,根据疯牛病许可证发布。
服务器端软件改编了由 马克·珀西瓦尔m@mdp.im。他的代码在python端口版权下被重用, 附加许可证。
arkcserver/ptserver.py文件基于王定远的ptproxy。代码重用和 在麻省理工学院许可下编辑,附于文件中。
许可证
版权所有2015 ARKC Technology。
arkc客户机和arkc服务器实用程序在gnu gplv2下获得许可。 您应该获得软件许可证的副本。
除非适用法律要求或书面同意,否则软件 距离根据许可证分发是按“原样”分发的, 无任何明示或默示的保证或条件。 有关管理权限的特定语言和 许可下的限制。