Open shanoaice opened 1 year ago
https://github.com/SagerNet/sing-box/issues/932#issuecomment-1739071275 is to reveal its impracticability, not to motivate someone to implement it. Proxy protocols targeting the GFW, e.g. Shadowsocks 2022, are designed as 0-RTT to avoid detectable characteristic, so error code is not possible.
SagerNet/sing-box#932 (comment) is to reveal its impracticability, not to motivate someone to implement it.
This comment is exactly what motivated me to make such proposal, and I have made discussions with nekohasekai and Ian Moore with this. ECH has its value in at least adding an extra layer of safety against Deep Packet Inspection technology, and if this is something that cannot be implemented it will be a great pity.
This is an issue attempting to solve a real-world issue that I have encountered lately. The problem is described as follows:
To address this issue, I propose that an error code representing "IPv6 connection failure" to be added, so that proxy clients can properly trigger Happy Eyeballs when TUN inbound is used.
edit: context: https://github.com/SagerNet/sing-box/issues/932#issuecomment-1739071275