Skip to content

PdYrust/RayLimit

RayLimit icon

RayLimit

Reconcile-aware traffic shaping for Xray runtimes on Linux.

License: AGPL-3.0 Go 1.22+ Beta status Documentation Telegram channel

RayLimit is a Linux CLI for discovering Xray runtimes, inspecting runtime state, and applying guarded speed limiters with dry-run-first workflows.

The implemented speed limiter families are validated and actively developed. Their concrete execution scopes depend on the runtime evidence and selectors available on the host.

Current public release line: v0.3.0-beta.

Install

From a release package:

tar -xzf raylimit_v0.3.0-beta_linux_amd64.tar.gz
cd raylimit_v0.3.0-beta_linux_amd64
sudo ./scripts/install.sh

From a local checkout:

make build
sudo ./scripts/install.sh

Current Speed Limiter Families

Speed limiter Current release truth
ip Validated and concrete for a runtime-local --ip all baseline, specific per-IP overrides, and specific per-IP unlimited exceptions, including native IPv6 within the current attachment assumptions
inbound Validated and concrete when readable runtime configuration proves one concrete TCP listener for the selected inbound tag
outbound Validated and concrete when readable runtime configuration proves one unique non-zero outbound socket mark without proxy indirection

Common Commands

raylimit --help
raylimit discover
raylimit inspect --pid 1234
raylimit limit --pid 1234 --inbound api-in --device eth0 --direction upload --rate 2048

Documentation

Open the documentation hub.

Support RayLimit

RayLimit is maintained as an independent operator-focused project. Optional support helps keep development, testing, documentation, and release work moving forward.

  • TON on TON
    UQC_4BlT2iUlliYUDDCzkDBhBPrww3plMH3XqWaWeDRXfWVj
  • USDT on TRC20
    TUWcBfKhmpLQBC961oCJf7zuXTN2ezMbkF
  • USDT on BEP20
    0x24855aea3d6c88a164e440503d82fac1b09ce8f5

Always verify the asset, network, and address before sending funds.

Project

License

RayLimit is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE.

About

Reconcile-aware traffic shaping for Xray runtimes on Linux.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors