wsSocks

command module
v0.0.0-...-8662d57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 35 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

wsSocks

An efficient, multiplexed proxy tool based on Websocket.

  • Support socks5 proxy
  • Support multiplexing
  • Support client authentication
  • Support traffic statistics
  • Support reverse proxy

一个基于WebSocket的代理工具,支持双向数据验证、TLS加密、多路复用等特性。

install

curl -Ls git.io/wsSocks | sh

usage

Generate Cert

./wsSocks cert --hosts localhost

Server with TLS

./wsSocks server -l wss://localhost:2333/ws --cert root.pem --key root.key --auth <password>

Client

./wsSocks client -s wss://localhost:2333/ws --insecure --auth <password>

Server without TLS

./wsSocks client -l ws://localhost:2333/ws --auth <password>

Client

./wsSocks client -s ws://localhost:2333/ws --auth <password>

Built-in Benchmark

./wsSocks benchmark -s ws://localhost:2333/ws --block 10240 --auth <password>

Documentation

Overview

https://github.com/riobard/go-shadowsocks2/blob/9ac40321a87c9897d575bc4cd855b130100125d9/socks/socks.go Package socks implements essential parts of SOCKS protocol.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址