[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112932":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":38,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},112932,"rakhsh","CluvexStudio\u002Frakhsh","CluvexStudio","A network core that runs direct or tunnelled, across as many servers as you have","https:\u002F\u002Fcluvexstudio.dev\u002Frakhsh\u002Fdocs\u002F",null,"Rust",133,20,1,3,0,30,81,4,67.07,"GNU Affero General Public License v3.0",false,"main",[25,26,27,28,29,30,31,32,33,34,35,36,37],"anti-censorship","censorship-circumvention","faketcp","http-proxy","networking","openvpn","proxy","quic","rust","socks5","tunnel","vpn","websocket","2026-11-12 16:13:59","2026-11-23 04:34:55","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbanner.png\" alt=\"rakhsh\" width=\"900\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cb>English\u003C\u002Fb> &nbsp;|&nbsp; \u003Ca href=\"README.fa.md\">فارسی\u003C\u002Fa>\n\u003C\u002Fp>\n\n# Rakhsh\n\nA network core written in Rust. It takes traffic from where it starts to where it should come\nout (directly on one machine, or tunnelled across as many servers as you have) and it is built\nto keep working on networks that are trying to stop it.\n\nOne binary. What it becomes is decided by its config: a standalone node, the near end of a\ntunnel, the far end, or a whole fleet of each.\n\n## How it is laid out\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Ftopology.webp\" alt=\"rakhsh topology: devices reach an entry inside the filtered network, four lanes on different carriers cross the filter to an exit on the open internet, and losing one carrier leaves the rest carrying the traffic\" width=\"980\">\n\u003C\u002Fp>\n\n## What happens to a request\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fflow.svg\" alt=\"a request through rakhsh\" width=\"860\">\n\u003C\u002Fp>\n\n## What it is\n\n**A router with a tunnel in it**, rather than a tunnel with a router bolted on. Traffic arrives at\nan inbound, the router decides what to do with it, and it leaves through an outbound, direct, or\nthrough the tunnel. The same decision engine runs whether or not a tunnel exists.\n\n**Many carriers, one protocol.** The handshake, the record layer and the multiplexer do not know\nhow their bytes cross the network. That is a carrier's job, and a carrier can be a plain TCP\nconnection, TLS, a WebSocket, QUIC, an ARQ over UDP, or frames written straight to the card. When\na network stops carrying one of them, you change one line.\n\n**Lanes, not a connection.** A tunnel is several independent lanes. Losing one costs the streams\nthat were on it, and with `resume`, not even those: they move to another lane and carry on from\nthe last byte the far side acknowledged.\n\n**Identities, not addresses.** Every node has its own keypair, and each side lists the identities\nit will talk to. An entry can fail over between genuinely separate exits, an exit can serve many\nentries, and removing one node changes nothing for the rest.\n\n**Encrypted and authenticated end to end.** Noise IKpsk2 with pinned static keys and a pre-shared\nkey derived from the token, then AES-256-GCM on every record.\n\n## Install\n\nOne line on a bare server, it fetches the binaries, asks a handful of questions, writes the\nconfig, installs the service, and hands you a link for the other end:\n\n```\nbash \u003C(curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FCluvexStudio\u002Frakhsh\u002Fmain\u002Finstall.sh)\n```\n\nOn the second server there is nothing to answer at all, paste the line the first one printed:\n\n```\nbash \u003C(curl -fsSL ...\u002Finstall.sh) --join rakhsh:\u002F\u002F…\n```\n\n`--panel` sets up the web panel and prints its generated username and password. `--help` lists\nthe rest.\n\nEvery release carries a static musl binary for x86-64, aarch64, armv7, armv6, i686, riscv64,\nloongarch64 and ppc64le, each next to a checksum the installer verifies before it installs\nanything. The same release has Windows builds for x64, x86 and ARM64, and macOS builds for Intel\nand Apple Silicon. Everything works there except the raw-packet carriers, which need Linux. The\nexception is faketcp:\n\n- On macOS it needs nothing extra. Run rakhsh with sudo and it uses the system's own BPF and pf.\n- On Windows it goes through a packet driver you install yourself. Install Npcap\n  (https:\u002F\u002Fnpcap.com), or put WinDivert.dll and WinDivert64.sys next to rakhsh.exe (the\n  `rakhsh-windivert` zip has them), then run rakhsh as Administrator. Windows Defender may flag\n  WinDivert because it can capture packets; allow it if you want to use it.\n\nThe macOS builds are not notarized by Apple. Make the download executable, and if you saved it with\na browser, clear the quarantine flag once:\n\n```\nchmod +x rakhsh-aarch64-apple-darwin\nxattr -d com.apple.quarantine rakhsh-aarch64-apple-darwin\n```\n\nTo build it yourself, clone shabdiz next to it:\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002FCluvexStudio\u002Fshabdiz\ngit clone https:\u002F\u002Fgithub.com\u002FCluvexStudio\u002Frakhsh\ncd rakhsh\ncargo build --release\nsudo install -m755 target\u002Frelease\u002Frakhsh \u002Fusr\u002Flocal\u002Fbin\u002Frakhsh\n```\n\n## A tunnel, from nothing\n\n```\nrakhsh init --tunnel-addr \u003Cpublic-address>:7000 --carrier wss --proxy 127.0.0.1:1080\n```\n\nThat prints a matched pair of configs with fresh keys and a token: one for the near side, one for\nthe far side. Put each on its host, then:\n\n```\nrakhsh check -c \u002Fetc\u002Frakhsh.toml     # read the config back in plain words\nrakhsh install -c \u002Fetc\u002Frakhsh.toml   # run it as a service\nrakhsh status                        # lanes, throughput, loss, cpu, live\n```\n\n## A fleet, from nothing\n\nSeveral servers on each side, every one with its own key:\n\n```\nrakhsh fleet --exit de=1.2.3.4 --exit nl=5.6.7.8 \\\n             --entry a=10.0.0.1 --entry b=10.0.0.2 \\\n             --carrier wss --proxy 0.0.0.0:1080 -o .\u002Ffleet\n```\n\nOne config per node, plus one for the host that manages them. Every exit admits every entry and\nthe other way round, so a node can leave without taking the fleet with it.\n\n## The config\n\n```toml\nrole = \"entry\"\ncarrier = \"wss\"\nsni = \"www.example.com\"\ntunnel_listen = \"0.0.0.0:7000\"\nlanes = 4\n\n[[peer]]\nname = \"de\"\npublic = \"the other node's public key\"\nconnect = \"1.2.3.4:7000\"\n\n[[forward]]\nlisten = \"0.0.0.0:443\"\ntarget = \"127.0.0.1:8443\"\n\n[[inbound]]\ntag = \"proxy\"\ntype = \"mixed\"\nlisten = \"127.0.0.1:1080\"\n\n[route]\nfinal = \"tunnel\"\n```\n\n[`rakhsh.example.toml`](rakhsh.example.toml) is the annotated reference: every key the parser\naccepts, exactly once, with its default, its units and which side reads it. A test fails if a key\nis missing from it, or if it names one the parser does not read.\n\n[`examples\u002F`](examples) holds configs to start from instead, a working pair per shape, each one\nchecked by the same test:\n\n| | |\n|---|---|\n| [`entry.toml`](examples\u002Fentry.toml) + [`exit.toml`](examples\u002Fexit.toml) | a tunnel over wss, with a forward, a proxy and a resolver |\n| [`openvpn-entry.toml`](examples\u002Fopenvpn-entry.toml) + [`openvpn-exit.toml`](examples\u002Fopenvpn-exit.toml) | OpenVPN over a datagram carrier |\n| [`l3-entry.toml`](examples\u002Fl3-entry.toml) + [`l3-exit.toml`](examples\u002Fl3-exit.toml) | a routed tun device instead of forwards |\n| [`raw-entry.toml`](examples\u002Fraw-entry.toml) + [`raw-exit.toml`](examples\u002Fraw-exit.toml) | forged TCP packets |\n| [`node.toml`](examples\u002Fnode.toml) | a proxy and router on one host, no tunnel |\n\nTheir identity values are obvious placeholders; `rakhsh init` writes keys that correspond.\n\n`rakhsh check` reads any config back as prose, including the parts you did not set, and says when a\nkey you did set is one this configuration never reads, so a line that does nothing says so instead\nof looking configured.\n\n## More\n\n| | |\n|---|---|\n| [CORE.md](CORE.md) | inbounds, outbounds and the router |\n| [LINKS.md](LINKS.md) | several ways to reach a peer, and how one is chosen |\n| [SHABDIZ.md](SHABDIZ.md) | the datagram carrier, for paths that refuse everything else |\n| [RESUME.md](RESUME.md) | keeping streams alive across a lane's death |\n| [DNS.md](DNS.md) | the resolver and split routing |\n| [LIMITS.md](LIMITS.md) | quotas and rate limits |\n| [CONTROL.md](CONTROL.md) | watching and managing a fleet from one host |\n| [SECURITY.md](SECURITY.md) | the threat model, and what is actually protected |\n\n## Donate\n\nIf Rakhsh is useful to you, a donation keeps the work going and pays for the servers the\nmeasurements run on. Send only the asset for its network.\n\n| Network | Send | Address |\n|---|---|---|\n| Tron (TRC-20) | TRX \u002F USDT | `TRxVSHcoADZnBfztFmFb2TQopusAwWYEVR` |\n| BNB Smart Chain (BEP-20) | USDT | `0x20c980AEF36Aa71D0A0e7bE382AeD20b73bC6D27` |\n| TON | TON | `UQAH75bXaaRUhZMwiF0ZujOXFDDmvLSPASKoOsWF0HNasiaM` |\n\n## License\n\nAGPL-3.0-only. See [LICENSE](LICENSE).\n","Rakhsh 是一个用 Rust 编写的抗审查网络核心，支持多跳隧道与直连混合转发。其核心特点是：基于 Noise 协议实现端到端加密认证；抽象出‘载体（carrier）’概念，统一支持 TCP、TLS、WebSocket、QUIC、FakeTCP 等多种传输层适配；采用多车道（lane）设计，单通道中断不影响其他流，支持自动迁移与断点续传；节点以身份密钥而非 IP 地址标识，支持灵活拓扑与故障转移。适用于受网络审查环境下的安全通信、跨境服务接入、高可用代理中继等场景。",2,"2026-11-24 04:44:39","CREATED_QUERY"]