Description
SIP024: Add 0/1 adjust for Shadowsocks
Background
I am writing regarding the protocol enhancement discussion initially presented in this GitHub issue.
Context
Since 2021, the effectiveness of fully encrypted traffic protocols, including Shadowsocks and Vmess, has been significantly impacted by advanced filtering mechanisms. This situation necessitates the implementation of innovative solutions to maintain protocol functionality.
Recent Developments
A comprehensive research paper published in 2023 (USENIX Security '23) has presented a promising solution involving the implementation of 0/1 adjustments for the Shadowsocks protocol. While @gfw-report has successfully developed a proof-of-concept implementation, there remains a notable limitation regarding Shadowsocks2022 compatibility.
Proposed Solutions
Primary Proposal
I would like to respectfully request consideration for implementing 0/1 adjustment support for Shadowsocks2022. This enhancement would significantly improve the protocol's resilience while maintaining its core functionality.
Alternative Approach
As an alternative solution, the development of an obfuscation plugin for ShadowsocksR could be considered. This approach offers several advantages:
- Maintains the integrity of the base ShadowsocksR implementation
- Provides a modular solution that can be easily implemented
- Offers flexibility in deployment and maintenance
Request
I would greatly appreciate your consideration of these proposals, particularly the implementation of 0/1 adjustment support for Shadowsocks2022. Your expertise and contribution to this matter would be invaluable for the continued development and improvement of these essential protocols.
Thank you for your time and consideration.
Activity
gfw-report commentedon Mar 22, 2025
Thank you for your interest and proposal. For other developers' references, we documented this approach in Sec. 8.2 Altering Popcount and Sec. 8.3 Responsible Disclosure of Wu et al..
The proof-of-concept you referred to is available at: https://github.com/gfw-report/shadowsocks-rust.