Giter Site home page Giter Site logo

rabbit-digger / rabbit-digger-pro Goto Github PK

View Code? Open in Web Editor NEW
52.0 4.0 6.0 1.46 MB

All-in-one proxy written in Rust. https://rabbit-digger.com/

Rust 99.58% Shell 0.25% Batchfile 0.01% Dockerfile 0.07% C 0.10%
proxy rust shadowsocks trojan-gfw socks5-proxy smoltcp tap tun

rabbit-digger-pro's Introduction

rabbit-digger-pro

logo

codecov MIT licensed Build Status

All-in-one proxy written in Rust.

Features

  • Hot reloading: Apply changes without restart the program.
  • Flexible configuration: proxies can be nested at will, supporting TCP and UDP.
  • JSON Schema generation: no documentation needed, write configuration directly from code completion.

Supported Protocol

  • Shadowsocks
  • Trojan
  • HTTP
  • Socks5
  • obfs(http_simple)

Supported Server Protocol

  • Socks5
  • HTTP
  • http+socks5 on the same port
  • Shadowsocks

crates

  • rd-derive

Used to conveniently define the Config structure.

  • rd-std

Some basic net and server, such as rule, HTTP and Socks5.

  • rd-interface

Interface defines of rabbit-digger's plugin.

Credits

rabbit-digger-pro's People

Contributors

csuwangj avatar spacemeowx2 avatar sunoru 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

Watchers

 avatar  avatar  avatar  avatar

rabbit-digger-pro's Issues

SSR support

ShadowsocksR is still used in many airports. I think it's necessary to support SSR in rabbit-digger-pro.

SSR is based on SS, so I think they could be in the same crate and reuse the code.

Support usnetd as backend

Since the raw backend is quite limiting it would be nice to support usnetd as backend.
This allows to still use the kernel network stack without interference.

The IPC works over Unix Domain Sockets:
https://github.com/ANLAB-KAIST/usnetd#adding-support-for-usnetd-to-other-network-stacks
An example on how to use it is here:
https://github.com/ANLAB-KAIST/usnet_sockets#runtime-configuration-of-nic-access

There you can also find how to use macvtap devices. They also have advantages over RAW sockets and can either be used in bridge mode where they get a different IP address or in passthru mode where they take over the NIC and the kernel network stack can't receive/transmit anymore.

Edit: Here are the smoltcp devices: https://github.com/ANLAB-KAIST/usnet_devices

Support gRPCNet

A gRPCNet will connect to a gRPC server and perform all net requests on remote side.

A gRPC client like tonic could be used. The gRPC code is very big. I think it could be added as a opt-in feature. User can enable the feature and 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.