shadowsocks / shadowsocks-windows

A C# port of shadowsocks
Other
58.27k stars 16.4k forks source link

Linux命令行和其他操作系统版本的实现大家有考虑过嘛? #2847

Closed maikebing closed 3 years ago

maikebing commented 4 years ago

Shadowsocks v50

Environment Linux and Windows

What did you expect to see? / 期望的结果

无论在Linux或是Windows 是否考虑过以服务方式运行?或者命令行的方式? 或者说 把 现在的UI 拆开?我记得 之前有一个 issue 提到过这个!

maikebing commented 4 years ago

@studentmain @celeron533

chenshaoju commented 4 years ago

Linux:https://github.com/shadowsocks/shadowsocks-libev MacOS:https://github.com/shadowsocks/ShadowsocksX-NG

celeron533 commented 4 years ago

最简核心可以无GUI运行那是最好的了,就像v2ray核心搭配各种UI一样。 隔壁 https://github.com/shadowsocks/shadowsocks-net @ohsorry 已经在net core上的实现

ohsorry commented 4 years ago

速来围观。

maikebing commented 4 years ago

这个项目才注意到。

ohsorry commented 4 years ago

来看看吧,我为了可玩性做了些设计,windows端以后可以配合libpcap,花点时间还是可以写一个即小巧又强大的ss的。

nerekihs commented 4 years ago

https://github.com/shadowsocks/shadowsocks-libev#windows-mingw This is a ss-server and ss-local core written in pure C. Why don't you just simple compile and make this according to your platform.

maikebing commented 4 years ago

虽然我非常熟悉C语言和linux 下的编程, 但是我更希望 shadowsocks-windows 能真正的跨平台, 实现真正完全跨平台。 理由很简单, 为了让.Net 更伟大。

nonfdsaofd commented 4 years ago

不是有shadowsocks-libev么

hanhongju commented 4 years ago

shadowsocks客户端使用脚本@Debian 10

安装shadowsocks

apt update apt install -y shadowsocks-libev net-tools

写入服务器信息

echo ' { "server": "", "server_port": 10086, "local_port": 9000, "password": "lllll", "timeout": 60, "method": "aes-256-gcm" } ' > /etc/shadowsocks-libev/root.json

启动服务

systemctl enable shadowsocks-libev-local@root systemctl restart shadowsocks-libev-local@root sleep 5s systemctl status shadowsocks-libev-local@root netstat -plunt | grep 'ss-local'

回显ss-local监听端口

database64128 commented 3 years ago

shadowsocks-cli is now available for Linux and Windows. It can be used as Shadowsocks client and server config converter. Get artifacts from https://github.com/shadowsocks/shadowsocks-windows/actions/runs/627431775.

Currently the client is limited to the legacy backend and SOCKS5. The converter is feature complete and supports conversion between ss:// links, SIP008 JSON, and V2Ray JSON.

AES-256-GCM ss-rust client ss-cli client
ss-rust server 8.68Gbps 4.88Gbps
ChaCha20-Poly1305 ss-rust client ss-cli client
ss-rust server 6.75Gbps 3.31Gbps