Skip to content

SIP024: Add 0/1 adjust for Shadowsocks #286

Open
@SIP024

Description

@SIP024

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:

  1. Maintains the integrity of the base ShadowsocksR implementation
  2. Provides a modular solution that can be easily implemented
  3. 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

gfw-report commented on Mar 22, 2025

@gfw-report

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      SIP024: Add 0/1 adjust for Shadowsocks · Issue #286 · shadowsocks/shadowsocks-org