You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
建議增加設定QUIC CipherSuites功能
https://v2.hysteria.network/docs/advanced/Full-Server-Config/
在
quic節點中增加以下選項:cipherSuitesList:設定QUIC CipherSuites,以及CipherSuites的順序。由於目前的QUIC協定使用的是TLS 1.3安全層,所以只支持aes128gcm、aes256gcm、chacha20poly1305三個算法。預設值:
cipherSuitesList: aes128gcm,aes256gcm,chacha20poly1305preferServerCipherSuites:當Hysteria 2作為伺服器端時,設定使用伺服器端的CipherSuites順序來協商CipherSuite。預設值:
preferServerCipherSuites: false為甚麼用ChaCha20算法更省電
儘管理論上目前x86和ARM的許多SOC都支持AES指令集,但實際上,ChaCha20算法對ARM更友好,而且許多網站的流動子域名(如m.example.com)的伺服器端都傾向於在TLS握手時使用ChaCha20。也就是伺服器端在ServerHello中,指定PreferServerCipherSuites=1,並指定CipherSuitesList為ChaCha20Poly1305->AESGCM。
實測結果
我們以Shadowsocks22協定和Vless協定做測試,實測在使用Azure(Windows Server 2025+Shadowsocks22+Vless+Stunnel)伺服器、iPhone 16(iOS+V2Box)和Galaxy S24(Android+V2Box)客戶端的情況下,用ChaCha20算法都更省電。至於筆電端,實測了HP EliteBook G11(Windows 11+V2RayN)客戶端,AES和ChaCha20在省電方面沒有明顯區別。
Beta Was this translation helpful? Give feedback.
All reactions