Skip to content

Commit e8c7f91

Browse files
committed
bump version
1 parent c1ba366 commit e8c7f91

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

.github/workflows/build-rust.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
env:
1212
PLATFORMS: 'linux/amd64,linux/arm64,linux/arm/v7'
1313
IMAGE_NAME: 'easypi/shadowsocks-rust'
14-
SS_RUST_VERSION: '1.21.2'
14+
SS_RUST_VERSION: '1.22.0'
1515

1616
jobs:
1717
release:

rust/data/config.acl

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[reject_all]
2+
3+
[white_list]
4+
0.0.0.0/0
5+
6+
[outbound_block_list]
7+
127.0.0.0/8
8+
::1/128
9+
10.0.0.0/8
10+
172.16.0.0/12
11+
192.168.0.0/16
12+
fc00::/7

rust/data/config.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"server": "0.0.0.0",
3+
"server_port": 8388,
4+
"password": "5ouMnqPyzseL",
5+
"timeout": 60,
6+
"method": "chacha20-ietf-poly1305",
7+
"dns_ipv6": false,
8+
"mode": "tcp_and_udp"
9+
}

rust/launchd/ssserver.plist

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>Label</key>
6+
<string>ssserver</string>
7+
<key>KeepAlive</key>
8+
<true/>
9+
<key>ProgramArguments</key>
10+
<array>
11+
<string>/usr/local/bin/ssserver</string>
12+
<string>--config</string>
13+
<string>/usr/local/etc/shadowsocks-rust/config.json</string>
14+
<string>--acl</string>
15+
<string>/usr/local/etc/shadowsocks-rust/config.acl</string>
16+
<string>--dns</string>
17+
<string>8.8.8.8</string>
18+
</array>
19+
<key>StandardErrorPath</key>
20+
<string>/dev/null</string>
21+
<key>StandardOutPath</key>
22+
<string>/usr/local/var/log/ssserver.log</string>
23+
<key>RunAtLoad</key>
24+
<true/>
25+
<key>LimitLoadToSessionType</key>
26+
<array>
27+
<string>Aqua</string>
28+
<string>Background</string>
29+
<string>LoginWindow</string>
30+
<string>StandardIO</string>
31+
<string>System</string>
32+
</array>
33+
<key>WorkingDirectory</key>
34+
<string>/usr/local/etc/shadowsocks-rust</string>
35+
</dict>
36+
</plist>

0 commit comments

Comments
 (0)