Shadowsocks-NET / shadowsocks-specs

Specs of the Shadowsocks protocol family.
Creative Commons Zero v1.0 Universal
95 stars 10 forks source link

Add Clarification for UDP EIH Request & Response Packet Format #5

Closed xiaokangwang closed 11 months ago

xiaokangwang commented 11 months ago

In SS2022's reference implementation, UDP Response packets with EIH have their separate headers encrypted with user's psk, which is not explicitly mentioned in the spec document. This pull request clarify the different format and key schedule of request and response packets.

xiaokangwang commented 11 months ago

Sorry, I find out I was running the wrong configuration file. Sorry for the incorrect bug report regarding to ss-go. However the spec clearification point still stands.

xiaokangwang commented 11 months ago

I think your rephase makes sense. I have accepted and squashed all of them into a single commit.