shadowsocks / shadowsocks/shadowsocks-rust

Feature Request: Enable multiuser support through a single port

Open
#1,365 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
10.9k
Forks
1.5k
Avg merge
4d 15h
Merged PRs (30d)
5

Description

Since Shadowsocks 2022 is a different protocol that many clients don't support, the standard Shadowsocks server should enable multiuser functionality through a single port. While Xray-core already has a similar feature, it's important for the official project to adopt this capability as well.

Xray-core configuration sample that support similar functionality:

{
    "inbounds": [
        {
            "port": 1234,
            "protocol": "shadowsocks",
            "settings": {
                "clients": [
                    {
                        "password": "example_user_1",
                        "method": "aes-128-gcm"
                    },
                    {
                        "password": "example_user_2",
                        "method": "aes-256-gcm"
                    },
                    {
                        "password": "example_user_3",
                        "method": "chacha20-poly1305"
                    }
                ],
                "network": "tcp,udp"
            }
        }
    ],
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing standard Shadowsocks server configuration and protocol handling, then compare them with the Xray-core configuration sample in the issue. Done means multiple clients with different passwords and encryption methods can share one port while supporting TCP and UDP.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.