shadowsocks / shadowsocks/shadowsocks-rust

[Feature Request] Support port in ACL outbound_block_list/outbound_allow_list

Open
#1,977 28 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

Support for port configuration in ACL files is a useful and powerful feature. Is it possible to implement this feature?

For example,

[outbound_allow_list]
1.1.1.1/32:123
2.2.2.0/24:234,456
3.3.3.3:456-500

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

No file or test is named. Start by locating the ACL parser and the outbound_allow_list/outbound_block_list filtering entry points, then trace how address-only rules are represented and matched. Done means the documented address-and-port examples are accepted and covered by tests for single ports, comma-separated ports, and ranges.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.