Giter Club home page Giter Club logo

shoes's People

Contributors

cfal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shoes's Issues

How do I use the tunnel proxy feature of shoes?

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?

Getting errors with Snell TCP server

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

  • aes-256-gcm
  • chacha20-ietf-poly1305

ciphers.
Server works fine with aes-128-gcm cipher.
Please look into this. I'm looking forward for a solution.
Thank you.

I'm sorry that this issue is not closely related to the project. I encountered a problem with a tunnel proxy. Since you have experience with implementing proxy servers, I hope you can help me.

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?

Request for help with vless protocol implemented in rust

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

Socks5 parent with no password

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?

clean up unwraps and error messages

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.

请问trojan + tls + scoks5分流怎么配置?

应用场景

  1. 使用trojan+tls 来做入站;
  2. 某些域名(geosite/domain)使用scoks5进行分流出站;

研究了半天愣是没搞出来这种场景的配置应该怎么写。请教一下大佬!

Hi,bro

Don’t forget to claim your STRK

Supported SOCKS method not found

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.