File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
crates/shadowsocks-service/src/acl Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -959,19 +959,22 @@ These Ciphers require `"password"` to be a Base64 string of key that have **exac
959
959
960
960
- For local servers (` sslocal ` , ` ssredir ` , ...)
961
961
- Modes:
962
- - ` [bypass_all] ` - ACL runs in ` BlackList ` mode. Bypasses all addresses that didn't match any rules.
963
- - ` [proxy_all] ` - ACL runs in ` WhiteList ` mode. Proxies all addresses that didn't match any rules.
962
+ - ` [bypass_all] ` - ACL runs in ` WhiteList ` mode. Bypasses all addresses except those matched any rules.
963
+ - ` [proxy_all] ` - ACL runs in ` BlackList ` mode. Proxies all addresses except those matched any rules. (default)
964
964
- Rules:
965
965
- ` [bypass_list] ` - Rules for connecting directly
966
966
- ` [proxy_list] ` - Rules for connecting through proxies
967
967
- For remote servers (` ssserver ` )
968
968
- Modes:
969
- - ` [reject_all] ` - ACL runs in ` BlackList ` mode. Rejects all clients that didn't match any rules.
970
- - ` [accept_all] ` - ACL runs in ` WhiteList ` mode. Accepts all clients that didn't match any rules.
969
+ - ` [reject_all] ` - ACL runs in ` WhiteList ` mode. Rejects all clients except those matched any rules.
970
+ - ` [accept_all] ` - ACL runs in ` BlackList ` mode. Accepts all clients except those matched any rules. (default)
971
+ - ` [outbound_block_all] ` - Outbound ACL runs in ` WhiteList ` mode. Blockes all outbound addresses except those matched any rules.
972
+ - ` [outbound_allow_all] ` - Outbound ACL runs in ` BlackList ` mode. Allows all outbound addresses except those matched any rules. (default)
971
973
- Rules:
972
974
- ` [white_list] ` - Rules for accepted clients
973
975
- ` [black_list] ` - Rules for rejected clients
974
976
- ` [outbound_block_list] ` - Rules for blocking outbound addresses.
977
+ - ` [outbound_allow_list] ` - Rules for allowing outbound addresses.
975
978
976
979
### Example
977
980
Original file line number Diff line number Diff line change @@ -305,8 +305,8 @@ impl ParsingRules {
305
305
/// Available sections are
306
306
///
307
307
/// - For local servers (`sslocal`, `ssredir`, ...)
308
- /// * `[bypass_all]` - ACL runs in `BlackList ` mode.
309
- /// * `[proxy_all]` - ACL runs in `WhiteList ` mode.
308
+ /// * `[bypass_all]` - ACL runs in `WhiteList ` mode.
309
+ /// * `[proxy_all]` - ACL runs in `BlackList ` mode.
310
310
/// * `[bypass_list]` - Rules for connecting directly
311
311
/// * `[proxy_list]` - Rules for connecting through proxies
312
312
/// - For remote servers (`ssserver`)
You can’t perform that action at this time.
0 commit comments