1 Star 0 Fork 42

牛广聚CMS-2336 / socks_server

forked from Jack.arain / proxy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSL-1.0

一个socks服务器的实现

支持socks4/5 udp代理协议的socks代理服务器实现.

使用方法:

在服务器上编译运行命令

socks_server.exe --address 0.0.0.0 --port 4567

在客户浏览器上设置socks代理, 主机为服务器IP, 端口为4567.

然后就可以开始使用代理服务器了.

注意:如果服务器需要认证用户名密码,socks_server内置了一个简单的js引擎,

可以在socks_server所在目录实现do_auth.js即可认证。

do_auth.js必须实现do_auth/do_auth4函数, 参考项目所带的 do_auth.js

TODO:
  1. BIND支持.
  2. GSS-API认证支持.
Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个socks4/5的代理服务器实现。 展开 收起
C++
BSL-1.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/guangju/socks_server.git
git@gitee.com:guangju/socks_server.git
guangju
socks_server
socks_server
master

搜索帮助

14c37bed 8189591 565d56ea 8189591