cfal / shoes Goto Github PK
View Code? Open in Web Editor NEWA multi-protocol proxy server written in Rust (HTTP, HTTPS, SOCKS5, Vmess, Vless, Shadowsocks, Trojan, Snell)
License: MIT License
A multi-protocol proxy server written in Rust (HTTP, HTTPS, SOCKS5, Vmess, Vless, Shadowsocks, Trojan, Snell)
License: MIT License
Sorry if it already supports ss plugins. I need a shadowsocks server with obfs-simple plugin that forwards traffic to an upstream socks5 server.
I have set up a proxy using the Windows proxy settings and installed shoes on a cloud server in Hong Kong. The feature I want to use is the tunnel proxy function, which involves forwarding. What YAML configuration file should I use?
I use shoes as the server, and then use shoes as the client, but I can't connect
Hello,
I'm getting,
[2023-09-07T17:18:52Z ERROR shoes::tcp_server] (MYIP):5448 finished with error: Custom { kind: InvalidData, error: "failed to setup server stream: open failed for length" }
error when starting snell server with
ciphers.
Server works fine with aes-128-gcm cipher.
Please look into this. I'm looking forward for a solution.
Thank you.
#![feature]
may not be used on the stable release channel
I write a simple tunnel proxy program in Rust and deployed it on a cloud server located in Hong Kong. I'm in China. With this proxy, I can access websites within China, such as Baidu and Bilibili, without any issues. It also allows access to Twitter; however, I cannot connect to Google or YouTube.
The cloud server itself can access Google directly via OpenSSL or Netcat (nc). I used tcpdump to capture packets and discovered that, when my program on cloud server attempts to connect to Google, it sends a FIN packet to terminate the connection immediately after the TCP three-way handshake is completed.
Another attempt, I originally thought that the traffic was being intercepted by the GFW (Great Firewall). Based on this assumption, I encrypted the traffic on the client side and then decrypted it on the server side, similar to how v2ray works. However, after making these modifications, I couldn't even connect to websites like Baidu and Bilibili anymore.
Can anyone explain why this happens?
I referred to your shoes to implement a websocket vless tunnel running on cloudflare workers, but I found that when using safari to visit twitter/facebook/instagram, the webpage would fail to access, and some static files would fail to load, but the same implementation of js was fine https://github.com/zizifn/edgetunnel, I have no way to debug this problem, I'm not sure if it's a cloudflare workers issue or a problem with my code, so I'd like you to help me see if there's anything wrong with my implementation of vless, I'm a rust newbie and can't find any other way to get help for the time being. I apologize for any inconvenience.
https://github.com/zhu327/workers-tunnel/blob/main/src/lib.rs
Hello!
I did try to not use socks5 user and password(trying to connect to local cloudflare warp socks5 proxy(127.0.0.1:40000) that does not support password authentication) as parent connection but it does not work.
Maybe there is some workaround for it?
there's quite a few places where we could be handling errors more gracefully, eg
$ ./shoes
No config specified, assuming loading from file config.shoes.yaml
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }), paths: ["/home/jkl/shoes-async/config.shoes.yaml"] }', src/main.rs:71:14
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
especially when i watch youtube videos
应用场景
研究了半天愣是没搞出来这种场景的配置应该怎么写。请教一下大佬!
https://claim.fluence.network/
You have another airdrop to take. I really envy you. It’s about 3,000 US dollars.
Don’t forget to claim your STRK
cfb-mode had to be version locked due to RustCrypto/traits#964 - but now an alternative is available.
hi my config:
- address: 0.0.0:1080
protocol:
type: socks
username: admin
password: admin
rules:
- mask: 0.0.0.0/0
action: allow
client_proxy: direct
im have err:
ERROR shoes::tcp_server] 172.17.0.1:56200 finished with error:
Custom { kind: InvalidInput, error: "failed to setup server stream:
Supported SOCKS method not found" }
request_cmd: curl -x socks5://localhost:1080 example.com
If I understand correctly, there is support for socks5, but I can’t use it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.