net/shadowsocks: update web UI ciphers to match shadowsocks rust (#4958)

Updating cipher option set to match the one of the plugin, source:
https://github.com/shadowsocks/shadowsocks-rust?tab=readme-ov-file#supported-ciphers
Update to present options in optgroups
This commit is contained in:
eguun
2025-10-02 08:42:06 +02:00
committed by GitHub
parent 97603fc29b
commit 59f3c772c5
2 changed files with 44 additions and 22 deletions
@@ -28,19 +28,30 @@
</localport>
<password type="TextField"/>
<cipher type="OptionField">
<Default>aes-256-cfb</Default>
<Default>aes-256-gcm</Default>
<Required>Y</Required>
<OptionValues>
<aes-256-cfb>AES-256-CFB</aes-256-cfb>
<aes-256-gcm>AES-256-GCM</aes-256-gcm>
<aes-256-ctr>AES-256-CTR</aes-256-ctr>
<aes-192-cfb>AES-192-CFB</aes-192-cfb>
<aes-192-gcm>AES-192-GCM</aes-192-gcm>
<aes-192-ctr>AES-192-CTR</aes-192-ctr>
<aes-128-cfb>AES-128-CFB</aes-128-cfb>
<aes-128-gcm>AES-128-GCM</aes-128-gcm>
<aes-128-ctr>AES-128-CTR</aes-128-ctr>
<chacha20-ietf-poly1305>ChaCha20-IETF-Poly1305</chacha20-ietf-poly1305>
<Secure>
<blake3-aes-256-gcm value="2022-blake3-aes-256-gcm">2022-BLAKE3-AES-256-GCM</blake3-aes-256-gcm>
<aes-256-gcm>AES-256-GCM</aes-256-gcm>
<blake3-aes-128-gcm value="2022-blake3-aes-128-gcm">2022-BLAKE3-AES-128-GCM</blake3-aes-128-gcm>
<aes-128-gcm>AES-128-GCM</aes-128-gcm>
<blake3-chacha20-poly1305 value="2022-blake3-chacha20-poly1305">2022-BLAKE3-ChaCha20-Poly1305</blake3-chacha20-poly1305>
<blake3-chacha8-poly1305 value="2022-blake3-chacha8-poly1305">2022-BLAKE3-ChaCha8-Poly1305</blake3-chacha8-poly1305>
<chacha20-ietf-poly1305>ChaCha20-IETF-Poly1305</chacha20-ietf-poly1305>
</Secure>
<Deprecated>
<aes-256-cfb>AES-256-CFB</aes-256-cfb>
<aes-256-ctr>AES-256-CTR</aes-256-ctr>
<aes-192-cfb>AES-192-CFB</aes-192-cfb>
<aes-192-gcm>AES-192-GCM</aes-192-gcm>
<aes-192-ctr>AES-192-CTR</aes-192-ctr>
<aes-128-cfb>AES-128-CFB</aes-128-cfb>
<aes-128-ctr>AES-128-CTR</aes-128-ctr>
</Deprecated>
<Insecure>
<none>NONE (Plain)</none>
</Insecure>
</OptionValues>
</cipher>
<tcpudpmode type="OptionField">
@@ -33,19 +33,30 @@
</localport>
<password type="TextField"/>
<cipher type="OptionField">
<Default>aes-256-cfb</Default>
<Default>aes-256-gcm</Default>
<Required>Y</Required>
<OptionValues>
<aes-256-cfb>AES-256-CFB</aes-256-cfb>
<aes-256-gcm>AES-256-GCM</aes-256-gcm>
<aes-256-ctr>AES-256-CTR</aes-256-ctr>
<aes-192-cfb>AES-192-CFB</aes-192-cfb>
<aes-192-gcm>AES-192-GCM</aes-192-gcm>
<aes-192-ctr>AES-192-CTR</aes-192-ctr>
<aes-128-cfb>AES-128-CFB</aes-128-cfb>
<aes-128-gcm>AES-128-GCM</aes-128-gcm>
<aes-128-ctr>AES-128-CTR</aes-128-ctr>
<chacha20-ietf-poly1305>ChaCha20-IETF-Poly1305</chacha20-ietf-poly1305>
<Secure>
<blake3-aes-256-gcm value="2022-blake3-aes-256-gcm">2022-BLAKE3-AES-256-GCM</blake3-aes-256-gcm>
<aes-256-gcm>AES-256-GCM</aes-256-gcm>
<blake3-aes-128-gcm value="2022-blake3-aes-128-gcm">2022-BLAKE3-AES-128-GCM</blake3-aes-128-gcm>
<aes-128-gcm>AES-128-GCM</aes-128-gcm>
<blake3-chacha20-poly1305 value="2022-blake3-chacha20-poly1305">2022-BLAKE3-ChaCha20-Poly1305</blake3-chacha20-poly1305>
<blake3-chacha8-poly1305 value="2022-blake3-chacha8-poly1305">2022-BLAKE3-ChaCha8-Poly1305</blake3-chacha8-poly1305>
<chacha20-ietf-poly1305>ChaCha20-IETF-Poly1305</chacha20-ietf-poly1305>
</Secure>
<Deprecated>
<aes-256-cfb>AES-256-CFB</aes-256-cfb>
<aes-256-ctr>AES-256-CTR</aes-256-ctr>
<aes-192-cfb>AES-192-CFB</aes-192-cfb>
<aes-192-gcm>AES-192-GCM</aes-192-gcm>
<aes-192-ctr>AES-192-CTR</aes-192-ctr>
<aes-128-cfb>AES-128-CFB</aes-128-cfb>
<aes-128-ctr>AES-128-CTR</aes-128-ctr>
</Deprecated>
<Insecure>
<none>NONE (Plain)</none>
</Insecure>
</OptionValues>
</cipher>
</items>